/* ==============================
      VARIABLES & BASE
============================== */
:root {
    --lime:        #ccff00;
    --lime-soft:   #a3e635;
    --bg:          #0a0a0a;
    --surface:     #111111;
    --border:      rgba(255, 255, 255, 0.07);
    --text:        #f5f5f5;
    --muted:       #888888;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: rgba(204, 255, 0, 0.3); color: #fff; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 2px; }

/* ==============================
   GLASSMORPHISM
============================== */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==============================
   NEON GLOW
============================== */
.glow-lime {
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.25), 0 0 60px rgba(204, 255, 0, 0.08);
}

.text-glow {
    text-shadow: 0 0 40px rgba(204, 255, 0, 0.6), 0 0 80px rgba(204, 255, 0, 0.2);
}

/* ==============================
   NAVBAR
============================== */
#navbar {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    border-bottom-color: rgba(204, 255, 0, 0.1);
}

.nav-link {
    position: relative;
    color: #aaa;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--lime);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--lime); }
.nav-link:hover::after { width: 100%; }

.btn-cta {
    background: var(--lime);
    color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    border: 1px solid var(--lime);
}

.btn-cta:hover {
    background: transparent;
    color: var(--lime);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.35);
}

.btn-cta-outline {
    background: transparent;
    color: var(--lime);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 1.5px solid rgba(204, 255, 0, 0.5);
    transition: all 0.25s ease;
}

.btn-cta-outline:hover {
    border-color: var(--lime);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.25);
    background: rgba(204, 255, 0, 0.05);
}

/* ==============================
   HERO
============================== */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #ccff00, transparent 70%);
    top: -100px; left: -100px;
}

.hero-blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    bottom: -50px; right: 5%;
    animation-delay: -4s;
}

.hero-blob-3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #a3e635, transparent 70%);
    top: 30%; left: 40%;
    animation-delay: -8s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -40px) scale(1.05); }
    66%       { transform: translate(-20px, 30px) scale(0.95); }
}

/* Particles */
.particle {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: var(--lime);
    opacity: 0;
    animation: particleFade 6s ease-in-out infinite;
}

@keyframes particleFade {
    0%, 100% { opacity: 0; transform: translateY(0); }
    30%       { opacity: 0.6; }
    70%       { opacity: 0.3; }
    100%      { opacity: 0; transform: translateY(-60px); }
}

/* Grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
            linear-gradient(rgba(204, 255, 0, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(204, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--lime);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ==============================
   SCROLL REVEAL
============================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

.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; }

/* ==============================
   SECTION LABEL
============================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lime);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(204, 255, 0, 0.25);
    border-radius: 100px;
    background: rgba(204, 255, 0, 0.05);
}

/* ==============================
   PRODUCT CARDS
============================== */
.product-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover {
    border-color: rgba(204, 255, 0, 0.25);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(204, 255, 0, 0.08);
}

.product-card:hover::before { opacity: 1; }

.product-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(204, 255, 0, 0.1);
    border: 1px solid rgba(204, 255, 0, 0.2);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.35s ease;
}

.product-card:hover .product-icon {
    background: rgba(204, 255, 0, 0.18);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.25);
}

.product-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    background: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.product-featured {
    border-color: rgba(204, 255, 0, 0.2);
    background: rgba(204, 255, 0, 0.03);
}

/* ==============================
   TESTIMONIALS
============================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(204, 255, 0, 0.2);
    transform: translateY(-4px);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide { min-width: 100%; }

/* ==============================
   CONTACT FORM
============================== */
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    padding: 0.85rem 1.1rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input::placeholder { color: #555; }

.form-input:focus {
    border-color: rgba(204, 255, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.08);
}

.btn-submit {
    width: 100%;
    background: var(--lime);
    color: #0a0a0a;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-submit:hover {
    background: #d9ff1a;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
    transform: translateY(-2px);
}

/* ==============================
   STATS
============================== */
.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--lime) 0%, var(--lime-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* ==============================
   DIVIDER
============================== */
.neon-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204,255,0,0.3), transparent);
}

/* ==============================
   MOBILE MENU
============================== */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.open { max-height: 400px; }

/* ==============================
   LOGO FLOAT
============================== */
.logo-float { animation: logoFloat 4s ease-in-out infinite; }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* ==============================
   REDUCED MOTION
============================== */
@media (prefers-reduced-motion: reduce) {
    .hero-blob, .particle, .typing-cursor, .logo-float { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .carousel-track { transition: none; }
}
