/* ============================================================
   MANBINO — Your Personal Maid Man
   Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:     #0d1b2e;
  --navy-mid: #142038;
  --navy-light: #1e3050;
  --red:      #d42b3a;
  --red-dark: #a8202e;
  --blue:     #1450a3;
  --blue-light: #2266c4;
  --pink:     #c0185e;
  --gold:     #c9993a;
  --gold-light: #e8c06a;
  --white:    #ffffff;
  --off-white: #f5f0eb;
  --text-light: #e8e8f0;
  --text-muted: #8a8fa8;
  --border:   rgba(255,255,255,0.10);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --section-pad: 100px 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--white); }

em { font-style: italic; }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(212, 43, 58, 0.35);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 43, 58, 0.5);
  color: var(--white);
  background: linear-gradient(135deg, #e8303f, var(--red));
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(20, 80, 163, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 43, 58, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #0a1628 0%, #0d1b2e 40%, #111829 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 153, 58, 0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Decorative top border stripe */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--blue));
}

.nav {
  position: relative;
  z-index: 10;
  padding: 24px 40px;
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 44px;
  width: auto;
}

.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px 120px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 153, 58, 0.15);
  border: 1px solid rgba(201, 153, 58, 0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}

.hero-logo {
  width: min(500px, 80vw);
  height: auto;
  margin: 0 auto 40px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
  animation: fadeInUp 1s ease 0.2s both;
  will-change: transform;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  max-width: 720px;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-headline em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 44px;
  animation: fadeInUp 1s ease 0.6s both;
  line-height: 1.7;
}
.hero-sub em {
  color: var(--text-light);
  font-style: italic;
}

.hero-content .btn-primary {
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1.5s both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}

/* ============================================================
   ORIGIN STORY
   ============================================================ */
.origin {
  background: linear-gradient(135deg, var(--navy-mid), #0f1e35);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.origin-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.origin-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
  display: block;
  animation: sway 3s ease-in-out infinite;
}

.origin h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.25;
}
.origin h2 em {
  color: var(--red);
  font-style: italic;
}

.origin-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}
.origin-text em {
  color: var(--text-light);
  font-style: italic;
}

.origin-kicker {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}
.origin-kicker strong {
  color: var(--gold-light);
  font-weight: 700;
}

.origin-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  margin: 32px auto;
  border-radius: 2px;
}

.origin-fine {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-header h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: linear-gradient(145deg, var(--navy-mid), #0f1e35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.18);
}

.service-card--featured {
  border-color: rgba(212, 43, 58, 0.5);
  background: linear-gradient(145deg, #1a1030, #141828);
  box-shadow: 0 0 0 1px rgba(212, 43, 58, 0.2), 0 8px 40px rgba(212, 43, 58, 0.12);
}
.service-card--featured:hover {
  border-color: rgba(212, 43, 58, 0.7);
}

.service-card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 0 0 8px 8px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ============================================================
   AUDIENCE
   ============================================================ */
.audience {
  background: linear-gradient(135deg, var(--navy-mid), #0a1628);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.audience-text .section-eyebrow {
  margin-bottom: 12px;
}

.audience-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.audience-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.5;
}
.check {
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-quote-block {
  background: linear-gradient(145deg, rgba(20, 80, 163, 0.12), rgba(212, 43, 58, 0.06));
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 48px 40px;
  opacity: 0;
  transform: translateX(24px);
}
.audience-quote-block.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 20px;
}
blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--red);
  line-height: 0;
  vertical-align: -1rem;
  margin-right: 4px;
  font-style: normal;
}

cite {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ============================================================
   GIFT
   ============================================================ */
.gift {
  padding: var(--section-pad);
}

.gift-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gift-text .section-eyebrow {
  margin-bottom: 12px;
}

.gift-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}
.gift-text h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.gift-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.gift-occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.occasion-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
}
.occasion-tag:hover {
  background: rgba(201, 153, 58, 0.12);
  border-color: rgba(201, 153, 58, 0.3);
}

/* Gift card mockup */
.gift-card-visual {
  display: flex;
  justify-content: center;
}

.gift-card {
  width: 320px;
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2e 50%, #1a1030 100%);
  border: 1px solid rgba(201, 153, 58, 0.35);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow:
    0 0 0 1px rgba(201, 153, 58, 0.1),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) rotate(-2deg);
}
.gift-card.visible {
  opacity: 1;
  transform: translateY(0) rotate(-2deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.gift-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  transition: transform 0.3s ease !important;
}

.gift-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--gold));
}

.gift-card-logo {
  width: 100px;
  height: auto;
}

.gift-card-text {
  text-align: center;
}

.gift-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.gift-card-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.gift-card-value {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.4;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: linear-gradient(135deg, #0a1628, var(--navy-mid));
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat {
  opacity: 0;
  transform: translateY(16px);
}
.stat.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
}

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
.notify {
  padding: var(--section-pad);
  background: radial-gradient(ellipse at center, #142038 0%, #0d1b2e 70%);
}

.notify-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.notify-logo {
  width: 200px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.notify-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.notify-inner p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.form-row {
  display: flex;
  width: 100%;
  max-width: 480px;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.email-input::placeholder {
  color: var(--text-muted);
}
.email-input:focus {
  border-color: rgba(201, 153, 58, 0.5);
  background: rgba(255,255,255,0.09);
}

.form-row .btn-primary {
  border-radius: 0 6px 6px 0;
  padding: 16px 28px;
  white-space: nowrap;
}

.form-fine {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0 !important;
}

.notify-success {
  display: none;
  padding: 40px;
  background: rgba(201, 153, 58, 0.08);
  border: 1px solid rgba(201, 153, 58, 0.25);
  border-radius: 12px;
  animation: fadeIn 0.5s ease both;
}
.success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.notify-success p {
  color: var(--text-light) !important;
  margin: 0 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #080f1c;
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-sep {
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-fine {
  font-size: 0.78rem;
  color: #4a5070;
  font-style: italic;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}

/* Staggered service cards */
.service-card:nth-child(1).visible { transition-delay: 0s; }
.service-card:nth-child(2).visible { transition-delay: 0.12s; }
.service-card:nth-child(3).visible { transition-delay: 0.24s; }

/* Staggered stats */
.stat:nth-child(1).visible { transition-delay: 0s; }
.stat:nth-child(2).visible { transition-delay: 0.1s; }
.stat:nth-child(3).visible { transition-delay: 0.2s; }
.stat:nth-child(4).visible { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --section-pad: 72px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gift-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gift-card-visual {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 600px) {
  .hero-logo {
    width: min(320px, 85vw);
  }

  .form-row {
    flex-direction: column;
    border-radius: 6px;
    overflow: visible;
    box-shadow: none;
  }
  .email-input {
    border-right: 1px solid var(--border);
    border-radius: 6px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
  }
  .form-row .btn-primary {
    border-radius: 6px;
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-card {
    width: 280px;
  }

  .audience-quote-block {
    padding: 32px 24px;
  }
}
