/* =========================================
   BAMBOO PLAYER PREMIUM CSS - GLASSMORPHISM 
   ========================================= */

/* Variables */
:root {
    /* Palette based on the provided Icon */
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #050508;
    
    --color-neon-green: #2fff7d;
    --color-neon-magenta: #ff007f;
    --color-neon-blue: #0088ff;
    
    --color-text-main: #f0f0f5;
    --color-text-muted: #a0a0b8;
    
    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Gradients */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-neon-green), var(--color-neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--color-neon-blue), var(--color-neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-magenta { color: var(--color-neon-magenta); }
.text-gradient-green { color: var(--color-neon-green); }

/* Ambient Background / Orbs */
.ambient-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--color-bg-darker);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--color-neon-magenta);
    top: -200px; left: -200px;
}

.orb-2 {
    width: 500px; height: 500px;
    background: var(--color-neon-green);
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px; height: 400px;
    background: var(--color-neon-blue);
    top: 30%; left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Glass Panels Baseline */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-main);
    gap: 10px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-neon-green), #00c35e);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(47, 255, 125, 0.4);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(47, 255, 125, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.glow-text-green { color: var(--color-neon-green); box-shadow: inset 0 0 10px rgba(47, 255, 125, 0.1); }
.glow-text-magenta { color: var(--color-neon-magenta); }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    z-index: 100;
    transition: all 0.3s ease;
}

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

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

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-neon-green);
}

/* Helper Class for Navbar Scroll */
.nav-scrolled {
    background: rgba(10, 10, 15, 0.85);
    border-color: rgba(255,255,255,0.15);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 5rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

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

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    perspective: 1000px;
}

.mockup-container {
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-img {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
}
.text-center { text-align: center; margin: 0 auto; }
.section-header.text-center p { margin: 0 auto; }

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

.feature-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(30,30,45, 0.6);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* IPTV Management Section */
.iptv-management {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.8) 50%, rgba(10,10,15,0) 100%);
}

.iptv-layout {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.iptv-text {
    flex: 1;
}

.iptv-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

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

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--color-neon-magenta);
    flex-shrink: 0;
    margin-top: 2px;
}

.iptv-visual {
    flex: 1;
}

.mockup-collage {
    padding: 10px;
    position: relative;
}

.img-main {
    width: 100%;
    border-radius: 8px;
}

/* Tech Stack Carousel */
.tech-stack {
    padding: 6rem 0;
    overflow: hidden;
}

.tech-stack h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-stack p {
    color: var(--color-text-muted);
}

.carousel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    width: calc(300px * 8); 
    animation: scroll 20s linear infinite;
    gap: 3rem;
}

.tech-logo {
    width: 250px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    gap: 10px;
    flex-shrink: 0;
}

.tech-logo img {
    height: 40px;
    opacity: 0.8;
}

.tech-logo span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4 - 3rem * 4)); }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-panel {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(20,20,30,0.6), rgba(47,255,125,0.05));
}

.cta-panel h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-panel p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: var(--color-bg-darker);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

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

/* --- Utilities & Animations --- */
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 968px) {
    .hero-title { font-size: 3.5rem; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-visual { margin-top: 3rem; }
    .mockup-container { transform: none; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .iptv-layout { flex-direction: column; }
    .iptv-text { padding-top: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.8rem; }
    .section-header h2, .iptv-text h2, .cta-panel h2 { font-size: 2.2rem; }
    .cta-panel { padding: 3rem 1.5rem; }
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}
