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

:root {
    /* Primary Colors - Purple */
    --primary-50: #F5F3FF;
    --primary-100: #EDE9FE;
    --primary-200: #DDD6FE;
    --primary-300: #C4B5FD;
    --primary-400: #A78BFA;
    --primary-500: #7C3AED;
    --primary-600: #6D28D9;
    --primary-700: #5B21B6;
    --primary-800: #4C1D95;
    --primary-900: #3B0764;
    
    /* Secondary */
    --secondary-500: #796A95;
    
    /* Text Colors */
    --text-primary: #0A0A0A;
    --text-secondary: rgba(10, 10, 10, 0.70);
    --text-tertiary: rgba(10, 10, 10, 0.50);
    --text-disabled: rgba(10, 10, 10, 0.38);
    
    /* Background & Surface */
    --bg-main: #FDFCFA;
    --bg-surface: #F9F7F3;
    --bg-white: #FFFFFF;
    --on-primary: #FDFCFA;
    
    /* Grey Scale */
    --grey-50: #F9F7F1;
    --grey-100: #F4F0E8;
    --grey-200: #EDE9FE;
    --grey-300: #DDD6FE;
    --grey-500: #796A95;
    --grey-600: #64748B;
    
    /* Semantic */
    --error: #b00020;
    --success: #4caf50;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.1);
    --shadow-sm: 0 1px 3px rgba(10, 10, 10, 0.2);
    --shadow-md: 0 2px 6px rgba(10, 10, 10, 0.15);
    --shadow-lg: 0 3px 12px rgba(10, 10, 10, 0.12);
    
    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    
    --transition: all 0.2s ease;
}

/* Dark Theme - Automatically activates based on system preference */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-main);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

/* Extra large screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 var(--space-xl);
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .features-grid {
        gap: var(--space-xl);
    }
    
    .feature-card {
        padding: var(--space-xl) calc(var(--space-xl) + 8px);
    }
}

/* Navigation */
.navbar {
    background: rgba(253, 252, 250, 0.85);
    border-bottom: 1px solid rgba(233, 228, 245, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(253, 252, 250, 0.98);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    height: 64px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.nav-brand .logo {
    height: 36px;
    width: 36px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.nav-brand:hover .logo {
    transform: scale(1.05);
}

.nav-brand .brand-name {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: all 0.2s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: calc(100% - 24px);
}

.nav-menu .nav-web-link {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--on-primary);
    font-weight: 600;
}

.nav-menu .nav-web-link:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: var(--on-primary);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.nav-menu .nav-web-link::after {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--grey-100);
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.25px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-500);
    color: var(--on-primary);
}

.btn-primary:hover {
    background: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--grey-200);
}

.btn-secondary:hover {
    background: var(--grey-100);
    border-color: var(--grey-300);
}

.btn-create {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--on-primary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.btn-create:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.btn-login {
    color: var(--text-secondary);
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-login:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-signup {
    color: #FFFFFF !important;
    background: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.btn-signup:hover {
    background: var(--primary-600);
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.btn-signup span {
    color: #FFFFFF !important;
}

.btn-signup:hover span {
    color: #FFFFFF !important;
}

.btn-large {
    padding: var(--space-sm) var(--space-lg);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    overflow: hidden;
    min-height: auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================
   PRO HERO SECTION
   ======================================== */

.hero-pro {
    min-height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(124, 58, 237, 0.08), transparent),
        var(--bg-main);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 24px 32px;
    flex: 1;
}

/* Left Content */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Entrance Animations */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-600);
    width: fit-content;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.hero-headline {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

.hero-right {
    opacity: 0;
    animation: fadeInScale 0.8s ease forwards;
    animation-delay: 0.4s;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.badge-icon {
    font-size: 14px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Actions */
.hero-actions {
    margin-top: 8px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-500);
    color: #FFFFFF !important;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-hero-primary:hover {
    background: var(--primary-600);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.btn-hero-primary svg {
    transition: transform 0.2s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-primary span {
    color: #FFFFFF !important;
}

.btn-hero-primary:hover span {
    color: #FFFFFF !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 12px;
}

.btn-hero-secondary:hover {
    color: var(--primary-600);
    background: rgba(124, 58, 237, 0.08);
}

.btn-hero-secondary svg {
    color: var(--primary-500);
}

/* Proof Avatars - used in trust block */
.proof-avatars {
    display: flex;
}

.proof-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    margin-left: -10px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.proof-avatars img:hover {
    transform: scale(1.1);
    z-index: 1;
}

.proof-avatars img:first-child {
    margin-left: 0;
}

.proof-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Right Visual - Professional Flow Diagram */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual-flow {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 40px 20px;
}

/* SVG Connection Lines */
.flow-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Subtle background lines - no animation needed */
.flow-line {
    transition: opacity 0.3s ease;
}

/* Animated particles showing data transformation */
.flow-particle {
    opacity: 0;
}

/* Particle pulse effect for emphasis */
@keyframes particlePulse {
    0%, 100% { 
        r: 4;
        opacity: 0;
    }
    50% { 
        r: 5;
        opacity: 1;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Background Glow Effects */
.flow-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

.flow-glow-left {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #F472B6, #EC4899);
    left: 0;
    top: 20%;
}

.flow-glow-center {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.flow-glow-right {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #34D399, #10B981);
    right: 0;
    bottom: 20%;
    animation-delay: 2s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

/* Flow Sections */
.flow-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

/* Section Labels */
.input-label,
.center-label,
.output-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-600);
    text-align: center;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.input-label {
    animation-delay: 0.2s;
}

.center-label {
    animation-delay: 0.5s;
}

.output-label {
    animation-delay: 0.8s;
}

/* Messy Input Notes */
.flow-inputs {
    flex: 1;
    align-items: flex-end;
}

.messy-note {
    background: white;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(124, 58, 237, 0.08);
    border: 2px dashed rgba(124, 58, 237, 0.25);
    position: relative;
    width: 160px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: messyAppear 0.6s ease forwards;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

/* Connection lines from messy notes to logo */
.messy-note::after,
.messy-note-1::after,
.messy-note-2::after,
.messy-note-3::after {
    display: none !important;
}

.messy-note::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.messy-note-1 {
    transform: rotate(-3deg);
    animation-delay: 0.3s;
}

.messy-note-2 {
    transform: rotate(2deg);
    animation-delay: 0.4s;
}

.messy-note-3 {
    transform: rotate(-2deg);
    animation-delay: 0.5s;
}

.messy-note:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 32px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-400);
}

@keyframes messyAppear {
    from {
        opacity: 0;
        transform: translateX(-30px) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-3deg);
    }
}

.messy-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(124, 58, 237, 0.15);
}

.messy-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.messy-icon svg {
    width: 14px;
    height: 14px;
    color: var(--primary-600);
    stroke-width: 2;
}

.messy-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.messy-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

/* Handwritten Lines */
.handwritten-line {
    height: 5px;
    background: linear-gradient(90deg, 
        rgba(124, 58, 237, 0.35) 0%, 
        rgba(124, 58, 237, 0.3) 50%, 
        rgba(124, 58, 237, 0.25) 100%
    );
    border-radius: 8px;
    position: relative;
    transform-origin: left;
    filter: blur(0.3px);
}

.handwritten-line:nth-child(1) {
    transform: rotate(-0.8deg);
}

.handwritten-line:nth-child(2) {
    transform: rotate(1.2deg);
}

.handwritten-line:nth-child(3) {
    transform: rotate(-0.5deg);
}

.handwritten-line:nth-child(4) {
    transform: rotate(0.9deg);
}

.handwritten-line:nth-child(5) {
    transform: rotate(-0.6deg);
}

.handwritten-line:nth-child(6) {
    transform: rotate(0.7deg);
}

.handwritten-line.short {
    margin-top: 3px;
    margin-bottom: 3px;
}

/* Yellow Highlight */
.yellow-highlight {
    position: absolute;
    top: 42px;
    left: 8px;
    width: 75%;
    height: 14px;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 2px;
    filter: blur(1.5px);
    transform: rotate(-0.5deg);
    pointer-events: none;
}

/* Red Underline */
.red-underline {
    position: absolute;
    bottom: 28px;
    left: 5px;
    animation: underlineAppear 0.8s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

@keyframes underlineAppear {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Handwritten Scribble */
.handwritten-scribble {
    position: absolute;
    bottom: 8px;
    right: 8px;
    animation: scribbleAppear 0.8s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

@keyframes scribbleAppear {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Sketch Content for Image Card */
.sketch-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
}

.sketch-diagram {
    width: 100%;
    animation: diagramFloat 3s ease-in-out infinite;
}

@keyframes diagramFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.sketch-diagram svg {
    filter: drop-shadow(0 1px 2px rgba(139, 92, 246, 0.1));
}

.sketch-labels {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0 15px;
    margin-top: 4px;
}

.sketch-label-line {
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(139, 92, 246, 0.3), 
        rgba(139, 92, 246, 0.15)
    );
    border-radius: 6px;
    transform-origin: left;
}

.sketch-label-line:nth-child(1) {
    transform: rotate(-0.8deg);
}

.sketch-label-line:nth-child(2) {
    transform: rotate(0.6deg);
}

/* Audio Wave Animation */
.audio-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 40px;
    padding: 8px 0;
}

.audio-wave span {
    width: 3px;
    background: linear-gradient(180deg, var(--primary-500), var(--primary-300));
    border-radius: 2px;
    animation: audioWave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.audio-wave span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { height: 28px; animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.audio-wave span:nth-child(6) { height: 22px; animation-delay: 0.5s; }
.audio-wave span:nth-child(7) { height: 14px; animation-delay: 0.6s; }
.audio-wave span:nth-child(8) { height: 20px; animation-delay: 0.7s; }
.audio-wave span:nth-child(9) { height: 26px; animation-delay: 0.8s; }
.audio-wave span:nth-child(10) { height: 15px; animation-delay: 0.9s; }

@keyframes audioWave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.audio-duration {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-align: center;
    font-family: 'Courier New', monospace;
    background: rgba(124, 58, 237, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Center Logo with Rings */
.flow-center {
    position: relative;
    z-index: 10;
}

.flow-tagline {
    display: none; /* Hidden on desktop */
}

.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.3;
    display: none;
}

.logo-ring-1 {
    width: 100%;
    height: 100%;
    border-color: var(--primary-400);
    animation: ringPulse 3s ease-in-out infinite;
    display: block;
    border: none;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
    opacity: 1;
    animation: gentleGlow 4s ease-in-out infinite;
}

@keyframes gentleGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.logo-ring-2 {
    width: 120%;
    height: 120%;
    border-color: var(--primary-500);
    animation: ringPulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.logo-ring-3 {
    width: 140%;
    height: 140%;
    border-color: var(--primary-600);
    animation: ringPulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

.logo-circle {
    width: 140px;
    height: 140px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    z-index: 2;
    overflow: visible;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-circle img {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.3)) drop-shadow(0 0 40px rgba(124, 58, 237, 0.2));
    /* Uncomment one of these to try different orientations: */
    /* transform: scaleX(-1); */ /* Flip horizontally */
    /* transform: scaleY(-1); */ /* Flip vertically */
    /* transform: rotate(15deg); */ /* Rotate 15 degrees */
    /* transform: scaleX(-1) rotate(-10deg); */ /* Flip and rotate */
}

/* Logo Sparkles */
.logo-sparkles {
    position: absolute;
    inset: 0;
    display: none;
}

.sparkle {
    position: absolute;
    font-size: 16px;
    animation: sparkleFloat 2s ease-in-out infinite;
    display: none;
}

.sparkle-1 {
    top: -10px;
    right: 10px;
    animation-delay: 0s;
}

.sparkle-2 {
    bottom: -10px;
    left: 10px;
    animation-delay: 0.7s;
}

.sparkle-3 {
    top: 50%;
    right: -15px;
    animation-delay: 1.4s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
}

/* Dash Flow Animation */
@keyframes dashMove {
    0% {
        border-color: rgba(124, 58, 237, 0.7);
    }
    25% {
        border-color: rgba(124, 58, 237, 0.4);
    }
    50% {
        border-color: rgba(124, 58, 237, 0.9);
    }
    75% {
        border-color: rgba(124, 58, 237, 0.5);
    }
    100% {
        border-color: rgba(124, 58, 237, 0.7);
    }
}

/* Structured Outputs */
.flow-outputs {
    flex: 1;
    align-items: flex-start;
}

.output-card {
    background: white;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 150px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: outputSlideIn 0.6s ease forwards;
    position: relative;
    overflow: visible;
}

/* Connection lines from logo to output cards - using ::after */
.output-card::after,
.output-notes::after,
.output-flashcards::after,
.output-quiz::after,
.output-podcast::after,
.output-mindmap::after {
    display: none !important;
}

.output-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-500), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.output-card:hover {
    transform: translateX(6px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 32px rgba(124, 58, 237, 0.15);
    border-color: var(--primary-300);
}

.output-card:hover::before {
    opacity: 1;
}

.output-notes {
    animation-delay: 0.9s;
}

.output-notes::before {
    background: linear-gradient(180deg, transparent, #EC4899, transparent);
}

.output-flashcards {
    animation-delay: 1s;
}

.output-flashcards::before {
    background: linear-gradient(180deg, transparent, #8B5CF6, transparent);
}

.output-quiz {
    animation-delay: 1.1s;
}

.output-quiz::before {
    background: linear-gradient(180deg, transparent, #10B981, transparent);
}

.output-podcast {
    animation-delay: 1.2s;
}

.output-podcast::before {
    background: linear-gradient(180deg, transparent, #EF4444, transparent);
}

.output-mindmap {
    animation-delay: 1.3s;
}

.output-mindmap::before {
    background: linear-gradient(180deg, transparent, #F59E0B, transparent);
}

@keyframes outputSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.output-icon-wrapper {
    position: relative;
}

.output-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.output-card:hover .output-icon {
    transform: scale(1.1) rotate(5deg);
}

.output-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    position: relative;
    z-index: 2;
}

.output-notes .output-icon {
    background: linear-gradient(135deg, #F472B6, #EC4899);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    color: white;
}

.output-flashcards .output-icon {
    background: linear-gradient(135deg, #A78BFA, #8B5CF6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    color: white;
}

.output-quiz .output-icon {
    background: linear-gradient(135deg, #34D399, #10B981);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    color: white;
}

.output-podcast .output-icon {
    background: linear-gradient(135deg, #F87171, #EF4444);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    color: white;
}

.output-mindmap .output-icon {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    color: white;
}

.output-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.output-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.output-badge {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-headline {
        font-size: 44px;
    }
    
    .hero-description {
        max-width: 560px;
    }
    
    .hero-visual-flow {
        max-width: 600px;
        gap: 40px;
    }
    
    .messy-note,
    .output-card {
        width: 130px;
    }
    
    .logo-container {
        width: 90px;
        height: 90px;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-circle img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    /* Hide entire visual flow on mobile for cleaner UX */
    .hero-visual-flow {
        display: none;
    }
    
    .hero-right {
        display: none;
    }
    
    .flow-arrows {
        display: none;
    }
    
    .flow-glow {
        display: none;
    }
    
    /* Hide SVG connections on mobile */
    .flow-connections {
        display: none;
    }
    
    /* Mobile navigation fixes */
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 16px;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-right {
        display: none; /* Hide login/signup on mobile menu */
    }
}

@media (max-width: 640px) {
    .hero-container {
        padding: 40px 20px;
        gap: 48px;
    }
    
    .hero-headline {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual-flow {
        gap: 24px;
        padding: 10px;
    }
    
    .flow-outputs {
        gap: 10px;
    }
    
    .output-card {
        width: 100%;
        padding: 10px 12px;
    }
    
    .output-icon {
        width: 32px;
        height: 32px;
    }
    
    .output-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .output-title {
        font-size: 11px;
    }
    
    .logo-container {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle {
        width: 95px;
        height: 95px;
    }
    
    .logo-circle img {
        width: 75px;
        height: 75px;
    }
    
    .sparkle {
        font-size: 14px;
    }
    
    .input-label,
    .center-label,
    .output-label {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

.hero-content-centered {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-title-centered {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero-title-centered .highlight {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-centered .hero-with {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-tertiary);
}

.hero-subtitle-centered {
    font-size: 18px;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta-centered {
    display: flex;
    justify-content: center;
}

.hero-cta-centered .btn-primary {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-md);
}

.hero-cta-centered .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hero-stat {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-stat-dot {
    color: var(--text-tertiary);
    font-size: 10px;
}

/* Legacy hero styles (keeping for reference) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    color: var(--primary-600);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--primary-200);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .hero-with {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-tertiary);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.hero-description {
    font-size: 15px;
    margin-bottom: var(--space-xl);
    color: var(--text-tertiary);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta .btn-primary {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.hero-cta .btn-secondary {
    background: var(--bg-white);
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
}

.hero-cta .btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-browser {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2;
    transition: var(--transition);
}

.hero-browser:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 10, 10, 0.15);
}

.browser-chrome {
    background: var(--grey-100);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--grey-200);
}

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

.browser-chrome .browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-chrome .browser-dots span:nth-child(1) {
    background: #ec6a5e;
}

.browser-chrome .browser-dots span:nth-child(2) {
    background: #f4bf4f;
}

.browser-chrome .browser-dots span:nth-child(3) {
    background: #61c554;
}

.browser-chrome .browser-url {
    flex: 1;
    background: var(--bg-white);
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-size: 11px;
    border: 1px solid var(--grey-200);
    display: flex;
    align-items: center;
    gap: 6px;
}

.browser-chrome .browser-url::before {
    content: '🔒';
    font-size: 9px;
}

.browser-content {
    background: var(--bg-white);
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.browser-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: var(--bg-white);
}

.browser-sidebar {
    width: 140px;
    background: var(--bg-white);
    border-right: 1px solid var(--grey-200);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    padding: 6px 8px;
    border-radius: var(--radius-xs);
    background: var(--grey-50);
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-item.active {
    background: var(--primary-500);
    color: white;
}

.sidebar-item::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.browser-main {
    flex: 1;
    padding: 12px;
    overflow: hidden;
}

.note-card {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid var(--grey-200);
}

.note-title {
    height: 10px;
    background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-400) 100%);
    border-radius: 2px;
    width: 60%;
    margin-bottom: 8px;
}

.note-text {
    height: 6px;
    background: var(--grey-200);
    border-radius: 2px;
    margin-bottom: 4px;
}

.note-text:last-child {
    width: 80%;
}

.hero-phone {
    position: absolute;
    right: -30px;
    bottom: 0;
    z-index: 3;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transition: var(--transition);
}

.hero-phone:hover {
    transform: translateY(-6px);
}

.phone-frame {
    width: 160px;
    background: linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
    border-radius: 32px;
    padding: 10px;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #1a202c;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19.5;
    border-radius: 24px;
    background: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 24px;
}

.phone-header {
    background: var(--primary-500);
    padding: 32px 12px 12px;
    color: white;
}

.phone-time {
    font-size: 8px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.phone-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.phone-content {
    background: white;
    flex: 1;
    padding: 10px;
    border-radius: 16px 16px 0 0;
    margin-top: -6px;
}

.phone-note {
    background: var(--grey-50);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 6px;
}

.phone-note-title {
    height: 12px;
    background: #8B5CF6;
    border-radius: 3px;
    width: 70%;
    margin-bottom: 8px;
}

.phone-note-text {
    height: 8px;
    background: #dee2e6;
    border-radius: 2px;
    margin-bottom: 6px;
}

.phone-note-text:last-child {
    width: 60%;
}

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

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    max-width: 560px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.browser-bar {
    background: linear-gradient(180deg, #FAFAFA 0%, #F3F4F6 100%);
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    transition: var(--transition);
}

.browser-dots span:nth-child(1) {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
    box-shadow: 0 1px 3px rgba(255, 107, 107, 0.3);
}

.browser-dots span:nth-child(2) {
    background: linear-gradient(135deg, #FFD93D 0%, #F6C23E 100%);
    box-shadow: 0 1px 3px rgba(255, 217, 61, 0.3);
}

.browser-dots span:nth-child(3) {
    background: linear-gradient(135deg, #6BCF7F 0%, #51B960 100%);
    box-shadow: 0 1px 3px rgba(107, 207, 127, 0.3);
}

.browser-url {
    flex: 1;
    background: white;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.browser-url::before {
    content: '🔒';
    font-size: 0.75rem;
    opacity: 0.7;
}

.browser-mockup img {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    image-rendering: -webkit-optimize-contrast;
}

/* Phone Mockup */
.phone-mockup {
    position: absolute;
    right: -2rem;
    bottom: 0;
    transform: translateY(10px);
}

.phone-frame {
    width: 200px;
    background: #1F2937;
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1F2937;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 26px;
    display: block;
}

/* Sections */
section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: #374151;
    letter-spacing: -1px;
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Unified Trust Block */
.hero-trust-block {
    width: 100%;
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
}

.trust-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

.trust-header .proof-avatars {
    display: flex;
}

.trust-header .proof-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--bg-main);
    margin-left: -10px;
    object-fit: cover;
}

.trust-header .proof-avatars img:first-child {
    margin-left: 0;
}

.trust-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-info .proof-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 1px;
}

.trust-info span {
    font-size: 15px;
    color: var(--text-secondary);
}

.trust-info strong {
    color: var(--text-primary);
}

/* Testimonials Marquee */
.testimonials-marquee {
    overflow: hidden;
    width: 100%;
    margin-bottom: 16px;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-row-1 {
    animation: marqueeLeft 40s linear infinite;
}

.marquee-row-2 {
    animation: marqueeRight 40s linear infinite;
}

.testimonials-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.trust-card {
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
    transition: all 0.3s ease;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.trust-card:hover {
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.trust-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 14px 0;
    flex-grow: 1;
}

.trust-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--grey-100);
    margin-top: auto;
}

.trust-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.trust-author span {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-trust-block {
        padding: 32px 0 48px;
    }
    
    .trust-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .trust-info {
        flex-direction: column;
        gap: 4px;
    }
    
    .trust-card {
        min-width: 280px;
        max-width: 280px;
        padding: 16px 20px;
    }
    
    .marquee-row-1 {
        animation-duration: 30s;
    }
    
    .marquee-row-2 {
        animation-duration: 30s;
    }
}

/* Extra small screens - prevent horizontal overflow */
@media (max-width: 375px) {
    .trust-card {
        min-width: 260px;
        max-width: 260px;
        padding: 14px 18px;
    }
    
    .trust-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .trust-author span {
        font-size: 11px;
    }
}

/* University Logos Section */
.university-logos-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
}

.university-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.university-logos-marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.university-logos-track {
    display: flex;
    gap: 48px;
    align-items: center;
    width: max-content;
    animation: universityScroll 30s linear infinite;
}

@keyframes universityScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.university-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.university-logo {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.university-item:hover .university-logo {
    opacity: 1;
}

.university-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.university-item:hover .university-name {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .university-logos-section {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .university-logos-track {
        gap: 40px;
        animation-duration: 25s;
    }
    
    .university-logo {
        height: 32px;
        max-width: 90px;
    }
}

/* Features */
.features {
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.features::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features .section-title,
.features .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.features.in-view .section-title,
.features.in-view .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.features.in-view .section-subtitle {
    transition-delay: 0.1s;
}

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

/* Features section - 5 cards with centered bottom row */
.features .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.features .features-grid .feature-card:nth-child(1),
.features .features-grid .feature-card:nth-child(2),
.features .features-grid .feature-card:nth-child(3) {
    grid-column: span 2;
}

.features .features-grid .feature-card:nth-child(4) {
    grid-column: 2 / 4;
}

.features .features-grid .feature-card:nth-child(5) {
    grid-column: 4 / 6;
}

@media (max-width: 900px) {
    .features .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features .features-grid .feature-card:nth-child(1),
    .features .features-grid .feature-card:nth-child(2),
    .features .features-grid .feature-card:nth-child(3),
    .features .features-grid .feature-card:nth-child(4),
    .features .features-grid .feature-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .features .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 12px rgba(124, 58, 237, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

.features.in-view .feature-card {
    opacity: 1;
    transform: translateY(0);
}

.features.in-view .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features.in-view .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features.in-view .feature-card:nth-child(3) { transition-delay: 0.15s; }
.features.in-view .feature-card:nth-child(4) { transition-delay: 0.2s; }
.features.in-view .feature-card:nth-child(5) { transition-delay: 0.25s; }

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 12px 24px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

/* Study Materials Icons - Colorful backgrounds */
.feature-icon.icon-pdf {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
}
.feature-icon.icon-pdf svg {
    color: #DC2626;
}

.feature-icon.icon-youtube {
    background: linear-gradient(135deg, #FFE4E6, #FECDD3);
}
.feature-icon.icon-youtube svg {
    color: #E11D48;
}

.feature-icon.icon-photos {
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
}
.feature-icon.icon-photos svg {
    color: #0284C7;
}

.feature-icon.icon-audio {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
}
.feature-icon.icon-audio svg {
    color: #7C3AED;
}

.feature-icon.icon-text {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}
.feature-icon.icon-text svg {
    color: #D97706;
}

/* Study Methods Icons - Colorful backgrounds */
.feature-icon.icon-flashcards {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}
.feature-icon.icon-flashcards svg {
    color: #2563EB;
}

.feature-icon.icon-quizzes {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}
.feature-icon.icon-quizzes svg {
    color: #059669;
}

.feature-icon.icon-podcasts {
    background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
}
.feature-icon.icon-podcasts svg {
    color: #DB2777;
}

.feature-icon.icon-mindmaps {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
}
.feature-icon.icon-mindmaps svg {
    color: #7C3AED;
}

.feature-icon.socrats-icon {
    background: transparent;
    padding: 0;
    overflow: hidden;
    width: 72px;
    height: 72px;
}

.feature-icon.socrats-icon img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.2px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 13px;
    margin: 0;
}

/* Socrats Section */
.socrats-section {
    padding: 80px 0;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.socrats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.socrats-section .section-title,
.socrats-section .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.socrats-section.in-view .section-title,
.socrats-section.in-view .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.socrats-section.in-view .section-subtitle {
    transition-delay: 0.1s;
}

.socrats-content {
    display: flex;
    justify-content: center;
}

.socrats-card {
    background: var(--bg-white);
    padding: 32px 40px;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    text-align: center;
    max-width: 560px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 12px rgba(124, 58, 237, 0.04);
    opacity: 0;
    transform: translateY(20px);
}

.socrats-section.in-view .socrats-card {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.socrats-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.04),
        0 12px 24px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.12);
}

.socrats-card .feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
}

.socrats-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-600);
    font-weight: 600;
    letter-spacing: -0.2px;
}

.socrats-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 14px;
    margin: 0;
}

/* Socrats Layout - Two Column */
.socrats-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.socrats-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.socrats-section.in-view .socrats-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.socrats-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.socrats-icon-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.socrats-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.socrats-info > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.socrats-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.socrats-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.socrats-features li svg {
    width: 18px;
    height: 18px;
    color: var(--primary-500);
    flex-shrink: 0;
}

/* Chat Mockup */
.socrats-chat-mockup {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 12px rgba(124, 58, 237, 0.04);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: 480px;
}

.socrats-section.in-view .socrats-chat-mockup {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--grey-50);
    border-bottom: 1px solid var(--grey-100);
    flex-shrink: 0;
}

.chat-header img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.chat-header span:first-of-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-status {
    font-size: 12px;
    color: #10B981;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
}

/* Chat Messages */
.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Welcome Message */
.chat-welcome {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.welcome-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.welcome-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.welcome-content {
    background: var(--grey-50);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    flex: 1;
}

.welcome-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* Suggested Questions */
.suggested-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    flex-shrink: 0;
}

.suggestion-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-white);
    border: 1.5px solid var(--primary-200);
    border-radius: 10px;
    font-size: 13px;
    color: var(--primary-700);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    flex-shrink: 0;
}

.suggestion-chip:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
}

.suggestion-chip svg {
    width: 14px;
    height: 14px;
    color: var(--primary-500);
    flex-shrink: 0;
}

.chat-message {
    max-width: 85%;
    flex-shrink: 0;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.user p {
    background: var(--primary-500);
    color: white;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.chat-message.bot {
    display: flex;
    gap: 10px;
    align-self: flex-start;
}

.bot-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.bot-content {
    background: var(--grey-50);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
}

.bot-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.bot-content p:last-child {
    margin-bottom: 0;
}

.chat-highlight {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-700);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid var(--grey-100);
    background: var(--grey-50);
    flex-shrink: 0;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-white);
    color: var(--text-primary);
    caret-color: var(--primary-500);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-300);
}

.chat-input input.typing {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-500);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.chat-input button.active {
    opacity: 1;
    transform: scale(1.05);
}

.chat-input button.sending {
    animation: sendPulse 0.3s ease;
}

@keyframes sendPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.chat-input button svg {
    width: 18px;
    height: 18px;
}

/* Chat Animation Styles */
.chat-message {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s ease;
}

.chat-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: var(--grey-50);
    border-radius: 18px 18px 18px 4px;
    width: fit-content;
    margin-left: 42px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.typing-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* CTA Message styled like chat */
.chat-cta-inline {
    max-width: 90% !important;
}

.cta-message-content {
    background: var(--grey-50) !important;
    border: 1.5px solid rgba(124, 58, 237, 0.2);
}

.cta-message-content p {
    margin-bottom: 12px;
}

.cta-features-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
    padding: 10px;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 8px;
}

.cta-features-mini span {
    font-size: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cta-buttons {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.cta-btn-chat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cta-btn-primary {
    background: var(--primary-500) !important;
    color: white !important;
    border: none;
}

.cta-btn-primary:hover {
    background: var(--primary-600) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.cta-btn-primary span,
.cta-btn-primary svg {
    color: white !important;
    stroke: white !important;
}

.cta-btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary) !important;
    border: 1.5px solid var(--grey-300);
}

.cta-btn-secondary:hover {
    background: var(--grey-50);
    border-color: var(--grey-400);
    transform: translateY(-2px);
}

.cta-btn-chat svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.cta-trust-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(124, 58, 237, 0.15);
}

.trust-avatars-mini {
    display: flex;
    align-items: center;
}

.trust-avatars-mini img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -6px;
}

.trust-avatars-mini img:first-child {
    margin-left: 0;
}

.cta-trust-inline span {
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn-chat {
        width: 100%;
    }
}

/* Bot content text animation */
.chat-message.show .bot-content p,
.chat-message.show .bot-content .chat-highlight {
    opacity: 1;
    transform: translateY(0);
}

.bot-content p,
.bot-content .chat-highlight {
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s ease 0.1s;
}

@media (max-width: 900px) {
    .socrats-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .socrats-info {
        text-align: left; /* Changed from center to left */
    }
    
    .socrats-icon-wrap {
        margin: 0 0 20px; /* Changed from auto to 0 for left alignment */
    }
    
    .socrats-features {
        align-items: flex-start; /* Changed from center to flex-start */
    }
}

/* Enhanced Socrats Features with Icons */
.socrats-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.socrats-features li > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.socrats-features li strong {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.socrats-features li span {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.socrats-features li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    margin-top: 2px;
}

/* Enhanced Chat Status */
.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #10B981;
    margin-left: auto;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* CTA Overlay */
.chat-cta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.chat-cta-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cta-modal {
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.chat-cta-overlay.show .cta-modal {
    transform: scale(1) translateY(0);
}

.cta-header {
    text-align: center;
    margin-bottom: 28px;
}

.cta-header img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin: 0 auto 16px;
}

.cta-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.cta-header p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--grey-50);
    border-radius: 12px;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.cta-benefit svg {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cta-primary {
    background: var(--primary-500);
    color: white;
    border: 2px solid var(--primary-500);
}

.cta-primary:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.cta-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--grey-200);
}

.cta-secondary:hover {
    background: var(--grey-50);
    border-color: var(--grey-300);
    transform: translateY(-2px);
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-100);
}

.trust-avatars-small {
    display: flex;
    align-items: center;
}

.trust-avatars-small img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.trust-avatars-small img:first-child {
    margin-left: 0;
}

.cta-trust span {
    font-size: 13px;
    color: var(--text-secondary);
}

.cta-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--grey-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-close:hover {
    background: var(--grey-200);
    transform: rotate(90deg);
}

.cta-close svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .cta-modal {
        padding: 32px 24px;
    }
    
    .cta-header h3 {
        font-size: 20px;
    }
    
    .cta-actions {
        gap: 10px;
    }
    
    .cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Socratic Test Section */
.socratic-test-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    position: relative;
    overflow: hidden;
}

.socratic-test-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.test-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.test-phone-screenshot {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 32px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 12px 32px rgba(124, 58, 237, 0.12);
    transition: all 0.3s ease;
}

.test-phone-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 20px 48px rgba(124, 58, 237, 0.18);
}

.test-logo-overlay {
    position: absolute;
    bottom: 0%;
    right: 5%;
    width: 70%;
    max-width: 280px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}


.test-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.test-info > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.test-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.test-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.test-features li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.test-features li div {
    flex: 1;
}

.test-features li strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.test-features li span {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .socratic-test-layout {
        gap: 40px;
    }
    
    .test-phone-screenshot {
        max-width: 280px;
    }
    
    .test-logo-overlay {
        width: 68%;
        max-width: 240px;
        bottom: -5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .socratic-test-section {
        padding: 80px 0;
    }
    
    .socratic-test-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .test-visual {
        order: -1;
    }
    
    .test-phone-screenshot {
        max-width: 260px;
    }
    
    .test-logo-overlay {
        width: 65%;
        max-width: 200px;
        bottom: -5%;
        right: 8%;
    }
    
    .test-info h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .socratic-test-section {
        padding: 60px 0;
    }
    
    .test-info h3 {
        font-size: 24px;
    }
    
    .test-phone-screenshot {
        max-width: 100%;
        border-radius: 24px;
    }
    
    .test-logo-overlay {
        width: 60%;
        max-width: 170px;
        bottom: -3%;
        right: 10%;
    }
    
    .test-features {
        gap: 16px;
    }
}

/* Study Methods Section */
.study-methods {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    position: relative;
    overflow: hidden;
}

.study-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--grey-200), transparent);
}

.study-methods::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.study-methods .section-title,
.study-methods .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.study-methods.in-view .section-title,
.study-methods.in-view .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.study-methods.in-view .section-subtitle {
    transition-delay: 0.1s;
}

/* Method Showcase - Side by Side Layout */
.method-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 80px 0;
    border-bottom: 1px solid var(--grey-100);
}

.method-showcase:last-of-type {
    border-bottom: none;
}

.method-showcase.reverse {
    direction: rtl;
}

.method-showcase.reverse > * {
    direction: ltr;
}

.method-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.method-showcase.reverse .method-content {
    transform: translateX(30px);
}

.study-methods.in-view .method-content {
    opacity: 1;
    transform: translateX(0);
}

.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-50);
    color: var(--primary-600);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.method-badge i {
    width: 18px;
    height: 18px;
}

.method-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.method-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

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

.method-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.method-features li i {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
    flex-shrink: 0;
}

/* Video in showcase */
.method-showcase .method-video-wrap {
    width: 100%;
    max-width: 650px;
    overflow: visible;
    background: transparent;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
    cursor: pointer;
}

.study-methods.in-view .method-showcase .method-video-wrap {
    opacity: 1;
    transform: translateY(0);
}

.method-showcase .method-video-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.2);
}

.method-showcase .method-video-wrap video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 1024px) {
    .method-showcase {
        gap: 40px;
        padding: 60px 0;
    }
    
    .method-content h3 {
        font-size: 26px;
    }
    
    .method-showcase .method-video-wrap {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .method-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 50px 0;
        text-align: center;
    }
    
    .method-showcase.reverse {
        direction: ltr;
    }
    
    .method-showcase .method-video-wrap {
        order: -1;
        max-width: 500px;
    }
    
    .method-content h3 {
        font-size: 24px;
    }
    
    .method-content > p {
        font-size: 15px;
    }
    
    .method-features {
        align-items: center;
    }
    
    .method-badge {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .method-showcase {
        padding: 40px 0;
    }
    
    .method-showcase .method-video-wrap {
        max-width: 100%;
        border-radius: 12px;
    }
    
    .method-showcase .method-video-wrap video {
        border-radius: 12px;
    }
    
    .method-content h3 {
        font-size: 22px;
    }
}

/* Method Tabs */
.method-tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: nowrap;
    padding: 5px;
    background: rgba(124, 58, 237, 0.04);
    border-radius: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    background: white;
    border: 1.5px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.tab-btn span,
.tab-btn i {
    position: relative;
    z-index: 2;
}

.tab-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    position: relative;
    z-index: 2;
}

.tab-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.12);
}

.tab-btn:hover i {
    transform: scale(1.08);
}

.tab-btn.active {
    color: white;
    border-color: var(--primary-500);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-btn.active svg {
    stroke: white !important;
    color: white !important;
}

.tab-btn.active:hover {
    box-shadow: 0 5px 18px rgba(124, 58, 237, 0.35);
}

.tab-content-wrapper {
    position: relative;
    min-height: 500px;
}

.tab-content {
    display: none;
    opacity: 0;
    animation: fadeInTab 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

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

.tab-content .method-showcase {
    padding: 0;
    border-bottom: none;
}

/* Methods CTA Simple */
.methods-cta-simple {
    margin-top: -20px;
    text-align: center;
    padding: 0 20px;
}

.btn-methods-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--primary-500);
    color: white;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
    white-space: normal;
    text-align: center;
}

.btn-methods-cta:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-methods-cta svg {
    transition: transform 0.3s ease;
}

.btn-methods-cta:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .methods-cta-simple {
        margin-top: 15px;
        padding: 0 20px;
    }
    
    .btn-methods-cta {
        width: auto;
        max-width: 90%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }
    
    .btn-methods-cta span {
        text-align: center;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .methods-cta-simple {
        margin-top: 10px;
        padding: 0 16px;
    }
    
    .btn-methods-cta {
        padding: 12px 18px;
        font-size: 13px;
        gap: 6px;
        max-width: 95%;
    }
    
    .btn-methods-cta svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        gap: 6px;
        padding: 4px;
        max-width: 100%;
    }
    
    .tab-btn {
        padding: 9px 14px;
        font-size: 12px;
        gap: 6px;
    }
    
    .tab-btn i {
        width: 15px;
        height: 15px;
    }
    
    .tab-content-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .method-tabs {
        margin-top: 40px;
    }
    
    .tab-buttons {
        margin-bottom: 40px;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 9px 10px;
        font-size: 11px;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .tab-btn i {
        margin: 0;
        width: 16px;
        height: 16px;
    }
}
    }
}

/* Platforms */
.platform-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.platform-showcase.reverse {
    direction: rtl;
}

.platform-showcase.reverse > * {
    direction: ltr;
}

.platform-info {
    padding: 2rem 0;
}

.platform-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.platform-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.platform-features {
    list-style: none;
    margin-bottom: 2rem;
}

.platform-features li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.platform-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Large Device Mockups */
.iphone-device-large {
    position: relative;
}

.iphone-device-large .device-frame {
    width: 340px;
    height: 720px;
    border-radius: 44px;
    padding: 10px;
    background: #1F2937;
    box-shadow: var(--shadow-lg);
}

.iphone-device-large .device-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background: #fff;
    overflow: hidden;
}

.iphone-device-large .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.iphone-device-large .device-notch {
    width: 120px;
    height: 28px;
    background: #1F2937;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.ipad-device-large {
    position: relative;
}

.ipad-device-large .device-frame {
    width: 580px;
    height: 760px;
    border-radius: 32px;
    padding: 12px;
    background: #1F2937;
    box-shadow: var(--shadow-lg);
}

.ipad-device-large .device-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}

.ipad-device-large .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* Browser Device */
.browser-device {
    width: 100%;
    max-width: 720px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-chrome {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.browser-address {
    flex: 1;
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.browser-device .device-screen {
    width: 100%;
    height: 420px;
    background: #fff;
    overflow: hidden;
}

.browser-device .device-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

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

/* Pricing */
.pricing {
    background: var(--bg-surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

/* Two card layout for student pricing */
.pricing-grid.two-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
}

@media (max-width: 600px) {
    .pricing-grid.two-cards {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--grey-200);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    margin-top: auto;
}

.pricing-desc {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.pricing-desc .savings {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-left: 6px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-300);
}

/* Selected state */
.pricing-card.selected {
    border-color: var(--primary-500);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.pricing-card.selected::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/14px no-repeat;
    border-radius: 50%;
}

.pricing-card.selected:hover {
    transform: translateY(-4px);
}

/* Featured card - same base style, just highlighted */
.pricing-card.featured {
    border-color: var(--primary-500);
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg-white) 100%);
}

.pricing-card.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.2);
}

.pricing-card.featured.selected {
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.2);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: var(--on-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.pricing-card.featured .price {
    color: var(--primary-600);
}

.price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    text-align: left;
}

.pricing-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Download */
.download {
    text-align: center;
    background: var(--bg-surface);
}

.download-subtitle {
    font-size: 14px;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-white);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid var(--grey-200);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-300);
}

.download-icon {
    font-size: 24px;
}

.download-btn small {
    display: block;
    font-size: 10px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

/* Use Cases Section */
.use-cases {
    padding: 48px 0;
    background: var(--bg-main);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.use-case-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    transition: all 0.3s ease;
    position: relative;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-200);
}

.use-case-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 28px;
}

.use-case-card:nth-child(1) .use-case-icon {
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
}

.use-case-card:nth-child(2) .use-case-icon {
    background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
}

.use-case-card:nth-child(3) .use-case-icon {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
}

.use-case-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-weight: 600;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
}

.use-case-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.use-case-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: 600;
}

/* Why Section */
.why-section {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg-main) 100%);
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.comparison-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all 0.3s ease;
}

.comparison-card.traditional {
    background: var(--bg-white);
    border: 1px solid var(--grey-200);
}

.comparison-card.traditional:hover {
    border-color: var(--grey-300);
}

.comparison-card.socranotes {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.comparison-card.socranotes:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}

.comparison-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-card.traditional li {
    color: var(--text-secondary);
}

.comparison-card.socranotes li {
    color: rgba(255, 255, 255, 0.95);
}

.why-result {
    text-align: center;
    font-size: 14px;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* How It Works Section - Modern Timeline Design */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.how-it-works.in-view .section-title,
.how-it-works.in-view .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.how-it-works.in-view .section-subtitle {
    transition-delay: 0.1s;
}

/* Process Flow - Compact Vertical Timeline */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Timeline Line */
.process-flow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--primary-200) 10%, 
        var(--primary-300) 50%, 
        var(--primary-200) 90%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 24px 0;
}

.how-it-works.in-view .process-step {
    opacity: 1;
    transform: translateY(0);
}

.how-it-works.in-view .process-step:nth-child(1) { transition-delay: 0.2s; }
.how-it-works.in-view .process-step:nth-child(2) { transition-delay: 0.4s; }
.how-it-works.in-view .process-step:nth-child(3) { transition-delay: 0.6s; }

/* Step Number Circle */
.process-visual {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-main), 0 4px 16px rgba(124, 58, 237, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    grid-column: 2;
}

.process-step:hover .process-visual {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px var(--bg-main), 0 6px 24px rgba(124, 58, 237, 0.25);
}

.process-number {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.3);
}

.process-icon-main {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon-main svg {
    width: 32px;
    height: 32px;
    color: var(--primary-500);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon-main svg {
    color: var(--primary-600);
    transform: scale(1.1);
}

/* Process Details - Alternating Layout */
.process-step:nth-child(odd) .process-details {
    grid-column: 1;
    text-align: left;
}

.process-step:nth-child(even) .process-details {
    grid-column: 3;
    text-align: left;
}

.process-details {
    background: white;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--grey-200);
    transition: all 0.3s ease;
}

.process-step:hover .process-details {
    border-color: var(--primary-300);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.08);
    transform: translateY(-3px);
}

.process-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.process-details p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Process Images - Alternating Layout */
.process-step:nth-child(odd) .process-image {
    grid-column: 3;
}

.process-step:nth-child(even) .process-image {
    grid-column: 1;
}

.process-image {
    width: 100%;
    max-width: 240px;
    justify-self: center;
    transition: all 0.4s ease;
}

.process-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
    border: 1px solid var(--grey-200);
    transition: all 0.3s ease;
    display: block;
}

.process-step:hover .process-image img {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.18);
    border-color: var(--primary-200);
}

/* Input Types - Compact Pills */
.input-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.input-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--grey-50);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.input-type:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary-600);
    transform: translateY(-1px);
}

.input-type svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* Process Features - Clean List */
.process-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    border: none;
    transition: all 0.2s ease;
    justify-content: flex-start;
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-500);
    flex-shrink: 0;
}

.feature-item:hover {
    color: var(--primary-600);
    transform: translateX(3px);
}

/* Study Tools - Compact Grid */
.study-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.tool-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-50), var(--grey-50));
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--primary-100);
    transition: all 0.2s ease;
}

.tool-item:hover {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-color: var(--primary-300);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.12);
}

.tool-emoji {
    font-size: 13px;
    line-height: 1;
}

/* Remove arrow (not needed in timeline) */
.process-arrow {
    display: none;
}

/* How It Works CTA Button */
.how-it-works-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.how-it-works.in-view .how-it-works-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.btn-how-it-works {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-how-it-works:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

.btn-how-it-works svg {
    transition: transform 0.3s ease;
}

.btn-how-it-works:hover svg {
    transform: translateX(4px);
}

/* Responsive - Stack vertically on tablets and mobile */
@media (max-width: 1024px) {
    .process-flow {
        gap: 0;
    }
    
    .process-flow::before {
        left: 40px;
        top: 50px;
        bottom: 50px;
    }
    
    .process-step {
        grid-template-columns: auto 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    
    .process-visual {
        width: 60px;
        height: 60px;
        grid-column: 1;
        grid-row: 1;
    }
    
    .process-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    
    .process-icon-main {
        width: 40px;
        height: 40px;
    }
    
    .process-icon-main svg {
        width: 28px;
        height: 28px;
    }
    
    .process-details {
        grid-column: 2 !important;
        grid-row: 1;
        text-align: left !important;
        padding: 18px;
    }
    
    .process-image {
        grid-column: 2 !important;
        grid-row: 2;
        margin-top: 16px;
        max-width: 100%;
    }
    
    .input-types,
    .study-tools {
        justify-content: flex-start !important;
    }
    
    .feature-item {
        justify-content: flex-start !important;
    }
    
    .feature-item:hover {
        transform: translateX(3px) !important;
    }
}

@media (max-width: 640px) {
    .how-it-works {
        padding: 60px 0;
    }
    
    .process-flow {
        margin-top: 32px;
    }
    
    .process-flow::before {
        left: 26px;
        top: 40px;
        bottom: 40px;
    }
    
    .process-step {
        gap: 14px;
        padding: 16px 0;
    }
    
    .process-visual {
        width: 52px;
        height: 52px;
    }
    
    .process-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: -5px;
        left: -5px;
    }
    
    .process-icon-main {
        width: 36px;
        height: 36px;
    }
    
    .process-icon-main svg {
        width: 24px;
        height: 24px;
    }
    
    .process-details {
        padding: 16px;
    }
    
    .process-details h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }
    
    .process-details p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .process-image {
        margin-top: 12px;
    }
    
    .input-types,
    .study-tools {
        gap: 5px;
    }
    
    .input-type,
    .tool-item {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .feature-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .feature-item svg {
        width: 14px;
        height: 14px;
    }
    
    .process-features {
        gap: 8px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary-500);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* FAQ Mobile Optimization */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-list {
        gap: 10px;
    }
    
    .faq-item {
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 16px; /* Slightly larger for better readability */
        line-height: 1.4;
        gap: 12px;
    }
    
    .faq-question svg {
        width: 18px;
        height: 18px;
        margin-left: 8px;
    }
    
    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 15px; /* Slightly larger for mobile */
        line-height: 1.6;
    }
}

/* Blog Preview Section */
.blog-preview-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.blog-preview-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-200);
}

.blog-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-surface);
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.05);
}

.blog-preview-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-preview-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-preview-date,
.blog-preview-read-time {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.blog-preview-date::after {
    content: '•';
    margin-left: 12px;
    color: var(--text-tertiary);
}

.blog-preview-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview-cta {
    text-align: center;
    margin-top: 48px;
}

.btn-blog-preview {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary-500);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-blog-preview:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.btn-blog-preview svg {
    transition: transform 0.3s ease;
}

.btn-blog-preview:hover svg {
    transform: translateX(4px);
}

/* Responsive Blog Preview */
@media (max-width: 968px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-preview-section {
        padding: 60px 0;
    }

    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-preview-image {
        height: 180px;
    }

    .blog-preview-content {
        padding: 20px;
    }

    .blog-preview-title {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #2d1b4e 0%, #1f1333 100%);
    color: white;
    padding: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.4), transparent);
}

/* Footer CTA Section */
.footer-cta {
    padding: 64px 0 48px;
    text-align: center;
}

.footer-cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.footer-cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

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

.store-badge-footer {
    display: block;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.store-badge-footer:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.store-badge-footer svg {
    height: 44px;
    width: auto;
}

.store-badge-footer.web-version svg rect {
    fill: var(--primary-500);
}

.store-badge-footer.web-version:hover svg rect {
    fill: var(--primary-600);
}

/* Footer Links Section */
.footer-links {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-section {
    max-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary) !important;
}

.footer-brand-section > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
}

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

.footer-nav-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav-column ul {
    list-style: none;
}

.footer-nav-column li {
    margin-bottom: 8px;
}

.footer-nav-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav-column a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.hiring-badge {
    background: rgba(52, 211, 153, 0.15);
    color: #10B981;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    position: relative;
    top: -3px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    line-height: 1;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Footer Mobile Responsive Fixes */
@media (max-width: 768px) {
    .footer-cta {
        padding: 48px 20px 36px;
    }
    
    .footer-cta-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .footer-cta-content p {
        font-size: 14px;
        margin-bottom: 24px;
        padding: 0 10px;
    }
    
    .footer-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .store-badge-footer {
        width: 100%;
        max-width: 200px;
    }
    
    .store-badge-wrapper {
        width: 100%;
        max-width: 200px;
    }
    
    .store-badge-footer svg {
        height: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 24px;
    }
    
    .footer-brand-section {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-nav-column h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-nav-column ul {
        gap: 8px;
    }
    
    .footer-nav-column a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 16px 0;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .footer-cta {
        padding: 40px 16px 32px;
    }
    
    .footer-cta-content h2 {
        font-size: 22px;
    }
    
    .footer-cta-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .footer-cta-buttons {
        padding: 0 10px;
        gap: 8px;
    }
    
    .store-badge-footer {
        max-width: 180px;
    }
    
    .store-badge-wrapper {
        max-width: 180px;
    }
    
    .store-badge-footer svg {
        height: 38px;
    }
    
    .coming-soon-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .footer-links {
        padding: 28px 0 20px;
        gap: 24px;
    }
    
    .footer-brand-section > p {
        font-size: 12px;
    }
}

/* Responsive Design */

/* Large screens */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
    
    .hero-grid {
        gap: 80px;
    }
}

/* Very large screens (2K+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 68px;
    }
    
    .hero-subtitle {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        padding: 100px 0 120px;
    }
}

/* Tablet and below */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav-left {
        gap: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        display: flex;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 16px;
    }
    
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .hero {
        padding: 48px 0 56px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-visual {
        justify-content: center;
        height: 280px;
    }
    
    .hero-mockup-container {
        max-width: 100%;
    }
    
    .hero-phone {
        display: none;
    }
    
    .hero-browser {
        max-width: 100%;
    }
    
    .browser-sidebar {
        display: none;
    }
    
    section {
        padding: 32px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .why-result {
        font-size: 13px;
    }
    
    /* Footer responsive */
    .footer-cta {
        padding: 40px 20px;
    }
    
    .footer-cta-content h2 {
        font-size: 24px;
    }
    
    .footer-cta-content p {
        font-size: 14px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0;
        text-align: center;
    }
    
    .footer-brand-section {
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
}

/* iPad Specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-grid {
        gap: var(--space-lg);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-visual {
        height: 320px;
    }
    
    .hero-phone {
        display: none;
    }
}

/* iPhone Specific */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .hero-description {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .btn-large {
        padding: var(--space-sm) var(--space-md);
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .feature-card,
    .use-case-card,
    .pricing-card,
    .comparison-card {
        padding: var(--space-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .feature-card h3,
    .use-case-card h3 {
        font-size: 16px;
    }
    
    .feature-card p,
    .use-case-card li {
        font-size: 14px;
    }
    
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .comparison-card {
        padding: var(--space-lg);
    }
    
    .why-result {
        font-size: 14px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .step-card {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        text-align: left;
        padding: var(--space-md);
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-card h3 {
        margin-bottom: 4px;
    }
    
    .step-card p {
        font-size: 12px;
    }
}

/* iPad Mockup Styles */
.ipad-header {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ipad-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
}

.ipad-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.ipad-content {
    display: flex;
    height: calc(100% - 60px);
    background: #f8f9fa;
}

.ipad-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding: 20px 16px;
    overflow-y: auto;
}

.ipad-search-box {
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #6c757d;
}

.ipad-nav-section {
    margin-bottom: 24px;
}

.ipad-nav-title {
    font-size: 11px;
    font-weight: 700;
    color: #adb5bd;
    margin-bottom: 8px;
    padding: 0 8px;
    letter-spacing: 0.5px;
}

.ipad-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.ipad-nav-item.active {
    background: #8B5CF6;
    color: white;
}

.nav-icon {
    font-size: 16px;
}

.nav-text {
    flex: 1;
    font-weight: 500;
}

.nav-count {
    font-size: 12px;
    color: inherit;
    opacity: 0.7;
}

.ipad-main {
    flex: 1;
    background: white;
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ipad-editor-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
}

.editor-title-bar {
    height: 24px;
    background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 6px;
    width: 40%;
    margin-bottom: 12px;
}

.editor-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #495057;
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background: #dee2e6;
    margin: 0 4px;
}

.ipad-editor-content {
    padding: 24px;
}

.editor-line {
    height: 12px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 10px;
}

.editor-line.short {
    width: 70%;
}

.editor-space {
    height: 20px;
}

/* iPhone Mockup Styles */
.iphone-status-bar {
    padding: 8px 20px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 10px;
}

.iphone-header {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.iphone-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
}

.iphone-add-btn {
    width: 36px;
    height: 36px;
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.iphone-search {
    margin: 12px 20px;
    background: #f1f3f5;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #868e96;
}

.iphone-notes-list {
    padding: 0 20px 80px;
}

.iphone-note-item {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.iphone-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.iphone-note-title-bar {
    height: 14px;
    background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 3px;
    width: 50%;
}

.iphone-note-date {
    font-size: 11px;
    color: #868e96;
    font-weight: 500;
}

.iphone-note-preview {
    height: 10px;
    background: #dee2e6;
    border-radius: 2px;
    margin-bottom: 6px;
}

.iphone-note-preview.short {
    width: 65%;
}

.iphone-tab-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid #e9ecef;
    display: flex;
    padding: 8px 0 20px;
    justify-content: space-around;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #868e96;
}

.tab-item.active {
    color: #8B5CF6;
}

.tab-icon {
    font-size: 20px;
}

.tab-label {
    font-size: 10px;
    font-weight: 600;
}

/* Web App Mockup Styles */
.web-app-layout {
    display: flex;
    height: 100%;
    background: #f8f9fa;
}

.web-sidebar {
    width: 240px;
    background: #1a1a1a;
    color: white;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.web-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.web-logo-icon {
    font-size: 24px;
}

.web-search {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.web-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.web-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.web-nav-item.active {
    background: #8B5CF6;
    color: white;
}

.nav-label {
    font-weight: 500;
}

.web-folders {
    margin-top: auto;
}

.folder-header {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.folder-item {
    padding: 8px 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin-bottom: 4px;
}

.web-notes-list {
    width: 320px;
    background: white;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
}

.web-list-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.web-list-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.web-new-btn {
    background: #8B5CF6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.web-note-card {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f5;
    cursor: pointer;
}

.web-note-card:hover {
    background: #f8f9fa;
}

.web-note-title {
    height: 14px;
    background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 3px;
    width: 60%;
    margin-bottom: 10px;
}

.web-note-text {
    height: 10px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 8px;
}

.web-note-meta {
    font-size: 11px;
    color: #868e96;
    margin-top: 8px;
}

.web-editor {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

.web-editor-toolbar {
    padding: 16px 24px;
    border-bottom: 1px solid #e9ecef;
}

.toolbar-group {
    display: flex;
    gap: 8px;
}

.toolbar-icon {
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #495057;
}

.web-editor-title {
    height: 28px;
    background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 6px;
    width: 50%;
    margin: 24px 24px 20px;
}

.web-editor-content {
    padding: 0 24px 24px;
}

/* Full Screen Auth */
.auth-screen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-main);
    overflow-y: auto;
}

.auth-screen.active {
    display: block;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.auth-close:hover {
    background: var(--grey-100);
    color: var(--text-primary);
}

.auth-close svg {
    width: 20px;
    height: 20px;
}

.auth-left {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.auth-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.auth-brand span {
    font-size: 20px;
    font-weight: 700;
}

.auth-hero {
    position: relative;
    z-index: 1;
}

.auth-hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.auth-hero p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Live Stats */
.auth-live-stats {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    position: relative;
    z-index: 1;
}

.auth-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.auth-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* Testimonials Carousel */
.auth-testimonials-carousel {
    position: relative;
    z-index: 1;
    min-height: 140px;
}

.auth-testimonials-carousel .auth-testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.auth-testimonials-carousel .auth-testimonial.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.auth-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.auth-testimonial p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-testimonial-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.auth-testimonial-author span {
    font-size: 13px;
    opacity: 0.9;
}

/* Recent Signups */
.auth-recent-signups {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
    position: relative;
    z-index: 1;
}

.auth-signup-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInNotification 0.5s ease forwards;
}

.auth-signup-notification:nth-child(1) { animation-delay: 0.2s; }
.auth-signup-notification:nth-child(2) { animation-delay: 0.4s; }
.auth-signup-notification:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInNotification {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-signup-notification img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.auth-signup-notification strong {
    color: white;
}

/* Universities */
.auth-universities {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.auth-universities > span {
    font-size: 12px;
    opacity: 0.7;
    display: block;
    margin-bottom: 12px;
}

.auth-uni-logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-uni-logos span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.auth-feature svg {
    width: 20px;
    height: 20px;
    color: #A7F3D0;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--bg-white);
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-auth-social {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--grey-200);
    border-radius: 12px;
    background: var(--bg-white);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-primary);
}

.btn-auth-social:hover {
    background: var(--grey-50);
    border-color: var(--grey-300);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--grey-200);
}

.auth-divider span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.auth-field input {
    padding: 14px 16px;
    border: 1px solid var(--grey-200);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--bg-white);
    color: var(--text-primary);
}

.auth-field input::placeholder {
    color: var(--text-tertiary);
}

.auth-field input:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.auth-checkbox input {
    margin-top: 3px;
    cursor: pointer;
}

.auth-checkbox span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.auth-checkbox a {
    color: var(--primary-500);
    text-decoration: none;
}

.auth-checkbox a:hover {
    text-decoration: underline;
}

.auth-link {
    font-size: 14px;
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-auth-submit:hover {
    background: var(--primary-600);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Auth Responsive */
@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 80px 24px 40px;
    }
    
    .auth-close {
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .auth-form-container h2 {
        font-size: 24px;
    }
    
    .auth-field input,
    .btn-auth-social,
    .btn-auth-submit {
        padding: 12px 14px;
    }
}


/* Native App Store Badges */
.store-badge {
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.store-badge svg {
    height: 50px;
    width: auto;
    display: block;
}

.store-badge.app-store-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.store-badge.google-play-badge {
    position: relative;
}

.store-badge.google-play-badge.disabled {
    opacity: 0.6;
    cursor: default;
}

.store-badge.google-play-badge.disabled svg {
    filter: grayscale(0.3);
}

.coming-soon-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    font-weight: 500;
}


/* Hero Stats - inline below CTA */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.hero-stat {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-stat-dot {
    color: var(--text-tertiary);
    font-size: 10px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 48px 0;
    background: var(--bg-main);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

/* Testimonials Marquee */
.testimonials-marquee-wrapper {
    position: relative;
    width: 100%;
    padding: var(--space-lg) 0 var(--space-xl);
}

.testimonials-marquee-wrapper::before,
.testimonials-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.testimonials-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.testimonials-marquee {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: var(--space-lg);
    animation: marquee 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 300px;
    background: var(--bg-white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: left;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-200);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.author-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--grey-100);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-meta {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 12px;
    letter-spacing: 2px;
}

/* Social Proof Responsive */
@media (max-width: 768px) {
    .university-logos {
        gap: var(--space-md);
    }
    
    .uni-svg {
        height: 24px;
    }
    
    .stats-bar {
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .testimonial-card {
        width: 300px;
        padding: var(--space-md);
    }
    
    .testimonials-marquee-wrapper::before,
    .testimonials-marquee-wrapper::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .university-logos {
        gap: var(--space-sm);
    }
    
    .uni-svg {
        height: 20px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .testimonial-card {
        width: 280px;
    }
    
    .testimonials-marquee-wrapper::before,
    .testimonials-marquee-wrapper::after {
        width: 30px;
    }
}


/* Disable Google Play Button in Footer with Coming Soon Badge */
.store-badge-wrapper {
    position: relative;
    display: inline-block;
}

.footer-cta-buttons .google-play {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(80%);
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    z-index: 10;
}

/* ===================================
   Legal Pages (Privacy & Terms)
   =================================== */

/* Legal Hero Section */
.legal-hero {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(124, 58, 237, 0.08), transparent);
  pointer-events: none;
}

.legal-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.legal-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--primary-600);
}

.legal-hero .badge-icon {
  font-size: 1.25rem;
}

.legal-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-primary);
}

.legal-hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* Legal Content Wrapper */
.legal-content-wrapper {
  padding: 4rem 2rem;
  background: var(--bg-surface);
}

.legal-content-wrapper .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Legal Content Sections */
.legal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.content-section {
  margin-bottom: 0;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary-500);
  display: inline-block;
}

.content-section p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0;
}

.content-section ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.content-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
  font-size: 1.25rem;
}

.content-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
  .legal-hero {
    padding: 6rem 1.5rem 3rem;
  }

  .legal-hero-title {
    font-size: 2.5rem;
  }

  .legal-hero-description {
    font-size: 1.125rem;
  }

  .legal-content-wrapper {
    padding: 3rem 1rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .content-section p,
  .content-section ul li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    padding: 5rem 1rem 2.5rem;
  }

  .legal-hero-title {
    font-size: 2rem;
  }

  .legal-hero-description {
    font-size: 1rem;
  }

  .legal-content {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .content-section h2 {
    font-size: 1.375rem;
  }

  .content-section p,
  .content-section ul li {
    font-size: 0.9375rem;
  }

  .content-section ul li {
    padding-left: 1.5rem;
  }
}

/* ========================================
   CAREERS PAGE STYLES
   ======================================== */

.careers-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
}

.careers-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.careers-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* Job Listings */
.job-listings {
    padding: 60px 0 120px;
    background: var(--bg-main);
}

.job-card-link {
    text-decoration: none;
    display: block;
    margin-bottom: 24px;
}

.job-card {
    background: white;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-500);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
    border-color: var(--primary-300);
}

.job-card:hover::before {
    transform: scaleY(1);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.job-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.job-arrow {
    width: 28px;
    height: 28px;
    color: var(--primary-500);
    transition: transform 0.3s ease;
}

.job-card:hover .job-arrow {
    transform: translateX(8px);
}

.job-meta {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .careers-title {
        font-size: 42px;
    }
    
    .careers-description {
        font-size: 16px;
    }
    
    .job-card {
        padding: 24px;
    }
    
    .job-title {
        font-size: 22px;
    }
    
    .job-arrow {
        width: 24px;
        height: 24px;
    }
}
/* ========================================
   JOB DETAILS PAGE STYLES
   ======================================== */

.job-details-page {
    min-height: 100vh;
    padding: 60px 24px;
}

.job-details-container {
    max-width: 800px;
    margin: 0 auto;
}

.job-details-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: 32px;
}

.job-details-badge i {
    width: 16px;
    height: 16px;
    color: var(--primary-500);
}

.job-details-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.job-intro {
    margin-bottom: 32px;
}

.job-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.highlight-text {
    color: var(--primary-600);
    font-weight: 600;
}

.job-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--grey-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-item i {
    width: 18px;
    height: 18px;
    color: var(--primary-500);
}

.job-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    margin-bottom: 48px;
}

.job-apply-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.job-apply-btn:hover i {
    color: white !important;
}

.job-apply-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.job-apply-btn:hover i {
    transform: translateX(4px);
}

.job-section {
    margin-bottom: 48px;
}

.job-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.job-section-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.job-section-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.job-requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.job-requirements-list li i {
    width: 22px;
    height: 22px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.job-requirements-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.email-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.job-cta-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.04));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 48px;
}

.job-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.job-cta-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.job-details-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--grey-200);
}

.job-details-footer p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .job-details-page {
        padding: 32px 16px;
    }
    
    .job-details-container {
        padding: 0 4px;
    }
    
    .job-details-badge {
        font-size: 12px;
        padding: 8px 14px;
        margin-bottom: 24px;
    }
    
    .job-details-title {
        font-size: 32px;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }
    
    .job-intro {
        margin-bottom: 24px;
    }
    
    .job-intro p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .job-meta-info {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .job-apply-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        margin-bottom: 32px;
    }
    
    .job-section {
        margin-bottom: 36px;
    }
    
    .job-section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .job-section-text {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .job-requirements-list {
        gap: 16px;
    }
    
    .job-requirements-list li {
        font-size: 15px;
        gap: 12px;
    }
    
    .job-requirements-list li i {
        width: 20px;
        height: 20px;
    }
    
    .job-cta-section {
        padding: 24px 20px;
        margin-top: 40px;
    }
    
    .job-cta-title {
        font-size: 20px;
    }
    
    .job-cta-text {
        font-size: 15px;
    }
    
    .application-section {
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid var(--grey-200);
    }
    
    .form-header {
        margin-bottom: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .job-cta-title {
        font-size: 20px;
    }
}

/* Application Form Styles */
.application-form {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.3px;
}

.required {
  color: var(--error);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.3px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
  background: var(--bg-white);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236D4BA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.comfort-scale {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.comfort-scale input[type="radio"] {
  display: none;
}

.comfort-btn {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--bg-white);
}

.comfort-btn:hover {
  border-color: var(--primary-500);
  background: var(--primary-100);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.comfort-scale input[type="radio"]:checked + .comfort-btn {
  border-color: var(--primary-500);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.comfort-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
  font-weight: 500;
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.form-disclaimer a {
  color: var(--primary-500);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.form-disclaimer a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .application-form {
    padding: var(--space-md);
    margin: 0; /* Remove negative margin */
    background: transparent; /* Remove white background on mobile */
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
    border-radius: 0;
  }
  
  /* Prevent iOS zoom on input focus - 16px minimum */
  .application-form input[type="text"],
  .application-form input[type="email"],
  .application-form input[type="tel"],
  .application-form select,
  .application-form textarea {
    font-size: 16px !important;
    padding: 14px 16px;
    min-height: 48px; /* Better touch target */
  }
  
  .application-form textarea {
    min-height: 120px;
    padding: 14px 16px;
  }

  .comfort-scale {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .comfort-btn {
    padding: 12px;
    font-size: 14px;
    min-width: 60px; /* Consistent width for all buttons */
    max-width: 60px;
    min-height: 48px;
    flex: 0 0 calc(20% - 8px); /* 5 buttons per row */
  }

  .comfort-labels {
    font-size: 11px;
    margin-top: 8px;
  }

  .submit-btn {
    padding: 16px 24px;
    font-size: 16px;
    min-height: 52px;
    margin-top: 8px;
    margin-bottom: 16px;
    width: 100%;
  }
  
  .form-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    padding: 0 4px;
  }
  
  /* Better spacing for form groups */
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-group label {
    margin-bottom: 10px;
    font-size: 15px;
  }
  
  .application-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: none; /* Remove border on mobile for seamless look */
  }
}

/* Form Message Styles */
.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 2px solid var(--success);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.form-message.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border: 2px solid var(--error);
  box-shadow: 0 4px 12px rgba(176, 0, 32, 0.15);
}

/* Application Section Header */
.application-section {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--grey-100) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.form-header .job-section-title {
  color: var(--primary-700);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.form-header .job-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-600) 100%);
  border-radius: var(--radius-full);
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


/* ========================================
   CONTACT PAGE STYLES - SIMPLE
   ======================================== */

.contact-simple-wrapper {
  padding: 2rem 1.5rem 4rem;
  background: var(--bg-surface);
}

.contact-simple-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-simple-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.email-box {
  margin-bottom: 1.5rem;
}

.email-display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(124, 58, 237, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.email-display svg:first-child {
  color: var(--primary-500);
  flex-shrink: 0;
}

.email-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-500);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copy-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-text {
  display: none;
}

.response-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin: 0;
}

.response-text svg {
  color: #10B981;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact-simple-content {
    padding: 2.5rem 2rem;
  }

  .contact-simple-content h2 {
    font-size: 1.5rem;
  }

  .email-display {
    padding: 0.875rem 1rem;
  }

  .email-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-simple-wrapper {
    padding: 1.5rem 1rem 3rem;
  }

  .contact-simple-content {
    padding: 2rem 1.5rem;
  }

  .email-display {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .email-text {
    font-size: 0.9375rem;
    word-break: break-all;
    flex-basis: 100%;
    text-align: center;
  }

  .copy-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .response-text {
    font-size: 0.875rem;
  }
}


/* ========================================
   BLOG PAGE STYLES
   ======================================== */

.blog-header {
    padding: 30px 0 20px;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.08), transparent),
        linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.blog-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
}

.blog-tagline {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.blog-section {
    padding: 20px 0 100px;
    background: var(--bg-main);
}

/* Featured Post */
.blog-featured {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.blog-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
    z-index: 1;
}

.blog-featured:hover {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

.blog-featured-image {
    width: 100%;
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    position: relative;
}

.featured-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #FBBF24;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.05);
}

.blog-featured-content {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-featured-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.blog-featured-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.btn-read-more:hover {
    color: var(--primary-700);
    gap: 12px;
}

/* Author Info */
.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-featured {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.12);
    border-color: var(--primary-200);
}

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-logo {
    font-size: 32px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
}

.blog-date::before {
    content: '•';
    margin-right: 12px;
}

.blog-read-time::before {
    content: '•';
    margin-right: 12px;
}

.blog-author + .blog-date::before {
    content: '•';
    margin-right: 0;
    margin-left: 0;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 64px;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid var(--grey-300);
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: 1px solid var(--grey-300);
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.pagination-number.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

.pagination-dots {
    color: var(--text-tertiary);
    font-weight: 600;
    padding: 0 4px;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-card-image {
        height: 220px;
    }
    
    .blog-card-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .blog-card-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 100px 0 60px;
    }

    .blog-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .blog-tagline {
        font-size: 17px;
        padding: 0 20px;
    }

    .blog-featured {
        grid-template-columns: 1fr;
        margin-bottom: 32px;
        flex-direction: column;
    }

    .blog-featured-image {
        min-height: 240px;
        width: 100%;
        height: 240px;
    }

    .blog-featured-content {
        padding: 24px;
    }

    .blog-featured-title {
        font-size: 22px;
    }

    .blog-featured-excerpt {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .blog-card-title {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .blog-card-content {
        padding: 20px;
    }
}

    .blog-card-image {
        height: 200px;
    }

    .pagination-numbers {
        gap: 4px;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}


/* ========================================
   BLOG POST PAGE STYLES
   ======================================== */

.blog-post {
    padding: 60px 0 100px;
    background: var(--bg-main);
}

.blog-post .container {
    max-width: 800px;
}

.post-header {
    margin-bottom: 48px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-600);
}

.post-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--grey-200);
}

.post-date,
.post-read-time {
    font-size: 14px;
    color: var(--text-tertiary);
}

.post-date::before,
.post-read-time::before {
    content: '•';
    margin-right: 16px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content .lead {
    font-size: 22px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.post-content li {
    margin-bottom: 12px;
}

.post-content li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-500);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content blockquote p {
    margin-bottom: 8px;
}

.post-content blockquote cite {
    font-size: 16px;
    color: var(--text-tertiary);
    font-style: normal;
}

.post-cta {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 64px;
}

.post-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.post-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Responsive Blog Post */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 32px;
    }

    .post-content {
        font-size: 17px;
    }

    .post-content .lead {
        font-size: 19px;
    }

    .post-content h2 {
        font-size: 26px;
    }

    .post-content h3 {
        font-size: 21px;
    }

    .post-cta {
        padding: 32px 24px;
    }

    .post-cta h3 {
        font-size: 24px;
    }
}


/* Related Articles Section */
.related-articles {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid var(--grey-200);
}

.related-articles h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 32px;
  text-align: center;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 968px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}

.related-article-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.related-article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-article-content {
  padding: 20px;
}

.related-article-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-article-excerpt {
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.related-article-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--grey-500);
}

.back-to-blog-center {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 48px;
}

.back-to-blog-link {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-to-blog-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* ========================================
   DARK THEME - System Preference Based
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Primary Colors - Brighter for dark mode */
        --primary-50: #2D2D36;
        --primary-100: #3A3A47;
        --primary-200: #4A4A59;
        --primary-300: #5A5A6B;
        --primary-500: #9966FF;
        --primary-600: #8A52FF;
        --primary-700: #7A3FFF;
        
        /* Text Colors - Inverted */
        --text-primary: #FFFFFF;
        --text-secondary: rgba(255, 255, 255, 0.84);
        --text-tertiary: rgba(255, 255, 255, 0.68);
        --text-disabled: rgba(255, 255, 255, 0.38);
        
        /* Background & Surface - Dark */
        --bg-main: #0B0B0D;
        --bg-surface: #1A1A21;
        --bg-white: #2D2D36;
        --on-primary: #FFFFFF;
        
        /* Grey Scale - Dark */
        --grey-50: #1A1A21;
        --grey-100: #23232B;
        --grey-200: #2D2D36;
        --grey-300: #3A3A47;
        --grey-500: #4A4A59;
        --grey-600: #5A5A6B;
        
        /* Semantic - Adjusted for dark */
        --error: #EF4444;
        --success: #10B981;
        
        /* Shadows - Darker for dark mode */
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
        --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.7);
        --shadow-lg: 0 3px 12px rgba(0, 0, 0, 0.8);
    }
    
    /* Body */
    body {
        background: var(--bg-main) !important;
        color: var(--text-primary) !important;
    }
    
    /* ========================================
       NAVBAR - DARK THEME
       ======================================== */
    .navbar {
        background: rgba(26, 26, 33, 0.95) !important;
        border-bottom: 1px solid rgba(58, 58, 71, 0.4) !important;
    }
    
    .navbar.scrolled {
        background: rgba(26, 26, 33, 0.98) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    }
    
    .nav-brand .brand-name {
        color: var(--text-primary) !important;
    }
    
    .nav-menu a {
        color: var(--text-secondary) !important;
    }
    
    .nav-menu a:hover {
        color: var(--primary-500) !important;
        background: rgba(153, 102, 255, 0.1) !important;
    }
    
    .btn-login {
        color: var(--text-primary) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
    }
    
    .btn-login:hover {
        color: var(--text-primary) !important;
        background: rgba(153, 102, 255, 0.15) !important;
        border-color: var(--primary-500) !important;
    }
    
    .btn-signup {
        background: var(--primary-500) !important;
        color: white !important;
        box-shadow: 0 2px 6px rgba(153, 102, 255, 0.2) !important;
    }
    
    .btn-signup:hover {
        background: var(--primary-600) !important;
        color: white !important;
        box-shadow: 0 3px 10px rgba(153, 102, 255, 0.25) !important;
    }
    
    .hiring-badge {
        background: rgba(16, 185, 129, 0.15) !important;
        color: #10B981 !important;
    }
    
    .mobile-menu-toggle span {
        background: var(--text-primary) !important;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--grey-100) !important;
    }
    
    /* Mobile Menu Dark Theme */
    @media (max-width: 768px) {
        .nav-menu {
            background: var(--bg-surface) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
        }
        
        .nav-menu a {
            color: var(--text-secondary) !important;
        }
        
        .nav-menu a:hover {
            color: var(--primary-500) !important;
            background: rgba(153, 102, 255, 0.1) !important;
        }
    }
    
    /* ========================================
       HERO SECTION - DARK THEME
       ======================================== */
    .hero-bg-gradient {
        background: 
            radial-gradient(ellipse 80% 50% at 50% -20%, rgba(153, 102, 255, 0.12), transparent),
            radial-gradient(ellipse 60% 50% at 100% 50%, rgba(153, 102, 255, 0.06), transparent),
            #0B0B0D !important;
    }
    
    .hero::before,
    .hero::after {
        background: radial-gradient(circle, rgba(153, 102, 255, 0.08) 0%, transparent 70%) !important;
    }
    
    .hero-badge {
        background: linear-gradient(135deg, rgba(153, 102, 255, 0.15), rgba(153, 102, 255, 0.08)) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
        color: var(--primary-500) !important;
    }
    
    .hero-headline {
        color: var(--text-primary) !important;
    }
    
    .hero-highlight {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .hero-description {
        color: var(--text-secondary) !important;
    }
    
    .btn-hero-primary {
        background: var(--primary-500) !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(153, 102, 255, 0.25) !important;
    }
    
    .btn-hero-primary:hover {
        background: var(--primary-600) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(153, 102, 255, 0.3) !important;
    }
    
    .btn-hero-secondary {
        color: var(--text-primary) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
    }
    
    .btn-hero-secondary:hover {
        color: var(--text-primary) !important;
        background: rgba(153, 102, 255, 0.15) !important;
        border-color: var(--primary-500) !important;
    }
    
    /* ========================================
       MESSY NOTES (LEFT SIDE) - DARK THEME
       ======================================== */
    .messy-note {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.2) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .messy-note:hover {
        border-color: rgba(153, 102, 255, 0.35) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    }
    
    .messy-header {
        border-bottom-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .messy-icon {
        background: linear-gradient(135deg, rgba(153, 102, 255, 0.15), rgba(153, 102, 255, 0.08)) !important;
    }
    
    .messy-icon svg {
        color: var(--primary-500) !important;
    }
    
    .messy-title {
        color: var(--text-secondary) !important;
    }
    
    .handwritten-line {
        background: linear-gradient(90deg, 
            rgba(153, 102, 255, 0.4) 0%, 
            rgba(153, 102, 255, 0.35) 50%, 
            rgba(153, 102, 255, 0.3) 100%
        ) !important;
    }
    
    .audio-duration {
        color: var(--text-tertiary) !important;
        background: rgba(153, 102, 255, 0.08) !important;
    }
    
    /* ========================================
       OUTPUT CARDS (RIGHT SIDE) - DARK THEME
       ======================================== */
    .output-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .output-card:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    }
    
    .output-title {
        color: #FFFFFF !important;
    }
    
    .output-info {
        color: var(--text-primary) !important;
    }
    
    /* Section Titles */
    .section-title {
        color: var(--text-primary) !important;
    }
    
    .title-highlight {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    /* Trust Cards */
    .trust-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .trust-card:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
        box-shadow: 0 4px 16px rgba(153, 102, 255, 0.15) !important;
    }
    
    .trust-card p {
        color: var(--text-secondary) !important;
    }
    
    .trust-author span {
        color: var(--text-tertiary) !important;
    }
    
    .trust-header .trust-info span {
        color: var(--text-secondary) !important;
    }
    
    .trust-header .trust-info strong {
        color: var(--text-primary) !important;
    }
    
    /* University Section */
    .university-logos-section {
        border-top-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .university-label {
        color: var(--text-tertiary) !important;
    }
    
    .university-name {
        color: var(--text-secondary) !important;
    }
    
    /* All Other Sections */
    .features,
    .socrats-section,
    .study-methods,
    .how-it-works,
    .faq-section,
    .blog-preview-section,
    .socratic-test-section {
        background: var(--bg-main) !important;
    }
    
    .features::before,
    .socrats-section::before {
        background: radial-gradient(circle, rgba(153, 102, 255, 0.06) 0%, transparent 70%) !important;
    }
    
    /* Feature Cards */
    .feature-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .feature-card:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
        box-shadow: 0 4px 16px rgba(153, 102, 255, 0.15) !important;
    }
    
    .feature-card h3 {
        color: var(--text-primary) !important;
    }
    
    .feature-card p {
        color: var(--text-secondary) !important;
    }
    
    /* All Other Cards */
    .socrats-card,
    .socrats-chat-mockup,
    .process-step,
    .method-card,
    .faq-item,
    .blog-card,
    .test-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    /* Chat Header */
    .chat-header {
        background: var(--grey-100) !important;
        border-bottom-color: var(--grey-200) !important;
    }
    
    .chat-header span {
        color: var(--text-primary) !important;
    }
    
    /* Footer */
    footer {
        background: var(--bg-surface) !important;
        border-top-color: var(--grey-200) !important;
    }
    
    footer h4 {
        color: var(--text-primary) !important;
    }
    
    footer a {
        color: var(--text-secondary) !important;
    }
    
    footer a:hover {
        color: var(--primary-500) !important;
    }
    
    /* ========================================
       STUDY METHODS TABS - DARK THEME
       ======================================== */
    .tab-buttons {
        background: rgba(153, 102, 255, 0.08) !important;
    }
    
    .tab-btn {
        background: var(--bg-white) !important;
        color: var(--text-primary) !important;
        border-color: transparent !important;
    }
    
    .tab-btn:hover {
        border-color: var(--primary-500) !important;
        color: var(--primary-500) !important;
        box-shadow: 0 3px 10px rgba(153, 102, 255, 0.2) !important;
    }
    
    .tab-btn.active {
        color: white !important;
        border-color: var(--primary-500) !important;
        box-shadow: 0 4px 16px rgba(153, 102, 255, 0.4) !important;
    }
    
    .tab-btn.active::before {
        opacity: 1 !important;
    }
    
    /* Method Content */
    .method-content {
        background: transparent !important;
        border-color: transparent !important;
    }
    
    .method-badge {
        background: rgba(153, 102, 255, 0.15) !important;
        color: var(--primary-500) !important;
    }
    
    .method-content h3 {
        color: var(--text-primary) !important;
    }
    
    .method-content > p {
        color: var(--text-secondary) !important;
    }
    
    .method-features li {
        color: var(--text-primary) !important;
    }
    
    .method-features li svg,
    .method-features li i {
        color: var(--primary-500) !important;
    }
    
    /* Method Video Wrapper */
    .method-video-wrap {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    /* ========================================
       HOW IT WORKS SECTION - DARK THEME
       ======================================== */
    .process-step {
        background: transparent !important;
        border: none !important;
    }
    
    .process-visual {
        background: var(--bg-white) !important;
        box-shadow: 0 0 0 6px var(--bg-main), 0 4px 16px rgba(153, 102, 255, 0.2) !important;
    }
    
    .process-step:hover .process-visual {
        box-shadow: 0 0 0 6px var(--bg-main), 0 6px 24px rgba(153, 102, 255, 0.3) !important;
    }
    
    .process-number {
        background: linear-gradient(135deg, var(--primary-500), var(--primary-600)) !important;
        color: white !important;
    }
    
    .process-icon-main svg {
        color: var(--primary-500) !important;
    }
    
    .process-details {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .process-step:hover .process-details {
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    .process-details h3 {
        color: var(--text-primary) !important;
    }
    
    .process-details p {
        color: var(--text-secondary) !important;
    }
    
    .process-image img {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }
    
    .process-step:hover .process-image img {
        box-shadow: 0 10px 28px rgba(153, 102, 255, 0.25) !important;
        border-color: var(--primary-400) !important;
    }
    
    .input-types {
        background: transparent !important;
    }
    
    .input-type {
        background: rgba(153, 102, 255, 0.1) !important;
        color: var(--text-primary) !important;
        border: 1px solid rgba(153, 102, 255, 0.2) !important;
    }
    
    .input-type:hover {
        background: rgba(153, 102, 255, 0.15) !important;
        border-color: var(--primary-500) !important;
    }
    
    .input-type svg,
    .input-type i {
        color: var(--primary-500) !important;
    }
    
    /* ========================================
       SOCRATS CHAT SECTION - DARK THEME
       ======================================== */
    .socrats-chat-mockup {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.2) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    }
    
    .chat-header {
        background: rgba(26, 26, 33, 0.6) !important;
        border-bottom-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .chat-header span {
        color: var(--text-primary) !important;
    }
    
    .chat-status {
        color: #10B981 !important;
    }
    
    /* Chat Messages */
    .chat-messages {
        background: var(--bg-white) !important;
    }
    
    .welcome-message {
        background: transparent !important;
    }
    
    .welcome-content {
        background: rgba(153, 102, 255, 0.08) !important;
        border: 1px solid rgba(153, 102, 255, 0.2) !important;
    }
    
    .welcome-content p {
        color: var(--text-primary) !important;
    }
    
    .bot-content {
        background: rgba(153, 102, 255, 0.08) !important;
        border: 1px solid rgba(153, 102, 255, 0.2) !important;
    }
    
    .bot-content p {
        color: var(--text-primary) !important;
    }
    
    .chat-message.user p {
        background: var(--primary-500) !important;
        color: white !important;
    }
    
    /* Suggestion Chips */
    .suggestion-chip {
        background: rgba(153, 102, 255, 0.12) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
        color: var(--text-primary) !important;
    }
    
    .suggestion-chip:hover {
        background: rgba(153, 102, 255, 0.2) !important;
        border-color: var(--primary-500) !important;
        color: var(--text-primary) !important;
    }
    
    .suggestion-chip svg,
    .suggestion-chip i {
        color: var(--primary-400) !important;
    }
    
    .suggestion-chip:hover svg,
    .suggestion-chip:hover i {
        color: var(--primary-400) !important;
    }
    
    /* Chat Input */
    .chat-input {
        background: rgba(26, 26, 33, 0.6) !important;
        border-top-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .chat-input input {
        background: rgba(153, 102, 255, 0.08) !important;
        border-color: rgba(153, 102, 255, 0.2) !important;
        color: var(--text-primary) !important;
    }
    
    .chat-input input::placeholder {
        color: var(--text-tertiary) !important;
    }
    
    .chat-input input:focus {
        border-color: var(--primary-500) !important;
        box-shadow: 0 0 0 3px rgba(153, 102, 255, 0.15) !important;
    }
    
    .chat-input button {
        background: var(--primary-500) !important;
        color: white !important;
    }
    
    .chat-input button:hover {
        background: var(--primary-600) !important;
    }
    
    .chat-highlight {
        background: rgba(153, 102, 255, 0.15) !important;
        color: var(--primary-400) !important;
    }
}

    
    /* ========================================
       SOCRATIC TEST SECTION - DARK THEME
       ======================================== */
    .socratic-test-section {
        background: var(--bg-main) !important;
    }
    
    .test-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .test-card:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
        box-shadow: 0 4px 16px rgba(153, 102, 255, 0.15) !important;
    }
    
    .test-info h3 {
        color: var(--text-primary) !important;
    }
    
    .test-info p {
        color: var(--text-secondary) !important;
    }
    
    .test-features li {
        color: var(--text-primary) !important;
    }
    
    .test-features li svg,
    .test-features li i {
        color: var(--primary-500) !important;
    }
    
    /* ========================================
       FAQ SECTION - DARK THEME
       ======================================== */
    .faq-section {
        background: var(--bg-main) !important;
    }
    
    .faq-item {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .faq-item:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
    }
    
    .faq-question {
        color: var(--text-primary) !important;
    }
    
    .faq-question svg {
        color: var(--text-secondary) !important;
    }
    
    .faq-item.active .faq-question svg {
        color: var(--primary-500) !important;
    }
    
    .faq-answer {
        color: var(--text-secondary) !important;
    }
    
    /* ========================================
       BLOG PREVIEW SECTION - DARK THEME
       ======================================== */
    .blog-preview-section {
        background: var(--bg-main) !important;
    }
    
    .blog-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }
    
    .blog-card:hover {
        border-color: rgba(153, 102, 255, 0.3) !important;
        box-shadow: 0 4px 16px rgba(153, 102, 255, 0.15) !important;
    }
    
    .blog-card-title {
        color: var(--text-primary) !important;
    }
    
    .blog-card-excerpt {
        color: var(--text-secondary) !important;
    }
    
    .blog-card-meta {
        color: var(--text-tertiary) !important;
    }
    
    .blog-card-category {
        background: rgba(153, 102, 255, 0.15) !important;
        color: var(--primary-400) !important;
    }
    
    .btn-blog-preview {
        background: var(--primary-500) !important;
        color: white !important;
    }
    
    .btn-blog-preview:hover {
        background: var(--primary-600) !important;
        color: white !important;
    }
    
    .btn-blog-preview span {
        color: white !important;
    }
    
    .btn-blog-preview svg {
        color: white !important;
    }
    
    /* ========================================
       FOOTER - DARK THEME
       ======================================== */
    footer {
        background: var(--bg-surface) !important;
        border-top-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    footer h4 {
        color: var(--text-primary) !important;
    }
    
    footer p {
        color: var(--text-secondary) !important;
    }
    
    footer a {
        color: var(--text-secondary) !important;
    }
    
    footer a:hover {
        color: var(--primary-500) !important;
    }
    
    .footer-brand .brand-name {
        color: var(--text-primary) !important;
    }
    
    .footer-logo span {
        color: var(--text-primary) !important;
    }
    
    .footer-description {
        color: var(--text-secondary) !important;
    }
    
    .footer-bottom {
        border-top-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .footer-bottom p {
        color: var(--text-tertiary) !important;
    }
    
    /* ========================================
       ADDITIONAL ELEMENTS - DARK THEME
       ======================================== */
    
    /* Section Subtitles */
    .section-subtitle {
        color: var(--text-secondary) !important;
    }
    
    /* All headings */
    h1, h2, h3, h4, h5, h6 {
        color: var(--text-primary) !important;
    }
    
    /* Paragraphs */
    p {
        color: var(--text-secondary) !important;
    }
    
    /* Lists */
    li {
        color: var(--text-secondary) !important;
    }
    
    /* Links */
    a {
        color: var(--primary-500) !important;
    }
    
    a:hover {
        color: var(--primary-400) !important;
    }
    
    /* Buttons */
    .btn-primary {
        background: var(--primary-500) !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(153, 102, 255, 0.2) !important;
    }
    
    .btn-primary:hover {
        background: var(--primary-600) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(153, 102, 255, 0.25) !important;
    }
    
    .btn-secondary {
        background: var(--bg-white) !important;
        color: var(--text-primary) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
    }
    
    .btn-secondary:hover {
        background: rgba(153, 102, 255, 0.15) !important;
        border-color: var(--primary-500) !important;
        color: var(--text-primary) !important;
    }
    
    /* CTA Buttons */
    .btn-how-it-works,
    .btn-methods-cta {
        background: var(--primary-500) !important;
        color: white !important;
        box-shadow: 0 2px 8px rgba(153, 102, 255, 0.2) !important;
    }
    
    .btn-how-it-works:hover,
    .btn-methods-cta:hover {
        background: var(--primary-600) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(153, 102, 255, 0.25) !important;
    }
    
    /* ========================================
       CAREERS & JOB PAGES - DARK THEME
       ======================================== */
    
    /* Job Details Badge */
    .job-details-badge {
        background: linear-gradient(135deg, rgba(153, 102, 255, 0.15), rgba(153, 102, 255, 0.08)) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
        color: var(--primary-400) !important;
    }
    
    .job-details-badge span {
        color: var(--primary-400) !important;
    }
    
    .job-details-badge i {
        color: var(--primary-500) !important;
    }
    
    /* Job Apply Button */
    .job-apply-btn {
        background: var(--primary-500) !important;
        color: white !important;
        box-shadow: 0 4px 14px rgba(153, 102, 255, 0.35) !important;
    }
    
    .job-apply-btn:hover {
        background: var(--primary-600) !important;
        box-shadow: 0 6px 20px rgba(153, 102, 255, 0.45) !important;
    }
    
    .job-apply-btn i {
        color: white !important;
    }
    
    /* Job Card Link */
    .job-card-link {
        text-decoration: none !important;
    }
    
    .job-card {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .job-card:hover {
        border-color: var(--primary-500) !important;
        box-shadow: 0 8px 24px rgba(153, 102, 255, 0.2) !important;
    }
    
    .job-title {
        color: var(--text-primary) !important;
    }
    
    .job-meta {
        color: var(--text-secondary) !important;
    }
    
    .job-arrow {
        color: var(--primary-500) !important;
    }
    
    /* Form Elements */
    .application-form input[type="text"],
    .application-form input[type="email"],
    .application-form input[type="tel"],
    .application-form select,
    .application-form textarea {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.2) !important;
        color: var(--text-primary) !important;
    }
    
    .application-form input::placeholder,
    .application-form textarea::placeholder {
        color: var(--text-tertiary) !important;
    }
    
    .application-form input:focus,
    .application-form select:focus,
    .application-form textarea:focus {
        border-color: var(--primary-500) !important;
        box-shadow: 0 0 0 3px rgba(153, 102, 255, 0.1) !important;
    }
    
    .application-form label {
        color: var(--text-primary) !important;
    }
    
    .required {
        color: var(--error) !important;
    }
    
    /* Comfort Scale Buttons */
    .comfort-btn {
        background: var(--bg-white) !important;
        border-color: rgba(153, 102, 255, 0.2) !important;
        color: var(--text-secondary) !important;
    }
    
    .comfort-btn:hover {
        border-color: var(--primary-500) !important;
        background: rgba(153, 102, 255, 0.1) !important;
        color: var(--primary-400) !important;
    }
    
    .comfort-scale input[type="radio"]:checked + .comfort-btn {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
        border-color: var(--primary-500) !important;
        color: white !important;
    }
    
    .comfort-labels span {
        color: var(--text-tertiary) !important;
    }
    
    /* Submit Button */
    .submit-btn {
        background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(153, 102, 255, 0.3) !important;
    }
    
    .submit-btn:hover {
        background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
        box-shadow: 0 8px 20px rgba(153, 102, 255, 0.4) !important;
    }
    
    .submit-btn i {
        color: white !important;
    }
    
    /* Form Disclaimer */
    .form-disclaimer {
        color: var(--text-tertiary) !important;
    }
    
    .form-disclaimer a {
        color: var(--primary-500) !important;
    }
    
    .form-disclaimer a:hover {
        color: var(--primary-400) !important;
    }
    
    /* Job Details Footer */
    .job-details-footer {
        border-top-color: rgba(153, 102, 255, 0.15) !important;
    }
    
    .job-details-footer p {
        color: var(--text-tertiary) !important;
    }
    
    /* Careers Hero */
    .careers-hero {
        background: var(--bg-main) !important;
    }
    
    .careers-badge {
        background: linear-gradient(135deg, rgba(153, 102, 255, 0.15), rgba(153, 102, 255, 0.08)) !important;
        border-color: rgba(153, 102, 255, 0.3) !important;
    }
    
    .careers-badge span {
        color: var(--primary-400) !important;
    }
    
    .careers-title {
        color: var(--text-primary) !important;
    }
    
    .careers-description {
        color: var(--text-secondary) !important;
    }
    
    /* Job Listings */
    .job-listings {
        background: var(--bg-main) !important;
    }
}


/* ========================================
   ADDITIONAL MOBILE FIXES
   ======================================== */

/* Chat Input Mobile Fixes */
@media (max-width: 640px) {
  .chat-input-wrapper {
    padding: 12px;
  }
  
  .chat-input input,
  #chat-input-field {
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 12px 14px;
  }
  
  .suggestion-chip {
    font-size: 13px;
    padding: 10px 14px;
    min-height: 44px;
  }
  
  .suggested-questions {
    gap: 10px;
  }
}

/* Legal Pages Mobile Readability */
@media (max-width: 768px) {
  .legal-content p,
  .legal-content li {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  
  .legal-content h2 {
    font-size: 22px !important;
    margin-top: 2rem !important;
  }
  
  .legal-content h3 {
    font-size: 18px !important;
    margin-top: 1.5rem !important;
  }
  
  .legal-hero {
    padding: 5rem 1.5rem 2.5rem !important;
  }
  
  .legal-hero-title {
    font-size: 32px !important;
  }
}

/* Contact Form Mobile */
@media (max-width: 768px) {
  .contact-simple-content input,
  .contact-simple-content textarea {
    font-size: 16px !important; /* Prevents iOS zoom */
  }
  
  .email-display {
    font-size: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .copy-btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Study Methods Section Mobile */
@media (max-width: 768px) {
  .method-tabs {
    margin-top: 40px;
  }
  
  .tab-buttons {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .tab-btn {
    font-size: 14px;
    padding: 10px 16px;
    min-height: 44px;
  }
  
  .method-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  
  .method-visual {
    order: -1;
  }
  
  .method-info h3 {
    font-size: 24px;
  }
  
  .method-info p {
    font-size: 15px;
  }
}

/* How It Works Section Mobile */
@media (max-width: 768px) {
  .process-flow {
    gap: 0;
  }
  
  .process-step {
    padding: 32px 20px;
  }
  
  .step-number {
    font-size: 14px;
    width: 36px;
    height: 36px;
  }
  
  .step-title {
    font-size: 20px;
  }
  
  .step-description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .step-connector {
    display: none;
  }
}

/* Careers Page Mobile */
@media (max-width: 768px) {
  .careers-title {
    font-size: 36px;
  }
  
  .careers-description {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .job-card {
    padding: 20px;
  }
  
  .job-title {
    font-size: 20px;
  }
  
  .job-meta {
    font-size: 13px;
  }
}

/* Job Details Page Mobile */
@media (max-width: 768px) {
  .job-details-page {
    padding: 40px 20px;
  }
  
  .job-details-container {
    padding: 32px 20px;
  }
  
  .job-details-title {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .job-section-title {
    font-size: 22px;
  }
  
  .job-section-text,
  .job-requirements-list li div {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .job-meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Footer Mobile Improvements - REMOVED (consolidated above) */

/* Socratic Test Section Mobile */
@media (max-width: 768px) {
  .socratic-test-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .test-info h3 {
    font-size: 24px;
  }
  
  .test-info p {
    font-size: 15px;
  }
  
  .test-features li {
    font-size: 14px;
  }
  
  .test-visual {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .test-phone-screenshot {
    max-width: 300px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .socratic-test-section {
    padding: 60px 0;
  }
  
  .test-info h3 {
    font-size: 22px;
  }
  
  .test-phone-screenshot {
    max-width: 260px;
  }
}

/* Related Articles Mobile (Blog Post Pages) */
@media (max-width: 968px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .related-article-card {
    flex-direction: row;
    gap: 16px;
  }
  
  .related-article-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
  }
  
  .related-article-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .related-article-card {
    flex-direction: column;
  }
  
  .related-article-image {
    width: 100%;
    height: 180px;
  }
}

/* Ensure all touch targets are at least 44x44px */
@media (max-width: 768px) {
  button,
  .btn-primary,
  .btn-secondary,
  .btn-login,
  .btn-signup,
  a.btn-hero-primary,
  a.btn-hero-secondary {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Add touch-friendly tap highlight */
  * {
    -webkit-tap-highlight-color: rgba(124, 58, 237, 0.1);
  }
}


/* ===================================
   Application Form Page Styles
   =================================== */

.application-form-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 20px;
}

.application-form-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-button:hover {
  color: var(--primary-500);
}

.back-button i {
  width: 20px;
  height: 20px;
}

/* Application Header */
.application-header {
  background: white;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #1e293b;
}

.application-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.application-badge i {
  width: 16px;
  height: 16px;
  color: white !important;
}

.application-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b !important;
  margin-bottom: 16px;
  line-height: 1.2;
}

.application-description {
  font-size: 16px;
  color: #475569 !important;
  line-height: 1.6;
  margin-bottom: 24px;
}

.application-description strong {
  color: #1e293b !important;
}

.application-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.application-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #64748b !important;
}

.application-meta .meta-item i {
  width: 16px;
  height: 16px;
  color: #64748b !important;
}

/* Simple Application Form */
.simple-application-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.simple-form-group {
  margin-bottom: 32px;
}

.simple-form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.simple-form-group .required {
  color: #ef4444;
}

.field-description {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
  margin-top: -4px;
}

.simple-form-group input[type="text"],
.simple-form-group input[type="email"],
.simple-form-group input[type="tel"],
.simple-form-group select,
.simple-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #1e293b;
  transition: all 0.2s;
  font-family: inherit;
}

.simple-form-group input[type="text"]:focus,
.simple-form-group input[type="email"]:focus,
.simple-form-group input[type="tel"]:focus,
.simple-form-group select:focus,
.simple-form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.simple-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Button Group for Radio Options */
.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-group input[type="radio"] {
  display: none;
}

.button-option {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.button-option i {
  width: 20px;
  height: 20px;
}

.button-option:hover {
  border-color: var(--primary-300);
  background: white;
}

.button-group input[type="radio"]:checked + .button-option {
  border-color: #7c3aed;
  background: #f3f0ff;
  color: #1e293b;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Submit Button */
.simple-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: #000;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.simple-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.simple-submit-btn i {
  width: 18px;
  height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .application-form-page {
    padding: 20px 16px;
  }

  .application-header {
    padding: 24px;
  }

  .application-title {
    font-size: 24px;
  }

  .application-description {
    font-size: 14px;
  }

  .application-meta {
    flex-direction: column;
    gap: 12px;
  }

  .simple-application-form {
    padding: 24px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-option {
    min-width: 100%;
  }
}


/* ===================================
   Success Page Styles
   =================================== */

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 20px;
}

.success-container {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon i {
  width: 48px;
  height: 48px;
  color: white !important;
  stroke-width: 2.5;
}

.success-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b !important;
  margin-bottom: 16px;
}

.success-message {
  font-size: 16px;
  color: #64748b !important;
  line-height: 1.6;
  margin-bottom: 32px;
}

.success-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: white !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.success-button:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: white !important;
}

.success-button i {
  width: 20px;
  height: 20px;
  color: white !important;
}

@media (max-width: 768px) {
  .success-container {
    padding: 40px 24px;
  }

  .success-title {
    font-size: 24px;
  }

  .success-message {
    font-size: 14px;
  }
}
