﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-card: rgba(15, 20, 40, 0.6);
    --bg-card-hover: rgba(20, 28, 58, 0.8);
    --border-color: rgba(255, 255, 255, 0.15);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-pink: #e84393;
    --accent-pink-light: #fd79a8;
    --accent-green: #00b894;
    --accent-green-light: #55efc4;
    --accent-purple: #6c5ce7;
    --accent-blue: #0984e3;

    --gradient-pink: linear-gradient(135deg, #e84393, #fd79a8);
    --gradient-green: linear-gradient(135deg, #00b894, #55efc4);
    --gradient-purple: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-hero-text: linear-gradient(180deg, #e84393 0%, #fd79a8 40%, #ffffff 100%);

    /* Shadows */
    --shadow-pink: 0 4px 20px rgba(232, 67, 147, 0.3);
    --shadow-green: 0 4px 20px rgba(0, 184, 148, 0.3);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --nav-height: 72px;
    --section-padding: 80px 0;
    --container-max: 1200px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Global Spacing */
    --content-px: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

@media (max-width: 576px) {
    :root {
        --content-px: 16px;
    }
}

html {
    scroll-behavior: smooth;
    /* Scale down base font size to match dashboard's compact style */
    font-size: 90%; 
}

@media (max-width: 1024px) {
    html {
        font-size: 85%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 85%;
    }
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.4) rgba(15, 20, 40, 0.6);
}

/* Scrollbar â€” WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 20, 40, 0.6);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.5), rgba(232, 67, 147, 0.4));
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.7), rgba(232, 67, 147, 0.6));
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.9), rgba(232, 67, 147, 0.8));
    background-clip: padding-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Container ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--content-px);
    width: 100%;
}

/* ========== Background Effects ========== */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.08) 0%, transparent 70%);
    animation: floatBg 20s ease-in-out infinite;
}

.page-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 67, 147, 0.06) 0%, transparent 70%);
    animation: floatBg 25s ease-in-out infinite reverse;
}

@keyframes floatBg {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(10px, -10px) scale(1.02);
    }
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1100;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    /* Closing: bg fades out AFTER menu slides out (0.35s delay) */
    transition: background-color 0.25s ease 0.3s,
        border-bottom-color 0.25s ease 0.3s,
        backdrop-filter 0.25s ease 0.3s,
        -webkit-backdrop-filter 0.25s ease 0.3s;
}

.navbar.scrolled {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(12, 16, 30, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    /* Scrolled state should not have closing delay */
    transition: background-color 0.3s ease,
        border-bottom-color 0.3s ease,
        backdrop-filter 0.3s ease,
        -webkit-backdrop-filter 0.3s ease;
}

.navbar.menu-open {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(10, 14, 26, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    /* Opening: bg appears IMMEDIATELY (0s delay) */
    transition: background-color 0.15s ease 0s,
        border-bottom-color 0.15s ease 0s,
        backdrop-filter 0.15s ease 0s,
        -webkit-backdrop-filter 0.15s ease 0s;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active .nav-link-icon {
    color: var(--accent-pink-light);
}

.nav-link-icon {
    font-size: 0.85rem;
    margin-right: 4px;
}

.nav-dashboard {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-pink);
    box-shadow: var(--shadow-pink);
    cursor: pointer;
    transition: var(--transition-normal);
}

.nav-dashboard:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(232, 67, 147, 0.4);
}

.nav-dashboard i {
    margin-left: 6px;
}

.nav-settings {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.1rem;
}

.nav-settings:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

/* Gradient fade-out at bottom of hero into features */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(10, 14, 26, 0.3) 20%,
            rgba(10, 14, 26, 0.6) 40%,
            rgba(12, 16, 30, 0.85) 65%,
            #0c101e 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Animated Grid Lines Background */
.hero-lines-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

/* Static grid lines */
.hero-lines-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(108, 92, 231, 0.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(108, 92, 231, 0.12) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Vertical animated lines */
.hero-line {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.08), transparent);
}

.hero-line::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.8), rgba(232, 67, 147, 0.6), transparent);
    animation: lineFlowDown 6s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.5), 0 0 24px rgba(108, 92, 231, 0.2);
}

.hero-line-1 {
    left: 160px;
}

.hero-line-1::after {
    animation-delay: 0s;
    animation-duration: 5s;
    height: 100px;
}

.hero-line-2 {
    left: 320px;
}

.hero-line-2::after {
    animation-delay: 1.5s;
    animation-duration: 7s;
    height: 150px;
}

.hero-line-3 {
    left: 480px;
}

.hero-line-3::after {
    animation-delay: 3s;
    animation-duration: 6s;
    height: 80px;
}

.hero-line-4 {
    left: 640px;
}

.hero-line-4::after {
    animation-delay: 0.8s;
    animation-duration: 8s;
    height: 130px;
}

.hero-line-5 {
    left: 800px;
}

.hero-line-5::after {
    animation-delay: 2.5s;
    animation-duration: 5.5s;
    height: 110px;
}

.hero-line-6 {
    left: 400px;
}

.hero-line-6::after {
    animation-delay: 4s;
    animation-duration: 6.5s;
    height: 90px;
}

@keyframes lineFlowDown {
    0% {
        top: -15%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Horizontal animated lines */
.hero-line-h {
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(232, 67, 147, 0.08), transparent);
}

.hero-line-h::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(232, 67, 147, 0.7), rgba(108, 92, 231, 0.8), transparent);
    animation: lineFlowRight 8s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(232, 67, 147, 0.4), 0 0 24px rgba(232, 67, 147, 0.15);
}

.hero-line-h-1 {
    top: 160px;
}

.hero-line-h-1::after {
    animation-delay: 0s;
    animation-duration: 7s;
    width: 120px;
}

.hero-line-h-2 {
    top: 320px;
}

.hero-line-h-2::after {
    animation-delay: 2s;
    animation-duration: 9s;
    width: 180px;
}

.hero-line-h-3 {
    top: 480px;
}

.hero-line-h-3::after {
    animation-delay: 4s;
    animation-duration: 6s;
    width: 100px;
}

.hero-line-h-4 {
    top: 640px;
}

.hero-line-h-4::after {
    animation-delay: 1s;
    animation-duration: 8s;
    width: 140px;
}

@keyframes lineFlowRight {
    0% {
        left: -15%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Intersection dots â€” glowing dots at line intersections */
.hero-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.9);
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.6), 0 0 24px rgba(108, 92, 231, 0.3), 0 0 40px rgba(108, 92, 231, 0.15);
    animation: dotPulse 3s ease-in-out infinite;
}

.hero-dot-1 {
    top: 160px;
    left: 160px;
    animation-delay: 0s;
}

.hero-dot-2 {
    top: 160px;
    left: 480px;
    animation-delay: 1s;
}

.hero-dot-3 {
    top: 320px;
    left: 320px;
    animation-delay: 0.5s;
}

.hero-dot-4 {
    top: 320px;
    left: 640px;
    animation-delay: 1.5s;
}

.hero-dot-5 {
    top: 480px;
    left: 400px;
    animation-delay: 2s;
}

.hero-dot-6 {
    top: 480px;
    left: 800px;
    animation-delay: 0.8s;
}

.hero-dot-7 {
    top: 640px;
    left: 160px;
    animation-delay: 1.2s;
}

.hero-dot-8 {
    top: 640px;
    left: 480px;
    animation-delay: 2.5s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(2);
    }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(0, 184, 148, 0.12);
    border: 1px solid rgba(0, 184, 148, 0.25);
    color: var(--accent-green-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title-white {
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 44px;
    max-width: 460px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-divider {
    width: 100%;
    max-width: 800px;
    /* diperlebar dari 460px */
    height: 1px;
    /* sedikit lebih tebal supaya lebih terlihat */
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0));
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.35s both;
}

.btn-docs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-green);
    box-shadow: var(--shadow-green);
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-docs:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 184, 148, 0.4);
}

.btn-dashboard {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-dashboard:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 0.9rem;
    margin-right: 6px;
}

.footer-made-with i {
    margin: 0 4px;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    position: relative;
    padding-right: 32px;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

.hero-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-image {
    position: relative;
    z-index: 2;
    max-height: 480px;
    filter:
        drop-shadow(0 0 25px rgba(108, 92, 231, 0.35)) drop-shadow(0 0 60px rgba(108, 92, 231, 0.15)) drop-shadow(0 0 100px rgba(108, 92, 231, 0.08));
}

.hero-glow {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(108, 92, 231, 0.18) 0%,
            rgba(108, 92, 231, 0.12) 10%,
            rgba(108, 92, 231, 0.08) 20%,
            rgba(108, 92, 231, 0.04) 30%,
            rgba(108, 92, 231, 0.02) 40%,
            rgba(108, 92, 231, 0.008) 50%,
            transparent 60%),
        radial-gradient(circle at 40% 45%,
            rgba(232, 67, 147, 0.08) 0%,
            rgba(232, 67, 147, 0.04) 15%,
            rgba(232, 67, 147, 0.015) 30%,
            transparent 45%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(15, 20, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    z-index: 5;
    animation: floatBadge 5s ease-in-out infinite;
}

.floating-badge-status {
    bottom: 13%;
    left: 1%;
    animation-delay: 0s;
}

.floating-badge-speed {
    top: 1%;
    right: -5%;
    animation-delay: 1.5s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.badge-icon-green {
    background: rgba(0, 184, 148, 0.15);
    color: var(--accent-green-light);
}

.badge-icon-blue {
    background: rgba(9, 132, 227, 0.15);
    color: var(--accent-blue);
}

.badge-text-label {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.badge-text-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== Features Section ========== */
.section {
    position: relative;
    z-index: 2;
    padding: var(--section-padding);
    background: #0c101e;
}

/* Top glow accent on first section after hero */
.section:first-of-type::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(108, 92, 231, 0.3),
            rgba(232, 67, 147, 0.2),
            rgba(108, 92, 231, 0.3),
            transparent);
}

.section:first-of-type::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 80px;
    background: radial-gradient(ellipse at center top,
            rgba(108, 92, 231, 0.06) 0%,
            transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: -4px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.features-centered .feature-card {
    text-align: center;
}

.features-centered .feature-icon {
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: default;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.feature-icon-purple {
    background: rgba(108, 92, 231, 0.12);
    color: #a29bfe;
}

.feature-icon-pink {
    background: rgba(232, 67, 147, 0.12);
    color: var(--accent-pink-light);
}

.feature-icon-green {
    background: rgba(0, 184, 148, 0.12);
    color: var(--accent-green-light);
}

.feature-icon-blue {
    background: rgba(9, 132, 227, 0.12);
    color: #74b9ff;
}

.feature-icon-orange {
    background: rgba(253, 121, 15, 0.12);
    color: #ffa502;
}

.feature-icon-cyan {
    background: rgba(0, 206, 209, 0.12);
    color: #00ced1;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== API Section ========== */
.api-section {
    padding: var(--section-padding);
}

.api-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.api-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.api-info .section-label {
    margin-bottom: 0;
}

.api-info .section-title {
    text-align: left;
    font-size: 2.2rem;
    margin-top: -4px;
}

.api-info .section-subtitle {
    text-align: left;
    margin: 8px 0 0;
    max-width: 100%;
}

.api-info .api-feature-item {
    margin-top: 16px;
}

.api-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.api-feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.api-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.api-feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.api-feature-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.api-code-block {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.api-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.api-code-dots {
    display: flex;
    gap: 6px;
}

.api-code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.api-code-dot:nth-child(1) {
    background: #ff5f57;
}

.api-code-dot:nth-child(2) {
    background: #ffbd2e;
}

.api-code-dot:nth-child(3) {
    background: #28ca42;
}

.api-code-lang {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.api-code-content {
    padding: 20px;
    overflow-x: auto;
}

.api-code-content pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.code-keyword {
    color: #c792ea;
}

.code-string {
    color: #c3e88d;
}

.code-url {
    color: #82aaff;
}

.code-comment {
    color: #546e7a;
}

.code-key {
    color: #f78c6c;
}

.code-bracket {
    color: #89ddff;
}

/* ========== Services Section ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    text-align: center;
    padding: 48px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, rgba(232, 67, 147, 0.08) 100%);
    border: 1px solid rgba(108, 92, 231, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.5), transparent);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-pink);
    box-shadow: var(--shadow-pink);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 67, 147, 0.4);
}

/* ========== Footer ========== */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 28px;
}

.footer-brand-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    background: rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.4);
    color: #a29bfe;
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid;
    border-image: var(--gradient-purple) 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-link i {
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-link:hover i {
    color: #a29bfe;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-made-with a {
    color: var(--accent-pink-light);
}

.footer-made-with a:hover {
    color: var(--accent-pink);
}

/* ========== Brands / Operators Marquee ========== */
.brands-section {
    position: relative;
    z-index: 2;
    padding: 48px 0;
    background: #0c101e;
    overflow: hidden;
}

.brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.15), transparent);
}

.brands-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.brands-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-marquee {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.brands-marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.brands-marquee-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.brands-marquee-item i {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.brands-marquee-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== Pricing Section ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    padding: 36px 32px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-hover);
}

.pricing-card.pricing-featured {
    border-color: rgba(108, 92, 231, 0.35);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08) 0%, rgba(15, 20, 40, 0.6) 100%);
}

.pricing-card.pricing-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gradient-purple);
    border-radius: 0 0 4px 4px;
}

.pricing-card.pricing-featured:hover {
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: 0 8px 40px rgba(108, 92, 231, 0.15);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    font-size: 0.72rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}

.pricing-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pricing-feature i {
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-feature i.fa-check {
    color: var(--accent-green-light);
    background: rgba(0, 184, 148, 0.12);
}

.pricing-feature i.fa-times {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
    width: 100%;
}

.pricing-cta-outline {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.pricing-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.pricing-cta-primary {
    color: white;
    background: var(--gradient-purple);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.pricing-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(108, 92, 231, 0.4);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.3s;
}

.fade-in-up-delay-4 {
    animation-delay: 0.4s;
}

.fade-in-up-delay-5 {
    animation-delay: 0.5s;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ========== Mobile Menu ========== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 42px;
    height: 42px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        width 0.3s ease;
    transform-origin: center;
}

/* Active state: morph into X */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    /* Closing: slides out immediately (0s delay) */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        opacity 0.25s ease 0s;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    /* Opening: slides in AFTER navbar bg appears (0.15s delay) */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.12s,
        opacity 0.3s ease 0.12s;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 10px;
}

.mobile-menu-link:hover {
    color: var(--accent-pink-light);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-menu-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
}

.mobile-menu-link:hover i {
    color: var(--accent-pink-light);
}

.mobile-menu-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link.active i {
    color: var(--accent-pink-light);
}

.mobile-menu-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-pink);
    box-shadow: var(--shadow-pink);
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.mobile-menu-dashboard:hover {
    box-shadow: 0 6px 25px rgba(232, 67, 147, 0.4);
}

/* ========== Responsive ========== */

/* Large Desktop / Small adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--content-px);
    }

    .hero-glow {
        width: 700px;
        height: 700px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    :root {
        --section-padding: 64px 0;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 80px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 500px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        min-height: 350px;
        width: 100%;
        margin-top: 8vh;
        margin-bottom: 8vh;
    }

    .hero-image {
        max-height: 380px;
    }

    .hero-glow {
        width: 600px;
        height: 600px;
    }

    .hero-divider {
        max-width: 460px;
    }

    /* Hide some decorative grid elements on tablet */
    .hero-line-5,
    .hero-line-6,
    .hero-dot-6,
    .hero-dot-7,
    .hero-dot-8 {
        display: none;
    }

    /* Floating Badges */
    .floating-badge {
        padding: 10px 14px;
        gap: 8px;
        border-radius: 12px;
    }

    .floating-badge-status {
        bottom: 10%;
        left: 23%;
    }

    .floating-badge-speed {
        top: 5%;
        right: 15%;
    }

    .badge-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .badge-text-label {
        font-size: 0.65rem;
    }

    .badge-text-value {
        font-size: 0.78rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .api-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .api-info .section-title {
        font-size: 2rem;
        text-align: left;
    }

    .api-info .section-subtitle {
        text-align: left;
    }

    .brands-marquee {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --section-padding: 56px 0;
    }

    .container {
        padding: 0 var(--content-px);
    }

    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-dashboard {
        display: none;
    }

    .nav-settings {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .nav-logo-img {
        height: 32px;
    }

    /* Hero */
    .hero {
        padding-top: var(--nav-height);
        padding-bottom: 0;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        min-height: calc(90svh - var(--nav-height));
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 7px 16px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 32px;
        line-height: 1.7;
        text-align: center;
        max-width: 420px;
    }

    .hero-buttons {
        margin-bottom: 28px;
    }

    .hero-divider {
        max-width: 380px;
        margin-bottom: 28px;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.5),
                transparent);
    }

    .hero-stats {
        flex-direction: row;
        gap: 0;
        justify-content: center;
        width: 100%;
        max-width: 400px;
    }

    .hero-stat {
        flex: 1;
        text-align: center;
        padding-right: 0;
    }

    .hero-stat:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 32px;
        background: var(--border-color);
    }

    .hero-stat-value {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .hero-stat-label {
        font-size: 0.72rem;
        margin-top: 4px;
    }

    .hero-visual {
        display: flex;
        min-height: 280px;
        margin-top: 8vh;
        margin-bottom: 8vh;
    }

    .hero-image {
        max-height: 300px;
    }

    .hero-glow {
        width: 400px;
        height: 400px;
    }

    /* Brands */
    .brands-marquee {
        gap: 24px;
    }

    .brands-marquee-item {
        padding: 10px 18px;
    }

    .brands-marquee-item i {
        font-size: 1rem;
    }

    .brands-marquee-item span {
        font-size: 0.78rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .pricing-card:last-child {
        max-width: 100%;
        width: 100%;
        grid-column: auto;
        margin: 0;
    }

    /* Hide hero animated lines on mobile for perf */
    .hero-lines-bg {
        opacity: 0.5;
    }

    .hero-line-3,
    .hero-line-4,
    .hero-line-5,
    .hero-line-6,
    .hero-line-h-3,
    .hero-line-h-4,
    .hero-dot-3,
    .hero-dot-4,
    .hero-dot-5,
    .hero-dot-6,
    .hero-dot-7,
    .hero-dot-8 {
        display: none;
    }

    /* Floating Badges */
    .floating-badge {
        padding: 10px 14px;
        gap: 8px;
        border-radius: 12px;
    }

    .floating-badge-status {
        bottom: 10%;
        left: 10%;
    }

    .floating-badge-speed {
        top: -6%;
        right: 1%;
    }

    .badge-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .badge-text-label {
        font-size: 0.65rem;
    }

    .badge-text-value {
        font-size: 0.78rem;
    }

    /* Features & Services */
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .service-card {
        padding: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.92rem;
        max-width: 100%;
        padding: 0 15px;
    }

    /* API Section */
    .api-info .section-title {
        font-size: 1.75rem;
    }

    .api-code-content pre {
        font-size: 0.72rem;
    }

    .api-code-content {
        padding: 16px;
    }

    /* CTA */
    .cta-card {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 1.7rem;
    }

    .cta-desc {
        font-size: 0.92rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--content-px);
    }

    .hero {
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 48px;
    }

    .hero-title {
        line-height: 1.15;
    }

    .hero-description {
        margin-bottom: 28px;
        line-height: 1.65;
    }

    .hero-buttons {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }

    .btn-docs,
    .btn-dashboard {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
    }

    .hero-divider {
        margin-bottom: 24px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
    }

    .hero-stat {
        flex: 1;
        padding-right: 0;
        text-align: center;
    }

    .hero-stat:not(:last-child)::after {
        height: 28px;
    }

    .hero-stat-value {
    }

    .hero-stat-label {
    }

    .hero-visual {
        display: flex;
        min-height: 220px;
        margin-top: 8vh;
        margin-bottom: 8vh;
    }

    .hero-image {
        max-height: 240px;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    /* Floating Badges - smaller on mobile */
    .floating-badge {
        padding: 8px 12px;
        gap: 6px;
        border-radius: 10px;
    }

    .floating-badge-status {
        bottom: 5%;
        left: 5%;
    }

    .floating-badge-speed {
        top: -12%;
        right: 0;
    }

    .badge-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .badge-text-label {
    }

    .badge-text-value {
    }

    /* Sections */
    .section-label {
    }

    .section-title {
    }

    .section-subtitle {
        max-width: 100%;
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .feature-card,
    .service-card {
        padding: 20px;
        border-radius: 14px;
    }

    .feature-icon,
    .service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 14px;
    }

    .service-icon {
        margin: 0 auto 14px;
    }

    .feature-title,
    .service-title {
    }

    .feature-desc,
    .service-desc {
    }

    /* API Section */
    .api-info .section-title {
    }

    .api-feature-item {
        padding: 12px;
    }

    .api-feature-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .api-code-content pre {
        line-height: 1.6;
    }

    .api-code-header {
        padding: 10px 14px;
    }

    .api-code-content {
        padding: 12px;
    }

    /* CTA */
    .cta-section {
        padding: 40px 0;
    }

    .cta-card {
        padding: 32px 16px;
        border-radius: 18px;
    }

    .cta-title {
    }

    .cta-desc {
        margin-bottom: 24px;
    }

    .btn-donate {
        padding: 12px 28px;
    }

    /* Pricing */
    .pricing-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .pricing-card:last-child {
        max-width: 100%;
        width: 100%;
        grid-column: auto;
        margin: 0;
    }

    .pricing-name {
    }

    .pricing-amount {
    }

    .pricing-feature {
    }

    .pricing-cta {
        padding: 12px 20px;
    }

    /* Brands */
    .brands-section {
        padding: 32px 0;
    }

    .brands-label {
        letter-spacing: 1.5px;
        margin-bottom: 24px;
    }

    .brands-marquee {
        gap: 16px;
    }

    .brands-marquee-item {
        padding: 8px 14px;
        gap: 8px;
    }

    .brands-marquee-item i {
    }

    .brands-marquee-item span {
    }

    /* Footer */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-brand-name {
    }

    .footer-brand-desc {
    }

    .footer-col-title {
    }

    .footer-link {
    }

    .footer-bottom {
        padding-top: 20px;
    }
}

/* Very small phones (320-360px) */
@media (max-width: 360px) {
    .hero-title {
    }

    .hero-description {
    }

    .hero-badge {
        padding: 5px 12px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
    }

    .hero-stat {
        flex: 1;
        padding-right: 0;
    }

    .hero-stat-value {
    }

    .hero-stat-label {
    }

    .api-info .section-title {
    }

    .section-title {
    }

    .cta-title {
    }
}

/* ========== Coming Soon Page ========== */
.cs-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

/* Background Grid */
.cs-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Background Glows */
.cs-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.cs-bg-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.12);
    top: -150px;
    right: -100px;
    animation: csGlowFloat 8s ease-in-out infinite;
}

.cs-bg-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(232, 67, 147, 0.08);
    bottom: -100px;
    left: -100px;
    animation: csGlowFloat 8s ease-in-out infinite reverse;
}

@keyframes csGlowFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

/* Floating Particles */
.cs-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cs-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.5);
    animation: csParticleFloat 6s ease-in-out infinite;
}

.cs-particle-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.cs-particle-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 5s;
    background: rgba(232, 67, 147, 0.5);
}

.cs-particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.cs-particle-4 {
    top: 60%;
    right: 25%;
    animation-delay: 0.5s;
    animation-duration: 6s;
    background: rgba(0, 184, 148, 0.5);
}

.cs-particle-5 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 9s;
    background: rgba(232, 67, 147, 0.4);
}

.cs-particle-6 {
    top: 40%;
    left: 35%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

@keyframes csParticleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

/* Content */
.cs-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
}

/* Logo */
.cs-logo {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.cs-logo-img {
    height: 48px;
}

/* Badge */
.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    color: #a29bfe;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.cs-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
    animation: pulse 2s ease-in-out infinite;
}

/* Title */
.cs-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.cs-title-gradient {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.cs-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Countdown */
.cs-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.cs-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px;
    border-radius: 18px;
    background: rgba(15, 20, 40, 0.8);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 80px;
    transition: var(--transition-normal);
}

.cs-countdown-item:hover {
    border-color: rgba(108, 92, 231, 0.4);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.15);
}

.cs-countdown-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cs-countdown-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.cs-countdown-sep {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(108, 92, 231, 0.5);
    animation: csSepPulse 1s ease-in-out infinite;
}

@keyframes csSepPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Back Button */
.cs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-normal);
    animation: fadeInUp 0.6s ease 0.5s both;
}

.cs-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.cs-back-btn i {
    transition: transform 0.3s ease;
}

.cs-back-btn:hover i {
    transform: translateX(-3px);
}

/* Footer */
.cs-footer {
    position: absolute;
    bottom: 24px;
    z-index: 2;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Coming Soon Responsive */
@media (max-width: 768px) {
    .cs-title {
        font-size: 2.8rem;
    }

    .cs-desc {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    .cs-countdown {
        gap: 8px;
    }

    .cs-countdown-item {
        padding: 16px 16px;
        min-width: 64px;
        border-radius: 14px;
    }

    .cs-countdown-value {
        font-size: 1.6rem;
    }

    .cs-countdown-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .cs-countdown-sep {
        font-size: 1.5rem;
    }

    .cs-bg-glow-1 {
        width: 300px;
        height: 300px;
    }

    .cs-bg-glow-2 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .cs-title {
    }

    .cs-logo-img {
        height: 38px;
    }

    .cs-desc {
    }

    .cs-countdown-item {
        padding: 14px 12px;
        min-width: 56px;
    }

    .cs-countdown-value {
    }

    .cs-countdown-sep {
    }

    .cs-back-btn {
        padding: 12px 24px;
    }
}

/* =============================================
   AUTH PAGES (Login & Register)
   ============================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding: 60px 20px;
}

/* Background Grid */
.auth-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(108, 92, 231, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(108, 92, 231, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 10%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* Background Glows */
.auth-bg-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

.auth-bg-glow-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    right: -5%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    animation: floatBg 20s ease-in-out infinite;
}

.auth-bg-glow-2 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(232, 67, 147, 0.1) 0%, transparent 70%);
    animation: floatBg 25s ease-in-out infinite reverse;
}

.auth-bg-glow-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 184, 148, 0.06) 0%, transparent 70%);
    animation: floatBg 18s ease-in-out infinite 3s;
}

/* Floating Particles */
.auth-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.auth-particle {
    position: absolute;
    border-radius: 50%;
    animation: authFloat linear infinite;
}

.auth-particle-1 {
    width: 4px;
    height: 4px;
    background: rgba(108, 92, 231, 0.6);
    top: 15%;
    left: 10%;
    animation-duration: 12s;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.4);
}

.auth-particle-2 {
    width: 3px;
    height: 3px;
    background: rgba(232, 67, 147, 0.5);
    top: 70%;
    left: 85%;
    animation-duration: 15s;
    animation-delay: 2s;
    box-shadow: 0 0 8px rgba(232, 67, 147, 0.3);
}

.auth-particle-3 {
    width: 5px;
    height: 5px;
    background: rgba(0, 184, 148, 0.4);
    top: 40%;
    left: 5%;
    animation-duration: 18s;
    animation-delay: 4s;
    box-shadow: 0 0 12px rgba(0, 184, 148, 0.3);
}

.auth-particle-4 {
    width: 3px;
    height: 3px;
    background: rgba(108, 92, 231, 0.5);
    top: 80%;
    left: 30%;
    animation-duration: 14s;
    animation-delay: 1s;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

.auth-particle-5 {
    width: 4px;
    height: 4px;
    background: rgba(232, 67, 147, 0.4);
    top: 25%;
    left: 75%;
    animation-duration: 16s;
    animation-delay: 3s;
    box-shadow: 0 0 10px rgba(232, 67, 147, 0.3);
}

.auth-particle-6 {
    width: 2px;
    height: 2px;
    background: rgba(0, 184, 148, 0.6);
    top: 55%;
    left: 50%;
    animation-duration: 20s;
    animation-delay: 5s;
    box-shadow: 0 0 6px rgba(0, 184, 148, 0.4);
}

.auth-particle-7 {
    width: 3px;
    height: 3px;
    background: rgba(108, 92, 231, 0.4);
    top: 10%;
    left: 60%;
    animation-duration: 13s;
    animation-delay: 6s;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

.auth-particle-8 {
    width: 4px;
    height: 4px;
    background: rgba(232, 67, 147, 0.3);
    top: 90%;
    left: 15%;
    animation-duration: 17s;
    animation-delay: 0.5s;
    box-shadow: 0 0 10px rgba(232, 67, 147, 0.2);
}

@keyframes authFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 1;
    }

    50% {
        transform: translate(-15px, 20px) scale(0.8);
        opacity: 0.6;
    }

    75% {
        transform: translate(10px, -15px) scale(1.1);
        opacity: 0.9;
    }
}

/* Animated Lines */
.auth-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.auth-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.04), transparent);
}

.auth-line::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, rgba(108, 92, 231, 0.5), rgba(232, 67, 147, 0.4), transparent);
    animation: lineFlowDown 8s linear infinite;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
}

.auth-line-1 {
    left: 20%;
}

.auth-line-1::after {
    animation-delay: 0s;
    animation-duration: 7s;
}

.auth-line-2 {
    left: 50%;
}

.auth-line-2::after {
    animation-delay: 2.5s;
    animation-duration: 9s;
}

.auth-line-3 {
    left: 80%;
}

.auth-line-3::after {
    animation-delay: 5s;
    animation-duration: 6s;
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1020px;
    width: 100%;
    margin: auto;
}

/* Branding Side */
.auth-branding {
    flex: 1;
    max-width: 420px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 32px;
}

.auth-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.auth-branding-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.auth-branding-gradient {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-branding-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Branding Stats */
.auth-branding-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-branding-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    transition: var(--transition-normal);
}

.auth-branding-stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.auth-branding-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(232, 67, 147, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-size: 1rem;
    flex-shrink: 0;
}

.auth-branding-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-branding-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1px;
}

/* Benefits (Register page) */
.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.auth-benefit:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.auth-benefit-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.auth-benefit-icon-green {
    color: var(--accent-green);
}

.auth-benefit-icon-purple {
    color: var(--accent-purple);
}

.auth-benefit-icon-pink {
    color: var(--accent-pink);
}

.auth-benefit-icon-blue {
    color: var(--accent-blue);
}

/* Auth Card */
.auth-card {
    flex: 1;
    max-width: 440px;
    width: 100%;
    border-radius: 28px;
    background: rgba(15, 20, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--accent-purple),
            var(--accent-pink),
            var(--accent-green),
            var(--accent-purple));
    background-size: 300% 100%;
    animation: authGradientShift 6s ease-in-out infinite;
}

@keyframes authGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.auth-card-inner {
    padding: 40px 36px;
}

.auth-card-register .auth-card-inner {
    padding: 32px 36px;
}

/* Card Header */
.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.auth-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Error Message */
.auth-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.25);
    color: #ff6b6b;
    font-size: 0.88rem;
    font-weight: 400;
    animation: fadeInUp 0.3s ease;
    margin-bottom: 16px;
}

.auth-error i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-label i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Input Wrapper & Glow */
.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.auth-input:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.auth-input:focus {
    border-color: var(--accent-purple);
    background: rgba(108, 92, 231, 0.08);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.auth-input:focus ~ .auth-input-glow {
    opacity: 1;
    transform: scale(1.02);
}

.auth-input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.2), transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: all 0.4s ease;
    transform: scale(0.95);
}

/* Password Input */
.auth-input-password {
    padding-right: 48px;
}

.auth-password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    z-index: 2;
}

.auth-password-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Checkbox & Options */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
}

.auth-checkbox {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    z-index: -1;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
    line-height: 1.4;
}

.auth-checkbox-text {
    flex: 1;
}

.auth-checkbox-label:hover {
    color: var(--text-primary);
}

.auth-checkbox-custom {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.auth-checkbox-custom i {
    font-size: 0.6rem;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.auth-checkbox:checked+.auth-checkbox-custom {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.3);
}

.auth-checkbox:checked+.auth-checkbox-custom i {
    opacity: 1;
    transform: scale(1);
}

.auth-forgot-link {
    font-size: 0.85rem;
    color: var(--accent-pink-light);
    font-weight: 500;
    transition: var(--transition-fast);
}

.auth-forgot-link:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

.auth-terms-link {
    color: var(--accent-pink-light);
    font-weight: 500;
    transition: var(--transition-fast);
    margin-left: 3px;
}

.auth-terms-link:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

/* Cloudflare Turnstile Captcha */
.turnstile-wrapper {
    width: 100%;
    margin: 8px 0 4px;
    overflow: hidden;
    position: relative;
}

#turnstile-container {
    width: 100%;
}

#turnstile-container>div,
#turnstile-container iframe {
    width: 100% !important;
}

.turnstile-wrapper iframe {
    border-radius: 12px !important;
}

.auth-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.auth-submit:disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.auth-submit:disabled::before {
    display: none;
}

/* Submit Button */
.auth-submit {
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: white;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
    margin-top: 4px;
}

.auth-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.auth-submit:hover::before {
    left: 100%;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108, 92, 231, 0.4);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit-register {
    background: linear-gradient(135deg, var(--accent-green), #00d2a0);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
}

.auth-submit-register:hover {
    box-shadow: 0 6px 30px rgba(0, 184, 148, 0.4);
}

.auth-submit-register:hover {
    box-shadow: 0 6px 30px rgba(0, 184, 148, 0.4);
}

.auth-submit-loading {
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none;
}

.auth-submit i {
    font-size: 0.9rem;
}

/* Spinner */
.auth-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Buttons */
.auth-socials {
    display: flex;
    gap: 12px;
}

.auth-social-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.auth-social-btn i {
    font-size: 1rem;
}

/* Card Footer */
.auth-card-footer {
    text-align: center;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-link {
    color: var(--accent-pink-light);
    font-weight: 600;
    transition: var(--transition-fast);
}

.auth-link:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

/* Bottom Bar */
.auth-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1020px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: var(--transition-fast);
}

.auth-back-link:hover {
    color: var(--text-primary);
}

.auth-back-link i {
    font-size: 0.75rem;
}

.auth-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* =============================================
   AUTH RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
        gap: 32px;
        justify-content: center;
    }

    .auth-branding {
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    .auth-branding-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .auth-branding-desc {
        display: block;
        max-width: 480px;
        margin: 0 auto;
        font-size: 0.95rem;
    }

    .auth-branding-stats,
    .auth-benefits {
        display: none;
    }

    .auth-card {
        max-width: 480px;
    }

    .auth-bottom {
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 24px 16px;
    }

    .auth-branding-title {
        font-size: 1.8rem;
    }

    .auth-branding-desc {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 20px;
    }

    .auth-card-inner {
        padding: 32px 24px;
    }

    .auth-card-register .auth-card-inner {
        padding: 28px 24px;
    }

    .auth-card-title {
        font-size: 1.4rem;
    }

    .auth-field-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .auth-options {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .auth-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .auth-card-inner {
        padding: 28px 18px;
    }

    .auth-card-register .auth-card-inner {
        padding: 24px 18px;
    }

    .auth-input {
        padding: 12px 14px;
    }

    .auth-submit {
        padding: 13px 20px;
    }
}

/* Social Login */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.auth-social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.auth-social-btn i {
    font-size: 1.1rem;
}

.auth-social-btn.google i {
    color: #ffffff;
    /* Default if gradient fails */
}

/* Auth Divider Adjustment */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* ========== Legal Page (Terms & Privacy) ========== */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.legal-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-card);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.5), rgba(232, 67, 147, 0.3), transparent);
    border-radius: 0 0 4px 4px;
}

/* Header section */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.legal-label i {
    -webkit-text-fill-color: initial;
    color: #a29bfe;
    font-size: 0.85rem;
}

.legal-title {
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.legal-title .text-gradient {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 50%, #e84393 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.legal-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-meta-item i {
    font-size: 0.75rem;
    color: var(--accent-purple);
}

/* Body content */
.legal-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9rem;
    font-weight: 300;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-body h2 {
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 1.15rem;
    padding-left: 14px;
    border-left: 3px solid;
    border-image: var(--gradient-purple) 1;
}

.legal-body h3 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.legal-body h4 {
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.legal-body p,
.legal-body li {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 18px;
    padding-left: 20px;
}

.legal-body ul {
    list-style: none;
    padding-left: 0;
}

.legal-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.legal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-purple);
    opacity: 0.7;
}

.legal-body ol {
    padding-left: 24px;
}

.legal-body ol li {
    margin-bottom: 10px;
}

.legal-body a {
    color: #a29bfe;
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 400;
}

.legal-body a:hover {
    text-decoration: underline;
    color: var(--accent-pink-light);
}

.legal-body blockquote {
    border-left: 3px solid;
    border-image: var(--gradient-purple) 1;
    padding: 16px 20px;
    margin: 20px 0;
    margin-left: 0;
    font-style: italic;
    background: rgba(108, 92, 231, 0.04);
    border-radius: 0 12px 12px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-body strong,
.legal-body b {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-body em,
.legal-body i:not([class]) {
    color: var(--text-secondary);
    opacity: 0.9;
}

/* Legal page responsive */
@media (max-width: 1024px) {
    .legal-page {
        padding-top: 104px;
        padding-bottom: 64px;
    }

    .legal-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 96px;
        padding-bottom: 56px;
    }

    .legal-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .legal-title {
        font-size: 1.75rem;
    }

    .legal-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .legal-body h2 {
        font-size: 1.05rem;
        margin-top: 28px;
    }

    .legal-body h3 {
        font-size: 0.95rem;
    }

    .legal-body p,
    .legal-body li {
        font-size: 0.85rem;
    }

    .legal-meta {
        font-size: 0.78rem;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: 88px;
        padding-bottom: 48px;
    }

    .legal-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .legal-title {
    }

    .legal-label {
        letter-spacing: 1.5px;
    }

    .legal-body h2 {
        margin-top: 24px;
    }

    .legal-body h3 {
    }

    .legal-body p,
    .legal-body li {
        line-height: 1.7;
    }

    .legal-body blockquote {
        padding: 12px 14px;
    }

    .legal-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .legal-title {
    }

    .legal-body h2 {
    }

    .legal-body p,
    .legal-body li {
    }
}
