/* ========================================
   RADIO LOTUS - HOME MODERN CSS
   Design System & Variables
   ======================================== */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --gold: #f59e0b;
    --gold-light: #fbbf24;

    /* Backgrounds */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: rgba(248, 250, 252, 0.7);
    --text-muted: rgba(248, 250, 252, 0.5);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Shadows */
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);

    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* AOS Custom Classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.95); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(99, 102, 241, 0.3), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(236, 72, 153, 0.25), transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 80%, rgba(245, 158, 11, 0.15), transparent 50%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 60%);
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

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

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

.hero-particles .particle:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.hero-particles .particle:nth-child(2) { top: 35%; left: 75%; animation-delay: 1s; }
.hero-particles .particle:nth-child(3) { top: 60%; left: 30%; animation-delay: 2s; }
.hero-particles .particle:nth-child(4) { top: 80%; left: 60%; animation-delay: 3s; }
.hero-particles .particle:nth-child(5) { top: 25%; left: 85%; animation-delay: 4s; }

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.hero-text {
    max-width: 600px;
}

.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #22c55e;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title .title-line {
    display: block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-tagline .highlight {
    color: var(--gold);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Country Chips */
.hero-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.country-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.country-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.country-flag {
    font-size: 1.2rem;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--primary-light);
}

.btn-hero-secondary .btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-hero-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Player */
.hero-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fade-up 1s ease 1s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

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

/* ========================================
   SECTION HEADERS
   ======================================== */

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.section-subtitle {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--primary);
}

.btn-text svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

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

/* ========================================
   HISTORY SECTION
   ======================================== */

.history-section {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), transparent);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.03), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    transition: var(--transition-smooth);
}

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

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

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

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--primary);
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary-outline svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

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

/* ========================================
   PROGRAMS SECTION
   ======================================== */

.programs-section {
    background: linear-gradient(180deg, transparent, rgba(236, 72, 153, 0.03));
}

.programs-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.program-card-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.program-card-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-8px);
}

.program-card-modern.featured {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(99, 102, 241, 0.1));
    border-color: var(--accent);
}

.program-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
}

.program-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.program-time-badge {
    padding: 0.35rem 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
}

.program-day-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.program-card-body {
    flex: 1;
}

.program-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.program-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.program-card-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.program-tags .tag {
    padding: 0.25rem 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-section {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.03), transparent);
    overflow: hidden;
}

.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 2rem 0;
    padding: 1rem 0;
}

.partners-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    white-space: nowrap;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.partner-icon {
    font-size: 2rem;
}

.partner-logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.35rem;
    flex-shrink: 0;
}

.partner-fallback {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.partner-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.partners-empty {
    margin: 2rem auto;
    max-width: 32rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-glass);
    color: var(--text-secondary);
    text-align: center;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 4rem 0 6rem;
}

.cta-card-modern {
    position: relative;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid var(--border-light);
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3), transparent 40%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

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

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-cta-secondary:hover {
    background: var(--bg-glass);
    border-color: var(--primary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .stats-grid,
    .features-grid,
    .programs-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        margin-inline: auto;
    }

    .hero-countries,
    .hero-cta {
        justify-content: center;
    }

    .hero-player {
        order: -1;
    }

    .scroll-indicator {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .features-grid,
    .programs-carousel {
        grid-template-columns: 1fr;
    }

    .cta-card-modern {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .country-chip span:not(.country-flag) {
        display: none;
    }
}

/* ========================================
   UTILITIES
   ======================================== */

.glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
