/* ═══════════════════════════════════════════════
   Eggsy – Marketing Landingpage v2
   ═══════════════════════════════════════════════ */

/* ─── Variables & Reset ─────────────────────────── */
:root {
    --green:         #3A7D44;
    --green-dark:    #2E6A35;
    --green-darker:  #1B5E20;
    --green-light:   #A5D6A7;
    --green-pale:    #E8F5E0;
    --accent:        #E8A020;
    --accent-dark:   #CC8C10;
    --cream:         #F5EFE0;
    --cream-dark:    #EDE5D0;
    --white:         #ffffff;
    --gray-50:       #f8fafc;
    --gray-100:      #f1f5f9;
    --gray-200:      #e2e8f0;
    --gray-300:      #cbd5e1;
    --gray-400:      #94a3b8;
    --gray-600:      #475569;
    --gray-800:      #1e293b;
    --text:          #1a1a1a;
    --radius:        12px;
    --radius-lg:     20px;
    --radius-pill:   50px;
    --shadow:        0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:     0 12px 48px rgba(0,0,0,0.14);
    --transition:    0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Container ─────────────────────────────────── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Section Scaffolding ───────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-pale);
    border: 1px solid #C8E6C9;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-bottom: 56px;
}

/* ─── Utility ───────────────────────────────────── */
.d-desktop-only { display: none; }
@media (min-width: 768px) { .d-desktop-only { display: inline; } }

/* ═══════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.navbar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-logo-egg {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background var(--transition);
}

.site-header.scrolled .nav-logo { color: var(--green-darker); }
.site-header.scrolled .nav-logo-egg { background: var(--green-pale); }

.nav-links {
    display: none;
    list-style: none;
    gap: 4px;
    flex: 1;
}

.nav-links li a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.site-header.scrolled .nav-links li a { color: var(--gray-600); }
.site-header.scrolled .nav-links li a:hover { color: var(--green-dark); background: var(--green-pale); }

.nav-ctas {
    display: none;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

.btn-nav-login {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: all var(--transition);
}

.btn-nav-login:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
}

.site-header.scrolled .btn-nav-login { color: var(--gray-600); border-color: var(--gray-200); }

.btn-nav-cta {
    padding: 8px 20px;
    background: var(--white);
    color: var(--green-dark) !important;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.btn-nav-cta:hover {
    background: var(--green-pale);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.site-header.scrolled .btn-nav-cta {
    background: var(--green);
    color: var(--white) !important;
}

/* Burger */
.nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.site-header.scrolled .nav-burger span { background: var(--gray-800); }

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--green-darker);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay ul { list-style: none; text-align: center; margin-bottom: 32px; }
.mobile-nav-overlay ul li { margin: 4px 0; }

.mobile-nav-overlay ul li a {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    padding: 12px 40px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.mobile-nav-overlay ul li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.mobile-nav-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 240px;
    text-align: center;
}

.btn-outline-white {
    padding: 14px 32px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
}

.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-white {
    padding: 14px 32px;
    background: var(--white);
    border-radius: var(--radius-pill);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
}

.btn-white:hover { background: var(--green-pale); }

@media (min-width: 768px) {
    .nav-links  { display: flex; }
    .nav-ctas   { display: flex; }
    .nav-burger { display: none; }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
    position: relative;
    background: linear-gradient(140deg, #1B5E20 0%, #2E6A35 45%, #3A7D44 80%, #5A9E64 100%);
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--white);
}

.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero-shape-2 { width: 400px; height: 400px; bottom: -100px; left: -120px; }
.hero-shape-3 { width: 200px; height: 200px; top: 40%; left: 30%; }

.hero .container { position: relative; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px; height: 8px;
    background: #A5D6A7;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-highlight { color: #A5D6A7; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
    background: var(--green-pale);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
}

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 60px;
}

/* ─── Desktop Dashboard Preview ──────────────── */
.hero-preview {
    max-width: 900px;
    margin: 0 auto;
    animation: floatUp 0.8s ease both 0.3s;
}

@keyframes floatUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.preview-window {
    background: #1e2433;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.preview-bar {
    background: #2d3348;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.preview-dot.red    { background: #ff5f57; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green  { background: #28c840; }

.preview-url {
    background: #3a4055;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-family: monospace;
    margin-left: 8px;
}

.preview-content { display: flex; height: 300px; }

/* Updated sidebar */
.preview-sidebar {
    width: 160px;
    background: #2E6A35;
    padding: 16px 0;
    flex-shrink: 0;
}

.ps-logo {
    padding: 0 12px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ps-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    font-size: 0.73rem;
    color: rgba(255,255,255,0.5);
    cursor: default;
    border-radius: 8px;
    margin: 1px 6px;
}

.ps-item.ps-active {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    font-weight: 700;
}

/* Updated main dashboard preview */
.preview-main {
    flex: 1;
    background: #F5EFE0;
    padding: 18px;
    overflow: hidden;
}

.pm-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.pm-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pm-card {
    background: var(--white);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pm-val { font-size: 0.88rem; font-weight: 800; color: #1a1a1a; }
.pm-lbl { font-size: 0.6rem; color: #aaa; margin-top: 2px; font-weight: 500; }

.pm-chart-label { font-size: 0.68rem; color: #666; margin-bottom: 6px; font-weight: 600; }

.pm-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 56px;
    background: var(--white);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pm-bar {
    flex: 1;
    background: rgba(58,125,68,0.25);
    border-radius: 2px 2px 0 0;
    min-height: 4px;
}

.pm-bar-today { background: #3A7D44; }

/* ═══════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════ */
.stats-bar {
    background: var(--green-darker);
    padding: 36px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item { text-align: center; padding: 12px 40px; }

.stat-num {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

/* ═══════════════════════════════════════════════
   PHONE SCREENSHOTS SECTION
═══════════════════════════════════════════════ */
.screenshots {
    padding: 100px 0 80px;
    background: var(--cream);
    text-align: center;
    overflow: hidden;
}

.phones-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.phone-wrap {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.phone-wrap:hover { transform: translateY(-8px); }

/* Center phone slightly elevated */
.phone-wrap:nth-child(2),
.phone-wrap:nth-child(3) {
    transform: translateY(-12px);
}
.phone-wrap:nth-child(2):hover,
.phone-wrap:nth-child(3):hover {
    transform: translateY(-20px);
}

.phone-mockup {
    width: 210px;
    background: var(--white);
    border-radius: 36px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.07);
    position: relative;
}

/* Phone status bar */
.ph-status {
    height: 26px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 0.6rem;
    font-weight: 800;
    color: #1a1a1a;
    flex-shrink: 0;
}

.ph-status-right {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 0.55rem;
    color: #1a1a1a;
}

/* Phone screen content */
.ph-inner {
    display: flex;
    flex-direction: column;
    background: var(--cream);
    min-height: 400px;
}

.ph-topbar {
    background: var(--white);
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.ph-topbar-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--green-dark);
}

.ph-egg-bubble {
    width: 22px; height: 22px;
    background: var(--green-dark);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
}

.ph-topbar-back {
    font-size: 0.7rem;
    color: var(--green-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

.ph-topbar-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1a1a1a;
    flex: 1;
    text-align: center;
}

.ph-topbar-bell {
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--green-dark);
}

/* Phone content area */
.ph-content { flex: 1; padding: 10px 0 6px; overflow: hidden; }

.ph-greeting {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a1a;
    padding: 2px 14px 8px;
}

/* Phone KPI card */
.ph-kpi {
    background: var(--white);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 0 10px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ph-kpi-val { font-size: 1.35rem; font-weight: 800; color: #1a1a1a; line-height: 1; }
.ph-kpi-lbl { font-size: 0.58rem; color: #aaa; margin-top: 2px; font-weight: 500; }

.ph-kpi-badge {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-pale);
    padding: 3px 7px;
    border-radius: 50px;
}

/* Phone card (green header) */
.ph-card {
    background: var(--white);
    border-radius: 12px;
    margin: 0 10px 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ph-card-header {
    background: var(--green-dark);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ph-card-body { padding: 10px 12px; }

/* Phone mini chart */
.ph-chart-card {
    background: var(--white);
    border-radius: 12px;
    margin: 0 10px 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ph-chart-title { font-size: 0.58rem; color: #888; font-weight: 600; margin-bottom: 6px; }

.ph-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 32px;
}

.ph-cbar {
    flex: 1;
    background: rgba(58,125,68,0.2);
    border-radius: 2px 2px 0 0;
    min-height: 3px;
}

.ph-cbar-today { background: var(--green); }

/* Phone buttons */
.ph-btn-green {
    background: var(--green-dark);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 9px 14px;
    margin: 0 10px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(46,106,53,0.3);
}

.ph-btn-amber {
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 9px 14px;
    margin: 0 10px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(232,160,32,0.3);
}

/* Phone form elements */
.ph-form-group { margin-bottom: 8px; }

.ph-form-label {
    font-size: 0.6rem;
    color: #777;
    font-weight: 600;
    margin-bottom: 3px;
    display: block;
}

.ph-form-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.ph-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ph-stepper-btn {
    width: 26px; height: 26px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-dark);
    flex-shrink: 0;
}

.ph-stepper-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    min-width: 30px;
    text-align: center;
}

.ph-form-sub { font-size: 0.58rem; color: #aaa; margin-top: 3px; }

/* Phone list items */
.ph-section-date {
    font-size: 0.6rem;
    font-weight: 700;
    color: #888;
    padding: 6px 12px 3px;
}

.ph-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ph-list-item:last-child { border-bottom: none; }

.ph-list-left { display: flex; align-items: center; gap: 6px; }

.ph-list-icon {
    font-size: 0.9rem;
}

.ph-list-name { font-size: 0.65rem; font-weight: 600; color: #333; }
.ph-list-sub  { font-size: 0.55rem; color: #aaa; }

.ph-list-val { font-size: 0.65rem; font-weight: 600; color: #555; }
.ph-list-val.negative { color: #C62828; }

/* Phone category selector */
.ph-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ph-cat-left { display: flex; align-items: center; gap: 7px; }
.ph-cat-icon { font-size: 0.9rem; }
.ph-cat-name { font-size: 0.68rem; font-weight: 600; color: #333; }
.ph-cat-arrow { font-size: 0.6rem; color: #ccc; }

/* Phone bottom navigation */
.ph-bottom-nav {
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 7px 0 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.ph-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.48rem;
    color: #ccc;
    font-weight: 600;
}

.ph-nav-item.active { color: var(--green); }

.ph-nav-icon { font-size: 0.9rem; display: block; line-height: 1; }

/* Phone home indicator */
.ph-home-indicator {
    height: 18px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ph-home-bar {
    width: 60px; height: 4px;
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════ */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: #C8E6C9;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }

.feature-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }

.feature-list li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-it-works {
    padding: 100px 0;
    background: var(--cream);
    text-align: center;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 32px 24px;
}

.step-num {
    width: 36px; height: 36px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon { font-size: 2.5rem; margin-bottom: 16px; }

.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.step p  { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

.step-arrow { align-self: center; font-size: 1.5rem; color: var(--green); opacity: 0.4; padding: 0 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FOR WHOM
═══════════════════════════════════════════════ */
.for-whom { padding: 100px 0; background: var(--white); text-align: center; }

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.persona-card {
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.persona-card:hover {
    border-color: #C8E6C9;
    background: var(--green-pale);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.persona-icon { font-size: 2.5rem; margin-bottom: 16px; }

.persona-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; }
.persona-card p  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }

.persona-tag {
    display: inline-block;
    background: #C8E6C9;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
}

/* ═══════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════ */
.pricing { padding: 100px 0; background: var(--cream); text-align: center; }

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label { font-size: 0.9rem; font-weight: 600; color: var(--gray-400); transition: color var(--transition); }
.toggle-label.toggle-active { color: var(--gray-800); }

.toggle-btn {
    position: relative;
    width: 48px; height: 26px;
    background: var(--gray-200);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: background var(--transition);
}

.toggle-btn.active { background: var(--green); }

.toggle-handle {
    position: absolute;
    top: 3px; left: 3px;
    width: 20px; height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-btn.active .toggle-handle { transform: translateX(22px); }

.toggle-save-badge {
    background: var(--green-pale);
    color: var(--green-dark);
    border: 1px solid #C8E6C9;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 32px;
}

.price-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: left;
    position: relative;
    transition: all var(--transition);
}

.price-card:hover { box-shadow: var(--shadow-lg); }

.price-card-featured {
    border-color: var(--green);
    box-shadow: 0 8px 40px rgba(58,125,68,0.15);
    transform: translateY(-6px);
}

.price-popular-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.price-plan { font-size: 1.1rem; font-weight: 800; color: var(--gray-800); margin-bottom: 4px; }
.price-desc { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 24px; }

.price-amount { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }

.price-currency { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); }
.price-num { font-size: 2.8rem; font-weight: 900; color: var(--gray-800); line-height: 1; }
.price-period { font-size: 0.85rem; color: var(--gray-400); margin-left: 4px; }
.price-yearly-note { font-size: 0.8rem; color: var(--green-dark); font-weight: 600; margin-bottom: 4px; height: 18px; }

.btn-price-primary {
    display: block;
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 20px;
    transition: all var(--transition);
}

.btn-price-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(58,125,68,0.4);
}

.btn-price-outline {
    display: block;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-800);
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 20px;
    transition: all var(--transition);
}

.btn-price-outline:hover {
    border-color: var(--green);
    color: var(--green-dark);
    background: var(--green-pale);
}

.price-divider { height: 1px; background: var(--gray-100); margin: 24px 0; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.price-features li { font-size: 0.875rem; display: flex; align-items: center; gap: 10px; }

.feat-yes { color: var(--gray-800); }
.feat-no  { color: var(--gray-400); }

.feat-yes::before { content: '✓'; color: var(--green); font-weight: 700; width: 16px; flex-shrink: 0; }
.feat-no::before  { content: '–'; color: var(--gray-300); width: 16px; flex-shrink: 0; }

.pricing-note { text-align: center; font-size: 0.875rem; color: var(--gray-400); }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials { padding: 100px 0; background: var(--white); text-align: center; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.testimonial-card {
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: left;
    transition: all var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.testimonial-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--gray-800); }
.testimonial-role { font-size: 0.8rem; color: var(--gray-400); }

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.faq { padding: 100px 0; background: var(--cream); }
.faq .container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open { border-color: #C8E6C9; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--green-dark); }

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--green);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    padding: 0 24px;
}

.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }

.faq-answer p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }

/* ═══════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(130deg, var(--green-darker) 0%, var(--green) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }

.cta-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-text p  { font-size: 1.05rem; color: rgba(255,255,255,0.8); }

.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn-cta-white {
    background: var(--white);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta-white:hover { background: var(--green-pale); transform: translateY(-2px); }

.btn-cta-outline {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(255,255,255,0.4);
    transition: all var(--transition);
}

.btn-cta-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer { background: var(--gray-800); padding: 64px 0 0; color: rgba(255,255,255,0.7); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo { font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }

.footer-logo-egg {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.15);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }

.footer-trust-badges { display: flex; flex-direction: column; gap: 6px; }
.footer-trust-badges span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links-col ul li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-keywords { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .preview-sidebar { display: none; }
    .pm-cards { grid-template-columns: repeat(2, 1fr); }
    .phones-row { gap: 10px; }
    .phone-mockup { width: 185px; }
}

@media (max-width: 900px) {
    .phones-row { gap: 8px; }
    .phone-mockup { width: 170px; }
    .phone-wrap:nth-child(2),
    .phone-wrap:nth-child(3) { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .hero { padding: 100px 0 60px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 300px; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 8px; }

    .stats-grid { flex-direction: column; gap: 8px; }
    .stat-divider { width: 60px; height: 1px; }

    .features, .how-it-works, .for-whom, .pricing,
    .testimonials, .faq, .cta-banner, .screenshots { padding: 60px 0; }

    .section-sub { margin-bottom: 36px; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }

    .pricing-grid { grid-template-columns: 1fr; }
    .price-card-featured { transform: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .preview-content { height: 200px; }
    .pm-cards { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .pm-chart { height: 40px; }

    /* Show only 2 phones on small screens */
    .phones-row { gap: 12px; }
    .phone-wrap:nth-child(3),
    .phone-wrap:nth-child(4) { display: none; }
    .phone-mockup { width: 200px; }
    .phone-wrap:nth-child(2) { transform: translateY(-12px); }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .pricing-toggle { flex-wrap: wrap; justify-content: center; }
    .hero-badge { font-size: 0.75rem; }
    .phone-wrap:nth-child(2) { display: none; }
    .phone-mockup { width: 220px; }
    .phone-wrap { transform: none !important; }
}
