/* ========================================
   Fansly Academy - Premium Training Portal
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1a1a25;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7a;
    
    --accent-primary: #00d4ff;
    --accent-secondary: #7b2fff;
    --accent-tertiary: #ff2d92;
    
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b2fff 50%, #ff2d92 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 47, 255, 0.1) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(123, 47, 255, 0.3) 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 212, 255, 0.3);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(123, 47, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255, 45, 146, 0.08) 0%, transparent 50%);
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: 10px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 2px solid rgba(168, 85, 247, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.profile-trigger:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(236, 72, 153, 0.35) 100%);
    border-color: rgba(168, 85, 247, 0.7);
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.profile-trigger svg {
    color: #a855f7;
    width: 20px;
    height: 20px;
}

.profile-trigger.has-avatar {
    background: var(--avatar-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    border-color: transparent;
}

.profile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.15);
    list-style: none;
}

.profile-dropdown.open .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.profile-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: rgba(20, 20, 30, 0.95);
    border-left: 1px solid rgba(168, 85, 247, 0.3);
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    transform: rotate(45deg);
}

.profile-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

.profile-menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--avatar-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.profile-menu-info {
    flex: 1;
    min-width: 0;
}

.profile-menu-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-login {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.profile-menu-item:hover {
    background: rgba(168, 85, 247, 0.15);
    color: white;
}

.profile-menu-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}

.profile-menu-item:hover svg {
    opacity: 1;
}

.profile-menu-header svg {
    width: 18px;
    height: 18px;
}

.profile-menu-item.danger {
    color: #f87171;
}

.profile-menu-item.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.profile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* Legacy support */
.nav-links a.nav-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s ease;
}

.nav-links a.nav-profile:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
    transform: scale(1.05);
}

.nav-links a.nav-profile svg {
    color: #a855f7;
}

.nav-links a.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 120px 24px 80px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-accent);
}

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

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

/* Фоновые формы с градиентом */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-bg-shape.shape-1 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    top: 15%;
    left: 5%;
}

.hero-bg-shape.shape-2 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    bottom: 15%;
    right: 5%;
    animation-delay: -3s;
}

.hero-bg-shape.shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    top: 55%;
    left: 45%;
    animation-delay: -5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

/* Карточки — glassmorphism */
.hero-card {
    position: absolute;
    background: rgba(12, 12, 18, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.hero-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(168, 85, 247, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card .card-glow {
    position: absolute;
    inset: -3px;
    border-radius: 26px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    opacity: 0;
    z-index: -1;
    filter: blur(30px);
    transition: opacity 0.4s ease;
}

.hero-card:hover .card-glow {
    opacity: 0.5;
}

/* Главная карточка */
.hero-card.card-main {
    padding: 36px 44px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: floatMain 6s ease-in-out infinite;
}

.hero-card.card-main:hover {
    transform: translate(-50%, -50%) translateY(-8px) scale(1.03);
}

@keyframes floatMain {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
}

.card-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.4));
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.card-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.card-value {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 6px;
}

/* Карточка 2 — справа вверху */
.hero-card.card-2 {
    padding: 22px 30px;
    top: 8%;
    right: 0;
    z-index: 2;
    animation: float2 5s ease-in-out infinite;
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

.hero-card.card-2 .card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.hero-card.card-2 .card-icon svg {
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.4));
}

.hero-card.card-2 .card-title {
    font-size: 13px;
    color: #fbbf24;
}

/* Карточка 3 — слева внизу */
.hero-card.card-3 {
    padding: 22px 30px;
    bottom: 8%;
    left: 0;
    z-index: 2;
    animation: float3 7s ease-in-out infinite;
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

.hero-card.card-3 .card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.hero-card.card-3 .card-icon svg {
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.4));
}

.hero-card.card-3 .card-title {
    font-size: 13px;
    color: #22c55e;
}

/* Декоративные линии */
.hero-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

.line-animate {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 5s ease-in-out infinite;
}

.line-animate.delay-1 {
    animation-delay: 1.5s;
}

@keyframes drawLine {
    0%, 100% { stroke-dashoffset: 500; opacity: 0; }
    20% { opacity: 1; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    80% { opacity: 1; }
}

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

/* ========================================
   Sections
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    padding: var(--section-padding) 0;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    margin-bottom: 20px;
}

.feature-icon svg {
    stroke: var(--accent-primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Modules Preview */
.modules-preview {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.module-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-base);
}

.module-item:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.module-number {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-primary);
    min-width: 48px;
}

.module-info {
    flex: 1;
}

.module-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.module-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.module-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lessons-count {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.badge-soon {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-tertiary);
    padding: 6px 12px;
    background: rgba(255, 45, 146, 0.1);
    border: 1px solid rgba(255, 45, 146, 0.3);
    border-radius: 8px;
}

.module-item.coming-soon {
    opacity: 0.6;
}

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

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-card {
    position: relative;
    padding: 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: var(--gradient-primary);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

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

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 400px;
        min-height: 300px;
    }
    
    .hero-card.card-main {
        padding: 24px 28px;
    }
    
    .hero-card.card-2,
    .hero-card.card-3 {
        padding: 16px 20px;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
    }
    
    .hero-card.card-2 .card-icon,
    .hero-card.card-3 .card-icon {
        width: 36px;
        height: 36px;
    }
    
    .hero-bg-shape {
        opacity: 0.25;
    }
    
    .hero-lines {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-width: 100%;
    }

    /* Mobile Navigation */
    .navbar {
        padding: 16px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo {
        gap: 8px;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Mobile Menu Overlay */
    .nav-links.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 80px 24px 0;
        opacity: 1;
        visibility: visible;
        z-index: 999;
        animation: slideIn 0.3s ease-out;
    }

    .nav-links.active .search-container {
        display: block;
        width: 100%;
        max-width: 300px;
    }

    .nav-links.active .profile-dropdown {
        margin-left: 0;
        margin-top: 16px;
    }

    .nav-links.active .profile-menu {
        position: static;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        width: 100%;
        max-width: 320px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active .profile-menu-header {
        border: none;
        margin-bottom: 8px;
    }

    .nav-links.active .profile-menu-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 8px;
        justify-content: center;
    }

    .nav-links.active .profile-menu-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: none;
    }

    .nav-links.active .profile-menu-divider {
        margin: 12px 0;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 80px 24px 0;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 18px;
        padding: 14px 24px;
        border-radius: 12px;
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: block;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-2px);
    }

    /* Search container in mobile menu */
    .nav-links .search-container {
        width: 100%;
        max-width: 280px;
        margin: 0;
    }

    .nav-links .search-wrapper {
        width: 100%;
    }

    .nav-links .search-input {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        width: 44px;
        height: 44px;
        justify-content: center;
        align-items: center;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition-fast);
    }

    /* Mobile Profile Dropdown */
    .profile-dropdown {
        margin-left: 8px;
    }

    .profile-trigger {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .profile-menu {
        position: fixed;
        top: auto;
        bottom: 80px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
        transform: translateY(20px);
    }

    .profile-menu-header {
        padding: 16px;
    }

    .profile-menu-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .profile-menu-info {
        margin-left: 12px;
    }

    .profile-menu-name {
        font-size: 16px;
    }

    .profile-menu-login {
        font-size: 14px;
    }

    .profile-menu-item {
        padding: 12px 16px;
        font-size: 15px;
    }

    /* Container adjustments */
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    /* Search improvements */
    .search-container {
        width: 100%;
        max-width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    .search-input {
        width: 100%;
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 40px 12px 16px;
    }

    .search-results {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    /* Hero Section */
    .hero {
        padding: 100px 16px 40px;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 40px;
        width: 100%;
        max-width: 100%;
    }

    /* Trust badges mobile */
    .trust-badges {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
        align-items: stretch;
    }

    .trust-badge {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }

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

    /* Hero badge mobile */
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px 6px 10px;
        margin-bottom: 16px;
        display: inline-flex;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
    }

    .hero-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 16px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero-title br {
        display: none;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 8px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        margin-bottom: 32px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        justify-content: center;
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
        margin-top: 32px;
    }

    .stat {
        flex: 1;
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        flex-direction: column;
        gap: 8px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 14px;
        opacity: 0.8;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
        margin: 10px 0;
    }

    /* Features Section */
    .features-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .section-title {
        font-size: clamp(22px, 6vw, 32px);
        line-height: 1.3;
    }

    .section-description {
        font-size: 15px;
        max-width: 100%;
        line-height: 1.6;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .feature-description {
        font-size: 15px;
    }

    /* Modules Section */
    .modules-section {
        padding: 60px 0;
    }

    .module-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .module-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .module-title {
        font-size: 20px;
    }

    .module-description {
        font-size: 15px;
    }

    /* Test Section */
    .test-section {
        padding: 40px 0;
    }

    .test-banner {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .test-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    .test-banner h2 {
        font-size: 20px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .test-banner > .test-banner-content > p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .test-steps {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
    }

    .test-step {
        width: 100%;
        padding: 16px;
        border-radius: 12px;
    }

    .test-step-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
        width: 30px;
    }

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

    .btn-test-main,
    .btn-test-secondary {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        justify-content: center;
    }

    .test-info {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
    }

    .test-info span {
        padding: 6px 12px;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 16px;
    }

    .cta-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cta-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-column ul {
        gap: 8px;
    }

    .footer-column a {
        font-size: 14px;
        padding: 8px 0;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* Ultra mobile optimizations */
    html {
        font-size: 14px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo {
        gap: 6px;
    }

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

    .logo-text {
        font-size: 16px;
    }

    .nav-container {
        padding: 0 12px;
    }

    /* Better mobile menu */
    .nav-links {
        padding: 100px 16px 0;
    }

    .nav-links a {
        font-size: 16px;
        padding: 12px 20px;
        max-width: 100%;
    }

    .hero {
        padding: 90px 12px 30px;
    }

    .trust-badges {
        gap: 8px;
        margin-bottom: 12px;
    }

    .trust-badge {
        padding: 8px 12px;
        font-size: 12px;
    }

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

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px 5px 8px;
        margin-bottom: 12px;
    }

    .badge-dot {
        width: 5px;
        height: 5px;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 12px;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
        padding: 0;
    }

    .hero-buttons {
        margin-bottom: 24px;
        gap: 10px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 12px;
        margin-top: 24px;
    }

    .stat {
        min-width: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Better touch targets */
    .nav-toggle,
    .profile-trigger,
    .search-mobile-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text selection on mobile */
    .nav-toggle span,
    .profile-trigger {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    .hero-visual {
        display: none;
    }

    /* Features */
    .section-title {
        font-size: 24px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* Test section */
    .test-section {
        padding: 30px 0;
    }

    .test-banner {
        padding: 20px 12px;
        border-radius: 16px;
    }

    .test-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .test-banner h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .test-banner > .test-banner-content > p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .test-steps {
        gap: 12px;
        margin-bottom: 20px;
    }

    .test-step {
        padding: 12px;
    }

    .test-step h4 {
        font-size: 14px;
    }

    .test-step p {
        font-size: 12px;
    }

    .btn-test-main,
    .btn-test-secondary {
        padding: 12px 16px;
        font-size: 14px;
    }

    .test-info {
        font-size: 11px;
        gap: 8px;
    }

    .test-info span {
        padding: 5px 10px;
    }

    /* CTA */
    .cta-card {
        padding: 24px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 15px;
    }

    /* Viewport meta tag fix */
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
        overflow-x: hidden;
    }

    /* Better scrolling on mobile */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    /* Fix for iOS safe area */
    @supports (padding: max(0px)) {
        .navbar {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }

        .container {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }

        .hero {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }
    }

    /* Ensure no overflow */
    .hero-content,
    .features-grid,
    .benefits-grid,
    .how-it-works-steps {
        width: 100%;
        box-sizing: border-box;
    }

    /* Footer */
    .footer {
        padding: 32px 0;
    }

    .footer-brand p {
        font-size: 13px;
    }

    /* General container */
    .container {
        padding: 0 12px;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary, #a855f7), var(--accent-secondary, #ec4899));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Copy Button Global Styles */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-secondary, #a0a0b0);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--accent-primary, #a855f7);
    border-color: var(--accent-primary, #a855f7);
    color: white;
}

.copy-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   Search Component
   ======================================== */

.search-container {
    position: relative;
    margin-right: 1rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 200px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-icon svg {
    width: 16px;
    height: 16px;
}

.search-shortcut {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.15rem 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    pointer-events: none;
}

.search-input:focus + .search-icon + .search-shortcut {
    display: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
    animation: searchFadeIn 0.2s ease;
}

@keyframes searchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.search-result-module {
    font-size: 0.7rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.search-result-title {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.search-result-title mark {
    background: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
    padding: 0 2px;
    border-radius: 2px;
}

.search-result-module-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.search-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .search-container {
        display: none;
    }

    .search-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        cursor: pointer;
        transition: all 0.2s ease;
        margin-left: 8px;
    }

    .search-mobile-toggle:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(0, 212, 255, 0.3);
    }

    .search-mobile-toggle svg {
        width: 20px;
        height: 20px;
        color: var(--text-secondary);
    }
}

@media (min-width: 769px) {
    .search-mobile-toggle {
        display: none;
    }
}

/* Mobile Search Overlay */
.search-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-mobile-overlay.active {
    display: block;
    opacity: 1;
}

.search-mobile-content {
    padding: 20px 16px;
    max-width: 500px;
    margin: 80px auto 0;
}

.search-mobile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.search-mobile-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.search-mobile-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-mobile-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.search-mobile-close svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
}

.search-mobile-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-mobile-input {
    width: 100%;
    padding: 16px 48px 16px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
}

.search-mobile-input::placeholder {
    color: var(--text-muted);
}

.search-mobile-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.12);
}

.search-mobile-submit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-mobile-submit:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.05);
}

.search-mobile-submit svg {
    width: 16px;
    height: 16px;
    color: white;
}

.search-mobile-results {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.search-mobile-result {
    display: block;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.search-mobile-result:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.search-mobile-result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.search-mobile-result-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tablet breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 20px;
    }

    .search-input {
        width: 180px;
    }

    .search-input:focus {
        width: 240px;
    }

    .container {
        padding: 0 20px;
    }
}

/* ========================================
   Test & Interview Section
   ======================================== */

.test-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(123, 47, 255, 0.05) 0%, transparent 100%);
}

.test-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(123, 47, 255, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
    border: 1px solid rgba(123, 47, 255, 0.3);
    border-radius: 24px;
    padding: 3rem;
    overflow: hidden;
}

.test-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(123, 47, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.test-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.test-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.test-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.test-banner > .test-banner-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.test-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.test-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.test-step-arrow {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: bold;
}

.test-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-test-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-test-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn-test-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-test-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.test-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.test-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .test-banner {
        padding: 2rem 1.5rem;
    }
    
    .test-banner h2 {
        font-size: 1.75rem;
    }
    
    .test-steps {
        flex-direction: column;
    }
    
    .test-step-arrow {
        transform: rotate(90deg);
    }
    
    .test-step {
        width: 100%;
        max-width: 300px;
    }
    
    .test-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-test-main,
    .btn-test-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .test-info {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ========================================
   Enhanced Landing Page Styles
   ======================================== */

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 20s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
}

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

/* Enhanced Hero */
.hero-enhanced .hero-description strong {
    color: #10b981;
    font-weight: 600;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.pulse-animation {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 40px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

/* Earnings Card */
.card-earnings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 28px 36px;
    z-index: 3;
    min-width: 220px;
}

.earnings-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

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

.earnings-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.earnings-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.earnings-amount .currency {
    font-size: 24px;
    font-weight: 600;
    color: #10b981;
}

.earnings-amount .amount {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.earnings-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.earnings-growth {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #10b981;
}

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

/* Success Card */
.card-success {
    position: absolute;
    top: 5%;
    right: 5%;
    padding: 20px;
    z-index: 2;
}

.success-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.success-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.success-progress {
    transition: stroke-dashoffset 1s ease-out;
}

.success-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}

.success-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Skills Card */
.card-skills {
    position: absolute;
    bottom: 10%;
    left: 0;
    padding: 16px;
    z-index: 2;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 180px;
}

.skill-tag {
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 11px;
    color: #a855f7;
    white-space: nowrap;
}

/* Float animations */
.animate-float {
    animation: floatMain 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float2 5s ease-in-out infinite;
}

.animate-float-delay-2 {
    animation: float3 7s ease-in-out infinite;
}

/* Ticker Section */
.ticker-section {
    padding: 20px 0;
    background: rgba(168, 85, 247, 0.05);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
    overflow: hidden;
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

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

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.ticker-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step-card {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-card.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.step-card.highlight .step-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #10b981, #22c55e);
    border-radius: 22px;
    opacity: 0.15;
    z-index: -1;
    filter: blur(20px);
}

.step-number-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.step-card.highlight .step-number-badge {
    background: linear-gradient(135deg, #10b981, #22c55e);
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 20px;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-primary);
}

.step-card.highlight .step-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.step-card.highlight .step-icon svg {
    stroke: #10b981;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.step-time {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
}

.connector-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.3;
}

.connector-arrow {
    font-size: 20px;
    color: var(--accent-primary);
    margin-left: -10px;
}

/* Benefits Section */
.benefits-section {
    padding: var(--section-padding) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.benefit-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.benefit-card.benefit-large {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 47, 255, 0.05) 100%);
    border-color: var(--border-accent);
}

.benefit-icon-large {
    font-size: 56px;
    margin-bottom: 20px;
}

.benefit-card.benefit-large h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.benefit-card.benefit-large p {
    max-width: 600px;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.benefit-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.benefit-stat-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-stat-label {
    font-size: 16px;
    color: var(--text-muted);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature tags */
.feature-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-primary);
}

/* Overview CTA */
.overview-cta {
    text-align: center;
    margin-top: 48px;
}

/* Enhanced CTA */
.cta-final {
    padding: 100px 0;
}

.cta-card-enhanced {
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border-color: rgba(168, 85, 247, 0.3);
}

.cta-emoji {
    font-size: 64px;
    margin-bottom: 24px;
}

.cta-card-enhanced h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-card-enhanced p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefit-card.benefit-large {
        grid-column: span 2;
    }
    
    .steps-container {
        gap: 20px;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .trust-badges {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card.benefit-large {
        grid-column: span 1;
        padding: 32px 24px;
    }
    
    .benefit-icon-large {
        font-size: 40px;
    }
    
    .benefit-card.benefit-large h3 {
        font-size: 22px;
    }
    
    .benefit-stat-number {
        font-size: 36px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .cta-card-enhanced {
        padding: 48px 24px;
    }
    
    .cta-card-enhanced h2 {
        font-size: 28px;
    }
    
    .cta-emoji {
        font-size: 48px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .ticker-track {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .trust-badge {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 11px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 4px 10px 4px 8px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-description {
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-card.benefit-large {
        grid-column: span 1;
        padding: 24px;
    }

    .benefit-icon-large {
        font-size: 40px;
    }

    .benefit-card.benefit-large h3 {
        font-size: 20px;
    }

    .benefit-stat-number {
        font-size: 32px;
    }

    .how-it-works-steps {
        flex-direction: column;
        gap: 20px;
        padding: 0 12px;
    }

    .step-card {
        width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
        margin: 0 auto;
    }

    .cta-card-enhanced {
        padding: 32px 20px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-description {
        font-size: 14px;
    }
}
