﻿/* ===================================
   FreedomPath — Premium Financial Freedom Website
   الموقع الأكبر للحرية المالية بالحلال
   =================================== */

/* ===== CSS Variables & Design Tokens ===== */
:root {
    /* Color Palette */
    --bg-primary: #060a13;
    --bg-secondary: #0c1220;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.8);
    --bg-glass: rgba(12, 18, 32, 0.7);
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --accent-cyan: #06b6d4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-green: linear-gradient(135deg, #10b981, #06b6d4);
    
    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(59, 130, 246, 0.3);
    
    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    
    /* Sizing */
    --header-height: 70px;
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(59, 130, 246, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

::selection {
    background: var(--accent-blue);
    color: white;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.5); }

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

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

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

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

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

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

/* ===== Progress Bar ===== */
.progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* ===== Main Header ===== */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: rgba(6, 10, 19, 0.95);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.logo-icon.small {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue-light), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
}

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

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

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.08);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.06);
    bottom: -10%;
    left: -10%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.05);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

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

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-desc {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-desc strong {
    color: var(--accent-amber);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

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

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-cta {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.secondary-cta {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.secondary-cta:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 0.6s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===== Section Common ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

/* ===== Roadmap Section ===== */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-step {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.roadmap-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    margin-top: 0;
    opacity: 0.3;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.step-card.active {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.step-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
}

.step-time {
    font-size: 0.75rem;
    color: var(--accent-blue-light);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.step-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.step-card.active .step-toggle svg {
    transform: rotate(180deg);
}

.step-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.step-card.active .step-details {
    max-height: 2000px;
    padding: 0 24px 24px;
}

.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.15);
}

.detail-number {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.detail-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.detail-content p strong {
    color: var(--accent-blue-light);
}

/* ===== Sources Section ===== */
.search-bar-container {
    max-width: 600px;
    margin: 0 auto 24px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.search-bar input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

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

.search-bar input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 16px;
}

.filter-tab {
    padding: 8px 20px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Sources Grid */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Source Card */
.source-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
}

.source-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.source-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

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

.source-card-header {
    padding: 20px 20px 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.source-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.source-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.source-badge {
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-category {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue-light);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.badge-free {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-difficulty {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.source-card-body {
    padding: 0 20px;
}

.source-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.source-card-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.source-card-footer {
    padding: 12px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
}

.earning-potential {
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
}

.expand-indicator {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Source Card Expanded Details */
.source-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.source-card.expanded .source-card-details {
    max-height: 3000px;
}

.source-card.expanded {
    border-color: rgba(59, 130, 246, 0.3);
}

.source-detail-inner {
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border-subtle);
}

.source-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.source-step {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.source-step-num {
    width: 26px;
    height: 26px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.source-step-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.source-step-text strong {
    color: var(--accent-blue-light);
}

/* ===== Tools Section ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.tool-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.tool-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tool-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.tool-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tool-tag {
    margin-right: auto;
    padding: 2px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.15);
    white-space: nowrap;
}

/* ===== Channels Section ===== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.channel-group {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all 0.3s ease;
}

.channel-group:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
}

.channel-group-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-blue-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.channel-item:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-primary);
    transform: translateX(-4px);
}

.channel-item::before {
    content: '📺';
    font-size: 0.9rem;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 0.95rem;
    font-weight: 700;
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

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

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer-inner strong {
    color: var(--accent-blue-light);
}

/* ===== Footer ===== */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue-light);
}

.footer-verse {
    text-align: center;
    background: rgba(59, 130, 246, 0.05);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-verse p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-blue-light);
    line-height: 1.8;
    margin-bottom: 6px;
}

.footer-verse span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== No Results ===== */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        background: rgba(6, 10, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .roadmap-step {
        flex-direction: column;
        gap: 0;
    }
    
    .step-connector {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .step-line {
        width: auto;
        height: 2px;
        flex: 1;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 16px 40px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

