/* ============================================
   ESCOLA SEGURA E INTELIGENTE — Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --navy: #1B365D;
    --navy-light: #2A4A7F;
    --navy-dark: #0F1F3A;
    --terracotta: #B86B47;
    --terracotta-light: #D4886A;
    --terracotta-dark: #8B4F33;
    --sage: #8BA888;
    --sage-light: #A8C4A5;
    --sage-dark: #6B8B68;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D4;
    --blue-soft: #A8C4D8;
    --white: #FFFFFF;
    --gray-50: #FAFAF8;
    --gray-100: #F0EDE5;
    --gray-200: #D9D4CA;
    --gray-500: #8A8478;
    --gray-700: #4A4540;
    --gray-900: #1A1815;
    --danger: #DC3545;
    --warning: #F0A500;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(27, 54, 93, 0.06);
    --shadow-md: 0 8px 30px rgba(27, 54, 93, 0.1);
    --shadow-lg: 0 20px 60px rgba(27, 54, 93, 0.15);
    --shadow-glow: 0 0 40px rgba(184, 107, 71, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

em {
    font-style: normal;
    color: var(--terracotta);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
}

.navbar.scrolled .navbar-logo {
    color: var(--navy);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .logo-icon {
    background: var(--navy);
    color: var(--white);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-text strong {
    font-weight: 700;
}

.navbar-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
    color: var(--navy);
    background: rgba(27, 54, 93, 0.05);
}

.nav-link-cta {
    background: var(--terracotta) !important;
    color: var(--white) !important;
    border-radius: 50px;
    padding: 8px 20px;
}

.nav-link-cta:hover {
    background: var(--terracotta-dark) !important;
    transform: translateY(-1px);
}

.nav-link-conectar {
    background: #4ade80 !important;
    color: #14532d !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.nav-link-conectar:hover {
    background: #22c55e !important;
}

.nav-link-conectar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* CONECTAR hero button */
.btn-conectar {
    background: #4ade80 !important;
    color: #14532d !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-conectar:hover {
    background: #22c55e !important;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

.btn-conectar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: shimmer 2.5s infinite;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .navbar-toggle span {
    background: var(--navy);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 31, 58, 0.85) 0%, rgba(27, 54, 93, 0.7) 50%, rgba(139, 168, 136, 0.4) 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--terracotta-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-accent {
    color: var(--terracotta-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* --- STATS / ABOUT --- */
.section-about {
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-card-icon svg {
    width: 28px;
    height: 28px;
}

.stat-card-danger .stat-card-icon {
    background: #FEE2E2;
    color: #DC3545;
}

.stat-card-warning .stat-card-icon {
    background: #FFF3CD;
    color: #F0A500;
}

.stat-card-info .stat-card-icon {
    background: #DBEAFE;
    color: #3B82F6;
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy);
    margin: 12px 0 8px;
}

.stat-card-text {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- SOLUTION --- */
.section-solution {
    background: var(--cream);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-content .section-tag {
    text-align: left;
}

.solution-content .section-title {
    text-align: left;
}

.solution-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 30px;
    line-height: 1.8;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.solution-features li svg {
    width: 22px;
    height: 22px;
    color: var(--sage);
    flex-shrink: 0;
}

/* Ecosystem */
.ecosystem-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.eco-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
    box-shadow: 0 10px 40px rgba(27, 54, 93, 0.3);
}

.eco-center svg {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.eco-center span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.eco-orbit {
    position: absolute;
    inset: 0;
    animation: orbitSpin 30s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.eco-node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.eco-node svg {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
}

.eco-node-familia {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
}

.eco-node-escola {
    bottom: 15%;
    right: 0;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
}

.eco-node-aluno {
    bottom: 15%;
    left: 0;
    background: linear-gradient(135deg, var(--blue-soft), #7BA8C4);
}

.eco-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* --- PILLARS --- */
.section-pillars {
    background: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.06;
    position: absolute;
    top: 10px;
    right: 16px;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
}

[data-color="navy"] .pillar-icon {
    background: rgba(27, 54, 93, 0.1);
    color: var(--navy);
}

[data-color="sage"] .pillar-icon {
    background: rgba(139, 168, 136, 0.15);
    color: var(--sage-dark);
}

[data-color="terracotta"] .pillar-icon {
    background: rgba(184, 107, 71, 0.1);
    color: var(--terracotta);
}

[data-color="blue"] .pillar-icon {
    background: rgba(168, 196, 216, 0.2);
    color: #4A8BB5;
}

[data-color="warm"] .pillar-icon {
    background: rgba(240, 165, 0, 0.1);
    color: #D49020;
}

[data-color="gray"] .pillar-icon {
    background: rgba(74, 69, 64, 0.08);
    color: var(--gray-700);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
    transition: var(--transition);
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- FEATURES --- */
.section-features {
    background: var(--cream);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse>* {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    background: rgba(27, 54, 93, 0.08);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.feature-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.feature-info p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--sage);
    flex-shrink: 0;
}

/* Phone Mockup */
.phone-frame {
    width: 280px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(0, 0, 0, 0.06);
    padding: 16px 12px;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 10px;
}

.phone-screen {
    padding-top: 16px;
}

.phone-notif {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 14px;
    margin-bottom: 8px;
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon svg {
    width: 18px;
    height: 18px;
}

.notif-green {
    background: #D1FAE5;
    color: #059669;
}

.notif-blue {
    background: #DBEAFE;
    color: #3B82F6;
}

.notif-terracotta {
    background: #FDE8D8;
    color: var(--terracotta);
}

.notif-content {
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.5;
}

.notif-content strong {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 2px;
    color: var(--navy);
}

.notif-content p {
    color: var(--gray-500);
    margin: 0;
}

.notif-time {
    font-size: 0.7rem;
    color: var(--gray-200);
    white-space: nowrap;
}

/* App agenda */
.app-header-mock {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 12px;
}

.app-header-mock h4 {
    font-size: 0.85rem;
    color: var(--navy);
}

.agenda-day {
    margin-bottom: 12px;
    padding: 10px;
    background: var(--gray-50);
    border-radius: 12px;
}

.agenda-day-name {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.agenda-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.subject-pill {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.subject-math {
    background: #DBEAFE;
    color: #2563EB;
}

.subject-port {
    background: #FDE8D8;
    color: var(--terracotta);
}

.subject-edfis {
    background: #D1FAE5;
    color: #059669;
}

.subject-hist {
    background: #FFF3CD;
    color: #B8860B;
}

.subject-geo {
    background: #E8D5F5;
    color: #7C3AED;
}

.subject-sci {
    background: #CCFBF1;
    color: #0D9488;
}

.subject-art {
    background: #FCE7F3;
    color: #DB2777;
}

.agenda-content {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.agenda-content small {
    display: block;
    margin-bottom: 2px;
}

/* Dashboard Mockup */
.dashboard-frame {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dot:nth-child(1) {
    background: #FF6058;
}

.dash-dot:nth-child(2) {
    background: #FFC02F;
}

.dash-dot:nth-child(3) {
    background: #27C840;
}

.dash-title {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-left: 10px;
}

.dash-content {
    padding: 20px;
}

.dash-kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.kpi-card {
    text-align: center;
    padding: 14px 8px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    display: block;
}

.kpi-label {
    font-size: 0.7rem;
    color: var(--gray-500);
}

.kpi-warning .kpi-value {
    color: var(--warning);
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--navy), var(--blue-soft));
    border-radius: 6px 6px 0 0;
    height: var(--height);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: 0.4s ease;
    min-height: 20px;
}

.chart-bar span {
    font-size: 0.65rem;
    color: var(--gray-500);
    padding-top: 6px;
    transform: translateY(20px);
}

.chart-bar:hover {
    filter: brightness(1.15);
}

/* --- BENEFITS --- */
.section-benefits {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.benefit-card-featured {
    background: var(--navy);
    border-color: transparent;
}

.benefit-card-featured h3,
.benefit-card-featured li {
    color: var(--white) !important;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-icon-family {
    background: rgba(139, 168, 136, 0.15);
    color: var(--sage-dark);
}

.benefit-icon-school {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.benefit-icon-gov {
    background: rgba(184, 107, 71, 0.1);
    color: var(--terracotta);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.benefit-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-card li {
    font-size: 0.95rem;
    color: var(--gray-500);
    padding-left: 16px;
    position: relative;
}

.benefit-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
}

.benefit-card-featured li::before {
    background: var(--terracotta-light);
}

/* Impact Counter */
.impact-counter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    color: var(--white);
}

.impact-item {
    text-align: center;
}

.impact-icon {
    margin-bottom: 12px;
}

.impact-icon svg {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    color: var(--terracotta-light);
}

.impact-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
}

.impact-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- ROADMAP --- */
.section-roadmap {
    background: var(--cream);
}

.roadmap-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--terracotta), var(--sage), var(--navy));
}

.roadmap-item {
    position: relative;
    margin-bottom: 40px;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-marker {
    position: absolute;
    left: -48px;
    top: 5px;
}

.roadmap-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--terracotta);
    background: var(--cream);
    transition: var(--transition);
}

.roadmap-item:hover .roadmap-dot {
    background: var(--terracotta);
    transform: scale(1.3);
}

.roadmap-content {
    padding: 24px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.roadmap-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.roadmap-phase {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.roadmap-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.roadmap-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.roadmap-icon {
    margin-left: auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(27, 54, 93, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.roadmap-icon svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

/* --- FUTURE / AI --- */
.section-future {
    background: var(--white);
    padding: 80px 0;
}

.future-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-xl);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.future-visual {
    text-align: center;
    position: relative;
}

.ai-brain {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(184, 107, 71, 0.3);
    animation: aiPulse 3s ease infinite;
}

.ai-brain svg {
    width: 64px;
    height: 64px;
    color: var(--terracotta-light);
}

@keyframes aiPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(184, 107, 71, 0.3);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(184, 107, 71, 0);
    }
}

.tag-light {
    color: var(--terracotta-light) !important;
}

.future-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.future-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.future-features {
    display: grid;
    gap: 14px;
}

.future-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.future-feature svg {
    width: 20px;
    height: 20px;
    color: var(--terracotta-light);
    flex-shrink: 0;
}

/* --- CTA --- */
.section-cta {
    background: linear-gradient(135deg, var(--terracotta-dark), var(--terracotta), var(--terracotta-light));
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.cta-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 20px;
}

.cta-description {
    font-size: 1.05rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--navy);
}

.cta-actions .btn-primary:hover {
    background: var(--navy-dark);
    box-shadow: 0 0 40px rgba(27, 54, 93, 0.4);
}

/* --- FOOTER --- */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 22px;
    height: 22px;
    color: var(--terracotta-light);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--terracotta-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* --- ANIMATIONS --- */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {

    .stats-grid,
    .pillars-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .solution-grid,
    .feature-row,
    .future-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row-reverse {
        direction: ltr;
    }

    .ecosystem-diagram {
        width: 300px;
        height: 300px;
    }

    .impact-counter {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .nav-link {
        color: var(--navy) !important;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .phone-frame {
        width: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}