:root {
    /* Colors */
    --bg-color: #050505;
    --bg-card: #0f0f11;
    --primary: #00ff9d;
    --primary-dim: rgba(0, 255, 157, 0.1);
    --primary-hover: #00cc7d;
    --primary-glow: rgba(0, 255, 157, 0.15);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-light: #d4d4d8;
    --border-color: #27272a;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.btn-icon {
    transition: transform 0.3s ease;
}

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

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

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

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #edf6f2;
    font: 700 26px/normal 'Space Grotesk', sans-serif;
    letter-spacing: -1.3px;
    white-space: nowrap;
}

.logo-accent,
.logo-arrow {
    color: #65f6b0;
}

.logo-arrow {
    font-size: 18px;
    margin-left: 7px;
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a[hidden] {
    display: none;
}

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle grid background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 157, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 157, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.25);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-main);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(0, 255, 157, 0.15);
    max-width: 420px;
}

.image-wrapper img.hero-graphic {
    border: none;
    box-shadow: none;
    background: transparent;
    max-width: 480px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.12;
    z-index: 1;
}

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

/* ===========================
   EXCHANGES SECTION
   =========================== */
.section-exchanges {
    padding: 60px 0;
    background-color: #0a0a0a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partners-grid-centered {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

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

.partner-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.partner-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.08);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(0, 255, 157, 0.03) 100%);
}

.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.veranta-logo {
    width: 140px;
    height: auto;
}

.partner-header h3 {
    font-size: 1.5rem;
}

.status-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.live {
    background: rgba(0, 255, 157, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.status-badge.soon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* ===========================
   ABOUT KOALABOX & UPSIDE PERPS SECTION
   =========================== */
.section-about {
    background: linear-gradient(180deg, #050505 0%, #0a0a0c 100%);
    padding: 80px 0;
}

.about-container {
    max-width: 900px;
}

.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: 0.3s;
}

.about-card:hover {
    border-color: rgba(0, 255, 157, 0.3);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.about-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.about-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.about-list li:last-child {
    border-bottom: none;
}

.zfp-highlight {
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.zfp-highlight p {
    font-size: 0.95rem;
    color: var(--primary);
    margin: 0;
    font-weight: 500;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.section-features {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
}

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

/* ===========================
   PROCESS / HOW IT WORKS
   =========================== */
.section-process {
    padding: 80px 0 100px;
    background-color: #0a0a0a;
    border-top: 1px solid var(--border-color);
}

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

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: -20px;
    font-family: var(--font-heading);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.step p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 280px;
    margin: 0 auto;
}

.step-divider {
    flex: 0 0 auto;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin-top: 60px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: #080808;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.footer-copyright {
    color: #52525b;
    font-size: 0.9rem;
}

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

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

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

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero-title {
        font-size: 3rem;
    }

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

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        margin-top: 40px;
    }

    .image-wrapper img {
        max-width: 100%;
    }

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

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

    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-divider {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }
}

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

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }


    .about-header h2 {
        font-size: 1.5rem;
    }

    .about-card-header h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 600px) {
    .nav-links a:not([data-dashboard-link]) {
        display: none;
    }
}
