/* ============================================================
   Budgeting — Global Stylesheet
   style.css?v=1.0.0  |  assets/style.css?v=1.0.0
   ============================================================ */


/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0e1a;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --green:       #00d492;
  --green-dark:  #00b37a;
  --green-dim:   rgba(0, 212, 146, 0.12);
  --surface:     #111827;
  --surface2:    #1a2236;
  --border:      rgba(255,255,255,0.07);
  --border-focus:rgba(0,212,146,0.5);
  --text-muted:  #8899aa;
  --error:       #f87171;
  --radius:      16px;
}


/* ── Base Typography ──────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }


/* ── Utility ──────────────────────────────────────────────── */
.container       { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section         { padding: 96px 0; }
.section-label   {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title   { color: #fff; margin-bottom: 16px; }
.section-subtitle{ font-size: 1.1rem; max-width: 560px; }
.tag {
  display: inline-block;
  background: var(--green-dim); color: var(--green);
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  border: 1px solid rgba(0,212,146,0.25);
}


/* ── Shared Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn-primary {
  background: var(--green); color: #0a0e1a;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }


/* ── Shared Animations ────────────────────────────────────── */
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes popIn  { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }


/* ============================================================
   NAVBAR  (shared across all pages)
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.35rem; font-weight: 800;
  color: #fff; letter-spacing: -0.5px;
}
.logo span { color: var(--green); }
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a { font-size: 0.92rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta   { display: flex; gap: 10px; align-items: center; }
.nav-login {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-muted); transition: color 0.2s;
}
.nav-login:hover { color: #fff; }
.nav-back {
  font-size: 0.88rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.nav-back:hover { color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* register & verify pages: navbar is not fixed */
body:not(.page-landing) nav { position: relative; }


/* ============================================================
   LANDING PAGE  (index.html)
   ============================================================ */

/* ── Hero ── */
#hero {
  padding: 180px 0 100px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,146,0.14) 0%, transparent 70%);
  top: -200px; left: -200px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,146,0.08) 0%, transparent 70%);
  bottom: -100px; right: -100px; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-content .tag { margin-bottom: 20px; }
.hero-title { color: #fff; margin-bottom: 20px; letter-spacing: -1px; }
.hero-title em { font-style: normal; color: var(--green); }
.hero-desc { font-size: 1.1rem; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-val   { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.hero-visual { position: relative; z-index: 1; }

/* Hero card */
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-card-title  { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.hero-card-val    { font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-card-sub    { font-size: 0.8rem; color: var(--green); margin-top: 2px; }
.mini-bar-wrap    { margin: 20px 0; }
.mini-bar-row     { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.mini-bar-label   { font-size: 0.78rem; color: var(--text-muted); width: 90px; }
.mini-bar-track   { flex: 1; height: 6px; background: var(--surface2); border-radius: 100px; overflow: hidden; }
.mini-bar-fill    { height: 100%; border-radius: 100px; background: var(--green); }
.mini-bar-amt     { font-size: 0.78rem; color: #fff; font-weight: 600; width: 52px; text-align: right; }
.hero-txns        { margin-top: 16px; }
.txn-row          { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.txn-row:last-child { border-bottom: none; }
.txn-icon         { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-right: 10px; }
.txn-left         { display: flex; align-items: center; }
.txn-name         { font-size: 0.83rem; font-weight: 500; color: #fff; }
.txn-date         { font-size: 0.74rem; color: var(--text-muted); }
.txn-amt          { font-size: 0.88rem; font-weight: 700; }
.txn-neg          { color: #f87171; }
.txn-pos          { color: var(--green); }
.floating-badge   {
  position: absolute; background: var(--surface2);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 16px; font-size: 0.78rem; font-weight: 600;
  color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.badge-top { top: -16px; right: 40px; }
.badge-bot { bottom: -16px; left: 30px; }
.badge-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* ── Features section ── */
#features { background: var(--surface); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-subtitle { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(0,212,146,0.4); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px; background: var(--green-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h3 { color: #fff; margin-bottom: 10px; }
.feature-card p  { font-size: 0.9rem; }

/* ── How It Works ── */
#how { position: relative; }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 32px; }
.step  { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-dim); border: 1px solid rgba(0,212,146,0.3);
  color: var(--green); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h3 { color: #fff; margin-bottom: 6px; }
.step-content p  { font-size: 0.9rem; }
.how-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.report-header  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.report-title   { font-size: 0.9rem; font-weight: 600; color: #fff; }
.report-period  { font-size: 0.75rem; color: var(--text-muted); }
.chart-bars     { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-bottom: 12px; }
.bar-col        { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 4px; }
.bar            { width: 100%; border-radius: 4px 4px 0 0; transition: height 0.3s; }
.bar-income     { background: var(--green); }
.bar-expense    { background: rgba(248,113,113,0.7); }
.bar-month      { font-size: 0.65rem; color: var(--text-muted); }
.chart-legend   { display: flex; gap: 16px; margin-bottom: 20px; }
.legend-dot     { width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; display: inline-block; }
.legend-item    { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; }
.summary-rows   { border-top: 1px solid var(--border); padding-top: 16px; }
.summary-row    { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.82rem; }
.summary-row span:first-child { color: var(--text-muted); }
.summary-row span:last-child  { color: #fff; font-weight: 600; }
.summary-row.total span       { color: var(--green) !important; font-size: 0.9rem; }

/* ── Pricing ── */
#pricing { background: var(--surface); }
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-subtitle { margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; position: relative; transition: transform 0.2s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured {
  border-color: var(--green);
  background: linear-gradient(160deg, rgba(0,212,146,0.08) 0%, var(--surface2) 60%);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #0a0e1a;
  font-size: 0.72rem; font-weight: 700; padding: 4px 14px;
  border-radius: 100px; white-space: nowrap;
}
.plan-name    { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.plan-price   { font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: 4px; letter-spacing: -1px; }
.plan-price sup  { font-size: 1.2rem; vertical-align: super; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-desc    { font-size: 0.85rem; margin-bottom: 24px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 28px; }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: #cbd5e1; }
.plan-features li .check { color: var(--green); flex-shrink: 0; margin-top: 1px; }
.plan-features li .cross { color: #4b5563; flex-shrink: 0; margin-top: 1px; }
.plan-cta     { margin-top: auto; }
.plan-cta .btn { width: 100%; justify-content: center; }
.plan-card.featured .btn-outline { border-color: var(--green); color: var(--green); }

/* ── Testimonials ── */
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-subtitle { margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: rgba(0,212,146,0.3); }
.stars           { color: #fbbf24; font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text{ font-size: 0.92rem; color: #cbd5e1; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-dim); border: 2px solid rgba(0,212,146,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--green);
}
.author-name { font-size: 0.88rem; font-weight: 600; color: #fff; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── FAQ ── */
#faq { background: var(--surface); }
.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: flex-start; }
.faq-left h2 { color: #fff; margin-bottom: 14px; }
.faq-left p  { font-size: 0.95rem; }
.faq-left .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer;
  font-size: 0.95rem; font-weight: 500; color: #fff; gap: 16px;
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; color: var(--green); transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.9rem; line-height: 1.7; }

/* ── CTA Banner ── */
#cta { padding: 0 0 96px; }
.cta-box {
  background: linear-gradient(135deg, rgba(0,212,146,0.15) 0%, rgba(0,179,122,0.08) 100%);
  border: 1px solid rgba(0,212,146,0.25); border-radius: 24px;
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,146,0.1) 0%, transparent 70%);
  top: -150px; right: -100px; pointer-events: none;
}
.cta-box h2  { color: #fff; margin-bottom: 14px; }
.cta-box p   { font-size: 1.05rem; max-width: 480px; margin: 0 auto 32px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; max-width: 240px; }
.footer-col h4, .footer-heading {
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px;
}
.footer-links, .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links li a:hover, .footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p, .footer-bottom span { font-size: 0.82rem; }

/* ── Landing page — responsive ── */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .features-grid     { grid-template-columns: 1fr 1fr; }
  .how-inner         { grid-template-columns: 1fr; }
  .how-visual        { display: none; }
  .faq-inner         { grid-template-columns: 1fr; gap: 40px; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .nav-links         { display: none; }
  .hamburger         { display: none; }
  .nav-login         { display: none; }

  /* pricing: horizontal scroll-snap row */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 12px;
    /* hide scrollbar but keep scroll */
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .plan-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
  .plan-card.featured { scroll-snap-align: start; order: -1; }
  .pricing-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 10px;
  }

  /* testimonials: horizontal scroll-snap carousel */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex: 0 0 85vw;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  /* ── spacing ── */
  #hero    { padding: 90px 0 56px; }
  .section { padding: 52px 0; }

  /* ── hero visual: show compact card, hide floating badges ── */
  .hero-visual       { display: block; }
  .floating-badge    { display: none; }
  .hero-card         { margin-top: 8px; }

  /* ── features ── */
  .features-grid { grid-template-columns: 1fr; }

  /* ── stats ── */
  .hero-stats    { flex-wrap: wrap; gap: 20px; }

  /* ── footer ── */
  .footer-top    { grid-template-columns: 1fr; }

  /* ── cta ── */
  .cta-box       { padding: 48px 24px; }
  .cta-btns      { flex-direction: column; align-items: center; }

  /* ── hero actions full-width on small ── */
  .hero-actions .btn { flex: 1; justify-content: center; }

  /* ── pricing cards full-width on very small ── */
  .plan-card { flex: 0 0 82vw; }

  /* ── testimonial cards full-width ── */
  .testimonial-card { flex: 0 0 88vw; }

  /* ── nav menu mobile drawer ── */
  .mobile-menu-drawer {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    z-index: 99;
    display: none;
  }
  .mobile-menu-drawer.open { display: block; }
  .mobile-menu-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
  }
  .mobile-menu-panel {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #111827;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .mobile-menu-panel .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
  }
  .mobile-menu-panel .nav-links li a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: #e2e8f0;
  }
  .mobile-menu-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-menu-actions .nav-login {
    flex: 1; text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    font-size: 0.92rem;
  }
  .mobile-menu-actions .btn-primary {
    flex: 1.4; text-align: center; justify-content: center;
  }

  /* hamburger → X animation */
  .hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hamburger span { transition: transform 0.25s, opacity 0.25s; }

  /* dot indicators for testimonials + pricing */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }
  .carousel-dot {
    width: 6px; height: 6px;
    border-radius: 100px;
    background: var(--border);
    transition: background 0.2s, width 0.2s;
    cursor: pointer;
  }
  .carousel-dot.active {
    background: var(--green);
    width: 16px;
  }

  /* scroll hint label under pricing */
  .pricing-scroll-hint { display: block; }
}


/* ============================================================
   REGISTER PAGE  (register.html)
   ============================================================ */
.page-wrap {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}

/* Left panel */
.left-panel {
  background: linear-gradient(160deg, rgba(0,212,146,0.1) 0%, rgba(0,179,122,0.04) 60%, #0a0e1a 100%);
  border-right: 1px solid var(--border);
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.left-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,146,0.12) 0%, transparent 70%);
  top: -150px; left: -150px; pointer-events: none;
}
.left-panel h2 {
  font-size: 2rem; font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.5px;
}
.left-panel h2 em { font-style: normal; color: var(--green); }
.left-panel > p   { font-size: 1rem; margin-bottom: 40px; max-width: 340px; }
.benefit-list { display: flex; flex-direction: column; gap: 18px; }
.benefit      { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-dim); border: 1px solid rgba(0,212,146,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.benefit-text strong { display: block; font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
.benefit-text span   { font-size: 0.82rem; color: var(--text-muted); }
.left-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.trust-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-badge  { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted); }
.trust-badge svg { color: var(--green); }

/* Security strip */
.security-strip { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.security-item  { display: flex; align-items: flex-start; gap: 10px; font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.security-item .sec-icon {
  width: 20px; height: 20px; background: var(--green-dim); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0; margin-top: 1px;
}

/* Right panel */
.right-panel {
  padding: 48px 48px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 520px; margin: 0 auto; width: 100%;
}
.form-header        { margin-bottom: 28px; }
.form-header h1     { font-size: 1.7rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.form-header p      { font-size: 0.9rem; }
.form-header a      { color: var(--green); font-weight: 500; }
.form-header a:hover{ text-decoration: underline; }

/* Plan selector */
.plan-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.plan-option   { display: none; }
.plan-label {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 10px; border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; text-align: center; transition: all 0.2s; background: var(--surface2);
}
.plan-label:hover { border-color: rgba(0,212,146,0.3); }
.plan-option:checked + .plan-label { border-color: var(--green); background: var(--green-dim); }
.plan-label-name  { font-size: 0.82rem; font-weight: 700; color: #fff; letter-spacing: 0.05em; }
.plan-label-price { font-size: 0.75rem; color: var(--text-muted); }
.plan-label-price.free { color: var(--green); }
.plan-icon { font-size: 1.2rem; margin-bottom: 2px; }

/* Form fields */
.form-group { margin-bottom: 16px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.82rem; font-weight: 500; color: #cbd5e1; margin-bottom: 7px; }
.field-wrap { position: relative; }
.field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; pointer-events: none; opacity: 0.5;
}
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%; background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 14px 12px 40px; font-size: 0.92rem;
  font-family: 'Inter', sans-serif; color: #fff; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(0,212,146,0.1); }
input::placeholder { color: var(--text-muted); }
input.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(248,113,113,0.1); }
.field-error { display: none; font-size: 0.76rem; color: var(--error); margin-top: 5px; }
.field-error.visible { display: block; }
.password-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; opacity: 0.5; font-size: 1rem; transition: opacity 0.2s;
  background: none; border: none; color: #fff;
}
.password-toggle:hover { opacity: 1; }

/* Password strength */
.pw-strength { margin-top: 8px; display: none; }
.pw-strength.visible { display: block; }
.pw-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.pw-bar  { height: 3px; flex: 1; border-radius: 2px; background: var(--border); transition: background 0.3s; }
.pw-bar.filled-weak   { background: var(--error); }
.pw-bar.filled-medium { background: #fbbf24; }
.pw-bar.filled-strong { background: var(--green); }
.pw-label { font-size: 0.72rem; color: var(--text-muted); }

/* Terms */
.terms-wrap { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.terms-wrap input[type="checkbox"] {
  width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 4px;
  background: var(--surface2); cursor: pointer; flex-shrink: 0; margin-top: 2px;
  padding: 0; accent-color: var(--green);
}
.terms-wrap label { font-size: 0.82rem; color: var(--text-muted); cursor: pointer; margin: 0; }
.terms-wrap a     { color: var(--green); }

/* reCAPTCHA */
.grecaptcha-badge  { visibility: hidden !important; }
.recaptcha-notice  { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.recaptcha-notice a { color: var(--green); opacity: 0.8; }
.recaptcha-notice a:hover { opacity: 1; text-decoration: underline; }

/* Submit button */
.btn-submit {
  width: 100%; padding: 14px; background: var(--green); color: #0a0e1a;
  font-size: 0.95rem; font-weight: 700; border: none; border-radius: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: background 0.2s, transform 0.1s; font-family: 'Inter', sans-serif;
}
.btn-submit:hover   { background: var(--green-dark); }
.btn-submit:active  { transform: scale(0.99); }
.btn-submit:disabled{ opacity: 0.6; cursor: not-allowed; }
.btn-submit .spinner {
  width: 18px; height: 18px; border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #0a0e1a; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: none;
}
.btn-submit.loading .spinner  { display: block; }
.btn-submit.loading .btn-text { display: none; }

/* API messages */
.api-message {
  border-radius: 10px; padding: 14px 16px; font-size: 0.88rem;
  margin-bottom: 16px; display: none; align-items: flex-start; gap: 10px;
}
.api-message.visible  { display: flex; }
.api-message.success  { background: rgba(0,212,146,0.1); border: 1px solid rgba(0,212,146,0.3); color: #6efdd9; }
.api-message.error    { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #fca5a5; }
.api-message.warning  { background: rgba(251,191,36,0.1);  border: 1px solid rgba(251,191,36,0.3);  color: #fde68a; }

/* Check-email success overlay */
.success-overlay {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 20px 0;
}
.success-overlay.visible { display: flex; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-dim); border: 2px solid rgba(0,212,146,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin-bottom: 24px;
  animation: popIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
.success-overlay h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.success-overlay .success-email {
  font-size: 0.88rem; font-weight: 600; color: var(--green);
  background: var(--green-dim); border: 1px solid rgba(0,212,146,0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; display: inline-block;
}
.success-overlay > p     { max-width: 320px; margin: 0 auto 8px; font-size: 0.88rem; line-height: 1.6; }
.success-overlay .success-hint { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 28px; }
.btn-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--green); color: #0a0e1a;
  border-radius: 10px; font-weight: 700; font-size: 0.92rem; transition: background 0.2s;
}
.btn-login:hover { background: var(--green-dark); }
.btn-resend {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 10px;
  font-weight: 500; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; font-family: 'Inter', sans-serif; margin-top: 12px;
}
.btn-resend:hover    { border-color: var(--green); color: var(--green); }
.btn-resend:disabled { opacity: 0.5; cursor: not-allowed; }
.resend-countdown    { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }

/* Register — responsive */
@media (max-width: 900px) {
  .page-wrap   { grid-template-columns: 1fr; }
  .left-panel  { display: none; }
  .right-panel { padding: 40px 24px; max-width: 100%; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   VERIFY EMAIL PAGE  (verify-email.html)
   ============================================================ */
.page-center {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px; position: relative; overflow: hidden;
}
.bg-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,146,0.1) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 56px 48px; max-width: 480px; width: 100%; text-align: center;
  position: relative; z-index: 1; box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

/* State: Loading */
#stateLoading { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loading-ring {
  width: 64px; height: 64px;
  border: 3px solid var(--border); border-top-color: var(--green);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
#stateLoading h2 { font-size: 1.3rem; color: #fff; }
#stateLoading p  { font-size: 0.9rem; max-width: 280px; }

/* State: Success */
#stateSuccess { display: none; flex-direction: column; align-items: center; }
.state-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin-bottom: 24px;
  animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
.icon-success { background: var(--green-dim); border: 2px solid rgba(0,212,146,0.35); }
.icon-error   { background: rgba(248,113,113,0.1); border: 2px solid rgba(248,113,113,0.3); }
.icon-warn    { background: rgba(251,191,36,0.1);  border: 2px solid rgba(251,191,36,0.3); }
#stateSuccess h2 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; }
#stateSuccess p  { font-size: 0.92rem; max-width: 300px; margin: 0 auto 10px; line-height: 1.65; }
.plan-badge {
  display: inline-block; background: var(--green-dim); color: var(--green);
  font-size: 0.78rem; font-weight: 700; padding: 4px 14px; border-radius: 100px;
  border: 1px solid rgba(0,212,146,0.25); margin: 12px 0 28px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* State: Error */
#stateError    { display: none; flex-direction: column; align-items: center; }
#stateError h2 { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
#stateError p  { font-size: 0.9rem; max-width: 300px; margin: 0 auto 24px; line-height: 1.65; }
.error-detail  {
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2);
  border-radius: 10px; padding: 12px 16px; font-size: 0.82rem; color: #fca5a5;
  margin-bottom: 28px; max-width: 340px; width: 100%; text-align: left;
}
.btn-outline-verify {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 10px;
  font-weight: 500; font-size: 0.9rem; transition: all 0.2s; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-outline-verify:hover { border-color: var(--green); color: var(--green); }

/* Next steps */
.next-steps    { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); text-align: left; width: 100%; }
.next-steps h4 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.next-step-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.step-num-sm {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--green-dim); border: 1px solid rgba(0,212,146,0.2);
  color: var(--green); font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-text       { font-size: 0.85rem; color: #cbd5e1; line-height: 1.5; }
.step-text strong{ color: #fff; }

@media (max-width: 560px) {
  .card { padding: 40px 24px; }
}
