/* ==========================================================================
   Base Variables & Typography
   ========================================================================== */
:root {
    --bg-base: #030303;
    --bg-surface: #0a0a0a;
    --bg-glass: rgba(20, 20, 20, 0.6);
    --bg-glass-hover: rgba(30, 30, 30, 0.8);

    --text-primary: #FAFAFA;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --accent-glow: #00FF41;
    /* Electric Green */
    --accent-hover: #39FF14;
    /* Neon Green */

    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 255, 65, 0.3);

    --font-heading: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    text-transform: uppercase;
    font-style: italic;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.highlight {
    color: var(--accent-glow);
}

.highlight-gradient {
    background: linear-gradient(90deg, #00FF41 0%, #39FF14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Layout & Reusables
   ========================================================================== */
main {
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    margin-top: 1rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 100;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border-highlight);
    box-shadow: 0 4px 30px rgba(0, 255, 65, 0.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.nav-cta) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover:not(.nav-cta) {
    color: var(--accent-glow);
}

.nav-cta {
    background: transparent;
    border: 1px solid var(--accent-glow);
    color: var(--accent-glow) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem !important;
    transition: all var(--transition-fast);
    text-transform: uppercase;
}

.nav-cta:hover {
    background: var(--accent-glow);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(0, 255, 65, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    color: var(--accent-glow);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 0.2rem;
    text-align: left;
}

.btn strong {
    display: block;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
}

.btn-primary {
    background-color: var(--accent-glow);
    color: #000;
    border: 2px solid var(--accent-glow);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 65, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 65, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 65, 0);
    }
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-glow);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.hero-image {
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    background: #111;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-badge {
    position: absolute;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-highlight);
    padding: 0.8rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-1 {
    top: 20%;
    right: 10%;
    animation: float 5s ease-in-out infinite alternate;
}

.badge-2 {
    bottom: 25%;
    left: 5%;
    animation: float 7s ease-in-out infinite alternate-reverse;
}

.badge-icon {
    color: var(--accent-glow);
    font-weight: 900;
}

/* ==========================================================================
   Banner / Social Proof
   ========================================================================== */
.banner {
    background: #0a0a0a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.banner::before,
.banner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}

.banner::before {
    left: 0;
    background: linear-gradient(to right, #030303, transparent);
}

.banner::after {
    right: 0;
    background: linear-gradient(to left, #030303, transparent);
}

.marquee-wrapper {
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: max-content;
    animation: scroll 25s linear infinite;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.proof-divider {
    color: var(--text-muted);
    margin: 0 2rem;
    font-size: 1.5rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 8rem 5%;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.05);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #111;
    margin-bottom: 1.5rem;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.corner-accents {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(0, 255, 65, 0.1);
    z-index: 2;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    opacity: 0;
}

.feature-card:hover .corner-accents {
    opacity: 1;
}

.feature-content {
    padding: 0 1rem 1rem;
    position: relative;
    z-index: 3;
    flex: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-glow);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works {
    padding: 6rem 5% 10rem;
    background: #050505;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-glow) 0%, rgba(0, 255, 65, 0.1) 100%);
    z-index: 1;
}

.step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    background: var(--accent-glow);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.bottom-cta {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border-color);
}

.bottom-glow {
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
}

.bottom-cta .cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-cta h2 {
    margin-bottom: 1.5rem;
}

.bottom-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #030303;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 100ms;
}

.delay-2 {
    transition-delay: 200ms;
}

.delay-3 {
    transition-delay: 300ms;
}

.delay-4 {
    transition-delay: 400ms;
}

.delay-5 {
    transition-delay: 500ms;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: span 1;
    }

    .step {
        gap: 1.5rem;
    }

    .step-line {
        left: 1.5rem;
    }

    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}