:root {
    --primary:     #0F6E56;
    --accent:      #1D9E75;
    --bg:          #FFFFFF;
    --surface:     #F9FBFB;
    --text-dark:   #0D1B16;
    --text-light:  #5A7A6A;
    --border:      #E2E9E7;
    --radius:      12px;
    --nav-bg:      rgba(255, 255, 255, 0.95);
    --card-bg:     #FFFFFF;
    --shadow:      rgba(15, 110, 86, 0.10);
}

[data-theme="dark"] {
    --bg:          #0f172a;
    --surface:     #1e293b;
    --text-dark:   #f1f5f9;
    --text-light:  #94a3b8;
    --border:      #334155;
    --nav-bg:      rgba(15, 23, 42, 0.97);
    --card-bg:     #1e293b;
    --shadow:      rgba(0, 0, 0, 0.30);
}

@media (prefers-color-scheme: dark) {
    [data-theme="auto"] {
        --bg:      #0f172a;
        --surface: #1e293b;
        --text-dark:  #f1f5f9;
        --text-light: #94a3b8;
        --border:  #334155;
        --nav-bg:  rgba(15, 23, 42, 0.97);
        --card-bg: #1e293b;
        --shadow:  rgba(0, 0, 0, 0.30);
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; font-weight: 800; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 6%; position: sticky; top: 0;
    background: var(--nav-bg);          /* was rgba(255,255,255,0.95) */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: 20px; text-decoration: none; }
.logo-box { width: 32px; height: 32px; background: var(--primary); border-radius: 8px; display: grid; place-items: center; }
.logo-box i { color: white; font-size: 16px; }
nav ul { display: flex; gap: 24px; list-style: none; }
nav ul li a { text-decoration: none; color: var(--text-light); font-size: 14px; font-weight: 500; transition: 0.2s; }
nav ul li a:hover, nav ul li a.active { color: var(--primary); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-nav {
    background: var(--text-dark);       /* was hardcoded */
    color: var(--bg);                   /* was hardcoded white */
    padding: 10px 20px; border-radius: 50px; border: none;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.btn-nav:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(15,110,86,0.3); }

.btn-outline {
    background: var(--bg);              /* was hardcoded white */
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 10px 20px; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    padding: 100px 6%; display: flex; flex-direction: column;
    align-items: center; text-align: center;
    background: radial-gradient(circle at top, #F2FAF8 0%, var(--bg) 50%);
    transition: background 0.3s;
}
[data-theme="dark"] .hero { background: radial-gradient(circle at top, #0f2e24 0%, var(--bg) 60%); }
[data-theme="auto"]  .hero { background: radial-gradient(circle at top, #0f2e24 0%, var(--bg) 60%); }

.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.1; letter-spacing: -2px; max-width: 900px; margin-bottom: 24px; }
.hero p  { color: var(--text-light); font-size: 20px; max-width: 600px; margin-bottom: 32px; }

/* ── SECTIONS ────────────────────────────────────────────── */
section { padding: 100px 6%; background: var(--bg); transition: background 0.3s; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; margin-bottom: 16px; color: var(--text-dark); }
.section-header p  { color: var(--text-light); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* surface-background sections */
section.surface { background: var(--surface); }

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card {
    padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);         /* was var(--surface) ✓ */
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-5px); border-color: var(--accent);
    background: var(--card-bg);         /* was hardcoded white */
    box-shadow: 0 10px 40px var(--shadow);
}
.product-card h3 { color: var(--text-dark); margin-bottom: 10px; }
.product-card p  { color: var(--text-light); font-size: 14px; }

.icon-circle {
    width: 50px; height: 50px; background: #E1F5EE;
    border-radius: 12px; display: grid; place-items: center;
    margin-bottom: 20px; font-size: 24px; color: var(--primary);
}
[data-theme="dark"]  .icon-circle { background: rgba(29,158,117,0.15); }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.price-card {
    padding: 40px; border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card-bg);         /* was missing */
    text-align: center; transition: 0.3s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px var(--shadow); }
.price-card.featured { border: 2px solid var(--primary); background: var(--surface); position: relative; }
.price-card h3     { font-size: 20px; margin-bottom: 10px; color: var(--text-dark); }
.price-card .amount { font-size: 48px; font-weight: 800; margin-bottom: 20px; color: var(--text-dark); }
.price-card .amount span { font-size: 18px; font-weight: 400; color: var(--text-light); }
.price-card ul     { list-style: none; margin: 30px 0; text-align: left; }
.price-card ul li  { margin-bottom: 12px; font-size: 14px; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.price-card ul li i { color: var(--accent); }

/* ── SOLUTIONS ───────────────────────────────────────────── */
.solution-split { display: flex; gap: 60px; align-items: center; margin-bottom: 80px; }
.solution-img {
    flex: 1;
    background: linear-gradient(135deg, #EEF4F2 0%, #D4EDE6 100%);
    height: 400px; border-radius: 24px;
    display: grid; place-items: center;
    position: relative; overflow: hidden;
}
[data-theme="dark"] .solution-img { background: linear-gradient(135deg, #1a2e28 0%, #0f2e24 100%); }
.solution-img i { font-size: 80px; color: var(--primary); opacity: 0.3; }
.solution-content { flex: 1; }
.solution-content h2 { font-size: 32px; margin-bottom: 20px; color: var(--text-dark); }
.solution-content p  { color: var(--text-light); margin-bottom: 20px; }
.solution-content ul { list-style: none; }
.solution-content ul li { margin-bottom: 12px; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.solution-content ul li i { color: var(--primary); }

/* ── STATS ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.stat-item h3 { font-size: 48px; color: var(--primary); }
.stat-item p  { color: var(--text-light); }

/* ── POLICY ──────────────────────────────────────────────── */
.policy-container { max-width: 800px; margin: 0 auto; color: var(--text-light); }
.policy-container h3 { color: var(--text-dark); margin: 30px 0 15px; display: flex; align-items: center; gap: 10px; }
.policy-container h3 i { color: var(--primary); font-size: 20px; }
.policy-container p { line-height: 1.8; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
    padding: 60px 6%;
    background: var(--surface);
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 30px;
    transition: background 0.3s;
}
.footer-col h4 { margin-bottom: 20px; font-family: 'Sora'; color: var(--text-dark); }
.footer-col a  { display: block; color: var(--text-light); text-decoration: none; margin-bottom: 10px; font-size: 14px; transition: 0.2s; }
.footer-col a:hover { color: var(--primary); }

/* ── PAGE BANNER ─────────────────────────────────────────── */
.page-banner {
    padding: 120px 6% 60px; text-align: center;
    background: radial-gradient(circle at top, #F2FAF8 0%, var(--bg) 50%);
    transition: background 0.3s;
}
[data-theme="dark"] .page-banner { background: radial-gradient(circle at top, #0f2e24 0%, var(--bg) 60%); }
.page-banner h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; color: var(--text-dark); }
.page-banner p  { color: var(--text-light); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ── FEATURES ────────────────────────────────────────────── */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-item {
    padding: 30px; border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card-bg);         /* was hardcoded white */
    text-align: center; transition: 0.3s;
}
.feature-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-item i  { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.feature-item h4 { margin-bottom: 10px; color: var(--text-dark); }
.feature-item p  { color: var(--text-light); font-size: 14px; }

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { display: flex; gap: 30px; margin-bottom: 40px; position: relative; }
.timeline-dot  { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: grid; place-items: center; color: white; flex-shrink: 0; z-index: 1; }
.timeline-content h4 { margin-bottom: 8px; color: var(--text-dark); }
.timeline-content p  { color: var(--text-light); font-size: 14px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 850px) {
    nav ul { display: none; }
    .solution-split { flex-direction: column; }
    .hero h1 { font-size: 48px; }
    footer { flex-direction: column; text-align: center; }
    .solution-img { width: 100%; height: 250px; }
}