/* Navbar Styles */
nav {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: var(--container-max);
    z-index: 1000;
    padding: 12px 32px;
    /* Reset glass properties on parent to prevent containing block */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Apply Glass Effect via Pseudo-element to preserve stacking context */
nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px !important;
    /* Minimal padding for edge-to-edge feel */
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo img {
    height: 36px;
    /* Limit logo height */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    padding: 8px;
    z-index: 1001;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s ease;
}

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

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

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

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

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-deep: #020617;
    --bg-surface: #0f172a;
    --bg-surface-light: #1e293b;

    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #7c3aed;
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.4);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Spacing */
    --container-max: 1200px;
    --section-pad: 80px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

li {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Animations */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--primary-glow);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

.glow-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 600;
    box-shadow: 0 0 15px var(--primary-glow);
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
    filter: brightness(1.1);
}

.outline-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 600;
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

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

/* Base Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 32px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transform: none;
        left: auto;
    }

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

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-right {
        display: flex !important;
        margin-left: auto;
    }

    .nav-right .glow-btn {
        display: none;
    }

    .nav-right .outline-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 16px;
        order: 2;
        position: relative;
        z-index: 2000;
        width: 30px;
        height: 30px;
        justify-content: center;
    }

    .nav-content {
        padding-right: 16px !important;
    }

    .nav-right {
        order: 1;
        margin-left: auto;
    }

    .logo {
        order: 0;
        margin-right: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        order: 2;
        margin-top: 40px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .terminal-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .scaling-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scaling-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 48px;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 180px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .dragon-circle {
        width: 300px;
        height: 300px;
    }

    .floating-card {
        padding: 12px 16px;
    }

    .summary-card {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    .summary-divider {
        width: 100%;
        height: 1px;
    }

    .selector-header {
        justify-content: center;
    }

    .pill-group {
        justify-content: center;
        width: 100%;
    }

    .pill {
        flex: 1;
        text-align: center;
    }

    /* Force Mobile Menu Logic for smaller screens */
    .nav-links {
        position: fixed !important;
        top: 0;
        height: 100vh;
        width: 80%;
        background: var(--bg-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        border-left: 1px solid var(--border);
    }

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

    .nav-links:not(.active) {
        right: -100% !important;
    }
}


/* Dropdown Styles */
.dropdown {
    position: relative;
    padding-bottom: 10px;
    /* Bridge gap for hover */
    margin-bottom: -10px;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 180px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.95rem;
    color: var(--text-muted) !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
    padding-left: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push to extreme right */
}

/* Custom Terminal Styles */
.terminal {
    padding: var(--section-pad) 0;
}

.terminal-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    margin-top: 60px;
}

.terminal-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feat-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feat-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid var(--primary-glow);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feat-item h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

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

.terminal-visual {
    padding: 12px;
    border-radius: 20px;
}

.mock-terminal {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    height: 340px;
}

.t-header {
    background: #1a1a1a;
    padding: 10px 16px;
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.t-body {
    padding: 24px;
}

.t-lines {
    height: 8px;
    background: #1a1a1a;
    margin-bottom: 12px;
    border-radius: 4px;
}

.t-graph {
    height: 180px;
    margin-top: 32px;
    background: linear-gradient(0deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.t-graph::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 60%;
    background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 41px);
}

/* Icon simplification */
i.bi {
    line-height: 1;
}

.check {
    color: #10b981;
    margin-right: 8px;
}

/* Hero Section */
.hero {
    padding-top: 240px;
    /* Increased to account for absolute announcement overlay */
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid var(--primary-glow);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

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

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

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dragon-circle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--bg-surface) 0%, transparent 80%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dragon-circle::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-dragon {
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: float 4s ease-in-out infinite;
    z-index: 5;
}

.floating-card {
    position: absolute;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.p1 {
    top: 20%;
    right: 0;
}

.p2 {
    bottom: 20%;
    left: 0;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 1rem;
}

.card-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Challenge Section Styles */
.challenges {
    padding: var(--section-pad) 0;
}

.challenge-selector {
    padding: 32px;
    margin-top: 40px;
}

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

.pill-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
    display: flex;
    gap: 4px;
}

.pill {
    background: transparent;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.reward-cycle {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
    padding: 16px 24px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
}

.reward-cycle>span {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cycle-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cycle-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.check {
    color: #10b981;
    font-weight: 800;
    margin-right: 4px;
}

.pricing-table {
    display: flex;
    flex-direction: column;
}

.phase-progression {
    position: relative;
    margin-bottom: 48px;
    padding: 0 40px;
}

.phase-track {
    position: absolute;
    top: 24px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.phases {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.phase-num {
    width: 48px;
    height: 48px;
    background: var(--bg-surface-light);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--text-muted);
}

.phase.active .phase-num {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.phase-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.phase.active .phase-name {
    color: var(--text-main);
}

.data-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.row-val {
    text-align: right;
    font-weight: 500;
}

.row-label {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info {
    font-size: 0.8rem;
    color: var(--text-dim);
    cursor: help;
}

.row-val {
    text-align: center;
    font-weight: 700;
}

.row-val.main {
    color: var(--primary);
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 20px 0;
    }

    .row-val {
        text-align: left;
        width: 100%;
    }

    .pricing-table {
        padding: 0;
    }

    .challenge-selector {
        padding: 20px;
    }
}

.purchase-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(10px);
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    font-weight: 600;
}

.summary-item h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-main);
}

.summary-item h3 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(121, 40, 202, 0.3);
}

.summary-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.glow-btn.lg {
    padding: 20px 48px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glow-btn.lg i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.glow-btn.lg:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .summary-card {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px;
    }

    .summary-divider {
        width: 100%;
        height: 1px;
    }

    .glow-btn.lg {
        width: 100%;
        justify-content: center;
    }
}

/* Features Section */
.features {
    padding: var(--section-pad) 0;
}

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

.feature-card {
    padding: 40px;
}

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

.f-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

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

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

/* Footer Section */
footer {
    padding-top: 80px;
    border-radius: 40px 40px 0 0 !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 64px;
    padding-bottom: 64px;
}

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

/* App Download Buttons */
.app-download {
    margin-top: 32px;
}

.app-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 1.5rem;
    color: var(--text-main);
}

.app-btn .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: flex-start;
}

.app-btn .btn-text span {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.app-btn .btn-text strong {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.link-col h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col a {
    color: var(--text-muted);
}

.link-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

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

.socials {
    display: flex;
    gap: 24px;
}

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

/* Utility classes */
.gap-12 {
    gap: 12px;
}

.sm {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
}

/* Navbar Refinement */
.nav-cta {
    display: flex;
    align-items: center;
}

/* Platforms Section */
.platforms {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.platform-card {
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.p-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    border: 1px solid var(--border);
}

.platform-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

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

/* How it Works Section */
.how-it-works {
    padding: var(--section-pad) 0;
}

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

.step-card {
    position: relative;
    padding: 60px 40px 40px;
    text-align: center;
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--primary-glow);
    z-index: 5;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Instruments Section */
.instruments {
    padding: var(--section-pad) 0;
}

.instrument-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    border-radius: 30px !important;
    flex-wrap: wrap;
    gap: 32px;
}

.instrument-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.instrument-item:hover {
    transform: scale(1.1);
}

.i-icon {
    font-size: 2.5rem;
}

.instrument-item span:last-child {
    font-weight: 700;
    color: var(--text-muted);
}

.instrument-item:hover span:last-child {
    color: var(--text-main);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    nav {
        width: 100%;
        top: 0;
        border-radius: 0;
        padding: 12px 20px;
    }

    .logo span {
        display: none;
    }
}

/* --- PREMIUM UI SECTIONS --- */

/* Section Shared Utilities */
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(121, 40, 202, 0.1);
    border: 1px solid rgba(121, 40, 202, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Scaling Plan Section */
.scaling {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.scaling::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.scaling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.scaling-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.scaling-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.scaling-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scaling-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.scaling-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: height 0.4s ease;
}

.scaling-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(10px);
    border-color: rgba(121, 40, 202, 0.3);
}

.scaling-card:hover::after {
    height: 100%;
}

.scaling-card h4 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.scaling-card h4 i {
    color: var(--primary);
}

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

/* Testimonials Section */
.testimonials {
    padding: var(--section-pad) 0;
    background: radial-gradient(circle at center, rgba(121, 40, 202, 0.03) 0%, transparent 70%);
}

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

.testi-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testi-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-ring {
    width: 56px;
    height: 56px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), #bc28ca);
    border-radius: 50%;
}

.avatar-ring .initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-main);
}

.testi-meta h4 {
    font-size: 1.1rem;
    margin: 0;
}

.testi-meta .status {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.testi-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-style: italic;
    position: relative;
}

.testi-content::before {
    content: '\"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(121, 40, 202, 0.1);
    font-family: serif;
}

.stars {
    display: flex;
    gap: 4px;
    color: #ffb700;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: var(--section-pad) 0;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(121, 40, 202, 0.3);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
}

.faq-q {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-q i {
    font-size: 1.25rem;
    color: var(--text-dim);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-a {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.active .faq-a {
    padding: 0 30px 24px;
    max-height: 500px;
}

@media (max-width: 992px) {
    .scaling-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .scaling-content h2 {
        font-size: 2.5rem;
    }
}

/* Announcement Bar */
.announcement-bar {
    background: transparent;
    color: var(--text-main);
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    font-size: 0.9rem;
    border-bottom: none;
}

.bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 0 40px;
}

.announcement-bar p {
    margin: 0;
    letter-spacing: 0.5px;
}

.announcement-bar span {
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 10px var(--primary-glow);
    margin: 0 4px;
}

.announcement-bar strong {
    color: #ffd700;
    /* Gold for Christmas feel */
}

.announcement-bar small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.close-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.close-bar:hover {
    opacity: 1;
}

/* Adjust navbar when bar is present */
#navbar {
    top: 24px;
    /* Default */
    z-index: 4000;
    /* Highest priority */
}

.announcement-active #navbar {
    top: 64px;
    /* Shift down when bar is active */
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem;
    }

    .announcement-bar small {
        font-size: 0.7rem;
    }

    .bar-content {
        padding: 0 30px;
    }
}

/* FINAL MOBILE MENU OVERRIDES */
@media (max-width: 992px) {
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 40px !important;
        z-index: 3000 !important;
        border-left: 1px solid var(--border) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
    }

    .nav-links.active {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
        transition: color 0.3s ease !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: white !important;
    }

    /* Ensure hamburger covers the menu so it can close it */
    .mobile-menu-btn {
        z-index: 3500 !important;
    }

    /* Mobile Dropdown Logic */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        /* Hidden by default, toggled via JS */
        margin-top: 10px !important;
        border-left: 2px solid rgba(255, 255, 255, 0.1) !important;
        margin-left: 20px !important;
    }

    .dropdown.active .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: center;
    }

    .dropdown.active .dropdown-trigger i {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        font-size: 1.2rem !important;
        color: var(--text-muted) !important;
        padding-left: 20px !important;
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}