/* Loudio.vn - Modern Nightlife Theme */
:root {
    --primary-color: #7b2cbf;
    /* Deep Purple */
    --primary-hover: #9d4edd;
    --secondary-color: #00b4d8;
    /* Neon Blue */
    --accent-color: #f72585;
    /* Hot Pink */
    --bg-dark: #0a0a0b;
    --bg-card: #121214;
    --text-main: #ffffff;
    --text-muted: #b4b4b8;
    /* Improved contrast */
    --text-dim: #9ca3af;
    --border-color: #27272a;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);

    --font-main: 'Be Vietnam Pro', 'Outfit', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    /* Improved readability */
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.15;
    /* Tighter for headings */
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Premium feel */
}

h1 {
    font-size: 4rem;
    /* Increased impact */
    line-height: 1.1;
}

h2 {
    font-size: 2.75rem;
    /* More prominent */
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.65rem;
    /* Better hierarchy */
    line-height: 1.3;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(123, 44, 191, 0.5);
    /* Stronger initial shadow */
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    /* More lift */
    box-shadow: 0 10px 35px rgba(123, 44, 191, 0.7);
    /* Stronger glow */
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid transparent;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

.btn-glass {
    background: rgba(76, 201, 240, 0.05);
    border: 1px solid rgba(76, 201, 240, 0.4);
    color: var(--secondary-color);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
}

.navbar .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-glass:hover {
    background: rgba(76, 201, 240, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.4);
    /* Stronger glow on hover */
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 42px;
    /* More prominent */
    font-size: 1.15rem;
    /* Easier to read */
}

.full-width {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 11, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: flex-start;
    /* Align tag to top */
    gap: 2px;
    position: relative;
}

.logo-full-img {
    height: 28px;
    /* Adjusted size to fit navbar better */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-right: auto;
    /* Push nav-actions further right */
    margin-left: 20px;
    /* Space from logo */
}

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

.nav-links a:hover {
    color: var(--text-main);
}

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

/* Pick Music Link - Accent Color */
.nav-pick-music {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.4);
    transition: all 0.3s ease;
}

.nav-pick-music:hover {
    color: #ff4d9d;
    text-shadow: 0 0 15px rgba(247, 37, 133, 0.7);
}

/* Smaller Venue Tag */
.nav-tag-small {
    font-size: 0.3rem;
    margin-left: 0px;
    margin-top: -2px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: -0.1px;
    text-transform: uppercase;
    opacity: 0.8;
    line-height: 1;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 5px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.lang-btn-compact {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #111112;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 150px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.lang-option.active {
    color: var(--primary-color);
    font-weight: 600;
}

.flag {
    font-size: 1rem;
}

.flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}


/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Deep dark background with subtle soundwave ripple effect */
    background-color: #050505;
    background-image:
        radial-gradient(circle at center, transparent 0%, #050505 100%),
        repeating-radial-gradient(circle at center, transparent 0, transparent 40px, rgba(76, 201, 240, 0.02) 40px, rgba(76, 201, 240, 0.02) 41px);
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 80px;
    overflow: hidden;
    /* Ensure blobs don't overflow */
}

/* Pulsing Gradient Blobs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.35;
    /* Increased opacity for vibrancy */
    top: -150px;
    right: -100px;
    border-radius: 50%;
    z-index: 1;
    animation: blobPulse 6s infinite alternate ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    filter: blur(120px);
    opacity: 0.3;
    /* Increased opacity for vibrancy */
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    z-index: 1;
    animation: blobPulse 8s infinite alternate-reverse ease-in-out;
}

@keyframes blobPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
        opacity: 0.45;
    }
}

.hero-container {
    display: flex;
    align-items: flex-start;
    /* Aligned top */
    justify-content: space-between;
    gap: 30px;
    /* Reduced from 60px to bring text closer to graphic */
    position: relative;
    z-index: 2;
    padding-top: 40px;
}

.hero-content {
    flex: 1.5;
    /* Increased flex to bring it closer to the graphic on the right */
    text-align: left;
    max-width: 650px;
    margin: 0;
    padding-top: 20px;
    /* Offset to align with image top better if needed */
}

.hero-image {
    flex: 0.5;
    /* Reduced from 0.8 */
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.floating-mockup {
    max-width: 70%;
    /* Further reduced to ensure it looks "half size" */
    height: auto;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(76, 201, 240, 0.3);
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-trust-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 180, 216, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    /* More readable */
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 100%;
    line-height: 1.7;
    /* Better spacing */
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    /* Centered in text section */
    align-items: center;
    gap: 15px;
    /* Reduced from 30px */
    margin-bottom: 2rem;
    /* Reduced bottom margin since wave is now below */
}

.mini-wave {
    height: 30px;
    gap: 4px;
    padding: 0;
    opacity: 1;
    justify-content: center;
    /* Centered in text section */
    width: 100%;
    /* Take full width of parent to allow centering */
}

.mini-wave .wave-bar {
    width: 4px;
}

/* Metrics Section */
.metrics-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metrics-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Addon Button Styles */
.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.addon-btn {
    margin-top: 15px;
}

.centered-stats {
    justify-content: center;
    border-top: none;
    padding-top: 0;
}

.hero-stats {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    min-width: 140px;
    flex: 1;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.gradient-text-pop {
    background: linear-gradient(135deg, #ffffff 0%, #4cc9f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Brands Section */
.brands-section {
    padding: 40px 0;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
}

.brands-title {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 60px;
    flex-wrap: wrap;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
    cursor: default;
    transition: all 0.3s ease;
}

.brand-text:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(123, 44, 191, 0.5);
    transform: scale(1.05);
    opacity: 1;
}

.nav-tag {
    font-size: 0.35rem;
    /* Even smaller */
    margin-left: 0px;
    margin-top: -2px;
    /* Lift it to the top right */
    font-weight: 900;
    color: #ffffff;
    /* Maximum brightness */
    letter-spacing: -0.2px;
    /* Slightly more readable but still tight */
    text-transform: uppercase;
    opacity: 1;
    line-height: 1;
    text-shadow: 0 0 8px rgba(76, 201, 240, 0.8);
    /* High brightness glow */
}

/* Sections */
.section {
    padding: 120px 0;
    /* More breathing room */
}

.brands-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brands-title {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
    /* Fixed width for consistency */
}

.brand-logo {
    height: 80px;
    /* Bigger size */
    width: 80px;
    /* Square */
    object-fit: cover;
    /* User requested crop */
    border-radius: 15px;
    /* Rounded corners */
    background: white;
    /* Make them pop like icons */
    /* Ensure they look good */
    padding: 0;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.brand-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

.brand-more-container {
    justify-content: center;
    height: 80px;
    /* Align with others */
}

.brands-more {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.6;
    text-align: center;
}

/* Partners Section */
.partners {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.partners-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-grid {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: scroll-partners 40s linear infinite;
    width: fit-content;
}

.partners-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.2);
}

.partner-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
        animation: scroll-partners 30s linear infinite;
    }

    .partner-item {
        width: 120px;
        height: 85px;
        padding: 12px;
    }

    .partner-logo {
        max-height: 55px;
    }
}


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

/* How It Works */
.how-it-works {
    background: #0a0a0b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    /* Extra gap */
}

.step-card {
    text-align: center;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-image-container {
    width: 100%;
    max-width: 250px;
    /* iPhone width approx */
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-card:hover .step-image-container {
    transform: translateY(-10px);
}

.step-img {
    width: 100%;
    border-radius: 30px;
    /* Match iPhone corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
}

.step-card h3 {
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.step-card p {
    color: var(--text-muted);
    z-index: 2;
    font-size: 1.05rem;
    max-width: 300px;
}

/* Features */
.features {
    background-color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    /* More space between cards */
}

.feature-card {
    background: var(--bg-card);
    padding: 50px;
    /* More internal space */
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    /* Enhanced lift and scale */
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(123, 44, 191, 0.3);
    /* Added glow */
}

.feature-icon {
    /* Kept for potential future use or if any remain, but mostly unused now */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    /* Slightly larger to fill space */
    color: var(--primary-color);
    /* Add color to heading */
}

.feature-card p {
    color: var(--text-muted);
}

.wave-bar {
    width: 8px;
    background: #00FFFF;
    /* Bright Neon Cyan */
    border-radius: 4px;
    animation: bounceWave 1.2s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    /* Brighter glow */
}

.wave-bar:nth-child(odd) {
    background: #FF00FF;
    /* Bright Neon Magenta */
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
    /* Brighter glow */
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    /* Slight extra margin if header gap isn't enough */
}

.testimonial-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(18, 18, 20, 0.5) 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-main);
}

.author-info h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    position: relative;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.billing-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.discount-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Switch Slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #27272a;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
    /* Make cards same height */
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Price Container for Stacking */
.price-container {
    min-height: 100px;
    /* Prevent layout jump */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.price .original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 5px;
}

.price .current-price {
    color: var(--secondary-color);
    /* Bright Neon comparison */
    text-shadow: 0 0 10px rgba(76, 201, 240, 0.4);
}

.currency {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes button down */
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.features-list li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

.features-list li.disabled::before {
    content: '×';
    color: var(--text-muted);
}

/* Add-ons */
.addons-section {
    max-width: 800px;
    margin: 0 auto;
}

.addons-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.addons-grid {
    display: grid;
    gap: 20px;
}

.addon-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.addon-card:hover {
    border-color: var(--secondary-color);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.addon-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.addon-price {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.cta-box {
    background: var(--gradient-main);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.signup-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-footer {
    grid-column: span 2;
    margin-top: 10px;
}

.signup-form input,
.signup-form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.signup-form textarea {
    resize: vertical;
}

.signup-form input:focus,
.signup-form textarea:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

.signup-form input::placeholder,
.signup-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-block {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

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

.cta-box .btn-primary:hover {
    background: #f0f0f0;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

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

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    padding-bottom: 30px;
    background: #050505;
}

.footer-logo-custom {
    display: flex;
    align-items: center;
    /* Center align image and tag */
    gap: 12px;
}

.logo-footer-img {
    height: 40px;
    /* Larger than navbar for footer visibility */
    width: auto;
    display: block;
}

/* Removed .font-keep-calm as it's now in the image */

.venue-tag {
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: lowercase;
    margin-top: 5px;
    /* Slight offset if needed */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: start;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.link-group h4 {
    margin-bottom: 0;
    margin-right: 10px;
    font-size: 1.1rem;
    color: var(--text-main);
}

.link-group a {
    display: inline-block;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    /* Better Mobile Menu Approach: Full Screen Overlay */
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        align-items: center;
        justify-content: center;
        gap: 40px;
        font-size: 1.5rem;
        z-index: 999;
    }

    .nav-actions.active {
        display: flex;
        position: fixed;
        bottom: 50px;
        left: 0;
        right: 0;
        justify-content: center;
        z-index: 1000;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 180, 216, 0.2);
    position: relative;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.modal-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-main);
}

.modal-input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.modal-footer-text {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* --- Animated Soundwave Divider --- */
.soundwave-divider {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    gap: 6px;
    padding: 20px 0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.7;
}

.wave-bar {
    width: 8px;
    background: #00FFFF;
    /* Max RGB Cyan */
    border-radius: 4px;
    animation: bounceWave 1.2s infinite ease-in-out;
    /* Shadow removed */
}

.wave-bar:nth-child(odd) {
    background: #FF00FF;
    /* Max RGB Magenta */
    /* Shadow removed */
}

/* Staggered Delays for Random Look */
.wave-bar:nth-child(1) {
    animation-duration: 0.8s;
    animation-delay: 0.1s;
}

.wave-bar:nth-child(2) {
    animation-duration: 1.1s;
    animation-delay: 0.3s;
}

.wave-bar:nth-child(3) {
    animation-duration: 1.3s;
    animation-delay: 0.0s;
}

.wave-bar:nth-child(4) {
    animation-duration: 0.9s;
    animation-delay: 0.4s;
}

.wave-bar:nth-child(5) {
    animation-duration: 1.0s;
    animation-delay: 0.2s;
}

.wave-bar:nth-child(6) {
    animation-duration: 1.4s;
    animation-delay: 0.5s;
}

.wave-bar:nth-child(7) {
    animation-duration: 1.2s;
    animation-delay: 0.1s;
}

.wave-bar:nth-child(8) {
    animation-duration: 0.9s;
    animation-delay: 0.3s;
}

.wave-bar:nth-child(9) {
    animation-duration: 1.1s;
    animation-delay: 0.0s;
}

.wave-bar:nth-child(10) {
    animation-duration: 1.3s;
    animation-delay: 0.2s;
}

@keyframes bounceWave {

    0%,
    100% {
        height: 10px;
    }

    50% {
        height: 50px;
    }
}

/* --- Floating Background Elements --- */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-item {
    position: absolute;
    opacity: 0.1;
    color: var(--text-muted);
    font-size: 3rem;
    animation: floatMove 15s infinite linear;
}

.float-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-duration: 12s;
    font-size: 4rem;
}

.float-item:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.float-item:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 2rem;
}

.float-item:nth-child(4) {
    bottom: 40%;
    right: 20%;
    animation-duration: 20s;
    animation-delay: 3s;
}

@keyframes floatMove {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.05;
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.15;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.05;
    }
}

/* Music Controller */
.music-controller {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.music-controller:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(76, 201, 240, 0.2);
}

.music-controller.playing {
    border-color: var(--secondary-color);
}

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.music-bars span {
    width: 3px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.3s;
}

.music-controller.playing .music-bars span {
    background: var(--secondary-color);
    animation: musicWave 1s infinite ease-in-out;
}

.music-controller.playing .music-bars span:nth-child(2) {
    animation-delay: 0.1s;
}

.music-controller.playing .music-bars span:nth-child(3) {
    animation-delay: 0.2s;
}

.music-controller.playing .music-bars span:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes musicWave {

    0%,
    100% {
        height: 5px;
    }

    50% {
        height: 15px;
    }
}

.music-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.music-controller.playing .music-text {
    color: white;
}

@media (max-width: 768px) {
    .music-controller {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
}

/* Premium Success Experience */
.premium-success-card {
    background: rgba(20, 20, 22, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: successCardEntry 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes successCardEntry {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-drawing-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--secondary-color);
    fill: none;
    animation: successStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--secondary-color);
    animation: successStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes successStroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white !important;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto 40px;
}

.success-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    .premium-success-card {
        padding: 40px 20px;
    }

    .success-title {
        font-size: 2rem;
    }

}

/* Blog Section */
.blog {
    background: var(--bg-dark);
}

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

.article-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 40px rgba(76, 201, 240, 0.15);
}

.article-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-tag {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
}

.article-excerpt {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--text-dim);
}

/* Premium Success Card - Centered Layout */
.premium-success-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.premium-success-card .success-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    filter: blur(80px);
    opacity: 0.3;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}

.premium-success-card .success-drawing-container {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    z-index: 1;
}

.premium-success-card .checkmark-svg {
    width: 100%;
    height: 100%;
}

.premium-success-card .checkmark-circle {
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: circleStroke 0.6s ease forwards;
}

.premium-success-card .checkmark-check {
    stroke: var(--secondary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: checkStroke 0.4s 0.4s ease forwards;
}

@keyframes circleStroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkStroke {
    to {
        stroke-dashoffset: 0;
    }
}

.premium-success-card .success-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
    z-index: 1;
}

.premium-success-card .success-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 25px;
    z-index: 1;
}

.premium-success-card .btn {
    z-index: 1;
}