/* ==================== GLOBAL THEME & ROOT VARIABLES ==================== */
:root {
    --bg-900: #030308;
    /* Or your intended color */
    --card: rgba(12, 12, 18, 0.68);
    --text: #f7f8fb;
    --muted: #9aa3b5;
    --accent-a: #7b5cff;
    --accent-b: #4ad6ff;
    --accent-c: #ff89c4;
    --grad: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    --glow-a: rgba(123, 92, 255, 0.28);
    --glow-b: rgba(74, 214, 255, 0.22);
    --radius-lg: 28px;
    --radius-md: 16px;
    --transition: cubic-bezier(.19, 1, .22, 1);
    --max-width: 1180px;
    --fw: "Inter", "Poppins", "Segoe UI", sans-serif;
    --glass-bg: rgba(12, 12, 16, 0.55);
    --glass-dark: rgba(10, 10, 14, 0.82);
    --glass-ultra: rgba(0, 0, 0, 0.88);
    --text-light: rgba(255, 255, 255, 0.88);
    --text-mid: rgba(255, 255, 255, 0.72);
    --text-dim: rgba(255, 255, 255, 0.55);
    --underline-height: 3px;
    --bg: var(--bg-900);
    --neon1: #7b5cff;
    --neon2: #4ad6ff;
}

/* ================= LOCAL FONTS ================= */

/* Manrope */
@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("fonts/Sora-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    scroll-behavior: smooth;
    font-family: "Manrope", "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* ✅ ENABLED: Essential for smooth scrolling */
}

body {
    margin: 0;
    height: 100%;
    color: var(--text);
    background-color: #000;
    background-image: linear-gradient(180deg, var(--bg-900), var(--bg-800));

    /* ✅ CHROME FONT FIXES */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* Prevents side-scroll jitter */
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

/* ==================== CUSTOM SCROLLBAR (CHROME FIX) ==================== */
/* Added this so Chrome looks as clean as Tor */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-900);
}

::-webkit-scrollbar-thumb {
    background: #1f1f2e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-a);
}

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-aurora {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background:
        radial-gradient(600px 420px at 10% 20%, rgba(123, 92, 255, 0.28), transparent 24%),
        radial-gradient(700px 520px at 88% 12%, rgba(74, 214, 255, 0.18), transparent 28%);
    filter: blur(44px);
    opacity: 0.7;
    mix-blend-mode: screen;

    /* GPU Acceleration Fix */
    transform: translateZ(0);
    will-change: transform;
    animation: auroraTranslate 24s ease-in-out infinite alternate;
}

@keyframes auroraTranslate {
    0% {
        transform: translate3d(-4%, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(6%, 2.5%, 0) scale(1.06);
    }

    100% {
        transform: translate3d(-3%, -1.6%, 0) scale(1.03);
    }
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .03;
    background-image: linear-gradient(transparent 0, rgba(255, 255, 255, 0.01) 1px);
    background-size: 1px 2px;
    pointer-events: none;
    transform: translateZ(0);
    /* ✅ Added for Chrome Performance */
}

.bg-breath {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(123, 92, 255, 0.06), rgba(74, 214, 255, 0.05), rgba(255, 137, 205, 0.03));
    filter: blur(36px);
    animation: breathe 8s ease-in-out infinite alternate;
    mix-blend-mode: overlay;
    transform: translateZ(0);
    /* ✅ Added for Chrome Performance */
}

@keyframes breathe {
    0% {
        transform: scale(1) translateY(0);
        opacity: .9;
    }

    100% {
        transform: scale(1.03) translateY(-8px);
        opacity: 1;
    }
}

/* ==================== LAYOUT ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-card,
.hero-card .blob {
    will-change: transform;
    backface-visibility: hidden;
}


/* ================= HEADER (VERCEL STYLE) ================= */
.header {
    position: sticky;
    top: 12px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 14px;
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 20px;
    border-radius: 14px;

    background: #000;
    border: 1px solid #111;

    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

/* ================= BRAND ================= */
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
}

.brand-sub {
    font-size: 11px;
    color: #888;
}

/* ================= DESKTOP NAV (VERCEL STYLE) ================= */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-desktop a,
.nav-desktop .dropdown-btn {
    background: none;
    border: none;

    color: #e5e5e5;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
    padding: 6px 4px;
    position: relative;

    transition: color .15s ease;
}

.nav-desktop a:hover,
.nav-desktop .dropdown-btn:hover {
    color: #ffffff;
}

/* remove underline gradient */
.nav-desktop a::after,
.nav-desktop .dropdown-btn::after {
    display: none;
}

/* CTA button (Vercel style = white) */
.cta-btn {
    padding: 8px 14px;
    border-radius: 8px;

    background: #fff;
    color: #000;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* ================= DESKTOP DROPDOWN (VERCEL STYLE) ================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);

    width: 240px;
    padding: 10px;

    background: #000;
    border: 1px solid #111;
    border-radius: 12px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, .8);

    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;

    border-radius: 8px;

    font-size: 13px;
    color: #fff;
    text-decoration: none;

    background: none;
}

.dropdown-menu a:hover {
    background: #111;
}

/* ================= MOBILE TOGGLE ================= */
.menu-toggle {
    display: none;
background: rgba(255, 255, 255, 0.04);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 22px;
    padding: 8px 12px;
}


/* ================= MOBILE NAV (VERCEL / AI SAAS STYLE) ================= */

.nav-mobile {
    display: none;
}
/* ===== MOBILE CLOSE (X) BUTTON – PROFESSIONAL STYLE ===== */
.mobile-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 36px;
  height: 36px;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;

  color: #ffffff;
  font-size: 18px;
  font-weight: 500;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10001;

  transition: background 0.15s ease, border 0.15s ease, transform 0.1s ease;
}

/* hover / tap effect */
.mobile-close-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.05);
}

@media (max-width: 768px) {

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Full screen clean black panel */
    .nav-mobile {
        position: fixed;
        inset: 0;
        z-index: 10000;

        background: #000;

        padding: 80px 24px 32px;
        display: none;
        flex-direction: column;
        gap: 18px;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-mobile.open {
        display: flex;
    }

    /* Main links */
    .mobile-link,
    .mobile-dropdown-btn {
        background: none;
        border: none;
        padding: 4px 0;

        font-size: 18px;
        font-weight: 500;
        color: #ffffff;

        text-align: left;
        cursor: pointer;
    }

    .mobile-link:hover,
    .mobile-dropdown-btn:hover {
        opacity: 0.7;
    }

    /* Dropdown */
    .mobile-dropdown {
        display: none;
        margin-top: 8px;
        padding-left: 12px;
    }

    .mobile-dropdown a {
        display: block;
        padding: 6px 0;
        font-size: 15px;
        color: #ccc;
        text-decoration: none;
    }

    .mobile-dropdown a:hover {
        color: #fff;
    }

    /* Divider line */
    .mobile-divider {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 22px 0;
    }

    /* Login */
    .mobile-btn-outline {
        background: none;
        border: none;
        padding: 4px 0;

        font-size: 16px;
        color: #ffffff;
        text-align: left;
        text-decoration: none;
    }

    .mobile-btn-outline:hover {
        opacity: 0.7;
    }

    /* Sign up (white button) */
    .mobile-btn-primary {
        margin-top: 6px;

        background: #ffffff;
        color: #000000;

        padding: 14px;
        border-radius: 10px;

        font-size: 16px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
    }
}

/* dropdown button layout */
.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* arrow icon */
.dropdown-icon {
    font-size: 14px;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* rotate arrow when open */
.mobile-dropdown.open+.mobile-dropdown,
.mobile-dropdown-btn.active .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* dropdown links look nested */
.mobile-dropdown {
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 12px;
    margin-left: 4px;
}


/* ==================== HERO SECTION ==================== */
.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.gradient-glow {
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(40% 30% at 15% 20%, rgba(64, 45, 148, 0.28), transparent 12%),
        radial-gradient(40% 30% at 85% 70%, rgba(12, 138, 168, 0.22), transparent 14%);
    filter: blur(36px);
    mix-blend-mode: screen;
    will-change: opacity;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

.vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.45));
}

#particles {
    z-index: -2;
}

.particle {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    transform: translate3d(0, 0, 0);
    animation: floaty 6s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes floaty {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-14px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.code-window {
    background: linear-gradient(180deg, rgb(6 7 10 / 42%), rgb(10 10 16 / 58%));
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-family: "Fira Code", monospace;
    color: #cfd9e6;
    min-height: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
    contain: layout;
}

.code-window pre {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    display: block;
    animation: showLines 0.22s step-end forwards;
}

/* ✅ CLS-FREE CURSOR */
.code-window pre::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 6px;
    height: 18px;
    background: rgba(255, 255, 255, .85);
    animation: cursorBlink .65s infinite;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes showLines {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.code-pre {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
    opacity: 0.98;
    letter-spacing: 0.25px;
}

.code-window .cursor {
    width: 6px;
    height: 20px;
    background: linear-gradient(180deg, #fff, #b6dbff);
    opacity: 0.9;
    position: absolute;
    right: 18px;
    bottom: 18px;
    border-radius: 3px;
    animation: blink 1.05s steps(2) infinite;
    mix-blend-mode: screen;
    will-change: opacity;
}

@keyframes blink {

    0%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero {
    min-height: 720px;
    padding: 160px 20px 120px;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .hero {
        min-height: 580px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-left {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .3px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
    transition: background .3s ease,
        border-color .3s ease,
        transform .35s ease;
}

.eyebrow:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.hero-title {
    opacity: 1 !important;
    transform: none !important;
    margin: 0;
    font-size: clamp(36px, 6.2vw, 78px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .28s var(--transition),
        box-shadow .28s,
        filter .28s;
}

.btn-strong {
    font-family: 'Manrope', 'Sora';
    background: var(--grad);
    color: #000;
    box-shadow: 0 20px 56px rgba(74, 214, 255, 0.12);
}

.btn-strong:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 28px 80px rgba(74, 214, 255, 0.16);
}

.btn-ghost {
    font-family: 'Manrope', 'Sora';
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 18px;
    color: var(--muted);
    align-items: center;
    min-height: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-num {
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

/* ================= HERO CARD (CLS FIXED) ================= */
.hero-card {
    position: relative;
    padding: 28px;

    /* CLS FIX (do NOT worry, your theme won't change) */
    min-height: 420px;
    height: 420px;
    /* This keeps layout stable from start */

    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 8px 30px rgba(123, 92, 255, 0.10);

    overflow: hidden;

    /* Prevent layout reflow (major CLS fix) */
    contain: layout paint size;
    will-change: transform;

}

@keyframes heroFloat {
    0% {
        transform: translate3d(0, 0px, 0);
    }

    50% {
        transform: translate3d(0, -8px, 0);
    }

    100% {
        transform: translate3d(0, 0px, 0);
    }
}

@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

.blob.purple {
    width: 320px;
    height: 320px;
    top: -110px;
    right: -50px;
    background: var(--accent-a);
    animation: blobFloatA 10s ease-in-out infinite alternate;
}

.blob.blue {
    width: 250px;
    height: 250px;
    bottom: -90px;
    left: 8%;
    background: var(--accent-b);
    opacity: 0.32;
    animation: blobFloatB 12s ease-in-out infinite alternate;
}

@keyframes blobFloatA {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(30px, -20px, 0);
    }
}

@keyframes blobFloatB {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-26px, 22px, 0);
    }
}

.client-logos {
    display: flex;
    gap: 26px;
    margin-top: 14px;
    align-items: center;
    filter: grayscale(100%) opacity(.55);
    transition: filter .25s ease;
    min-height: 28px;
    justify-content: flex-start;
}

.client-logos img {
    height: 28px;
    object-fit: contain;
}

.client-logos img:hover {
    filter: grayscale(0%) opacity(.9);
}

.client-logo {
    font-size: 20px;
    font-weight: 800;
    font-family: "Manrope", sans-serif;
    color: #bdbdbd;
    opacity: .65;
    letter-spacing: .5px;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 110px 16px;
    }

    .hero-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 90px 14px;
    }

    .eyebrow {
        font-size: 11px;
        padding: 7px 14px;
    }

    .hero-title {
        font-size: 24px !important;
        line-height: 1.2;
    }

    .hero-lead {
        font-size: 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 40px;
    }

    .hero-card {
        padding: 20px;
        min-height: 400px;
        margin-top: 15px;
    }

    .code-window {
        padding: 18px 16px;
    }

    .code-window pre {
        font-size: 12px !important;
        line-height: 1.45;
    }

    .blob.purple {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -40px;
    }

    .blob.blue {
        width: 180px;
        height: 180px;
        bottom: -60px;
        left: 6%;
    }
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: var(--grad);
    color: #000;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    z-index: 9999;
    transition: .3s ease;
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus {
    top: 20px;
    opacity: 1;
    pointer-events: auto;
}

/* Marquee */
.wtz-marquee {
    width: 100%;
    overflow: hidden;
    background: #07090f73;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.wtz-track {
    display: flex;
    gap: 90px;
    animation: scrollLeft 22s linear infinite;
    white-space: nowrap;
    will-change: transform;
    /* ✅ Added for Performance */
}

.wtz-track span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #6a5bff, #4ca3ff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
    transition: opacity .3s ease;
}

.wtz-track span:hover {
    opacity: 1;
}

.wtz-track span::after {
    content: "•";
    margin-left: 80px;
    background: linear-gradient(90deg, #6a5bff, #4ca3ff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scrollLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 600px) {
    .wtz-track {
        gap: 50px;
    }

    .wtz-track span::after {
        margin-left: 40px;
    }
}

/* ==================== BUTTONS & UTILS ==================== */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--neon1), var(--neon2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: #050505;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: .35s ease;
    box-shadow: 0 0 18px rgba(123, 92, 255, 0.7),
        0 0 28px rgba(74, 214, 255, 0.5),
        0 0 55px rgba(123, 92, 255, 0.3);
    z-index: 99999;
    animation: neonPulse 2.8s infinite ease-in-out;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 20px rgba(123, 92, 255, .6),
            0 0 40px rgba(74, 214, 255, .4);
    }

    50% {
        box-shadow: 0 0 40px rgba(123, 92, 255, 1),
            0 0 70px rgba(74, 214, 255, 1);
    }

    100% {
        box-shadow: 0 0 20px rgba(123, 92, 255, .6),
            0 0 40px rgba(74, 214, 255, .4);
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 35px rgba(123, 92, 255, 1),
        0 0 70px rgba(74, 214, 255, 1);
}

.whatsapp-btn {
    position: fixed;
    right: 28px;
    bottom: 104px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon1), var(--neon2));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(123, 92, 255, .6),
        0 0 40px rgba(74, 214, 255, .6);
    z-index: 99999;
    cursor: pointer;
    transition: .3s ease;
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.whatsapp-btn:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 0 40px rgba(123, 92, 255, 1),
        0 0 80px rgba(74, 214, 255, 1);
}

@media (max-width: 600px) {

    .back-to-top,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        right: 18px;
    }

    .whatsapp-btn img {
        width: 26px;
        height: 26px;
    }

    .whatsapp-btn {
        bottom: 88px;
    }
}

/* Tagline */
.tagline-rotator {
    background-color: #07090f73;
    width: 100%;
    padding: 34px 0;
    margin: 50px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(18px);
    font-size: 26px;
    font-weight: 800;
    opacity: 0;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity .7s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.tagline.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tag-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--grad);
    box-shadow: 0 0 14px rgba(123, 92, 255, .6);
    animation: pulseGlow 2.2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 6px rgba(123, 92, 255, .4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 16px rgba(123, 92, 255, .8);
        transform: scale(1.12);
    }

    100% {
        box-shadow: 0 0 6px rgba(123, 92, 255, .4);
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .tagline {
        font-size: 18px;
    }

    .tagline-rotator {
        padding: 20px 0;
    }
}

/* ==================== SECTIONS ==================== */
/* About */
.about-section {
    padding: 140px 20px;
    position: relative;
    overflow: hidden;
}

.about-blob {
    position: absolute;
    top: -80px;
    right: -160px;
    width: 540px;
    height: 540px;
    background: var(--grad);
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.28;
    animation: floatBlob 9s ease-in-out infinite alternate;
    z-index: -1;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

@keyframes floatBlob {
    0% {
        transform: translateY(0) scale(1);
        opacity: .22;
    }

    100% {
        transform: translateY(50px) scale(1.2);
        opacity: .36;
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.solution-card {
    background: rgba(18, 18, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 36px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    transition: 0.35s var(--transition);
    backdrop-filter: blur(10px);
}

.solution-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(123, 92, 255, 0.45);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(123, 92, 255, 0.25);
}

.solution-card::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: var(--grad);
    filter: blur(80px);
    opacity: 0.28;
}

.solution-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
}

.solution-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.process-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 60px;
}

.phase-tag {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Services */
.services-section {
    padding: 140px 20px;
    position: relative;
}

.services-glow {
    position: absolute;
    left: -180px;
    top: 120px;
    width: 520px;
    height: 520px;
    background: var(--grad);
    filter: blur(160px);
    border-radius: 50%;
    opacity: 0.25;
    animation: servicesGlow 8s infinite ease-in-out alternate;
    z-index: -1;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

@keyframes servicesGlow {
    0% {
        transform: translateY(0);
        opacity: .22;
    }

    100% {
        transform: translateY(60px);
        opacity: .36;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    position: relative;
    background: rgba(15, 15, 25, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px;
    border-radius: 22px;
    transition: 0.35s var(--transition);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(123, 92, 255, 0.45);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(123, 92, 255, 0.22);
}

.icon-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--grad);
    opacity: 0.18;
    bottom: -80px;
    right: -60px;
    filter: blur(70px);
    animation: cardGlow 5s infinite alternate ease-in-out;
}

@keyframes cardGlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.service-meta {
    color: cornflowerblue;
    font-size: 14px;
    margin-top: 10px;
}

/* Pricing */
.pricing-section {
    padding: 130px 20px;
    position: relative;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.neon-title {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 42px;
    font-weight: 800;
}

.sub-text {
    color: var(--muted);
    font-size: 17px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.pricing-card {
    background: rgba(12, 12, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 36px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--transition),
        box-shadow .35s var(--transition);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(123, 92, 255, 0.28);
}

.pricing-card.featured {
    border-color: rgba(123, 92, 255, 0.4);
    background: linear-gradient(160deg, rgba(123, 92, 255, 0.25), rgba(12, 12, 20, 0.72));
    box-shadow: 0 32px 80px rgba(123, 92, 255, 0.35);
}

.card-header .plan-tag {
    font-size: 14px;
    padding: 5px 14px;
    background: var(--grad);
    border-radius: 999px;
    color: #040405;
    font-weight: 700;
}

.card-header h3 {
    margin: 12px 0 0;
    font-size: 28px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin-top: 10px;
}

.price span {
    font-size: 16px;
    color: var(--muted);
    margin-left: 6px;
}

.plan-desc {
    color: var(--muted);
    font-size: 15px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    padding-left: 26px;
    position: relative;
}

.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--grad);
}

.full-btn {
    margin-top: auto;
    width: 100%;
    margin-top: 30px;
}

/* Testimonials */
.testimonials {
    padding: 130px 20px;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: rgba(12, 12, 20, 0.7);
    padding: 36px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform .35s var(--transition),
        box-shadow .35s var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(123, 92, 255, 0.25);
}

.testimonial-card::before {
    content: "“";
    font-size: 64px;
    position: absolute;
    top: 4px;
    left: 18px;
    color: rgba(255, 255, 255, 0.06);
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #040405;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(123, 92, 255, 0.28);
}

.test-author strong {
    font-size: 17px;
}

.test-author small {
    color: var(--muted);
    font-size: 12px;
}

/* FAQ */
.faq {
    padding: 130px 20px;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

details {
    background: rgba(12, 12, 20, 0.75);
    padding: 22px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color .28s var(--transition),
        transform .28s var(--transition);
}

details summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
}

details summary::after {
    content: "+";
    float: right;
    transition: transform .2s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details[open] {
    border-color: rgba(123, 92, 255, 0.45);
    transform: translateY(-4px);
}

details p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 10px;
}

/* Contact */
.contact-section {
    padding: 150px 20px;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.form-blob {
    position: absolute;
    width: 460px;
    height: 460px;
    right: -160px;
    top: -120px;
    background: var(--grad);
    filter: blur(140px);
    opacity: 0.3;
    animation: blobMove 6s infinite ease-in-out alternate;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

@keyframes blobMove {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(40px) scale(1.15);
    }
}

.cta-box {
    padding: 48px;
    border-radius: 24px;
    background: rgba(12, 12, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    animation: ctaFloat 6s infinite ease-in-out alternate;
}

@keyframes ctaFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-18px);
    }
}

.cta-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.cta-desc {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 550px;
}

.cta-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 700px) {
    .contact-section {
        padding: 100px 16px;
    }

    .cta-box,
    .neon-form {
        padding: 28px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 30px;
    }

    .cta-desc {
        font-size: 15px;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .form-blob {
        width: 260px;
        height: 260px;
        right: -100px;
        top: -80px;
        filter: blur(100px);
    }
}

@media (max-width: 430px) {
    .cta-title {
        font-size: 26px;
    }

    .cta-desc {
        font-size: 14px;
    }

    .cta-box,
    .neon-form {
        padding: 22px;
    }

    .form-blob {
        width: 200px;
        height: 200px;
        right: -80px;
        top: -60px;
        filter: blur(90px);
    }
}

/* Neon Form */
.neon-form {
    padding: 48px;
    border-radius: 26px;
    background: rgba(12, 12, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.neon-form::after {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    background: var(--grad);
    filter: blur(140px);
    opacity: 0.28;
    animation: breathGlow 5s infinite alternate ease-in-out;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

@keyframes breathGlow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }

    100% {
        opacity: 0.36;
        transform: scale(1.18);
    }
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.input-field {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: var(--text);
    font-size: 15px;
    transition: 0.3s ease;
    position: relative;
    z-index: 2;
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.input-field:focus {
    border-color: rgba(123, 92, 255, 0.6);
    box-shadow: 0 0 22px rgba(123, 92, 255, 0.3);
    outline: none;
}

.floating-label {
    position: absolute;
    top: 16px;
    left: 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 1;
}

.input-field:focus+.floating-label,
.input-field:not(:placeholder-shown)+.floating-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: #08080e;
    padding: 0 6px;
    color: var(--accent-b);
}

.neon-submit:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 30px rgba(74, 214, 255, 0.6);
}

/* Success Popup */
.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.success-box {
    background: rgba(12, 12, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 360px;
    animation: popupShow 0.35s ease;
}

@keyframes popupShow {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-box h3 {
    margin: 0;
    font-size: 24px;
    background: var(--grad);
    background-clip: text;
    color: transparent;
}

.success-box p {
    color: var(--muted);
    margin: 14px 0 20px;
}

/* ==================== FOOTER ==================== */
.wtz-footer {
    position: relative;
    padding: 140px 8% 120px;
    background: #000000b0;
    color: #fff;
    overflow: hidden;
}

.wtz-grid {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px);
    opacity: 0.04;
    pointer-events: none;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

.wtz-circles .circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(120, 150, 255, 0.5);
    animation: float 9s infinite;
}

.c1 {
    width: 110px;
    height: 110px;
    top: 8%;
    left: -40px;
}

.c2 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 50px;
    animation-duration: 12s;
}

.c3 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: 40%;
    animation-duration: 14s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
        opacity: .7;
    }

    50% {
        transform: translate(20px, -30px);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: .7;
    }
}

#wtzParticles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wtz-footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px;
}

.wtz-footer-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a67dff, #4cb2ff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.glitch::before {
    color: #ff00ff;
    transform: translate(2px, -2px);
    opacity: .3;
}

.glitch::after {
    color: #00e0ff;
    transform: translate(-2px, 2px);
    opacity: .3;
}

@keyframes glitch {
    0% {
        clip-path: inset(0 0 80% 0);
    }

    20% {
        clip-path: inset(10% 0 20% 0);
    }

    40% {
        clip-path: inset(40% 0 10% 0);
    }

    60% {
        clip-path: inset(80% 0 0 0);
    }

    80% {
        clip-path: inset(30% 0 70% 0);
    }

    100% {
        clip-path: inset(0 0 80% 0);
    }
}

.glitch:hover::before,
.glitch:hover::after {
    animation: glitch 0.6s infinite;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8d7aff, #54d0ff);
    transition: width .3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

.glow:hover {
    filter: drop-shadow(0 0 8px rgba(140, 170, 255, 0.6));
}

.wtz-footer-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: sweep 6s infinite ease-in-out;
}

@keyframes sweep {
    0% {
        left: -120%;
    }

    50% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: .8s ease;
}

[data-reveal].reveal-active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 700px) {
    .wtz-footer-title {
        font-size: 3rem;
    }
}

.wtz-right {
    display: flex;
    flex-direction: row;
    gap: 120px;
}

.wtz-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wtz-col h3 {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.wtz-col a {
    color: #a9c4ff;
    font-size: 1rem;
    line-height: 1.6;
    transition: .3s ease;
}

.wtz-col a:hover {
    color: #d0e0ff;
    transform: translateX(5px);
    filter: drop-shadow(0 0 6px rgba(160, 170, 255, 0.4));
}

@media (max-width: 700px) {
    .wtz-right {
        gap: 50px;
    }
}

@media (max-width: 550px) {
    .wtz-right {
        flex-direction: column;
        gap: 40px;
    }
}

/* ==================== NEW MODERN TECH GRID ==================== */
.tech-grid {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(123, 92, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(123, 92, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
    pointer-events: none;
    animation: gridFloat 60s linear infinite;
    transform: translateZ(0);
    /* ✅ Added for Performance */
}

@keyframes gridFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* ==================== SCROLL REVEAL ANIMATION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transform: none;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CUSTOM NEON CURSOR ==================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 0 10px var(--accent-a);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s,
        background-color 0.2s, border-color 0.2s;
    will-change: transform, top, left;
    transform: translate3d(-50%, -50%, 0);
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(123, 92, 255, 0.1);
    border-color: var(--accent-b);
    box-shadow: 0 0 30px var(--glow-a);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* ✅ Pause heavy animations on low-end devices */
@media (prefers-reduced-motion: reduce) {

    .hero-card,
    .tag-icon,
    .services-glow,
    .about-blob,
    .cta-box,
    .neon-form::after,
    .tech-grid {
        animation: none !important;
        transform: none !important;
    }
}

/* ✅ Backdrop-filter fallback for unsupported browsers */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {

    .header-inner,
    .nav-links,
    .solution-card,
    .service-card,
    .neon-form {
        background: rgba(10, 10, 14, 0.92) !important;
    }
}

/* ✅ PERFORMANCE BOOT — STOP HEAVY ANIMATIONS UNTIL PAGE LOAD */
.bg-aurora,
.bg-breath,
.about-blob,
.services-glow,
.tech-grid,
.cta-box {
    animation: none !important;
}

body.loaded .bg-aurora {
    animation: auroraTranslate 24s ease-in-out infinite alternate;
}

body.loaded .bg-breath {
    animation: breathe 8s ease-in-out infinite alternate;
}

body.loaded .about-blob {
    animation: floatBlob 9s ease-in-out infinite alternate;
}

body.loaded .services-glow {
    animation: servicesGlow 8s infinite ease-in-out alternate;
}

body.loaded .cta-box {
    animation: ctaFloat 6s infinite ease-in-out alternate;
}

body.loaded .tech-grid {
    animation: gridFloat 60s linear infinite;
}

/* ✅ CURSOR FIX */
.cursor-dot,
.cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
}

/* ✅ MOBILE NAV FIX */
.header.nav-open .nav-links {
    display: flex !important;
}

/* ✅ TILT SAFETY */
.hero-card,
.service-card,
.pricing-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ✅ DISABLE TILT ON TOUCH */
@media (pointer: coarse) {

    .hero-card,
    .service-card,
    .pricing-card {
        transform: none !important;
    }
}

/* ✅ ENSURE MOBILE NAV ALWAYS OPENS */
.header.nav-open .nav-links {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== FINAL CLS FIX — HERO STATS ===== */

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 18px;
    color: var(--muted);

    /* CLS FIX */
    font-weight: 700;
    min-height: 1.6em;
    /* reserves bold text height */
    line-height: 1.6;
    font-size-adjust: 0.52;
}

/* ================= FINAL CLS HARD LOCK ================= */

/* Lock hero-card before fonts & JS */
.hero-card {
    contain: layout paint size;
    content-visibility: auto;
    min-height: 420px;
    /* reserve space */
    contain: layout paint size;
    transform: translateZ(0);
}

/* Lock hero typography */
.hero-title,
.hero-lead {
    font-feature-settings: "kern" off;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {

    .cta-box,
    .neon-form {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .form-blob {
        right: -80px;
        top: -60px;
        filter: blur(90px);
    }
}






/* --- Studio-Level Portfolio Button --- */
.portfolio-actions {
  display: flex;
  justify-content: center;
  margin-top: 5rem; /* Slightly more breathing room */
}

.studio-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: #050505; /* Deep, premium black */
  color: #a3a3a3; /* Muted professional text */
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08); /* Ultra-subtle border */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother, Apple-like easing */
}

/* The Shimmer Effect */
.studio-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.15), transparent);
  transition: transform 0.6s ease;
}

/* Hover States */
.studio-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.1); /* Soft indigo glow */
  transform: translateY(-2px);
}

.studio-btn:hover::before {
  transform: translateX(200%); /* Slides the shimmer across */
}

.btn-icon {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.studio-btn:hover .btn-icon {
  transform: translateX(4px); /* Pushes the arrow out */
  color: #22d3ee; /* Neon cyan pop on the arrow only */
}



  /* --- Portfolio Showcase Section --- */

  /* Hide the extra projects by default */
.hidden-project {
  display: none;
}

/* Center the button */
.load-more-container {
  text-align: center;
  margin-top: 50px;
}

/* Base button styling - feel free to tweak colors to match Webtizo exactly */

.btn-load-more {
  background: none;
  border: none;
  color: #888;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.btn-load-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #333;
  transition: background-color 0.3s ease;
}

.btn-load-more:hover {
  color: #fff;
}

.btn-load-more:hover::after {
  background-color: #fff;
}


.portfolio-section {
  padding: 5rem 0; /* Adjust to match the spacing between your existing sections */
  position: relative;
  z-index: 10;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* Switches to 2 columns on tablets, 3 columns on desktops */
@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- The Portfolio Cards --- */
.portfolio-card {
  background: rgba(15, 15, 20, 0.4); /* Matches your dark pricing card BG */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.portfolio-card:hover {
  border-color: rgba(99, 102, 241, 0.4); /* The purple/indigo border glow */
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
  transform: translateY(-5px); /* Gentle lift on hover */
}

.card-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

/* --- Image Box --- */
.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0c10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.portfolio-card:hover .card-image-box img {
  transform: scale(1.05); /* Smooth zoom effect */
  opacity: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Card Text Area --- */
.card-body {
  padding: 2rem;
}

/* This tag matches the style of your "Launch" and "Scale" pricing pills */
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #818cf8; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.card-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s ease;
}

.portfolio-card:hover .card-body h3 {
  color: #22d3ee; /* Turns to your signature neon cyan on hover */
}

.card-body p {
  font-size: 0.95rem;
  color: #a3a3a3;
  line-height: 1.5;
  margin: 0;
}