/* 
  Web Fabrika - Premium Agency Styles
  Color Palette:
  - Background primary: #000000
  - Background secondary: #000a1a
  - Accent: #0066ff
  - Text primary: #ffffff
  - Text secondary: #8a8a8a
  - Card background: rgba(255,255,255,0.04)
  - Border: rgba(255,255,255,0.08)
*/


:root {
    --bg-primary: #000000;
    --bg-secondary: #000a1a;
    --accent: #0066ff;
    --accent-hover: #0052cc;
    --text-primary: #ffffff;
    --text-secondary: #8a8a8a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.02);
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

/* --- Noise Overlay --- */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* --- Digital Serenity Ambient Effects --- */
.ds-grid-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ds-line {
    stroke: rgba(148, 163, 184, 0.15);
    stroke-width: 0.5;
    opacity: 0;
    stroke-dasharray: 5 5;
    stroke-dashoffset: 1000;
    animation: dsGridDraw 2s ease-out forwards;
}

.ds-dot {
    fill: rgba(203, 213, 225, 0.6);
    opacity: 0;
    animation: dsPulseGlow 3s ease-in-out infinite;
}

@keyframes dsGridDraw {
    0% { stroke-dashoffset: 1000; opacity: 0; }
    50% { opacity: 0.2; }
    100% { stroke-dashoffset: 0; opacity: 0.1; }
}

@keyframes dsPulseGlow {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.1); }
}

/* Mouse gradient follower */
#dsMouseGlow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.04), rgba(100, 116, 139, 0.03), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    filter: blur(40px);
    transition: left 80ms linear, top 80ms linear, opacity 0.3s ease-out;
    will-change: left, top;
}

/* Corner elements */
.ds-corner {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(203, 213, 225, 0.12);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: dsCornerIn 1s ease-out forwards;
    animation-delay: 3s;
}
.ds-corner--tl { top: 24px; left: 24px; }
.ds-corner--tr { top: 24px; right: 24px; }
.ds-corner--bl { bottom: 24px; left: 24px; }
.ds-corner--br { bottom: 24px; right: 24px; }
.ds-corner-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(203, 213, 225, 0.3);
    border-radius: 50%;
}
.ds-corner--tl .ds-corner-dot { top: -1px; left: -1px; }
.ds-corner--tr .ds-corner-dot { top: -1px; right: -1px; }
.ds-corner--bl .ds-corner-dot { bottom: -1px; left: -1px; }
.ds-corner--br .ds-corner-dot { bottom: -1px; right: -1px; }

@keyframes dsCornerIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Floating particles */
.ds-float {
    position: fixed;
    width: 2px;
    height: 2px;
    background: rgba(203, 213, 225, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: dsFloat 4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes dsFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.15; }
    25% { transform: translateY(-10px) translateX(5px); opacity: 0.5; }
    50% { transform: translateY(-5px) translateX(-3px); opacity: 0.3; }
    75% { transform: translateY(-15px) translateX(7px); opacity: 0.6; }
}

/* Click ripple */
.ds-ripple {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(203, 213, 225, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    animation: dsPulseGlow 1s ease-out forwards;
}

@media (max-width: 768px) {
    .ds-corner { display: none; }
    #dsMouseGlow { display: none; }
}

a, button, .btn, .burger, .faq-question {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent);
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: rgba(6, 6, 8, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, border-color 0.4s ease;
}

header.scrolled {
    background: rgba(6, 6, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.22s ease;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.22s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-contact {
    font-size: 13.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.22s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-contact:hover {
    color: #ffffff;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
    white-space: nowrap;
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
}

/* Mobile Menu Toggle */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .nav-links, .nav-right {
        display: none;
    }
    .burger {
        display: flex;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 32px;
    font-weight: 700;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 0;
    position: relative;
    overflow: hidden;
    background: #050505;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 0%, transparent 100%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50% { transform: translate(-45%, -55%) scale(1.1) rotate(5deg); }
    100% { transform: translate(-55%, -45%) scale(1) rotate(-5deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* --- Hero Content (centered) --- */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* --- Hero Badge --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 36px;
    letter-spacing: 0.01em;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0066ff;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
    animation: heroBadgePulse 2s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 102, 255, 0.8); }
    50% { opacity: 0.5; box-shadow: 0 0 14px rgba(0, 102, 255, 0.4); }
}

/* --- Hero Headline --- */
.hero h1 {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: clamp(56px, 10vw, 130px);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 36px;
    letter-spacing: -0.03em;
}

.hero-line-1 {
    color: #ffffff;
    display: block;
}

.hero-line-2 {
    display: block;
    color: #0066ff;
    font-style: italic;
    min-height: 1em;
}

.hero-line-3 {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.78em;
    letter-spacing: -0.02em;
}

/* --- Hero Paragraph --- */
.hero p {
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.65;
}

/* --- Hero Buttons --- */
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* --- Hero Trust line --- */
.hero-trust {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.02em;
    line-height: 1.5 !important;
}

/* --- Hero Mockup Showcase --- */
.hero-mockup-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-mockup-frame {
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow:
        0 -1px 60px rgba(0, 102, 255, 0.3),
        0 0 0 1px rgba(0, 102, 255, 0.15),
        0 40px 120px rgba(0, 0, 0, 0.6);
}

.hero-mockup-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
}

.hero-mockup-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, #050505 100%);
    pointer-events: none;
    border-radius: 0 0 12px 12px;
}

/* --- Hero Floating Pills --- */
.hero-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}

.hero-pill-1 {
    top: -18px;
    left: -20px;
    animation: heroFloat 3s ease-in-out infinite alternate;
    animation-delay: 0s;
}

.hero-pill-2 {
    top: -18px;
    right: -20px;
    animation: heroFloat 3s ease-in-out infinite alternate;
    animation-delay: 1s;
}

.hero-pill-3 {
    bottom: 200px;
    left: -20px;
    animation: heroFloat 3s ease-in-out infinite alternate;
    animation-delay: 2s;
}

@keyframes heroFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
    .hero {
        padding: 130px 0 0;
    }
    .hero-content {
        padding-bottom: 60px;
    }
    .hero-pill {
        display: none;
    }
    .hero h1 {
        font-size: clamp(48px, 12vw, 80px);
    }
    .hero-mockup-wrap {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: clamp(42px, 13vw, 64px);
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* --- Orbiting Technologies --- */
.tech-orbit-section {
    padding: 120px 0;
    overflow: hidden;
}

.orbit-stage {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 60px auto 0;
}

.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-path--inner {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.08), inset 0 0 40px rgba(6, 182, 212, 0.05);
}
.orbit-path--outer {
    width: 360px;
    height: 360px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.08), inset 0 0 40px rgba(147, 51, 234, 0.05);
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #374151, #111827);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.orbit-center-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: orbitPulse 4s ease-in-out infinite;
}
.orbit-center-glow--cyan {
    background: rgba(6, 182, 212, 0.25);
    filter: blur(20px);
}
.orbit-center-glow--purple {
    background: rgba(147, 51, 234, 0.18);
    filter: blur(30px);
    animation-delay: 1s;
}
@keyframes orbitPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    will-change: transform;
    z-index: 10;
    cursor: pointer;
}
.orbit-icon svg {
    width: 100%;
    height: 100%;
}
.orbit-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(4px);
    z-index: -1;
    transition: box-shadow 0.3s, transform 0.3s;
}
.orbit-icon:hover::before {
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.4), 0 0 48px rgba(6, 182, 212, 0.15);
    transform: scale(1.2);
}
.orbit-icon:hover {
    z-index: 20;
}
.orbit-icon::after {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(17, 24, 39, 0.95);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.orbit-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 520px) {
    .orbit-stage {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }
    .orbit-path--inner { width: 140px; height: 140px; }
    .orbit-path--outer { width: 260px; height: 260px; }
    .orbit-icon { width: 34px; height: 34px; }
    .orbit-center { width: 60px; height: 60px; }
    .orbit-center svg { width: 28px; height: 28px; }
}

/* --- Shiny Button System --- */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}
@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.btn {
    --shiny-bg: #000000;
    --shiny-bg-subtle: #1a1818;
    --shiny-fg: #ffffff;
    --shiny-highlight: #0066ff;
    --shiny-highlight-subtle: #4d94ff;
    --shiny-duration: 3s;
    --shiny-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;
    padding: 18px 36px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 360px;
    color: var(--shiny-fg);
    background:
        linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
        conic-gradient(
            from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--shiny-highlight) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--shiny-highlight) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-bg-subtle);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--shiny-transition);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
    animation: gradient-angle var(--shiny-duration) linear infinite,
               gradient-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

/* Dots overlay */
.btn::before {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    z-index: -1;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: radial-gradient(circle at 2px 2px, white calc(0.5px), transparent 0) padding-box;
    background-size: 4px 4px;
    background-repeat: space;
    mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
    border-radius: inherit;
    opacity: 0.4;
    animation: gradient-angle var(--shiny-duration) linear infinite,
               gradient-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

/* Inner shimmer */
.btn::after {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    z-index: -1;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(-50deg, transparent, var(--shiny-highlight), transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
    animation: shimmer var(--shiny-duration) linear infinite,
               shimmer calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

.btn:active {
    translate: 0 1px;
}

/* Keep text above pseudo-elements */
.btn {
    z-index: 0;
}

.btn:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-highlight-subtle);
}

.btn:is(:hover, :focus-visible),
.btn:is(:hover, :focus-visible)::before,
.btn:is(:hover, :focus-visible)::after {
    animation-play-state: running;
}

/* Primary - blue accent */
.btn-primary {
    --shiny-highlight: #0066ff;
    --shiny-highlight-subtle: #4d94ff;
}

/* Secondary - cyan/teal accent */
.btn-secondary {
    --shiny-highlight: #06b6d4;
    --shiny-highlight-subtle: #22d3ee;
    --shiny-bg: #0a0a0a;
    --shiny-bg-subtle: #1f1f1f;
}

@keyframes gradient-angle {
    to { --gradient-angle: 360deg; }
}
@keyframes shimmer {
    to { rotate: 360deg; }
}


/* --- Stats Section --- */
.stats {
    padding: 100px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 102, 255, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.stat-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: white;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        gap: 20px;
    }
    .stat-item {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item {
        padding: 30px;
    }
}

/* --- Services Section --- */
.services {
    padding: 140px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 64px);
    max-width: 800px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.price-card.popular {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.03);
}

.badge {
    position: absolute;
    top: 25px;
    right: 30px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
}

.price-card .price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-card p {
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-size: 15px;
}

.price-card ul {
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-card ul li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}

.price-card .card-link {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.price-card .card-link span {
    transition: transform 0.3s ease;
}

.price-card:hover .card-link {
    color: var(--accent);
}

.price-card:hover .card-link span {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Why Us --- */
.why-us {
    padding: 140px 0;
}

/* --- Skew Cards Grid --- */
.skew-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 30px;
}

.skew-card {
    position: relative;
    width: 320px;
    height: auto;
    min-height: 340px;
    transition: all 0.5s;
}

/* Gradient skewed panels */
.skew-panel {
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(315deg, var(--grad-from), var(--grad-to));
    transform: skewX(15deg);
    transition: all 0.5s;
}
.skew-panel--blur {
    filter: blur(30px);
}
.skew-card:hover .skew-panel {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

/* Floating blobs on hover */
.skew-blobs {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 10;
}
.skew-blob {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 12px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s;
    animation: skewBlob 2s ease-in-out infinite;
}
.skew-blob--tl {
    top: 0;
    left: 0;
}
.skew-blob--br {
    bottom: 0;
    right: 0;
    animation-delay: -1s;
}
.skew-card:hover .skew-blob--tl {
    top: -50px;
    left: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}
.skew-card:hover .skew-blob--br {
    bottom: -50px;
    right: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

@keyframes skewBlob {
    0%, 100% { transform: translateY(10px); }
    50% { transform: translateY(-10px); }
}

/* Card content */
.skew-content {
    position: relative;
    z-index: 20;
    left: 0;
    min-height: 340px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: left 0.5s, padding 0.5s;
}
.skew-card:hover .skew-content {
    left: -25px;
    padding: 50px 40px 40px;
}

.skew-content h4 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.skew-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .skew-card {
        width: 280px;
    }
    .skew-content {
        min-height: 300px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .skew-grid {
        gap: 50px 20px;
    }
    .skew-card {
        width: 100%;
        max-width: 320px;
    }
    .skew-card:hover .skew-content {
        left: 0;
    }
}

/* --- Portfolio --- */
.portfolio {
    padding: 140px 0;
    overflow: hidden; /* Hide overflow for marquee */
}

.portfolio-marquee {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.portfolio-grid:hover {
    animation-play-state: paused;
}

.portfolio-card {
    flex: 0 0 400px; /* Fixed width for marquee items */
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(45deg, #000a1a, #000000);
    border: 1px solid var(--border);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* -50% plus half the gap */
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}

/* Scrolling effect for tall screenshots */
.portfolio-card.scrolling-card {
    overflow: hidden;
}

.portfolio-card.scrolling-card .portfolio-img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 0.8;
}

.portfolio-card.scrolling-card:hover .portfolio-img {
    transform: translateY(calc(-100% + 500px)); /* 500px is the card height */
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-tag {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.portfolio-card h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .portfolio-card {
        flex: 0 0 320px;
    }
}

@media (max-width: 600px) {
    .portfolio-card {
        flex: 0 0 280px;
    }
}

/* --- Additional Services --- */
.addons {
    padding: 140px 0;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.addons::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.5vw, 20px);
    margin-top: 20px;
    max-width: 600px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.addon-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.addon-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 102, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.addon-card:hover::before {
    transform: translateX(100%);
}

.addon-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 102, 255, 0.1);
}

.addon-icon {
    flex: 0 0 50px;
    height: 50px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.addon-card:hover .addon-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Stagger Animations */
.addons-grid .addon-card:nth-child(1) { transition-delay: 0.1s; }
.addons-grid .addon-card:nth-child(2) { transition-delay: 0.2s; }
.addons-grid .addon-card:nth-child(3) { transition-delay: 0.3s; }
.addons-grid .addon-card:nth-child(4) { transition-delay: 0.4s; }

.addon-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.addon-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: var(--transition);
}

.addon-card:hover .addon-content h3 {
    transform: translateX(10px);
}

.addon-card:hover .addon-content p {
    transform: translateX(10px);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.trust-item:hover {
    transform: translateX(10px);
    color: var(--text-primary);
}

.trust-item svg {
    position: absolute;
    left: 0;
    color: #22c55e;
    transition: var(--transition);
}

.trust-item:hover svg {
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }
    .trust-row {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .addon-card {
        padding: 30px;
        flex-direction: column;
        gap: 20px;
    }
}

/* --- FAQ --- */
.faq {
    padding: 140px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    padding: 24px 0 24px 24px;
    transition: color 0.2s;
}

/* Dimmed when closed */
.faq-item .faq-question {
    color: rgba(255, 255, 255, 0.18);
}
.faq-item.active .faq-question {
    color: var(--text-primary);
}

.faq-num {
    font-size: 12px;
    flex-shrink: 0;
    padding-top: 6px;
    transition: color 0.2s;
}

.faq-question h4 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
    transition: color 0.2s;
}

/* Collapsed: negative line-height for compact look */
.faq-item .faq-question h4 {
    margin-top: -4px;
}
.faq-item.active .faq-question h4 {
    margin-top: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 24px 24px 56px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-question {
        padding-left: 16px;
    }
    .faq-answer p {
        padding-left: 40px;
        padding-right: 16px;
    }
}

/* Text Stagger Hover — 8 animation variants via data-anim */
.faq-question h4 {
    overflow: hidden;
}
.faq-stagger-wrap {
    position: relative;
    display: inline-block;
}
.faq-stagger-active,
.faq-stagger-hidden {
    display: inline-block;
    white-space: nowrap;
}
.faq-stagger-hidden {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}
.faq-stagger-active span,
.faq-stagger-hidden span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, filter;
}

/* ── hidden initial state per animation type ── */
[data-anim="top"]    .faq-stagger-hidden span { transform: translateY(110%);  opacity: 0; }
[data-anim="bottom"] .faq-stagger-hidden span { transform: translateY(-110%); opacity: 0; }
[data-anim="left"]   .faq-stagger-hidden span { transform: translateX(110%);  opacity: 0; }
[data-anim="right"]  .faq-stagger-hidden span { transform: translateX(-110%); opacity: 0; }
[data-anim="z"]      .faq-stagger-hidden span { transform: scale(0);          opacity: 0; }
[data-anim="blur"]   .faq-stagger-hidden span { transform: none; filter: blur(12px); opacity: 0; }
[data-anim="tilt"]   .faq-stagger-hidden span { transform: translateY(110%) rotate(8deg); opacity: 0; }
[data-anim="wave"]   .faq-stagger-hidden span { transform: translateY(110%) scaleX(0.6); opacity: 0; }

/* ── active exits on hover ── */
[data-anim="top"]:hover    .faq-stagger-active span { transform: translateY(-110%); opacity: 0; }
[data-anim="bottom"]:hover .faq-stagger-active span { transform: translateY(110%);  opacity: 0; }
[data-anim="left"]:hover   .faq-stagger-active span { transform: translateX(-110%); opacity: 0; }
[data-anim="right"]:hover  .faq-stagger-active span { transform: translateX(110%);  opacity: 0; }
[data-anim="z"]:hover      .faq-stagger-active span { transform: scale(0);          opacity: 0; }
[data-anim="blur"]:hover   .faq-stagger-active span { filter: blur(12px);           opacity: 0; }
[data-anim="tilt"]:hover   .faq-stagger-active span { transform: translateY(-110%) rotate(-8deg); opacity: 0; }
[data-anim="wave"]:hover   .faq-stagger-active span { transform: translateY(-110%) scaleX(0.6);   opacity: 0; }

/* ── hidden enters on hover (reset to natural) ── */
[data-anim="top"]:hover    .faq-stagger-hidden span,
[data-anim="bottom"]:hover .faq-stagger-hidden span { transform: translateY(0);   opacity: 1; filter: none; }
[data-anim="left"]:hover   .faq-stagger-hidden span,
[data-anim="right"]:hover  .faq-stagger-hidden span { transform: translateX(0);   opacity: 1; filter: none; }
[data-anim="z"]:hover      .faq-stagger-hidden span { transform: scale(1);        opacity: 1; filter: none; }
[data-anim="blur"]:hover   .faq-stagger-hidden span { transform: none; filter: blur(0px); opacity: 1; }
[data-anim="tilt"]:hover   .faq-stagger-hidden span { transform: translateY(0) rotate(0deg); opacity: 1; filter: none; }
[data-anim="wave"]:hover   .faq-stagger-hidden span { transform: translateY(0) scaleX(1);    opacity: 1; filter: none; }

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 40px 20px;
    }
    .cta-box h2 {
        font-size: 32px;
    }
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* --- Contact --- */
.contact {
    padding: 140px 0;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.contact-ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    bottom: -5%;
    right: -5%;
    animation-duration: 18s;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 5%) scale(1.1); }
    66% { transform: translate(-5%, 10%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.ambient-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    mix-blend-mode: overlay;
}

.ambient-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 30px;
    line-height: 1.1;
}

.contact-details {
    margin-top: 50px;
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail span {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.contact-detail p {
    font-size: 18px;
    font-weight: 500;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.contact-form:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 102, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    appearance: none; /* Remove native arrow to style it better if needed, but let's keep it simple first */
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
    background-color: #000a1a; /* Solid background for select */
}

.form-group select option {
    background-color: #000a1a;
    color: var(--text-primary);
}

.form-group select:focus {
    background-color: #000a1a;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.form-success.active {
    display: block;
}

.form-success h4 {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-form {
        padding: 40px 30px;
    }
}

/* --- Contact Drawer --- */
.contact-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.4s;
}

.contact-drawer.active {
    visibility: visible;
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: #0a0a0a;
    padding: 60px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-drawer.active .drawer-content {
    right: 0;
}

@media (max-width: 1024px) {
    .drawer-content {
        width: 80%;
        right: -80%;
    }
}

@media (max-width: 768px) {
    .drawer-content {
        width: 100%;
        right: -100%;
        padding: 40px 20px;
    }
}

.drawer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.drawer-header h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 40px;
    max-width: 400px;
}

.drawer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .drawer-form .form-row {
        grid-template-columns: 1fr;
    }
}

.drawer-form .form-group {
    margin-bottom: 25px;
}

.drawer-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
}

.drawer-form .label-hint {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 13px;
}

.drawer-form input[type="text"],
.drawer-form input[type="email"],
.drawer-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 16px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.drawer-form input:focus,
.drawer-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.drawer-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Selection Item Styles (Radio & Checkbox) */
.selection-group-container {
    margin-bottom: 30px;
}

.selection-group-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 700;
    opacity: 0.9;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.selection-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    overflow: hidden;
}

.selection-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.selection-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 102, 255, 0.08);
}

.selection-item:hover::before {
    opacity: 1;
}

.selection-item .selection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.selection-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.selection-item.premium-item {
    border-color: rgba(0, 102, 204, 0.3);
    background: rgba(0, 102, 204, 0.05);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.1);
}

.selection-item.premium-item::after {
    content: 'PREMIUM';
    position: absolute;
    top: 10px;
    right: -25px;
    background: var(--accent);
    color: white;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 30px;
    transform: rotate(45deg);
    z-index: 10;
}

.selection-item.premium-included {
    opacity: 0.8;
    border-color: var(--accent);
    background: rgba(0, 102, 204, 0.05);
    cursor: default;
}

.selection-item.premium-included .selection-custom::after {
    opacity: 1;
    transform: scale(1);
}

.selection-item.premium-included:hover {
    transform: none;
    box-shadow: none;
}

.selection-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: transparent;
    z-index: 1;
}

.selection-item:hover .selection-custom {
    border-color: rgba(0, 102, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.3);
}

/* Checkbox specific style */
.selection-item input[type="checkbox"] + .selection-custom {
    border-radius: 6px;
}

.selection-item input:checked + .selection-custom {
    border-color: var(--accent);
    background: rgba(0, 102, 255, 0.2);
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.4);
}

.selection-item input:checked + .selection-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: selectionPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes selectionPop {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Checkbox checkmark style */
.selection-item input[type="checkbox"]:checked + .selection-custom::after {
    border-radius: 2px;
}

.selection-item span.label-text {
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-weight: 500;
    flex-grow: 1;
}

.price-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.selection-item:hover .price-badge,
.selection-item:has(input:checked) .price-badge {
    background: rgba(0, 102, 255, 0.2);
    color: var(--accent);
}

.premium-item span.label-text {
    color: var(--accent) !important;
    font-weight: 600;
}

.selection-item:hover span.label-text {
    color: rgba(255, 255, 255, 0.95);
}

.selection-item input:checked ~ .selection-header span.label-text {
    color: white;
    font-weight: 600;
}

.selection-item:has(input:checked) {
    background: linear-gradient(145deg, rgba(0, 102, 255, 0.15), rgba(0, 102, 255, 0.05));
    border-color: var(--accent);
    box-shadow: 0 15px 40px -12px rgba(0, 102, 255, 0.25), inset 0 0 25px rgba(0, 102, 255, 0.08);
}

.selection-item:has(input:checked)::before {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
}

.selection-item .selection-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    margin-left: 34px;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.selection-item:hover .selection-desc,
.selection-item:has(input:checked) .selection-desc {
    opacity: 0.8;
    max-height: 60px;
    margin-top: 10px;
}

.selection-item:has(input:checked) .selection-desc {
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.85);
}

/* Selection Summary Area */
.selection-summary {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: none;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(10px);
}

.selection-summary.active {
    display: block;
}

.summary-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.summary-content {
    font-size: 14px;
    color: white;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.summary-item {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 102, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.summary-item.main {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Phone CTA Styles */
.phone-cta-wrapper {
    text-align: right;
}

@media (max-width: 600px) {
    .phone-cta-wrapper {
        text-align: left;
    }
}

.phone-cta-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-style: italic;
}

.btn-phone-direct {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn-phone-direct svg {
    color: var(--accent);
    transition: color 0.3s ease;
}

.btn-phone-direct:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

.btn-phone-direct:hover svg {
    color: white;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.checkbox-item:hover {
    color: white;
}

.checkbox-item input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

.checkbox-item input:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-item input:checked + .checkbox-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 2px;
}

.drawer-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 600px) {
    .drawer-footer {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
}

.submit-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-submit-drawer {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.submit-wrapper:hover .btn-submit-drawer {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.submit-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.submit-wrapper:hover .submit-arrow {
    transform: translateX(5px);
    background: white;
    color: var(--accent);
    border-color: white;
}

.intro-call {
    text-align: right;
}

@media (max-width: 600px) {
    .intro-call {
        text-align: left;
    }
}

.intro-call span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.btn-intro {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.btn-intro:hover {
    background: white;
    color: black;
}

/* --- Footer --- */
footer {
    border-top: none;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 32px 32px;
    position: relative;
    padding: 0;
    background: transparent;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(125% 125% at 50% 10%, #0F0F1166 50%, #3ca2fa33 100%);
    background-color: #0d0d12;
    z-index: 0;
    border-radius: 24px;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding: 56px 56px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 56px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-col h5 {
    font-size: 13px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li,
.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 56px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Footer SVG text hover effect */
.footer-svg-banner {
    width: 100%;
    height: 200px;
    display: block;
    cursor: crosshair;
    position: relative;
    z-index: 1;
}

.footer-svg-banner text {
    font-family: inherit;
    font-weight: 900;
    text-anchor: middle;
    dominant-baseline: middle;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-text-base {
    stroke: #4a4a4a;
    fill: transparent;
    stroke-width: 0.3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer-text-draw {
    stroke: #3ca2fa;
    fill: transparent;
    stroke-width: 0.3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.footer-text-reveal {
    stroke: url(#footerTextGradient);
    fill: transparent;
    stroke-width: 0.3;
    mask: url(#footerTextMask);
    opacity: 0;
    transition: opacity 0.3s ease;
}

footer.footer-hovered .footer-text-base {
    opacity: 0.7;
}

footer.footer-hovered .footer-text-reveal {
    opacity: 1;
}

@keyframes footerTextDraw {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

.footer-text-draw-animated {
    animation: footerTextDraw 4s ease forwards;
}

@media (max-width: 1100px) {
    footer {
        margin: 0 20px 20px;
    }
    .footer-inner {
        padding: 48px 32px 0;
    }
    .footer-bottom {
        padding: 24px 32px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    footer {
        margin: 0 12px 12px;
        border-radius: 16px;
    }
    .footer-inner {
        padding: 40px 24px 0;
    }
    .footer-bottom {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UI/UX MODERNIZACIQ ADDITIONS
   ============================================================ */

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 400;
    color: white;
    backdrop-filter: blur(10px);
    font-size: 18px;
    line-height: 1;
}
.back-to-top.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); }

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 150px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s ease-out infinite;
}
@keyframes pulse-whatsapp {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 8, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 8000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text {
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
    max-width: 700px;
    line-height: 1.5;
}
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
    background: var(--accent);
    color: white;
    border: none;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-decline {
    background: transparent;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
    .cookie-actions { width: 100%; }
    .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}

/* --- Typewriter --- */
.typewriter {
    color: var(--accent);
    border-right: 2px solid var(--accent);
    animation: blink-cursor 0.7s step-end infinite;
}
@keyframes blink-cursor { 50% { border-color: transparent; } }

/* --- Active Nav Link (by page) --- */
.nav-link.active { color: #ffffff !important; }
.nav-link.active::after { width: 100% !important; }

/* --- Toast Notification --- */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 15, 25, 0.97);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Ripple Effect --- */
.btn { position: relative; overflow: hidden; }
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* --- Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Shimmer / Skeleton --- */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.03) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.03) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* --- Pricing Calculator --- */
.pricing-calculator-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}
.calculator-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.calculator-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,102,255,0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.calculator-box:hover::before { opacity: 1; }
.calc-group { margin-bottom: 36px; }
.calc-group h4 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.calc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.calc-option {
    display: none;
}
.calc-option + label {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}
.calc-option:checked + label {
    border-color: var(--accent);
    background: rgba(0,102,255,0.15);
    color: #fff;
}
.calc-option + label:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.calc-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}
.calc-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    outline: none;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(0,102,255,0.2);
}
.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}
.calc-slider-val {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    font-size: 16px;
}
.calc-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.calc-check {
    display: none;
}
.calc-check + label {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.calc-check:checked + label {
    border-color: var(--accent);
    background: rgba(0,102,255,0.15);
    color: #fff;
}
.calc-check + label::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.calc-check:checked + label::before {
    background: var(--accent);
    border-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}
.calc-result {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.calc-price-display { line-height: 1; }
.calc-price-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.calc-price-value {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    transition: all 0.3s ease;
}
.calc-price-value span { color: var(--accent); }
@media (max-width: 768px) {
    .calculator-box { padding: 36px 24px; }
    .calc-result { flex-direction: column; align-items: flex-start; }
}

/* --- Before/After Slider --- */
.before-after-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}
.before-after-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.before-after-wrapper img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}
.ba-before {
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.ba-before img {
    position: absolute;
    top: 0; left: 0;
    width: 900px;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    filter: grayscale(80%) brightness(0.6);
}
.ba-after {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.ba-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    cursor: col-resize;
}
.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.ba-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    color: #333;
    letter-spacing: -1px;
    white-space: nowrap;
}
.ba-label {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ba-label-before {
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: rgba(255,255,255,0.7);
}
.ba-label-after {
    right: 20px;
    background: var(--accent);
    color: white;
}
@media (max-width: 768px) {
    .ba-before img, .ba-after img, .before-after-wrapper img { height: 280px; }
    .ba-after { height: 280px; }
    .ba-before img { height: 280px; }
}


/* --- Scroll Down Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.25);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
    cursor: default;
}
.scroll-indicator-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
    animation: scroll-pulse 1.8s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scroll-pulse {
    0% { transform: scaleY(0); opacity: 0; }
    40% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* --- HOW IT WORKS --- */
.how-it-works {
    padding: 120px 0 0;
    position: relative;
}

/* --- Scroll Stack --- */
.scroll-stack {
    position: relative;
    margin-top: 60px;
    padding-bottom: 40vh;
}

.scroll-stack-card {
    position: sticky;
    top: 20vh;
    width: 100%;
    padding: 48px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 80px;
    transform-origin: top center;
    will-change: transform;
    transition: transform 0.1s linear;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ss-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-accent, var(--accent));
    color: var(--card-accent, var(--accent));
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent, var(--accent)) 30%, transparent);
}

.scroll-stack-card h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
}

.scroll-stack-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 768px) {
    .scroll-stack-card {
        padding: 32px 24px;
        top: 15vh;
        margin-bottom: 60px;
    }
    .scroll-stack { padding-bottom: 20vh; }
}

/* --- Comparison Table --- */
.comparison-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}
.comparison-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-top: 60px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
.comparison-table th,
.comparison-table td {
    padding: 18px 28px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.comparison-table th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.02);
    padding-top: 24px;
    padding-bottom: 24px;
}
.comparison-table th.col-us {
    color: var(--accent);
    background: rgba(0,102,255,0.06);
}
.comparison-table td:first-child {
    text-align: left;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.comparison-table td.col-us {
    background: rgba(0,102,255,0.04);
    font-weight: 600;
    color: white;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tr:hover td.col-us { background: rgba(0,102,255,0.07); }
.check-yes { color: #22c55e; font-size: 18px; }
.check-no { color: rgba(255,255,255,0.2); font-size: 18px; }
.check-partial { color: #f59e0b; font-size: 13px; font-weight: 500; }

/* --- CTA Urgency --- */
.cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    color: #f59e0b;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 24px;
    letter-spacing: 0.02em;
}

/* --- Footer Social --- */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.footer-social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,102,255,0.08);
}
.footer-made-in {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
    margin-top: 4px;
}

/* --- About Mini Section --- */
.about-mini {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}
.about-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 28px;
}
.about-mini-text h2 { margin-bottom: 20px; }
.about-mini-text p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.about-value-tag {
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.about-stats-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.about-stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
}
.about-stat:hover {
    border-color: rgba(0,102,255,0.25);
    background: rgba(0,102,255,0.04);
}
.about-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.about-stat p { color: var(--text-secondary); font-size: 14px; }
@media (max-width: 768px) {
    .about-mini-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* --- Lead Magnet Modal --- */
.lead-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lead-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.lead-modal {
    background: #0a0a12;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 48px;
    max-width: 560px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.lead-modal-overlay.open .lead-modal { transform: translateY(0); }
.lead-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.lead-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

@media (max-width: 600px) {
    .lead-modal-overlay {
        padding: 10px;
        align-items: flex-end;
    }
    .lead-modal {
        padding: 52px 20px 28px;
        border-radius: 20px 20px 16px 16px;
        max-height: calc(100dvh - 20px);
    }
    .lead-modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
.lead-modal h3 { margin-bottom: 8px; font-size: 22px; }
.lead-modal .lead-subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 15px;
}
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-num {
    width: 24px;
    height: 24px;
    background: rgba(0,102,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.lead-magnet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    margin-top: 20px;
}
.lead-magnet-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
