/* ==========================================
   SIMBA RESULTS — Marketing Site Styles
   Brand-aligned, mobile-first, no framework
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #195D1B;
    --primary-dark: #124515;
    --primary-light: #2F7A31;
    --primary-rgb: 25, 93, 27;
    --secondary: #F59E0B;
    --secondary-dark: #d97706;
    --secondary-light: #fbbf24;
    --success: #15803D;
    --danger: #DC2626;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.btn i {
    transition: transform var(--transition);
}

.btn:hover i.bi-arrow-right {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}

/* Hero-specific CTA — vibrant gold gradient */
.hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, #e68a00 100%);
    border: none;
    color: #1a1a1a;
    font-weight: 800;
    font-size: 1.125rem;
    padding: 20px 44px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), 0 0 0 0 rgba(245, 158, 11, 0);
    text-shadow: 0 1px 0 rgba(255,255,255,0.15);
    animation: ctaPulse 2.5s ease-in-out infinite;
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, var(--secondary) 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.hero-actions .btn-primary:active {
    transform: translateY(-1px) scale(1.0);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), 0 0 0 0 rgba(245, 158, 11, 0); }
    50% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), 0 0 0 8px rgba(245, 158, 11, 0.08); }
}

/* Hero secondary — frosted glass */
.hero-actions .btn-outline {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 700;
    padding: 18px 36px;
    backdrop-filter: blur(8px);
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    z-index: 1001;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.btn-nav {
    padding: 10px 24px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-nav:hover {
    background: #fff;
    color: var(--primary);
}

.navbar.scrolled .btn-nav {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.navbar.scrolled .btn-nav:hover {
    background: var(--primary-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #3d9440 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-note-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.hero-note-item i {
    color: var(--secondary-light);
    font-size: 0.9rem;
}

/* Hero Mockup Browser */
.mockup-browser {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s ease;
}

.mockup-browser:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    margin-left: 8px;
}

.mockup-body {
    padding: 0;
}

.mockup-dashboard {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 50px;
    background: var(--primary);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.mockup-sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
}

.mockup-sidebar-item.active {
    background: rgba(255,255,255,0.3);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
}

.mockup-header-bar {
    width: 40%;
    height: 16px;
    background: var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat-card {
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mockup-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 0.9rem;
}

.mockup-stat-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mockup-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.mockup-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 4px 4px 0 0;
    min-height: 10px;
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    padding: 48px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.7;
}

.trust-stat {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ---------- Problem Section ---------- */
.problem {
    padding: 100px 0;
    background: var(--bg-light);
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.problem-text {
    text-align: center;
    margin-bottom: 56px;
}

.pain-points {
    display: grid;
    gap: 24px;
}

.pain-point {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.pain-point:hover {
    border-color: var(--danger);
    box-shadow: var(--shadow);
}

.pain-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: var(--danger);
    border-radius: 12px;
    font-size: 1.25rem;
}

.pain-point h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.pain-point p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Features ---------- */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.feature-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.1), rgba(var(--primary-rgb),0.05));
    color: var(--primary);
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    z-index: 1;
}

.step-content {
    flex: 1;
    padding: 8px 0 40px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 2px;
    height: 24px;
    background: var(--primary);
    opacity: 0.2;
    margin-left: 27px;
}

/* ---------- Screenshots / Carousel ---------- */
.screenshots {
    padding: 100px 0 0;
    background: var(--bg-white);
    overflow: hidden;
}

/* --- Carousel --- */
.carousel-wrapper {
    position: relative;
    padding: 0 24px;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
}

.carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-card {
    flex: 0 0 380px;
    min-width: 0;
}

.carousel-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 20px 0 6px;
    color: var(--text-primary);
}

.carousel-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    padding-bottom: 8px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* --- Shared Mockup Styles --- */
.carousel-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 320px;
    transition: all 0.4s ease;
}

.carousel-card:hover .carousel-mockup {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.mock-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.mock-title-bar {
    display: block;
    width: 90px;
    height: 10px;
    background: var(--border);
    border-radius: 5px;
}

.mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.mock-badge-green {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    background: #f0fdf4;
    color: var(--success);
    border-radius: var(--radius-full);
}

.mock-badge-gold {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: var(--radius-full);
}

/* Admin Dashboard mockup */
.mockup-admin-dash .mock-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px;
}

.mock-stat-box {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.mock-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 0.85rem;
}

.mock-icon-circle.green { background: #dcfce7; color: #15803D; }
.mock-icon-circle.blue { background: #dbeafe; color: #0576B3; }
.mock-icon-circle.gold { background: #fef3c7; color: #d97706; }

.mock-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mock-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mock-chart-area {
    padding: 12px 16px 16px;
}

.mock-chart-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 60px;
}

.mock-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.mock-bar {
    width: 100%;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 4px 4px 0 0;
    flex: 1;
    max-height: 100%;
}

.mock-bar.highlight {
    background: linear-gradient(to top, var(--secondary-dark), var(--secondary));
}

.mock-bar-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Marks Entry mockup */
.mockup-marks .mock-table {
    padding: 0 12px 12px;
}

.mock-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 8px 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mock-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 9px 10px;
    font-size: 0.75rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background 0.2s;
}

.mock-table-row.active {
    background: #f0fdf4;
    border-radius: 6px;
}

.mock-name {
    display: block;
    width: 70px;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
}

.grade-a { color: #15803D; font-weight: 800; }
.grade-b { color: #0576B3; font-weight: 700; }
.grade-c { color: #0576B3; font-weight: 700; }
.grade-d { color: #d97706; font-weight: 700; }
.grade-e { color: #C2410C; font-weight: 700; }

/* Parent Portal (phone) mockup */
.mockup-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #3d9440 100%);
    border: none;
}

.mock-phone-frame {
    width: 200px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.mock-phone-notch {
    width: 80px;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    margin: 10px auto 8px;
}

.mock-phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 12px;
}

.mock-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.mock-name-sm {
    width: 80px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 4px;
    opacity: 0.15;
    margin-bottom: 4px;
}

.mock-sub-sm {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.mock-phone-card {
    padding: 0 14px;
}

.mock-phone-subject {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mock-phone-btn {
    margin: 14px;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* PDF Report mockup */
.mockup-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.mock-pdf-page {
    width: 260px;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow);
    padding: 16px;
    margin: 20px 0;
}

.mock-pdf-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mock-pdf-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.mock-school-name {
    width: 90px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 4px;
    opacity: 0.2;
    margin-bottom: 4px;
}

.mock-school-sub {
    width: 60px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 3px;
    opacity: 0.3;
}

.mock-pdf-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
    margin-bottom: 10px;
}

.mock-pdf-info {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.mock-pdf-info span {
    display: block;
    width: 50px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.mock-pdf-table {
    margin-bottom: 10px;
}

.mock-pdf-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    padding: 5px 6px;
    font-size: 0.65rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.mock-pdf-row.head {
    font-weight: 700;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    background: var(--bg-light);
    border-radius: 4px;
    border: none;
}

.mock-pdf-row span:first-child:empty {
    display: block;
    width: 50px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.mock-pdf-comment {
    width: 100%;
    height: 20px;
    background: var(--bg-light);
    border-radius: 4px;
}

/* Analytics mockup */
.mockup-analytics {
    padding-bottom: 12px;
}

.mock-donut-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.mock-donut {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.mock-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.mock-donut-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
}

.mock-donut-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mock-donut-sub {
    font-size: 0.65rem;
    color: var(--success);
    font-weight: 600;
}

.mock-mini-bars {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-mini-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mock-mini-row span:first-child {
    width: 48px;
    flex-shrink: 0;
}

.mock-mini-track {
    flex: 1;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.mock-mini-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.8s ease;
}

.mock-mini-fill.gold {
    background: linear-gradient(90deg, var(--secondary-dark), var(--secondary));
}

/* Student management mockup */
.mock-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 14px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.mock-search-bar span {
    display: block;
    width: 70px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}

.mock-student-list {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-student-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: background 0.2s;
}

.mock-student-row:hover {
    background: #f0fdf4;
}

.mock-avatar-tiny {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-avatar-tiny.green { background: linear-gradient(135deg, #15803D, #22c55e); }
.mock-avatar-tiny.blue { background: linear-gradient(135deg, #0576B3, #38bdf8); }
.mock-avatar-tiny.gold { background: linear-gradient(135deg, #d97706, #fbbf24); }

.mock-student-row .mock-name {
    width: 80px;
    flex: 1;
}

.mock-pill {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: var(--radius-full);
}

/* --- Infinite Scroll Strip --- */
.scroll-strip {
    margin-top: 56px;
    padding: 20px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.scroll-strip::before,
.scroll-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.scroll-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-light), transparent);
}

.scroll-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-light), transparent);
}

.scroll-strip-track {
    display: flex;
    gap: 48px;
    animation: infiniteScroll 30s linear infinite;
    width: max-content;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.strip-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Responsive carousel --- */
@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 300px;
    }

    .carousel-mockup {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        flex: 0 0 260px;
    }

    .carousel-mockup {
        height: 260px;
    }

    .mock-phone-frame {
        width: 170px;
    }
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--border);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

.save-badge {
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 16px;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.period {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f0fdf4;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--secondary);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #3d9440 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 32px;
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-links h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .mockup-browser {
        transform: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 32px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }

    .navbar-links.open {
        right: 0;
    }

    .navbar-links .nav-link {
        color: var(--text-primary);
        font-size: 1.125rem;
    }

    .navbar-links .btn-nav {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }

    .hamburger {
        display: flex;
    }

    /* Hero Mobile */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    /* Trust Bar */
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Features */
    .section-title {
        font-size: 1.75rem;
    }

    .tab-buttons {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 0.8125rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }


    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pain-point {
        flex-direction: column;
        gap: 12px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price {
        font-size: 2.75rem;
    }

    .mockup-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .mockup-stat-card {
        padding: 8px;
    }

    .mockup-stat-number {
        font-size: 0.875rem;
    }

    .mockup-stat-label {
        font-size: 0.55rem;
    }
}

/* Mobile overlay when menu open */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

.nav-overlay.open {
    display: block;
}
