/* ── Maitrimony Brand CSS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --gold:      #C9A84C;
  --gold-soft: #E8D08A;
  --gold-deep: #8B6914;
  --gold-pale: #F3E9C8;
  --night:     #0C0A07;
  --charcoal:  #1E1B12;
  --charcoal2: #272218;
  --ivory:     #FAF6EE;
  --ivory-dim: #D4CAB4;
  --body-dark: #2A220F;
  --muted:     #9C8A60;
  --dim:       #5C4A1E;
  --white:     #FFFFFF;
  --green:     #4A7C59;
  --red:       #7C3A3A;
  --radius:    8px;
  --radius-lg: 14px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--night);
  color: var(--ivory);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--gold-soft);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 0.015em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--ivory-dim); font-weight: 300; }

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

.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.gold-text { color: var(--gold); }
.soft-gold { color: var(--gold-soft); }
.muted { color: var(--muted); }
.italic { font-style: italic; }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.6em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
  margin-bottom: 16px; display: block;
}
.rule {
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4; margin: 20px auto;
}
.rule-left {
  width: 200px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.4; margin: 20px 0;
}

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media(max-width:900px) { .grid-2,.grid-3,.grid-4 { grid-template-columns:1fr; } }
@media(max-width:600px) { .container { padding:0 1.2rem; } .section { padding:70px 0; } }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s;
  border: none; text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: var(--night);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--night); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(201,168,76,0.45);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); color: var(--gold-soft); }

.btn-ivory {
  background: var(--ivory); color: var(--body-dark);
}
.btn-ivory:hover { background: var(--gold-pale); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12,10,7,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: all 0.3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto;
  padding: 0 2rem; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300;
  letter-spacing: 0.15em; color: var(--gold-soft);
  text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ivory-dim); transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 1rem; }

/* mobile nav */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.hamburger span { width:22px; height:1.5px; background:var(--gold-soft); display:block; transition:all 0.3s; }
.mobile-menu {
  display:none; background:rgba(12,10,7,0.98);
  border-top:1px solid rgba(201,168,76,0.1);
  padding:1.5rem 2rem 2rem;
}
.mobile-menu.open { display:block; }
.mobile-menu a {
  display:block; padding:12px 0;
  border-bottom:1px solid rgba(201,168,76,0.08);
  font-size:13px; font-weight:500;
  letter-spacing:0.2em; text-transform:uppercase;
  color:var(--ivory-dim);
}
.mobile-menu a:last-child { border-bottom:none; }
@media(max-width:820px) {
  .nav-links,.nav-cta { display:none; }
  .hamburger { display:flex; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1C1710 0%, var(--night) 100%);
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(201,168,76,0.03) 80px),
    repeating-linear-gradient(90deg,transparent,transparent 79px,rgba(201,168,76,0.03) 80px);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-mark { margin-bottom: 2rem; }
.hero-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.55em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 18px; margin-bottom: 2rem;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-title em {
  font-style: italic; color: var(--gold);
  display: block;
}
.hero-sub {
  font-size: 1.05rem; max-width: 540px;
  margin-bottom: 2.5rem; color: var(--muted);
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 2rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--gold-soft); font-weight: 400;
}
.trust-label { font-size: 10px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }

/* hero right SVG mark */
.hero-bg-mark {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  opacity: 0.04; width: 600px; z-index: 0;
}
@media(max-width:900px) { .hero-bg-mark { display:none; } }

/* ── BADGE STRIP ── */
.badge-strip {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 20px 0; overflow: hidden;
}
.badge-inner {
  display: flex; gap: 4rem; align-items: center;
  white-space: nowrap; animation: scroll 25s linear infinite;
}
.badge-inner:hover { animation-play-state: paused; }
.badge-item {
  font-size: 11px; font-weight: 500; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.badge-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }
@keyframes scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── WHY SECTION ── */
#why { background: var(--charcoal); }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.gap-card {
  background: rgba(12,10,7,0.6);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.gap-card:hover { border-color: rgba(201,168,76,0.3); }
.gap-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: var(--gold); opacity: 0.4;
  font-weight: 300; line-height: 1; min-width: 40px;
}
.gap-body h4 { color: var(--gold-soft); font-size: 1rem; margin-bottom: 5px; font-family:'Montserrat',sans-serif; font-weight:600; }
.gap-body p { font-size: 13px; color: var(--muted); }
@media(max-width:900px) { .why-grid { grid-template-columns:1fr; gap:2.5rem; } }

/* ── HOW IT WORKS ── */
#how { background: var(--night); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 800px; margin: 0 auto; }
.step {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 2rem 0; position: relative;
}
.step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 27px; top: 72px; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.3), transparent);
}
.step-num {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid rgba(201,168,76,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--gold); background: var(--charcoal);
}
.step-body h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--gold-soft); }
.step-body p { font-size: 14px; color: var(--muted); max-width: 540px; }
.step-badge {
  display: inline-block; margin-top: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; padding: 4px 12px;
  background: rgba(201,168,76,0.1); color: var(--gold);
  border-radius: 20px; border: 1px solid rgba(201,168,76,0.2);
}

/* ── COMPARISON TABLE ── */
#compare { background: var(--charcoal); overflow-x: auto; }
.compare-disclaimer {
  font-size: 11px; color: var(--muted);
  margin-top: 1.5rem; text-align: center;
  line-height: 1.6;
}
.compare-wrap { overflow-x: auto; margin-top: 3rem; }
.compare-table {
  width: 100%; border-collapse: collapse;
  min-width: 700px;
}
.compare-table th {
  padding: 16px 20px; text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.compare-table th.col-us {
  background: rgba(201,168,76,0.08);
  color: var(--gold-soft);
  border-bottom: 2px solid var(--gold);
}
.compare-table th.col-them { color: var(--muted); }
.compare-table td {
  padding: 14px 20px; text-align: center;
  font-size: 13px; color: var(--ivory-dim);
  border-bottom: 1px solid rgba(201,168,76,0.07);
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--gold-soft); }
.compare-table td.col-us { background: rgba(201,168,76,0.04); }
.compare-table tr:hover td { background: rgba(201,168,76,0.03); }
.compare-table tr:hover td.col-us { background: rgba(201,168,76,0.08); }
.tick { color: #6AAF78; font-size: 1.1rem; }
.cross { color: #9C5A5A; font-size: 1.1rem; }
.partial { color: var(--gold); font-size: 0.9rem; }

/* ── PRICING ── */
#pricing { background: var(--night); }
.price-card {
  background: var(--charcoal);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 520px; margin: 0 auto;
  text-align: center; position: relative;
}
.price-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201,168,76,0.3), transparent 60%, rgba(201,168,76,0.15));
  z-index: -1;
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; color: var(--gold); font-weight: 300;
  line-height: 1;
}
.price-currency { font-size: 2rem; vertical-align: top; margin-top: 1rem; display: inline-block; }
.price-period { font-size: 13px; color: var(--muted); letter-spacing: 0.2em; margin-top: 8px; }
.price-features { margin: 2.5rem 0; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.price-feature {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--ivory-dim);
}
.price-feature-icon { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

/* ── TRUST SECTION ── */
#trust { background: var(--charcoal2); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.trust-card {
  background: rgba(12,10,7,0.5);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.trust-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.trust-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.trust-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.trust-card p { font-size: 13px; color: var(--muted); }
@media(max-width:700px) { .trust-grid { grid-template-columns:1fr; } }

/* ── ABOUT / BRAND STORY ── */
#about { background: var(--night); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.about-mark { text-align: center; }
.meaning-block {
  background: rgba(30,27,18,0.8);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem; margin-top: 2rem;
}
.meaning-block h4 { color: var(--gold); font-family:'Montserrat',sans-serif; font-size:11px; font-weight:600; letter-spacing:0.4em; text-transform:uppercase; margin-bottom:10px; }
.meaning-block p { font-size: 14px; color: var(--ivory-dim); line-height: 1.8; }
@media(max-width:900px) { .about-grid { grid-template-columns:1fr; gap:2.5rem; } }

/* ── REGISTER ── */
#register { background: var(--charcoal); }
.register-wrap {
  max-width: 640px; margin: 0 auto;
  background: rgba(12,10,7,0.7);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
  padding: 3.5rem; text-align: center;
}
.form-row { display: flex; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); text-align: left; }
.form-group input, .form-group select {
  background: rgba(12,10,7,0.8);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; color: var(--ivory);
  transition: border-color 0.2s; width: 100%;
}
.form-group input::placeholder { color: var(--dim); }
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
  background: rgba(30,27,18,0.9);
}
.form-group select option { background: var(--charcoal); }
.form-privacy { font-size: 11px; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.form-success {
  display: none; padding: 1.5rem; background: rgba(74,124,89,0.15);
  border: 1px solid rgba(74,124,89,0.3); border-radius: var(--radius);
  color: #6AAF78; font-size: 14px; margin-top: 1rem;
}
@media(max-width:600px) { .form-row { flex-direction:column; } .register-wrap { padding:2rem 1.5rem; } }

/* ── FAQ ── */
#faq { background: var(--night); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--ivory-dim); text-align: left; gap: 1rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-soft); }
.faq-q.open { color: var(--gold-soft); }
.faq-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.25s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 0 1.4rem; font-size: 14px;
  color: var(--muted); line-height: 1.8;
}
.faq-a.open { display: block; }

/* ── FOOTER ── */
footer {
  background: #070507;
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 1rem; max-width: 280px; line-height: 1.75; }
.footer-col h5 {
  font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--muted);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 11px; color: var(--dim); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 11px; color: var(--dim); }
.footer-legal a:hover { color: var(--muted); }
@media(max-width:820px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:500px) { .footer-grid { grid-template-columns:1fr; } .footer-bottom { flex-direction:column; text-align:center; } }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(30,27,18,0.98);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 1.2rem 2rem; display: none;
  align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 12px; color: var(--muted); }
.cookie-banner a { color: var(--gold); }
.cookie-btn { font-size: 11px; padding: 8px 22px; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--charcoal); border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: all 0.3s;
  color: var(--gold); font-size: 18px;
}
.back-top.show { opacity: 1; }
.back-top:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }

/* ── LIGHT SECTION (for legal pages) ── */
.light-section { background: var(--ivory); color: var(--body-dark); }
.light-section h1,.light-section h2,.light-section h3 { color: var(--body-dark); }
.light-section p { color: var(--body-dark); opacity:0.75; }
