/* OhLinux AI Design System */
:root {
    --bg-page: #FFFFFF;
    --bg-hero: #FFFFFF;
    --text-main: #111111;
    --text-muted: #666666;
    --primary: #000000;
    --primary-fg: #FFFFFF;
    --border-light: #E5E7EB;
    --radius-pill: 9999px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --font-sans: 'Poppins', sans-serif;
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    background-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
    max-width: 100vw;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    /* Starting big */
    font-weight: 700;
    /* Bold */
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Navigation */
/* Navigation */
nav {
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0;
    /* Add top padding and side padding for small screens */
    margin: 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-pill {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    /* Full border */
    border-radius: 9999px;
    /* Rounded corners */
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    /* Constrain width on large screens */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-center {
    display: flex;
    gap: 2.5rem;
}

.nav-center a {
    font-size: 0.95rem;
    /* Slightly larger text for wider nav */
    font-weight: 500;
    color: var(--text-muted);
}

.nav-center a:hover {
    color: var(--text-main);
}

.logo {
    display: flex;
    flex-direction: row;
    /* Side by side */
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.logo-img {
    height: 26px;
    /* Reduced from 32px */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--primary-fg);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    /* For dark backgrounds */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: var(--bg-hero);
}


/* Hero Section */
.hero-wrapper {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-container {
    background: transparent;
    padding: 2.5rem 1rem 1.5rem;
    /* Reduced padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 0.25rem 0.75rem 0.25rem 0.4rem;
    /* Reduced padding */
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    /* Reduced font size */
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    /* Reduced margin */
    cursor: pointer;
    transition: border-color 0.2s;
}

.hero-badge-pill:hover {
    border-color: #D1D5DB;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px solid #111;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.hero-badge-pill .arrow {
    color: #999;
    margin-left: 0.25rem;
    font-size: 0.9em;
}

.hero-title {
    font-size: 3.5rem;
    /* Reduced from 4.5rem */
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    color: #111;
}

.hero-sub {
    max-width: 550px;
    margin: 0 auto 1.5rem;
    /* Reduced margin */
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Search Input */
.search-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.search-input-wrapper {
    background: white;
    border-radius: var(--radius-pill);
    padding: 0.35rem;
    /* Reduced padding */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 52px;
    /* Reduced height from 64px */
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-input-wrapper:hover,
.search-input-wrapper:focus-within {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.search-icon {
    color: #9CA3AF;
    margin-left: 1rem;
    font-size: 1.25rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    box-shadow: none;
    /* Ensure no shadow */
    padding: 0 1rem;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
}

.search-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-btn-circle {
    width: 40px;
    /* Reduced from 48px */
    height: 40px;
    /* Reduced from 48px */
    border-radius: 50%;
    background: #000000;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.search-btn-circle:hover {
    transform: scale(1.05);
}

.search-btn-circle span {
    font-size: 1.25rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Section 2: About (Democratizing) */
.section-about {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 450px;
}

.about-image {
    background: #FAFAFA;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Mockup Window */
.hero-mockup {
    margin-top: 4rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.15), 0 30px 60px -30px rgba(0, 0, 0, 0.15), 0 -2px 6px 0 rgba(0, 0, 0, 0.02) inset;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mockup-header {
    height: 52px;
    background: #F9FAFB;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1.5rem;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.control.red {
    background: #FF5F56;
}

.control.yellow {
    background: #FFBD2E;
}

.control.green {
    background: #27C93F;
}

.address-bar {
    flex: 1;
    background: #E5E7EB;
    /* Slightly darker to match */
    background: #F3F4F6;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #6B7280;
    gap: 0.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9CA3AF;
}

.avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E5E7EB;
}

/* Mockup Body */
.mockup-body {
    display: flex;
    min-height: 500px;
}

/* Mockup Sidebar */
.mockup-sidebar {
    width: 60px;
    background: #FFFFFF;
    border-right: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
}

.sidebar-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-btn:hover,
.sidebar-btn.active {
    background: #111;
    color: white;
}

.sidebar-divider {
    width: 20px;
    height: 1px;
    background: #F3F4F6;
}

/* Mockup Content */
.mockup-content {
    flex: 1;
    padding: 2.5rem;
    background: #FFFFFF;
}

/* Lesson Header */
.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.lesson-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.25rem;
}

.lesson-info p {
    font-size: 0.9rem;
    color: #6B7280;
}

.lesson-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-circle-mini {
    width: 40px;
    height: 40px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
    stroke: #111;
}

/* Interaction Block */
.interaction-block {
    display: flex;
    gap: 1rem;
    background: #FAFAFA;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #F3F4F6;
}

.ai-avatar-small {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ai-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.interaction-content {
    flex: 1;
}

.instruction-text {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.inline-code {
    background: #E5E7EB;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.terminal-snippet {
    background: #000;
    color: #10B981;
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.ai-followup {
    background: #000;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    float: right;
    font-size: 0.9rem;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-small span {
    font-size: 14px;
    color: white;
}

/* Mockup Table */
.data-table-container {
    overflow-x: auto;
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.mockup-table th {
    text-align: left;
    color: #9CA3AF;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.mockup-table td {
    padding: 1rem 0;
    color: #374151;
    border-bottom: 1px solid #F9FAFB;
}

.font-mono {
    font-family: monospace;
    color: #111;
    font-weight: 500;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-green {
    background: #DCFCE7;
    color: #166534;
}

.badge-yellow {
    background: #FEF9C3;
    color: #854D0E;
}

/* New Sandbox Window */
.sandbox-window {
    background: #0F1115;
    border: 1px solid #2A2E35;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 500px;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.window-header {
    height: 48px;
    background: #181B21;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #2A2E35;
}

.window-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 16px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #FF5f56;
}

.control.yellow {
    background: #FFBD2E;
}

.control.green {
    background: #27C93F;
}

.window-title {
    color: #9CA3AF;
    font-size: 0.8rem;
    font-weight: 500;
}

.window-body {
    flex: 1;
    display: flex;
}

.window-sidebar {
    width: 60px;
    background: #181B21;
    border-right: 1px solid #2A2E35;
    display: flex;
    flex-direction: column;
    padding: 12px;
    align-items: center;
    gap: 20px;
}

.sidebar-icon {
    color: #6B7280;
    cursor: pointer;
    transition: color 0.2s;
}

.sidebar-icon.active,
.sidebar-icon:hover {
    color: #E5E7EB;
}

.sidebar-spacer {
    flex: 1;
}

.window-main {
    flex: 1;
    display: flex;
    background: #0F1115;
}

.pane-chat {
    width: 40%;
    border-right: 1px solid #2A2E35;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pane-terminal {
    width: 60%;
    padding: 20px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #D1D5DB;
    overflow: hidden;
    background: #0C0D10;
}

/* Sub-components */
.chat-bubble {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-bubble.ai {
    background: #1F2937;
    color: #E5E7EB;
    border-bottom-left-radius: 0;
}

.chat-bubble.user {
    background: #2563EB;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.bubble-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 0.7rem;
    color: #6B7280;
}

.bot-name {
    font-weight: 700;
    color: #9CA3AF;
}

.code-snippet {
    background: #111827;
    padding: 8px;
    border-radius: 6px;
    font-family: monospace;
    margin-top: 8px;
    border: 1px solid #374151;
    color: #A5B4FC;
}

.chat-input-fake {
    margin-top: auto;
    border: 1px solid #374151;
    border-radius: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.cursor {
    color: #2563EB;
    animation: blink 1s infinite;
}

.term-line {
    line-height: 1.6;
}

.prompt {
    color: #10B981;
}

.cursor-block {
    display: inline-block;
    width: 0.6em;
    height: 1.1em;
    background: #9CA3AF;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Academic Approach Section */
.section-academic {
    padding: 6rem 2rem 2rem;
    /* Top padding to separate from hero */
    text-align: center;
    background: #FFFFFF;
}

.academic-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-academic h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
    /* Dark heading */
}

.section-academic p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4B5563;
    /* Grey text */
}

/* Trusted By Section */
.section-trusted {
    text-align: center;
    padding: 3rem 1rem;
    color: #9CA3AF;
}

.trusted-label {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: #9CA3AF;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #6B7280;
}

/* Power Pack Section */
.section-power-pack {
    padding: 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.power-header {
    max-width: 700px;
    margin: 0 auto 5rem;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.power-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
}

.power-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.power-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.power-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.power-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.icon-box.purple {
    background: #FAF5FF;
    color: #7C3AED;
}

.icon-box.green {
    background: #F0FDF4;
    color: #16A34A;
}

.version-tag {
    font-size: 0.75rem;
    color: #9CA3AF;
    background: #F9FAFB;
    padding: 2px 8px;
    border-radius: 4px;
}

.power-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111;
}

.power-card p {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 2rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #F3F4F6;
}

.footer-label {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.footer-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
}

.toggle-switch {
    width: 36px;
    height: 20px;
    background: #E5E7EB;
    border-radius: 99px;
    position: relative;
}

.toggle-switch.active {
    background: #2563EB;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch.active::after {
    transform: translateX(16px);
}

footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-about {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 1.5rem;
    }

    .section-features {
        grid-template-columns: 1fr;
    }

    .sandbox-interface {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- NEW CHAT INTERFACE STYLES --- */
#chat-interface {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: #FFFFFF;
    overflow: hidden;
    color: #111;
}

/* LEFT SIDEBAR */
.chat-sidebar-left {
    width: 280px;
    background: #F9FAFB;
    /* Light sidebar */
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    border-right: 1px solid transparent;
    /* Cleaner look */
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.logo-expanded {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #111;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-tiny {
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
}

.sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9CA3AF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 1.5rem 0 0.5rem 0.5rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #4B5563;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.menu-item:hover {
    background: #E5E7EB;
    color: #111;
}

.menu-item.active {
    background: #FFFFFF;
    color: #111;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.badge-new {
    background: #111;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 99px;
    font-weight: 700;
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
}

/* RIGHT SIDEBAR */
.chat-sidebar-right {
    width: 320px;
    background: #F9FAFB;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-left: 1px solid #F3F4F6;
}

.unit-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.syllabus-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #E5E7EB;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.syllabus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.unit-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.unit-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.5rem;
}

.unit-desc {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.5;
}

/* MAIN AREA */
.chat-main {
    flex: 1;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    position: relative;
}

.chat-header-mobile {
    display: none;
    /* Desktop first for this design */
}

/* Welcome Center */
.welcome-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    padding-top: 4rem;
}

.orb-container {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #444, #000);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.welcome-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.welcome-container p {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Prompt Grid */
.prompt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.prompt-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.prompt-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.prompt-card .icon-box {
    width: 48px;
    height: 48px;
    background: #F9FAFB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.prompt-card .text-box {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

/* Input Area */
.input-area-wrapper {
    padding: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.chat-input-form .input-inner {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    /* Pill shape warning */
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
}

.chat-input-form .input-inner:focus-within {
    border-color: #9CA3AF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.input-inner input {
    flex: 1;
    font-size: 1rem;
    border: none;
    outline: none;
    color: #111;
}

.send-btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.send-btn-circle:hover {
    transform: scale(1.05);
}

/* Messages */
.messages-area {
    padding: 2rem 20%;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.message.user {
    background: #000;
    color: #fff;
    border-radius: 16px 16px 2px 16px;
}

.message.ai {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #111;
    border-radius: 16px 16px 16px 2px;
}

/* Responsive */
/* Minimal Footer */
.minimal-footer {
    padding: 2rem 1.5rem;
    /* Reduced padding */
    margin-top: 3rem;
    /* Reduced margin */
    border-top: 1px solid #F3F4F6;
    background: #FFFFFF;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #111;
    font-size: 1rem;
}

.footer-logo-img {
    height: 24px;
    width: auto;
}

.footer-center {
    color: #9CA3AF;
    font-size: 0.85rem;
    text-align: center;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.icon-small {
    font-size: 1.25rem;
    color: #9CA3AF;
    transition: color 0.2s;
}

.icon-small:hover {
    color: #111;
}

/* Base Styles for Mobile Elements */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: #F3F4F6;
}

.mobile-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 20px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 100;
    transform-origin: top center;
    animation: menu-slide-in 0.2s ease-out;
}

@keyframes menu-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.mobile-menu a:hover {
    background: #F9FAFB;
    color: var(--text-main);
    padding-left: 1.25rem;
    /* Slight slide effect */
}

.mobile-menu-divider {
    height: 1px;
    background: #F3F4F6;
    margin: 0.5rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        padding: 3rem 1rem 1rem;
    }

    .nav-pill {
        flex-direction: row;
        /* Keep row for logo and burger */
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 0.5rem 1rem;
        /* Reduced padding */
        border-radius: 9999px;
        /* Consistent pill shape */
        position: relative;
        /* For menu positioning */
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-center,
    .nav-right {
        display: none;
    }

    .power-grid,
    .trusted-logos {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
    }



}

/* Hero Screenshot */
.hero-screenshot {
    margin-top: 1rem;
    /* Reduced margin */
    width: 100%;
    max-width: 900px;
    /* Reduced to ~650px */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* About Section Split Layout */
.section-about-split {
    padding: 4rem 1.5rem;
    /* Reduced padding */
    background: #FFFFFF;
}

.about-container {
    max-width: 1000px;
    /* Reduced width */
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    /* Reduced gap */
}

.about-left {
    width: 200px;
    flex-shrink: 0;
}

.about-label {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    display: block;
}

.about-right {
    flex: 1;
}

.about-right h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    line-height: 1.3;
    font-weight: 400;
    color: #111;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    letter-spacing: -0.02em;
}

.about-right p {
    font-size: 1rem;
    /* Reduced from 1.125rem */
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-left {
        width: 100%;
    }

    .about-right h2 {
        font-size: 2rem;
    }
}

/* Features Grid Section (New) */
.section-features-grid {
    padding: 6rem 1.5rem;
    background: #F9FAFB;
    /* Light background from snippet */
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.features-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.features-header p {
    font-size: 1.125rem;
    color: #6B7280;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Feature Card */
.feature-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6B7280;
}

/* Card Visuals Container */
.card-visual {
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 0.75rem;
    height: 250px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visual 1: Command Bubble */
.visual-command {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.cmd-bubble {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 320px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    z-index: 2;
}

.cmd-bubble span {
    font-size: 0.85rem;
    color: #4B5563;
    font-weight: 500;
}

.cmd-bubble .icon-circle {
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmd-bubble .icon-circle span {
    color: #fff;
    font-size: 1.1rem;
}

.cmd-code-block {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    width: 85%;
    max-width: 300px;
    opacity: 0.9;
    z-index: 1;
}

.cmd-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #9CA3AF;
    margin-bottom: 0.25rem;
}

.cmd-label .dot {
    width: 6px;
    height: 6px;
    background: #9CA3AF;
    border-radius: 50%;
}

.cmd-code-block code {
    font-family: monospace;
    font-weight: 700;
    color: #111;
    font-size: 0.9rem;
}

/* Visual 2: Logic Flow */
.visual-logic {
    flex-direction: column;
    gap: 1.5rem;
    background-image: radial-gradient(#E5E7EB 1px, transparent 1px);
    background-size: 16px 16px;
}

.logic-badge {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logic-badge span {
    font-size: 1.1rem;
}

.logic-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 90%;
}

.flow-step {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    flex: 1;
    text-align: center;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.flow-step:nth-child(3) {
    animation-delay: 1s;
}

.flow-step:nth-child(5) {
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Visual 3: Breakdown */
.visual-breakdown {
    flex-direction: column;
    justify-content: center;
}

.breakdown-box {
    background: #111827;
    border: 1px solid #1F2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 80%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.breakdown-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.breakdown-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4B5563;
}

.breakdown-text {
    font-family: monospace;
    font-size: 0.95rem;
}

.c-cmd {
    color: #fff;
}

.c-flag {
    color: #9CA3AF;
    margin: 0 4px;
}

.c-arg {
    color: #D1D5DB;
}

.breakdown-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.breakdown-labels span {
    position: absolute;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #6B7280;
    background: #F9FAFB;
    padding: 2px 4px;
}

/* Simplification for labeling - positioning */
.breakdown-labels span:nth-child(1) {
    top: 30px;
    left: 40px;
}

.breakdown-labels span:nth-child(2) {
    bottom: 40px;
    left: 100px;
}

.breakdown-labels span:nth-child(3) {
    top: 30px;
    right: 40px;
}

/* Visual 4: Exam */
.visual-exam {
    background: #FFF;
}

.exam-score {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 90%;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #F3F4F6;
    border-top-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-size: 2.5rem;
    font-weight: 700;
    transform: rotate(-45deg);
}

.score-circle span {
    transform: rotate(45deg);
}

.score-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #4B5563;
}

.stat-row .bold {
    font-weight: 700;
    color: #111;
}

.stat-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 99px;
    overflow: hidden;
}

.stat-bar span {
    display: block;
    height: 100%;
    background: #000;
    border-radius: 99px;
}


/* Responsive Design System */

/* Tablet & Smaller Desktop (< 1024px) */
@media (max-width: 1024px) {
    .nav-pill {
        width: 95%;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Tablet (< 768px) */
@media (max-width: 768px) {

    /* Navigation */
    .nav-pill {
        flex-direction: row;
        gap: 0;
        padding: 0.5rem 1rem;
        /* Reduced padding */
        border-radius: 9999px;
    }

    .logo {
        width: auto;
        /* Allow auto width */
        justify-content: flex-start;
        /* Left align */
    }

    .nav-center,
    .nav-right {
        display: none;
        /* Hide for now, typical for landing pages without hamburger */
    }

    /* Hero */
    .hero-container {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .search-input-wrapper {
        height: 48px;
    }

    .hero-screenshot {
        margin-top: 2rem;
    }

    /* Sections */
    .section-about-split,
    .section-features-grid {
        padding: 4rem 1.5rem;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-left {
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid #F3F4F6;
    }

    .about-right h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .about-right p {
        text-align: center;
    }

    .grid-features {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-header h2 {
        font-size: 1.75rem;
    }
}

/* Mobile (< 480px) */
@media (max-width: 480px) {

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-badge-pill {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem 0.2rem 0.3rem;
    }

    /* Search */
    .search-btn-circle {
        width: 36px;
        height: 36px;
    }

    .search-btn-circle span {
        font-size: 1rem;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    /* Features */
    .feature-card {
        padding: 1.5rem;
    }

    .card-visual {
        height: 200px;
        /* Smaller visuals */
    }

    .visual-command .cmd-bubble {
        max-width: 260px;
    }

    .visual-exam .score-circle {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
        width: 100%;
    }
}

/* --- MEASURABLE ACADEMIC GROWTH SECTION --- */
.section-measurable-growth {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.mg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.mg-title {
    font-size: 4.5rem;
    /* Large and impactful */
    font-weight: 300;
    /* Light/Thin weight */
    line-height: 1.1;
    color: #111;
    letter-spacing: -0.02em;
}

.mg-badge {
    background: #EFF2F5;
    /* Light grey background */
    color: #555;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    margin-top: 1rem;
}

.mg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.mg-card {
    display: flex;
    flex-direction: column;
}

/* Progress Bar Container */
.mg-progress-container {
    margin-bottom: 1.5rem;
}

.mg-limit-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9CA3AF;
    /* Light grey text */
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.mg-bar-track {
    width: 100%;
    height: 32px;
    /* Thick bar */
    background: #EFF2F5;
    /* Light track */
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.mg-bar-fill {
    height: 100%;
    border-radius: 99px;
    /* Gradient similar to design: Grey to Dark Grey/Blueish */
    background: linear-gradient(90deg, #9CA3AF 0%, #374151 100%);
}

/* Darker gradient for the 3rd item as per design */
.mg-bar-fill.darker {
    background: linear-gradient(90deg, #4B5563 0%, #1F2937 100%);
}

/* Typography for Stats */
.mg-stat-number {
    font-size: 6rem;
    /* Huge number */
    font-weight: 300;
    color: #111;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.mg-stat-number span {
    color: #D1D5DB;
    /* Lighter grey for the % symbol */
    font-weight: 300;
}

.mg-stat-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.mg-stat-desc {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.6;
    max-width: 300px;
}

/* Responsive */
@media (max-width: 1024px) {
    .mg-title {
        font-size: 3.5rem;
    }

    .mg-stat-number {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .mg-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 3rem;
    }

    .mg-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3rem;
    }

    .mg-title {
        font-size: 2.5rem;
    }

    .mg-badge {
        margin-top: 0;
    }
}

/* --- REVIEWS SECTION --- */
.section-reviews {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

/* Left Side */
.reviews-left {
    flex: 1;
    position: sticky;
    top: 2rem;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #DCFCE7;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.reviews-badge .dot-green {
    width: 6px;
    height: 6px;
    background: #166534;
    border-radius: 50%;
}

.reviews-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.title-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 0.5rem;
    transform: translateY(-8px);
}

.title-icon-box span {
    font-size: 32px;
}

.reviews-sub {
    font-size: 1.125rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 400px;
}

.reviews-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trust-logos {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}

.logo-circle:first-child {
    margin-left: 0;
}

.logo-circle.bg-dark {
    background: #374151;
}

.logo-circle.bg-light {
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4B5563;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: #E5E7EB;
}

.trust-stars {
    display: flex;
    color: #111;
}

.trust-stars .material-symbols-outlined {
    font-size: 1.25rem;
    font-variation-settings: 'FILL' 1;
}

/* Right Side (Cards) */
.reviews-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    /* Or #F3F4F6 */
    transition: all 0.2s;
}

.review-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border-color: #E5E7EB;
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #E5E7EB;
    background-size: cover;
    background-position: center;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.reviewer-role {
    font-size: 0.85rem;
    color: #9CA3AF;
}

.review-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
}

.review-text {
    font-size: 1rem;
    /* 1.125rem might be too big for cards */
    line-height: 1.6;
    color: #4B5563;
    font-style: italic;
}

/* Responsive Reviews */
@media (max-width: 900px) {
    .reviews-container {
        flex-direction: column;
        gap: 3rem;
    }

    .reviews-left {
        width: 100%;
        text-align: center;
    }

    .reviews-badge {
        margin: 0 auto 1.5rem;
    }

    .reviews-title {
        font-size: 2.5rem;
        display: block;
        width: 100%;
    }

    .reviews-sub {
        margin: 0 auto 3rem;
    }

    .reviews-trust {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-divider {
        width: 100%;
        height: 1px;
    }

    .reviews-right {
        width: 100%;
    }
}