/* =================================================
   SMARTWEBS INNOVATIONS — Main Stylesheet
   Palette: bg #050816 · card #0E1424 · accent #4F8CFF
   Gradient: #4F8CFF → #6C63FF → #00E5FF
   ================================================= */

:root {
    --bg: #050816;
    --bg-2: #080D22;
    --card: #0E1424;
    --card-2: #131b32;
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(79, 140, 255, 0.35);
    --text: #ffffff;
    --muted: #BFC7D5;
    --dim: rgba(191, 199, 213, 0.65);
    --accent: #4F8CFF;
    --accent-2: #6C63FF;
    --accent-3: #00E5FF;
    --grad: linear-gradient(135deg, #4F8CFF 0%, #6C63FF 45%, #00E5FF 100%);
    --grad-soft: linear-gradient(135deg, rgba(79,140,255,0.16), rgba(108,99,255,0.10) 45%, rgba(0,229,255,0.14));
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow: 0 30px 80px -30px rgba(79,140,255,0.35);
    --nav-h: 76px;
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: auto;
    background: var(--bg);
    color-scheme: dark;
    overflow-x: hidden;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    margin: 0;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    letter-spacing: -0.005em;
}

::selection { background: rgba(79,140,255,0.35); color: #fff; }

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

a { color: inherit; text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--accent-3); }

button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============ Floating WhatsApp ============ */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 14px 40px -8px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9995;
    transition: transform .35s cubic-bezier(0.34,1.56,0.64,1), box-shadow .35s ease;
    text-decoration: none;
}
.wa-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 20px 50px -10px rgba(37, 211, 102, 0.75), 0 6px 16px rgba(0,0,0,0.35);
    color: #fff;
}
.wa-float:active { transform: translateY(-1px) scale(1.02); }
.wa-float i { position: relative; z-index: 2; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }
.wa-pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.55;
    animation: waPulse 2.4s cubic-bezier(0.66, 0, 0, 1) infinite;
    z-index: 1;
}
.wa-pulse-2 { animation-delay: 1.2s; }
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    80%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}
.wa-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0E1424;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--border-glow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #0E1424;
    border-right: 1px solid var(--border-glow);
    border-top: 1px solid var(--border-glow);
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
@media (max-width: 780px) {
    .wa-float { width: 54px; height: 54px; font-size: 26px; right: 18px; bottom: 18px; }
    .wa-tooltip { display: none; }
}

/* ============ Noise overlay ============ */
.noise-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: 9999;
    opacity: 0.05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ============ Preloader ============ */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .8s ease, visibility .8s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { font-size: clamp(28px, 5vw, 48px); font-weight: 700; letter-spacing: 0.3em; margin-bottom: 32px; }
.preloader-bar { width: min(280px, 60vw); height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.preloader-bar-fill { width: 0%; height: 100%; background: var(--grad); border-radius: 2px; transition: width .3s ease; }
.preloader-caption { margin-top: 20px; font-size: 12px; color: var(--dim); letter-spacing: 0.2em; text-transform: uppercase; }

/* ============ Custom cursor ============ */
.cursor { position: fixed; width: 32px; height: 32px; border: 1.5px solid rgba(79,140,255,0.7); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: transform .18s ease, background .18s ease, width .18s ease, height .18s ease, border-color .18s ease; mix-blend-mode: difference; }
.cursor-dot { position: fixed; width: 5px; height: 5px; background: var(--accent-3); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor.grow { width: 60px; height: 60px; background: rgba(79,140,255,0.14); border-color: rgba(0,229,255,0.5); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ============ Scroll progress ============ */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0;
    background: var(--grad); z-index: 9997;
    box-shadow: 0 0 12px rgba(0,229,255,0.6);
}

/* ============ Background layers ============ */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-blobs { z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.blob-1 { width: 640px; height: 640px; background: #4F8CFF; top: -160px; left: -160px; animation: blobMove 22s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; background: #6C63FF; top: 40%; right: -160px; animation: blobMove 26s ease-in-out infinite reverse; }
.blob-3 { width: 480px; height: 480px; background: #00E5FF; bottom: -160px; left: 30%; opacity: 0.25; animation: blobMove 30s ease-in-out infinite; }
@keyframes blobMove {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(80px, -60px) scale(1.08); }
    66%      { transform: translate(-60px, 40px) scale(0.95); }
}

.bg-grid {
    background-image:
        linear-gradient(rgba(79,140,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,140,255,0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    z-index: 0;
}

.mouse-glow {
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(79,140,255,0.14), transparent 60%);
    z-index: 0;
    transition: background .15s ease;
}

/* ============ Navbar ============ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(5,8,22,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 20px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--grad);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    box-shadow: 0 8px 24px -8px rgba(79,140,255,0.6);
}
.brand-text { font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--muted); font-weight: 500; position: relative; }
.nav-links a::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px;
    background: var(--grad); transition: right .35s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: transparent; border: 0; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

/* ============ Buttons ============ */
.btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px;
    font-family: inherit; font-size: 15px; font-weight: 500;
    color: #fff;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    border-radius: 999px;
    cursor: pointer;
    transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
}
.btn i { transition: transform .3s ease; }
.btn:hover { transform: translateY(-2px); border-color: var(--border-glow); }
.btn:hover i { transform: translate(3px, 0); }
.btn-primary {
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 12px 40px -12px rgba(79,140,255,0.7);
    color: #fff;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #00E5FF, #6C63FF, #4F8CFF);
    opacity: 0; transition: opacity .35s ease; z-index: -1;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 18px 50px -14px rgba(0,229,255,0.6); }
.btn-ghost { background: rgba(255,255,255,0.03); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn-loader {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
    animation: spin .8s linear infinite; display: none;
}
.btn.loading .btn-label { opacity: 0.5; }
.btn.loading .btn-loader { display: inline-block; }
.btn.loading i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Magnetic wrapper — GSAP handles transform via JS */

/* ============ Sections & layout ============ */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 72px; }
.eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent-3); padding: 6px 14px; border: 1px solid var(--border-glow); border-radius: 999px; margin-bottom: 24px; background: rgba(79,140,255,0.08); }
.section-title { font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px; }
.section-title em { font-weight: 400; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* Glass panel */
.glass {
    background: rgba(14, 20, 36, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}
.glass::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: linear-gradient(135deg, rgba(79,140,255,0.35), rgba(255,255,255,0.02) 40%, rgba(0,229,255,0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; opacity: 0.7;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
    display: flex; align-items: center;
    overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero-particles { position: absolute; inset: 0; z-index: 0; }
.hero-orbit { position: absolute; top: 50%; right: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px dashed rgba(79,140,255,0.25); z-index: 0; animation: spin 30s linear infinite; }
.hero-orbit .orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.hero-orbit .orbit-dot:nth-child(1) { top: -4px; left: 50%; }
.hero-orbit .orbit-dot:nth-child(2) { bottom: 20%; right: -4px; background: var(--accent-2); box-shadow: 0 0 18px var(--accent-2); }
.hero-orbit .orbit-dot:nth-child(3) { top: 60%; left: -4px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }

.hero-inner { position: relative; z-index: 3; text-align: left; max-width: 960px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; margin-bottom: 32px;
    border: 1px solid var(--border-glow);
    background: rgba(79,140,255,0.08);
    border-radius: 999px;
    font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 12px var(--accent-3); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.75)} }

.hero-title {
    font-size: clamp(44px, 8.4vw, 108px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.98;
    margin: 0 0 32px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title em { font-weight: 400; }

.hero-sub {
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 20px);
    max-width: 620px;
    margin: 0 0 40px;
    line-height: 1.55;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-typing {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: var(--dim);
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: rgba(14, 20, 36, 0.7);
    border-radius: 10px;
    max-width: 100%;
}
.hero-typing-prompt { color: var(--accent-3); }
.hero-typing-caret { color: var(--accent-3); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--dim); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    z-index: 3;
}
.scroll-mouse { display: inline-block; width: 22px; height: 36px; border: 1.5px solid var(--dim); border-radius: 20px; position: relative; }
.scroll-mouse span { position: absolute; left: 50%; top: 8px; width: 3px; height: 6px; border-radius: 3px; background: var(--accent-3); transform: translateX(-50%); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0%,100%{opacity:1;transform:translate(-50%,0)} 50%{opacity:0;transform:translate(-50%,10px)} }

/* ============ MARQUEE ============ */
.marquee-section {
    padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: rgba(14,20,36,0.4);
    overflow: hidden; position: relative; z-index: 2;
}
.marquee { overflow: hidden; }
.marquee-track {
    display: inline-flex; gap: 40px; white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-size: 22px; font-weight: 500; color: var(--muted);
    letter-spacing: -0.005em;
}
.marquee-track span { display: inline-block; }
.marquee-track .marquee-dot { color: var(--accent); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.about-text > p { font-size: 17px; color: var(--muted); margin-bottom: 32px; line-height: 1.7; max-width: 560px; }
.about-pillars { display: grid; gap: 16px; }
.pillar { padding: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.pillar:hover { transform: translateY(-4px); border-color: var(--border-glow); box-shadow: var(--shadow); }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--accent-3); font-size: 18px; margin-bottom: 12px; border: 1px solid var(--border-glow); }
.pillar h4 { margin: 0 0 6px; font-size: 17px; }
.pillar p { margin: 0; color: var(--muted); font-size: 14.5px; }

.about-timeline { position: relative; padding-left: 32px; }
.about-timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-3)); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-3); box-shadow: 0 0 14px var(--accent-3); }
.timeline-year { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-3); letter-spacing: 0.1em; margin-bottom: 6px; }
.timeline-item h5 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============ STATS ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 40px 28px; text-align: center; border-radius: var(--radius); }
.stat-num { font-size: clamp(40px, 5vw, 64px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: 14px; letter-spacing: 0.02em; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card { padding: 28px; border-radius: var(--radius); position: relative; cursor: pointer; transition: transform .4s ease, box-shadow .4s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--accent-3); font-size: 22px; margin-bottom: 20px; border: 1px solid var(--border-glow); transition: transform .4s ease; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-title { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.service-desc { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.service-link { color: var(--accent-3); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: #fff; }
.card-shine { position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-20deg); transition: left .8s ease; pointer-events: none; }
.service-card:hover .card-shine { left: 140%; }

/* ============ PRODUCTS ============ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product-card { padding: 0; border-radius: var(--radius); position: relative; overflow: hidden; transition: transform .5s ease, box-shadow .5s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-visual { height: 220px; background: var(--pgrad, var(--grad)); display: flex; align-items: center; justify-content: center; font-size: 88px; color: rgba(255,255,255,0.95); position: relative; overflow: hidden; }
.product-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 60%); pointer-events: none; }
.product-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); z-index: 1; }
.product-card:hover .product-image { transform: scale(1.06); }
.product-card.has-image .product-visual { background: #0E1424; }
.product-card.has-image .product-visual::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,8,22,0) 55%, rgba(5,8,22,0.85) 100%); z-index: 2; pointer-events: none; }
.product-card.has-image .product-visual::after { z-index: 2; }
.product-tag { position: absolute; bottom: 14px; left: 14px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: rgba(5,8,22,0.7); backdrop-filter: blur(8px); border: 1px solid var(--border-glow); font-size: 11.5px; letter-spacing: 0.06em; color: #fff; font-family: 'JetBrains Mono', monospace; }
.product-visual-soon { background: linear-gradient(135deg, #1a2340, #0e1424); color: var(--accent-3); }
.product-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.14); filter: blur(60px); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform: translate(0,0)} 50%{transform: translate(20px,-20px)} }
.product-body { padding: 28px; }
.product-name { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.product-desc { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.product-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.product-features li { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.product-features li i { color: var(--accent-3); font-size: 10px; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-soon .product-visual { border-bottom: 1px dashed var(--border-glow); }
.soon-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(0,229,255,0.1); color: var(--accent-3); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--border-glow); }
.card-border-glow { position: absolute; inset: -1px; border-radius: var(--radius); background: var(--grad); opacity: 0; transition: opacity .5s ease; z-index: -1; filter: blur(12px); }
.product-card:hover .card-border-glow { opacity: 0.35; }

/* ============ WHY ============ */
.why-compare { border-radius: var(--radius); overflow: hidden; }
.why-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; padding: 18px 28px; border-bottom: 1px solid var(--border); font-size: 14.5px; gap: 20px; }
.why-row:last-child { border-bottom: 0; }
.why-head { background: rgba(255,255,255,0.02); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; color: var(--muted); }
.why-cap { font-weight: 500; }
.why-others { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.why-others i { color: #ff5c7a; }
.why-us { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.why-us i { color: var(--accent-3); background: rgba(0,229,255,0.12); border-radius: 50%; padding: 4px; }

/* ============ PROCESS ============ */
.process-timeline { position: relative; display: grid; gap: 32px; max-width: 900px; margin: 0 auto; padding-left: 60px; }
.process-line { position: absolute; left: 22px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-2), var(--accent-3)); border-radius: 2px; box-shadow: 0 0 14px rgba(0,229,255,0.4); }
.process-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: flex-start; }
.process-node { position: absolute; left: -60px; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-3); display: flex; align-items: center; justify-content: center; color: var(--accent-3); box-shadow: 0 0 22px rgba(0,229,255,0.35); font-size: 16px; z-index: 2; transition: transform .35s ease; }
.process-step:hover .process-node { transform: scale(1.12) rotate(-6deg); }
.process-body { padding: 20px 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: transform .35s ease, border-color .35s ease; }
.process-step:hover .process-body { transform: translateX(6px); border-color: var(--border-glow); }
.process-num { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent-3); letter-spacing: 0.14em; margin-bottom: 6px; }
.process-body h4 { margin: 0 0 6px; font-size: 18px; }
.process-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============ TECH GRID ============ */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.tech-item { padding: 28px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease; }
.tech-item i { font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; transition: transform .4s ease; }
.tech-item span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.tech-item:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--shadow); }
.tech-item:hover i { transform: rotate(10deg) scale(1.15); }

/* ============ TESTIMONIALS ============ */
.testimonial-swiper { padding: 20px 0 60px !important; overflow: visible; }
.testimonial-swiper .swiper-slide { height: auto; }
.testimonial-card { padding: 36px; border-radius: var(--radius); height: 100%; display: flex; flex-direction: column; gap: 20px; min-height: 260px; }
.quote-icon { font-size: 26px; color: var(--accent-3); opacity: 0.6; }
.testimonial-text { font-size: 18px; line-height: 1.55; color: #fff; margin: 0; flex: 1; font-weight: 400; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.author-name { font-weight: 600; font-size: 15px; }
.author-role { color: var(--muted); font-size: 13px; }
.swiper-pagination-bullet { background: var(--muted); opacity: 0.4; }
.swiper-pagination-bullet-active { background: var(--accent-3); opacity: 1; box-shadow: 0 0 10px var(--accent-3); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .35s ease; }
.faq-item:hover { border-color: var(--border-glow); }
.faq-item summary { list-style: none; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; font-size: 16px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(79,140,255,0.12); color: var(--accent-3); display: flex; align-items: center; justify-content: center; font-size: 12px; border: 1px solid var(--border-glow); transition: transform .4s ease, background .4s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 26px 22px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 720px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.contact-info { padding: 40px; border-radius: var(--radius); }
.contact-info h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.contact-info > p { color: var(--muted); font-size: 15px; margin: 0 0 30px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border-glow); color: var(--accent-3); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.contact-label { display: block; font-size: 12px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.contact-list a { color: #fff; font-size: 15px; font-weight: 500; }
.contact-list a:hover { color: var(--accent-3); }
.contact-wa { width: 100%; justify-content: center; }
.contact-wa i { color: #25D366; font-size: 18px; }

.contact-form { padding: 40px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: block; margin-bottom: 16px; }
.form-field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
    resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79,140,255,0.14);
    background: rgba(79,140,255,0.06);
}
.form-field select option { background: var(--card); color: #fff; }
.form-field.error input, .form-field.error select, .form-field.error textarea { border-color: #ff5c7a; box-shadow: 0 0 0 4px rgba(255,92,122,0.14); }
.form-field .err-msg { display: block; color: #ff5c7a; font-size: 12px; margin-top: 6px; letter-spacing: 0; text-transform: none; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { color: var(--dim); font-size: 12.5px; margin: 0; max-width: 300px; }
.form-success { text-align: center; padding: 40px 24px; }
.success-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 0 40px rgba(0,229,255,0.5); animation: popIn .5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes popIn { 0%{transform: scale(0);opacity:0} 100%{transform: scale(1);opacity:1} }
.form-success h4 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.form-success p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ FOOTER ============ */
.footer { position: relative; padding: 100px 0 40px; margin-top: 60px; border-top: 1px solid var(--border); overflow: hidden; }
.footer-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse at center, rgba(79,140,255,0.25), transparent 60%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
.footer-desc { color: var(--muted); font-size: 14.5px; margin: 20px 0; max-width: 300px; line-height: 1.6; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); transition: all .3s ease; }
.footer-socials a:hover { border-color: var(--border-glow); color: var(--accent-3); transform: translateY(-3px); }
.footer-title { font-size: 14px; margin: 0 0 20px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color .3s ease, transform .3s ease; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer-contact li i { color: var(--accent-3); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13px; }
.footer-admin-link { color: var(--dim); }
.footer-admin-link:hover { color: var(--accent-3); }

/* ============ Toast ============ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9990; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
    background: var(--card); border: 1px solid var(--border-glow);
    border-radius: 14px; padding: 14px 20px; color: #fff;
    display: flex; align-items: center; gap: 12px;
    min-width: 260px; box-shadow: var(--shadow);
    pointer-events: auto;
    transform: translateY(10px); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    font-size: 14.5px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success i { color: var(--accent-3); }
.toast.error { border-color: #ff5c7a; }
.toast.error i { color: #ff5c7a; }

/* ============ 404 ============ */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 20px; }
.notfound h1 { font-size: clamp(80px, 15vw, 180px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: 0; }
.notfound p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 48px; }
    .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; padding: 32px 24px; background: rgba(5,8,22,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); gap: 24px; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: transform .35s ease, opacity .35s ease, visibility .35s ease; pointer-events: none; }
    .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-toggle { display: flex; }
    .hero-orbit { display: none; }
    .marquee-track { font-size: 16px; gap: 24px; }
    .container { max-width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .why-row { grid-template-columns: 1fr; padding: 16px 20px; gap: 8px; }
    .why-head { display: none; }
    .why-others::before { content: "Others: "; color: var(--dim); }
    .why-us::before { content: "Smartwebs: "; color: var(--accent-3); font-weight: 600; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 28px 20px; }
    .hero { padding-top: calc(var(--nav-h) + 20px); }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .cursor, .cursor-dot { display: none; }
    body { cursor: auto; }
    .nav-cta { display: none; }
}
@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .contact-info, .contact-form { padding: 24px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .products-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
