/* ==========================================================================
   SIGE ERP — Landing Page Oficial
   Sistema Integrado de Gestão Escolar (Moçambique)
   Design: Modern Enterprise SaaS (Dark & Light Mode)
   ========================================================================== */

/* DARK THEME (DEFAULT) */
:root, [data-theme="dark"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-glow: rgba(37, 99, 235, 0.35);
    
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.35);
    
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --whatsapp-glow: rgba(37, 211, 102, 0.45);
    
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --bg-dark: #070a12;
    --bg-darker: #04060a;
    --bg-card: rgba(15, 23, 42, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-navbar: rgba(7, 10, 18, 0.88);
    --bg-browser-header: #111827;
    --bg-browser-body: #090d16;
    --bg-address: #090d16;
    
    --text-white: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(37, 99, 235, 0.3);
    --glow-opacity: 0.15;
    
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-mockup: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(37, 99, 235, 0.15);
}

/* LIGHT THEME */
[data-theme="light"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.2);
    
    --accent: #059669;
    --accent-glow: rgba(5, 150, 105, 0.2);
    
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --whatsapp-glow: rgba(37, 211, 102, 0.3);
    
    --warning: #d97706;
    --danger: #dc2626;
    
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.92);
    --bg-browser-header: #e2e8f0;
    --bg-browser-body: #ffffff;
    --bg-address: #ffffff;
    
    --text-white: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #334155;
    
    --border-subtle: rgba(15, 23, 42, 0.09);
    --border-accent: rgba(37, 99, 235, 0.25);
    --glow-opacity: 0.06;
    
    --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.06);
    --shadow-mockup: 0 20px 45px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.08);
}

/* Variables & Base */
:root {
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Glow Effects */
.bg-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, var(--glow-opacity)) 0%, rgba(16, 185, 129, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-mid {
    position: absolute;
    top: 35%;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, calc(var(--glow-opacity) * 0.7)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-bottom {
    position: absolute;
    bottom: 0;
    left: -150px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, var(--glow-opacity)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.sige-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--bg-navbar);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
    transition: var(--transition);
}

.sige-navbar.scrolled {
    padding: 0.65rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.brand-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
    color: var(--text-white);
}

.brand-text h1 span {
    color: #3b82f6;
}

.brand-text p {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle Button */
.btn-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.05rem;
    outline: none;
}

[data-theme="light"] .btn-theme-toggle {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-theme-toggle:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    transform: rotate(20deg);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-sige {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary-glow {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(37, 99, 235, 0.55);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-whatsapp-modern {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 18px var(--whatsapp-glow);
}

.btn-whatsapp-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #2ae36f 0%, #15a593 100%);
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white) !important;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

[data-theme="light"] .btn-outline-glass {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a !important;
}

.btn-outline-glass:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.95rem 1.9rem;
    font-size: 1.02rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 4rem 0 3.5rem 0;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 940px;
    margin: 0 auto;
}

.badge-pill-featured {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.2rem;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 1.7rem;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.badge-pill-featured .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin: 0 0 1.4rem 0;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 760px;
    margin: 0 auto 2.4rem auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin-bottom: 2.2rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust-badges i {
    color: #10b981;
}

/* ==========================================================================
   HERO CAROUSEL / SLIDER (CAPTURED SCREENS)
   ========================================================================== */
.hero-mockup-wrapper {
    margin-top: 3.5rem;
    position: relative;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.hero-mockup-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(37, 99, 235, var(--glow-opacity)) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 75%);
    filter: blur(40px);
    z-index: 0;
    border-radius: var(--radius-xl);
}

.browser-mockup {
    position: relative;
    z-index: 1;
    background: var(--bg-browser-body);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-mockup);
    transition: var(--transition);
}

.browser-header {
    background: var(--bg-browser-header);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address-bar {
    flex: 1;
    max-width: 480px;
    background: var(--bg-address);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.25rem 0.85rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-address-bar i {
    color: #10b981;
    font-size: 0.72rem;
}

/* Slider Pill Tabs on Mockup */
.slider-pills-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--bg-browser-header);
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
}

.slider-pill-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.slider-pill-tab:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.slider-pill-tab.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* Carousel Viewport */
.carousel-viewport {
    position: relative;
    background: var(--bg-browser-body);
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 720px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.99);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    cursor: pointer;
}

/* ==========================================================================
   CAROUSEL CAPTION FOOTER (ABAIXO DA IMAGEM E CENTRALIZADO)
   ========================================================================== */
.carousel-caption-footer {
    position: relative;
    background: var(--bg-browser-header);
    border-top: 1px solid var(--border-subtle);
    padding: 1.3rem 2rem 1.1rem 2rem;
    text-align: center;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    transition: var(--transition);
}

[data-theme="light"] .carousel-caption-footer {
    background: #f8fafc;
    border-top-color: var(--border-subtle);
}

.slide-caption-item {
    display: none;
    animation: fadeInCaption 0.35s ease forwards;
}

.slide-caption-item.active {
    display: block;
}

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

.caption-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 0.35rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.caption-desc {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin: 0 auto 0.65rem auto;
    max-width: 800px;
    line-height: 1.55;
}

.caption-zoom-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.caption-zoom-hint:hover {
    background: var(--primary);
    color: #ffffff;
}

[data-theme="light"] .caption-zoom-hint {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
    outline: none;
}

.carousel-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Progress Bar */
.carousel-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    width: 0%;
    z-index: 6;
    transition: width 0.1s linear;
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.stats-section {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.3);
}

[data-theme="light"] .stats-section {
    background: #f1f5f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   MODULES TAB SHOWCASE
   ========================================================================== */
.modules-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #3b82f6;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin: 0 0 1rem 0;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

.modules-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.8rem;
}

.module-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.module-tab-btn:hover {
    color: var(--text-white);
    border-color: rgba(37, 99, 235, 0.4);
    background: var(--bg-card-hover);
}

.module-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.module-display {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.module-display.active {
    display: block;
}

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

.module-card-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.8rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.module-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.module-info p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 1.6rem;
    line-height: 1.65;
}

.module-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.module-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.module-features-list li i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.module-preview-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: var(--bg-browser-body);
    cursor: pointer;
    transition: var(--transition);
}

.module-preview-frame:hover {
    transform: scale(1.02);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.2);
}

.module-preview-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 18, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.module-preview-frame:hover .zoom-overlay {
    opacity: 1;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.features-grid-section {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.2);
    border-top: 1px solid var(--border-subtle);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.f-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.f-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(37, 99, 235, 0.3);
}

.f-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}

.f-icon-primary { background: rgba(37, 99, 235, 0.15); color: #3b82f6; }
.f-icon-success { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.f-icon-warning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.f-icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.f-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.f-icon-rose { background: rgba(244, 63, 94, 0.15); color: #f43f5e; }

.f-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 0.75rem 0;
}

.f-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   MOÇAMBIQUE HIGHLIGHT
   ========================================================================== */
.highlight-split-section {
    padding: 6rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.8rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.badge-tag-moz {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pay-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

[data-theme="light"] .pay-badge {
    background: #ffffff;
}

.pay-mpesa { border-color: rgba(239, 68, 68, 0.4); color: #ef4444; }
.pay-emola { border-color: rgba(245, 158, 11, 0.4); color: #d97706; }
.pay-banco { border-color: rgba(37, 99, 235, 0.4); color: #2563eb; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.3);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .testimonials-section {
    background: #f1f5f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.test-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.test-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.test-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.test-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.author-school {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.faq-question {
    padding: 1.25rem 1.6rem;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.6rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 1.6rem 1.4rem 1.6rem;
    max-height: 300px;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner-section {
    padding: 5rem 0 6rem 0;
}

.cta-banner-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(16, 185, 129, 0.12) 100%), var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 4.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.cta-banner-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.cta-banner-box p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sige-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2rem 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h5 {
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.footer-contact-item i {
    color: #3b82f6;
    margin-top: 0.25rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

/* ==========================================================================
   WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-widget-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

.whatsapp-trigger-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.35);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    outline: none;
}

.whatsapp-trigger-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-online-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 3px solid #25D366;
    border-radius: 50%;
}

.whatsapp-tooltip-pill {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-widget-container:hover .whatsapp-tooltip-pill {
    opacity: 0;
    visibility: hidden;
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.whatsapp-chat-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-header {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    padding: 1.1rem 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #075E54;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    position: relative;
}

.wa-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #25D366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.wa-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.wa-subtitle {
    font-size: 0.72rem;
    opacity: 0.85;
}

.wa-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.8;
}

.wa-close-btn:hover {
    opacity: 1;
}

.wa-body {
    padding: 1.25rem;
    background: #090d16;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 16px 16px;
    max-height: 380px;
    overflow-y: auto;
}

.wa-bubble-bot {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px 14px 14px 4px;
    padding: 0.9rem 1.1rem;
    color: #f1f5f9;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.wa-bubble-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 0.4rem;
}

.wa-topics-title {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
}

.wa-topic-pill {
    display: block;
    width: 100%;
    text-align: left;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 0.55rem 0.85rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.wa-topic-pill:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #ffffff;
    transform: translateX(3px);
}

.wa-topic-pill i {
    color: #25D366;
    margin-right: 0.4rem;
}

.wa-footer {
    padding: 1rem 1.25rem;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-wa-send {
    width: 100%;
    padding: 0.8rem;
    border-radius: 9999px;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-wa-send:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 1240px;
    width: 100%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .module-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    .nav-menu.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .feature-cards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-chat-box { width: calc(100vw - 32px); right: -12px; }
}
