/* ================================================================
   HUMAN RIGHTS RADIO - Premium Design System
   Brand Colors extracted from logo: Indigo/Blue (#4F46E5)
   ================================================================ */

/* === IMPORTS === */
/* Google Fonts loaded via <link> tag in layout for non-blocking performance */

/* === CSS CUSTOM PROPERTIES === */
:root {
    /* Brand Colors - from logo */
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --primary-lighter: #818CF8;
    --primary-lightest: #A5B4FC;
    --primary-dark: #4338CA;
    --primary-darker: #3730A3;
    --primary-rgb: 79, 70, 229;

    /* Secondary */
    --secondary: #7C3AED;
    --secondary-light: #8B5CF6;

    /* Accent */
    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --accent-dark: #0891B2;

    /* Neutrals */
    --dark: #0A0A1A;
    --dark-surface: #111128;
    --dark-card: #1A1A3E;
    --dark-card-hover: #222255;
    --dark-border: #2A2A5A;
    --dark-text: #E2E8F0;
    --dark-text-secondary: #94A3B8;
    --dark-text-muted: #64748B;

    /* Light mode */
    --light: #F8FAFC;
    --light-surface: #FFFFFF;
    --light-card: #FFFFFF;
    --light-border: #E2E8F0;
    --light-text: #0F172A;
    --light-text-secondary: #475569;

    /* Status */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    --shadow-glow-lg: 0 0 40px rgba(79, 70, 229, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* Container */
    --container-max: 1280px;
    --container-narrow: 768px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* === UTILITY CLASSES === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-lighter);
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-lighter));
}

.section-label::after {
    content: '';
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-lighter), transparent);
}

.section-title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--primary-lightest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

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

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    padding: var(--space-sm) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.navbar-brand img {
    height: 42px;
    width: auto;
    transition: transform var(--transition-base);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary-lighter));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--dark-text-secondary);
    transition: all var(--transition-base);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(79, 70, 229, 0.15);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg) !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base) !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-lg);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: rgba(17, 17, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 80px var(--space-xl) var(--space-xl);
        transition: right var(--transition-slow);
        align-items: stretch;
        gap: var(--space-xs);
        border-left: 1px solid var(--dark-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-base);
        width: 100%;
        text-align: left;
    }

    .nav-links li {
        width: 100%;
        margin: 0 !important;
    }

    .nav-links select {
        width: 100%;
        margin-top: var(--space-sm);
        font-size: var(--text-base) !important;
        padding: var(--space-sm) var(--space-md) !important;
    }

    .nav-cta {
        justify-content: flex-start;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: calc(var(--z-sticky) - 1);
    }

    .mobile-overlay.active {
        display: block;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px var(--space-lg) var(--space-4xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
}

.hero-bg .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-lighter);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary-lighter);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
}

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

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--accent-light) 50%, var(--primary-lightest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
    color: var(--dark-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-visual {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* Sound wave animation in hero */
.sound-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: var(--space-2xl) auto 0;
    justify-content: center;
    height: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.sound-wave-bar {
    width: 3px;
    background: linear-gradient(to top, var(--primary), var(--accent-light));
    border-radius: var(--radius-full);
    animation: sound-wave 1.2s ease-in-out infinite;
}

@keyframes sound-wave {
    0%, 100% { height: 8px; }
    50% { height: 35px; }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-lighter);
    border: 1px solid var(--primary-lighter);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: var(--text-base);
    border-radius: var(--radius-2xl);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

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

/* Play button special */
.btn-play {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.btn-play svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

/* === CARDS === */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 70, 229, 0.1);
}

.card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--dark-surface);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 26, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover .card-image-overlay {
    opacity: 1;
}

.card-body {
    padding: var(--space-lg);
}

.card-category {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-lighter);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-base);
}

.card:hover .card-title {
    color: var(--primary-lighter);
}

.card-text {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--dark-border);
    font-size: var(--text-xs);
    color: var(--dark-text-muted);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.card-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* Song Card - square aspect ratio */
.song-card .card-image {
    aspect-ratio: 16/10;
}

/* Playlist Card */
.playlist-card .card-image {
    aspect-ratio: 1;
}

.playlist-card .songs-count {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: 0.2rem 0.6rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    color: #fff;
}

/* Podcast Card */
.podcast-card .card-body {
    display: flex;
    flex-direction: column;
}

.podcast-card .episode-info {
    font-size: var(--text-xs);
    color: var(--primary-lighter);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

/* === GRID LAYOUTS === */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* === STREAMING PLATFORMS SECTION === */
.platforms-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    min-width: 260px;
    transition: all var(--transition-base);
}

.platform-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.platform-card:not(.disabled):hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.platform-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 24px;
}

.platform-icon.spotify {
    background: rgba(30, 215, 96, 0.15);
    color: #1ED760;
}

.platform-icon.apple {
    background: rgba(252, 60, 68, 0.15);
    color: #FC3C44;
}

.platform-info h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: #fff;
}

.platform-info p {
    font-size: var(--text-sm);
    color: var(--dark-text-muted);
}

/* === WHY LISTEN === */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.why-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: var(--radius-xl);
    font-size: 28px;
    color: var(--primary-lighter);
    transition: all var(--transition-base);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: #fff;
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    line-height: 1.7;
}

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

/* === NEWSLETTER === */
.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    backdrop-filter: blur(20px);
}

.newsletter-container h2 {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.newsletter-container p {
    font-size: var(--text-lg);
    color: var(--dark-text-secondary);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: var(--space-sm);
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.85rem var(--space-lg);
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    color: #fff;
    outline: none;
    transition: border-color var(--transition-base);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--dark-text-muted);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* === FOOTER === */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    margin-top: var(--space-md);
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    color: var(--dark-text-secondary);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    transition: all var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary-lighter);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--dark-border);
    font-size: var(--text-sm);
    color: var(--dark-text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

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

/* === PAGE HEADER === */
.page-header {
    padding: 140px 0 var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}

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

.page-header h1 {
    font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--primary-lightest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: var(--text-lg);
    color: var(--dark-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === SEARCH & FILTERS === */
.filters-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem var(--space-lg) 0.75rem 2.75rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    color: #fff;
    outline: none;
    transition: all var(--transition-base);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.search-box svg {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--dark-text-muted);
}

.filter-select {
    padding: 0.75rem var(--space-lg);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    color: #fff;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2.5rem;
    min-width: 150px;
    transition: border-color var(--transition-base);
}

.filter-select:focus {
    border-color: var(--primary);
}

.filter-select option {
    background: var(--dark-card);
    color: #fff;
}

/* === SINGLE PAGE === */
.single-hero {
    padding: 120px 0 var(--space-2xl);
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 1024px) {
    .single-layout {
        grid-template-columns: 1fr;
    }
}

.player-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
    margin-bottom: var(--space-2xl);
}

.player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.single-info h1 {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-md);
}

.single-info .meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.single-info .meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
}

.single-info .meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-lighter);
}

.single-info .description {
    font-size: var(--text-base);
    color: var(--dark-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

/* Sidebar */
.sidebar-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
}

.sidebar-section h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--dark-border);
}

.sidebar-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(42, 42, 90, 0.5);
    transition: all var(--transition-base);
}

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

.sidebar-item:hover {
    transform: translateX(4px);
}

.sidebar-item img {
    width: 64px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-item h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item p {
    font-size: var(--text-xs);
    color: var(--dark-text-muted);
}

/* === ABOUT PAGE === */
.about-section {
    padding: var(--space-4xl) 0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 768px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

.about-text h2 {
    font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: var(--text-base);
    color: var(--dark-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--space-2xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-lighter), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    position: relative;
}

.timeline-item .timeline-content {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.timeline-item .timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.timeline-spacer {
    visibility: hidden;
    pointer-events: none;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--dark);
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

.timeline-content h3 {
    font-size: var(--text-xl);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        flex-direction: row;
        gap: var(--space-xl);
    }

    .timeline-spacer {
        display: none;
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
}

/* === CO-FOUNDERS === */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.founder-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.founder-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.founder-info h3 {
    font-size: var(--text-xl);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.founder-info p {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    line-height: 1.7;
}

.founder-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.founder-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-lighter);
    transition: all var(--transition-base);
}

.founder-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

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


/* === CONTACT PAGE === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-form-container {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem var(--space-md);
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    color: #fff;
    outline: none;
    transition: all var(--transition-base);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--dark-text-muted);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--error);
    margin-top: var(--space-xs);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary-lighter);
    font-size: 20px;
}

.contact-info-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xs);
}

.contact-info-card p {
    font-size: var(--text-sm);
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* === ALERT MESSAGES === */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* === PAGINATION === */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-3xl);
}

.pagination {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
}

.pagination .page-item .page-link,
.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    color: var(--dark-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
}

.pagination li a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.pagination li.active span,
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.pagination li.disabled span {
    opacity: 0.3;
    pointer-events: none;
}

/* Beautiful next/prev arrow styling */
.pagination li:first-child a,
.pagination li:last-child a,
.pagination li:first-child span,
.pagination li:last-child span {
    padding: 0 var(--space-md);
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

/* === 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);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll reveal animation classes - only active when JS has loaded */
body.js-loaded .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

body.js-loaded .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

body.js-loaded .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

body.js-loaded .reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children - only active when JS has loaded */
body.js-loaded .stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .stagger-children.active > *:nth-child(1) { transition-delay: 0.05s; }
body.js-loaded .stagger-children.active > *:nth-child(2) { transition-delay: 0.1s; }
body.js-loaded .stagger-children.active > *:nth-child(3) { transition-delay: 0.15s; }
body.js-loaded .stagger-children.active > *:nth-child(4) { transition-delay: 0.2s; }
body.js-loaded .stagger-children.active > *:nth-child(5) { transition-delay: 0.25s; }
body.js-loaded .stagger-children.active > *:nth-child(6) { transition-delay: 0.3s; }
body.js-loaded .stagger-children.active > *:nth-child(7) { transition-delay: 0.35s; }
body.js-loaded .stagger-children.active > *:nth-child(8) { transition-delay: 0.4s; }

body.js-loaded .stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, var(--dark-card) 25%, var(--dark-card-hover) 37%, var(--dark-card) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.skeleton-image {
    aspect-ratio: 16/9;
}

.skeleton-text {
    height: 14px;
    margin-bottom: var(--space-sm);
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: var(--space-md);
}

/* === GLASSMORPHISM CARD === */
.glass {
    background: rgba(26, 26, 62, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--dark-text-muted);
    margin: 0 auto var(--space-lg);
    opacity: 0.5;
}

.empty-state h3 {
    font-size: var(--text-xl);
    color: #fff;
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--dark-text-secondary);
    font-size: var(--text-sm);
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--dark-text-muted);
    margin-bottom: var(--space-xl);
    list-style: none;
}

.breadcrumb a {
    color: var(--dark-text-secondary);
    transition: color var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--primary-lighter);
}

.breadcrumb .separator {
    color: var(--dark-text-muted);
}

/* === TOAST NOTIFICATION === */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md) var(--space-xl);
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    color: #fff;
    font-size: var(--text-sm);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.4s ease;
    max-width: 400px;
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.3);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.3);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* === PRINT STYLES === */
@media print {
    .navbar, .footer, .hero-particles, .sound-waves {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
