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

/* TOKENS */
:root, [data-theme="light"] {
  --bg:        #f4faf6;
  --bg2:       #e8f5ec;
  --surface:   #ffffff;
  --border:    rgba(75,162,101,0.18);
  --text:      #404040;
  --text2:     #303030;
  --muted:     #5e7060;
  --accent:    #4BA265;
  --accent-dk: #368050;
  --accent-lt: #d4edda;
  --glow:      rgba(75,162,101,0.2);
  --nav-bg:    rgba(244,250,246,0.92);
  --shadow:    0 2px 16px rgba(75,162,101,0.1);
  --radius:    14px;
  --font:      'Inter', system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg:        #0e1a10;
  --bg2:       #121e14;
  --surface:   #192b1c;
  --border:    rgba(75,162,101,0.2);
  --text:      #e4f0e7;
  --text2:     #f0f8f2;
  --muted:     #7aA07e;
  --accent:    #4BA265;
  --accent-dk: #6dc484;
  --accent-lt: rgba(75,162,101,0.18);
  --glow:      rgba(75,162,101,0.28);
  --nav-bg:    rgba(14,26,16,0.92);
  --shadow:    0 2px 20px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.2rem; font-weight: 700; color: var(--text2); text-decoration: none; }
.logo-mark { color: var(--accent); font-weight: 800; }
.nav-center { display: flex; gap: 8px; }
.nav-center a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.nav-center a:hover { background: var(--accent-lt); color: var(--accent-dk); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: background .2s;
}
.t-sun, .t-moon { position: absolute; transition: opacity .2s; }
.t-sun { opacity: 1; } .t-moon { opacity: 0; }
[data-theme="dark"] .t-sun { opacity: 0; } [data-theme="dark"] .t-moon { opacity: 1; }
.theme-toggle { position: relative; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
}
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 190;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column; gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.mobile-menu.open { display: flex; }
.mm-link {
  color: var(--text); font-size: 1rem; font-weight: 500;
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* BUTTONS */
.btn {
  display: inline-block; padding: 10px 22px;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  font-family: var(--font); transition: all .2s; text-align: center;
}
.btn-sm  { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg  { padding: 13px 28px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dk); box-shadow: 0 4px 20px var(--glow); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-white { background: #fff; color: var(--accent) !important; font-weight: 700; }
.btn-white:hover { background: var(--accent-lt); }
.btn-outline { background: transparent; color: var(--accent) !important; border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--muted) !important; }
.btn-ghost:hover { color: var(--text) !important; }
.w-full { width: 100%; }

/* HERO */
.hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 80px; text-align: center;
}
.hero-inner { position: relative; z-index: 1; }
.hero-blob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, var(--glow) 0%, transparent 65%);
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  background: var(--accent-lt); border: 1.5px solid rgba(75,162,101,.35);
  color: var(--accent-dk); margin-bottom: 28px; letter-spacing: .3px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; color: var(--text2);
}
.gradient-text {
  background: linear-gradient(135deg, #4BA265, #2d7a47);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, #6dc484, #B7DBB2);
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub {
  font-size: 1.15rem; color: var(--muted);
  max-width: 500px; margin: 0 auto 40px; line-height: 1.75;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: inline-flex; align-items: center; gap: 28px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 14px 36px; box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: 0.73rem; color: var(--muted); }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* SECTION */
section { padding: 96px 0; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.8px; margin-bottom: 52px; max-width: 580px; color: var(--text2); }

/* FEATURES */
.features { background: var(--bg2); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px var(--glow); }
.fc-green  { border-color: #4BA265; } .fc-blue   { border-color: #3b82f6; }
.fc-purple { border-color: #8b5cf6; } .fc-orange { border-color: #f59e0b; }
.fc-teal   { border-color: #14b8a6; } .fc-pink   { border-color: #ec4899; }
.fc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}
.fc-green  .fc-icon { background: #d4edda; }
.fc-blue   .fc-icon { background: #dbeafe; }
.fc-purple .fc-icon { background: #ede9fe; }
.fc-orange .fc-icon { background: #fef3c7; }
.fc-teal   .fc-icon { background: #ccfbf1; }
.fc-pink   .fc-icon { background: #fce7f3; }
[data-theme="dark"] .fc-icon { opacity: .85; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text2); }
.feature-card p  { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* PROCESS */
.process { background: var(--bg); }
.process-track { position: relative; padding: 16px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ps { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ps-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--accent-lt);
  z-index: 1; flex-shrink: 0;
}
.ps-dot--last { background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }
.ps-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  box-shadow: var(--shadow); width: 100%;
  transition: transform .2s;
}
.ps-card:hover { transform: translateY(-3px); }
.ps-card--accent { border-color: #f59e0b; box-shadow: 0 4px 20px rgba(245,158,11,.15); }
.ps-icon { font-size: 1.6rem; margin-bottom: 10px; }
.ps-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: 6px; color: var(--text2); }
.ps-card p  { font-size: .84rem; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.ps-time {
  display: inline-block; font-size: .73rem; font-weight: 600;
  background: var(--accent-lt); color: var(--accent-dk);
  padding: 3px 10px; border-radius: 50px;
}
.ps-card--accent .ps-time { background: #fef3c7; color: #92400e; }

/* PRICING */
.pricing { background: var(--bg2); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; box-shadow: var(--shadow); transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 8px 40px var(--glow); }
.pricing-card--featured .plan-name,
.pricing-card--featured .p-sub,
.pricing-card--featured .plan-features li { color: rgba(255,255,255,.85); }
.pricing-card--featured .p-amount { color: #fff; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #f59e0b; color: #fff; font-size: .73rem; font-weight: 700;
  padding: 4px 18px; border-radius: 50px; white-space: nowrap;
}
.plan-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 12px;
  background: var(--accent-lt); color: var(--accent-dk);
}
.plan-tag--white { background: rgba(255,255,255,.2); color: #fff; }
.plan-tag--dark  { background: #f3f4f6; color: #374151; }
[data-theme="dark"] .plan-tag--dark { background: var(--bg2); color: var(--muted); }
.plan-name { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.plan-price { margin-bottom: 4px; display: flex; align-items: baseline; gap: 8px; }
.p-amount { font-size: 1.8rem; font-weight: 800; color: var(--text2); }
.p-label { font-size: .8rem; color: var(--muted); }
.p-sub { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 9px; }
.plan-features li {
  font-size: .88rem; color: var(--muted);
  padding-left: 20px; position: relative;
}
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.pricing-card--featured .plan-features li::before { background: rgba(255,255,255,.8); }

/* CONTACT */
.contact { background: var(--bg); }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-inner h2 { max-width: 100%; }
.contact-sub { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }
.contact-form { text-align: left; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  color: var(--text); font-family: var(--font); font-size: .9rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: .6; }
.contact-form select option { background: var(--surface); color: var(--text); }
.contact-form textarea { min-height: 110px; resize: vertical; }
.btn-submit { padding: 14px; font-size: 1rem; border-radius: 10px; width: 100%; letter-spacing: .3px; }
.form-msg { font-size: .87rem; padding: 12px 16px; border-radius: 10px; display: none; text-align: center; }
.form-msg.ok  { display: block; background: #d4edda; color: #1e5128; border: 1px solid #B7DBB2; }
.form-msg.err { display: block; background: #fde8e8; color: #7c1d1d; border: 1px solid #fca5a5; }
[data-theme="dark"] .form-msg.ok  { background: #1a3320; color: #B7DBB2; border-color: #2d5a35; }
[data-theme="dark"] .form-msg.err { background: #2a1515; color: #fca5a5; border-color: #5a2d2d; }

/* FOOTER */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 52px 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; flex-wrap: wrap; gap: 32px; }
.footer-logo { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.footer-desc { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.footer-nav { display: flex; gap: 40px; }
.fn-col { display: flex; flex-direction: column; gap: 8px; }
.fn-title { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.fn-col a { color: var(--muted); text-decoration: none; font-size: .87rem; transition: color .2s; }
.fn-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; color: var(--muted); font-size: .8rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-center { display: none; }
  .hamburger { display: flex; }
  .process-steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  section h2 { margin-bottom: 36px; }
  .hero-stats { flex-direction: column; border-radius: 20px; gap: 14px; padding: 20px; }
  .stat-div { width: 40px; height: 1px; }
  .footer-nav { flex-direction: column; gap: 20px; }
}
