:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #8b5cf6;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-glow: rgba(79, 70, 229, 0.5);
    --border-color: #334155;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    gap: 8px;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

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

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

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    -webkit-text-fill-color: #818cf8;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #312e81 0%, transparent 40%),
                radial-gradient(circle at bottom left, #1e1b4b 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: white;
    font-family: var(--font-heading);
}

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

.hero-image {
    position: relative;
}

.floating-ui {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

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

/* Providers */
.providers {
    padding: 40px 0;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border-color);
}

.section-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.provider-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.provider-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* opacity: 0.6; */
    transition: opacity 0.3s;
}

.provider-item:hover {
    opacity: 1;
}

.provider-item img {
    height: 30px;
    width: auto;
    /* filter: grayscale(100%) brightness(200%); */
}

.provider-item span {
    font-weight: 600;
    color: #fff;
}

/* Features */
.features {
    padding: 100px 0;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: white;
}

.gradient-1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.gradient-2 { background: linear-gradient(135deg, #3b82f6, #14b8a6); }
.gradient-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.gradient-4 { background: linear-gradient(135deg, #ec4899, #f43f5e); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

/* Showcase */
.showcase {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--dark-bg), #1a1f35);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
    margin-bottom: 40px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
}

.split-image {
    position: relative;
}

.showcase-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}

.small-overlap {
    position: absolute;
    width: 60%;
    bottom: -30px;
    left: -30px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Player Designs Section - Custom Overrides */
.player-designs {
    padding: 100px 0;
    background-color: #0f172a; /* Ensure contrast with some light players */
}

.player-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.player-card-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s;
}

.player-card-wrapper:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
}

.design-label {
    display: block;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    font-family: var(--font-heading);
}

/* Override custom player container margins for grid */
.goweb-player-container {
    margin: 0 !important;
}

/* Docs Showcase Section */
.docs-showcase {
    padding: 100px 0;
    background: linear-gradient(to bottom, #1a1f35, var(--dark-bg));
}

.docs-showcase .split-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.docs-showcase .icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(255,255,255,0.08);
    z-index: 1;
    pointer-events: none;
}

.docs-showcase .split-layout.reverse {
    grid-template-columns: 1fr 1fr;
    flex-direction: row-reverse; /* Swap order on desktop */
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #141a29; /* Slightly different background for visual separation */
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #25334c;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 10px 20px 20px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* CTA */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 30px 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    position: relative;
    top: 10px;
}

.period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.small-text {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: #0b1120;
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 250px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .split-layout.reverse {
        flex-direction: column; /* Stack normally on mobile */
    }

    .small-overlap {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .player-grid-full {
        grid-template-columns: 1fr;
    }
}