/* ==========================================
   TechVeda Premium Design System & Styles
   ========================================== */

/* ------------------------------------------
   1. CSS VARIABLES & THEMING
   ------------------------------------------ */
:root {
    /* Color Palette */
    --bg-primary: #0B0F19;
    --bg-secondary: #131A2C;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    /* Accents (HSL for fine-tuning) */
    --accent-blue: #3B82F6;
    --accent-blue-rgb: 59, 130, 246;
    --accent-purple: #8B5CF6;
    --accent-purple-rgb: 139, 92, 246;
    --accent-cyan: #06B6D4;
    --accent-cyan-rgb: 6, 182, 212;
    --accent-green: #10B981;
    --accent-green-rgb: 16, 185, 129;
    --accent-red: #F87171;
    
    /* Glassmorphism */
    --glass-bg: rgba(17, 24, 39, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ------------------------------------------
   2. RESET & BASE RULES
   ------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input {
    font-family: inherit;
    outline: none;
    border: none;
}

/* ------------------------------------------
   3. BACKGROUND GLOWING ORBS
   ------------------------------------------ */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(139, 92, 246, 0.2) 100%);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.8) 0%, rgba(59, 130, 246, 0.2) 100%);
    top: 40%;
    left: -150px;
    animation-delay: -3s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, rgba(16, 185, 129, 0.2) 100%);
    bottom: -100px;
    right: 10%;
    animation-delay: -6s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

/* ------------------------------------------
   4. UTILITY COMPONENTS
   ------------------------------------------ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 20px;
}

.badge.bg-purple-badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    gap: 8px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(to right, white, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ------------------------------------------
   5. HEADER NAVIGATION
   ------------------------------------------ */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.glass-nav.scrolled {
    background: rgba(11, 15, 25, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo-text span {
    color: var(--accent-blue);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ------------------------------------------
   6. HERO SECTION
   ------------------------------------------ */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

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

/* Hero Phone Mockup */
.hero-showcase {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup-wrapper {
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 570px;
    background: #0d1220;
    border: 10px solid #1f293d;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-smooth);
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.screen-img.active {
    opacity: 1;
}

.phone-speaker {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: #000;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.phone-button {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1f293d;
    z-index: 10;
    cursor: pointer;
}

.screen-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background: var(--accent-blue);
    width: 20px;
    border-radius: 4px;
}

/* ------------------------------------------
   7. FEATURES SECTION
   ------------------------------------------ */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

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

.feature-card {
    padding: 40px 32px;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(59, 130, 246, 0.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.bg-blue {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.bg-purple {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.bg-cyan {
    background: linear-gradient(135deg, #0891B2, #06B6D4);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.bg-green {
    background: linear-gradient(135deg, #059669, #10B981);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ------------------------------------------
   8. COURSE CATALOG SECTION
   ------------------------------------------ */
.courses-section {
    padding: 100px 0;
    position: relative;
}

.courses-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
    align-items: center;
}

.search-box {
    width: 100%;
    max-width: 600px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 100px;
}

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

#course-search {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
}

#course-search::placeholder {
    color: var(--text-muted);
}

.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.pill {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pill:hover, .pill.active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Course Grid */
.courses-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.course-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-accent, var(--accent-blue));
    box-shadow: 0 12px 30px rgba(0,0,0,0.5), 
                0 0 20px rgba(var(--accent-rgb, 59, 130, 246), 0.15);
}

.course-image-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.course-card:hover .course-img {
    transform: scale(1.08);
}

.course-accent-line {
    height: 4px;
    background: var(--card-accent, var(--accent-blue));
    width: 100%;
}

.course-info {
    padding: 24px;
}

.course-category-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--card-accent, var(--accent-blue));
    margin-bottom: 8px;
    display: inline-block;
    letter-spacing: 0.05em;
}

.course-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.course-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ------------------------------------------
   9. GEMINI AI SIMULATOR
   ------------------------------------------ */
.ai-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.ai-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.ai-description-text {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.prompt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    padding: 10px 18px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-purple);
    transform: scale(1.02);
}

/* Chat Simulator UI */
.chat-wrapper {
    height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header {
    padding: 16px 24px;
    background: rgba(11, 15, 25, 0.5);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 14px;
}

.bot-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-primary);
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid #131A2C;
}

.bot-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.bot-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message.received {
    align-self: flex-start;
}

.message.sent {
    align-self: flex-end;
}

.message-text {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.message.received .message-text {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--glass-border);
}

.message.sent .message-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0 4px;
}

.message.sent .message-time {
    align-self: flex-end;
}

/* Typing indicator */
.chat-typing-indicator {
    display: none;
    align-self: flex-start;
    margin-left: 24px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    gap: 4px;
}

.chat-typing-indicator.active {
    display: inline-flex;
}

.chat-typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite both;
}

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

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

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.chat-input-area {
    padding: 16px 24px;
    background: rgba(11, 15, 25, 0.5);
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 12px;
}

#chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    padding: 12px 18px;
    font-size: 0.92rem;
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.send-btn:hover {
    transform: scale(1.05);
}

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

/* ------------------------------------------
   10. DEVELOPER SPOTLIGHT
   ------------------------------------------ */
.developer-section {
    padding: 100px 0;
    position: relative;
}

.developer-card-wrapper {
    position: relative;
    overflow: hidden;
    padding: 60px 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-glow-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.developer-content-grid {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.dev-badge {
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.dev-name {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.dev-role {
    font-size: 1rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 24px;
    display: block;
}

.dev-bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.dev-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.dev-stat {
    display: flex;
    flex-direction: column;
}

.dev-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.dev-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.developer-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ------------------------------------------
   11. DOWNLOAD CALL TO ACTION (CTA)
   ------------------------------------------ */
.download-section {
    padding: 60px 0 100px;
}

.download-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.download-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
}

.playstore-btn {
    display: inline-block;
    transition: var(--transition-smooth);
}

.playstore-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.playstore-img {
    height: 56px;
}

/* ------------------------------------------
   12. FOOTER SECTION
   ------------------------------------------ */
.footer {
    background-color: #060911;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-flex a {
    color: var(--text-secondary);
}

.footer-bottom-flex a:hover {
    color: white;
}

/* ------------------------------------------
   13. RESPONSIVE MEDIA QUERIES
   ------------------------------------------ */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .developer-card-wrapper {
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0B0F19;
        border-bottom: 1px solid var(--glass-border);
        padding: 24px;
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-card {
        padding: 50px 24px;
    }
    
    .download-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ==========================================
   14. LEGAL & UTILITY PAGES
   ========================================== */
.legal-section {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    min-height: calc(100vh - 400px);
}

.legal-card {
    padding: 60px 48px;
    margin-top: 30px;
    border: 1px solid var(--glass-border);
}

.legal-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, white 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.legal-content a:hover {
    color: var(--accent-cyan);
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.back-home-btn:hover {
    color: white;
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 32px 20px;
    }
    .legal-title {
        font-size: 2.2rem;
    }
}

