/* ============================================
   DIGITFLOW — Premium Cyberpunk Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-bg: #06060e;
    --color-bg-secondary: #0c0c1a;
    --color-bg-card: #0e0e1c;
    --color-bg-card-hover: #12122a;
    --color-text: #e8e8f0;
    --color-text-muted: #7a7a9a;
    --color-text-dim: #4a4a6a;
    --color-cyan: #00e5ff;
    --color-purple: #b44aff;
    --color-magenta: #ff2a6d;
    --color-pink: #ff6ec7;
    --color-gradient-1: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    --color-gradient-2: linear-gradient(135deg, var(--color-purple), var(--color-magenta));
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);
    --color-glass: rgba(12, 12, 26, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
                visibility 0.8s;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(12, 12, 26, 1) 0%, var(--color-bg) 100%);
}

.preloader-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.preloader-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: preloaderOrbFade 2.5s ease-in-out forwards;
}

.preloader-orb-1 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 20%;
    background: rgba(0, 229, 255, 0.06);
    animation-delay: 0.2s;
}

.preloader-orb-2 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    right: 20%;
    background: rgba(180, 74, 255, 0.05);
    animation-delay: 0.5s;
}

@keyframes preloaderOrbFade {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.preloader-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: preloaderLineExpand 1.2s var(--ease-out) forwards;
}

.preloader-line-top {
    margin-bottom: 24px;
    animation-delay: 0.3s;
}

.preloader-line-bottom {
    margin-top: 24px;
    animation-delay: 0.5s;
}

@keyframes preloaderLineExpand {
    to { width: min(280px, 60vw); }
}

.preloader-brand {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.preloader-letter {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(30px) rotateX(40deg);
    animation: preloaderLetterIn 0.7s var(--ease-out) forwards;
    animation-delay: calc(0.4s + var(--i) * 0.06s);
}

@keyframes preloaderLetterIn {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.preloader-tagline {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: translateY(10px);
    animation: preloaderTagIn 0.8s var(--ease-out) forwards;
    animation-delay: 1.2s;
}

@keyframes preloaderTagIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-progress {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(200px, 40vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1px;
    overflow: hidden;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
    border-radius: 1px;
    transition: width 0.3s ease-out;
}

/* Preloader exit animations */
.preloader.exit .preloader-letter {
    animation: preloaderLetterOut 0.5s var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 0.03s);
}

.preloader.exit .preloader-line {
    animation: preloaderLineCollapse 0.5s var(--ease-out) forwards;
}

.preloader.exit .preloader-tagline {
    animation: preloaderTagOut 0.4s var(--ease-out) forwards;
}

.preloader.exit .preloader-progress {
    animation: preloaderTagOut 0.3s var(--ease-out) forwards;
}

@keyframes preloaderLetterOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(4px);
    }
}

@keyframes preloaderLineCollapse {
    to {
        width: 0;
        opacity: 0;
    }
}

@keyframes preloaderTagOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Body locked during preloader */
body.loading {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

/* --- Noise Texture Overlay --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--color-cyan); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--color-cyan); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-cyan);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--color-text);
}

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

.nav-cta {
    padding: 8px 24px !important;
    border: 1px solid var(--color-border-hover);
    border-radius: 100px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 4px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.nav-toggle span:nth-child(3) {
    width: 16px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 5.5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4.5px, -5.5px);
}

/* Mobile Menu Overlay — hidden on desktop */
.mobile-menu {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #06060e;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 70% at 70% 50%,
        rgba(6, 6, 14, 0.3) 0%,
        rgba(6, 6, 14, 0.75) 50%,
        rgba(6, 6, 14, 0.95) 100%
    );
}

/* Ambient orbs */
.hero-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    animation: hero-orb-in 2s ease-out forwards;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: 5%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.07) 0%, transparent 70%);
    animation-delay: 0.5s;
    animation-duration: 2.5s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 15%;
    background: radial-gradient(circle, rgba(180, 74, 255, 0.05) 0%, transparent 70%);
    animation-delay: 1s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    top: 30%;
    right: 25%;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.04) 0%, transparent 70%);
    animation-delay: 1.5s;
}

@keyframes hero-orb-in {
    0% { opacity: 0; transform: scale(0.6); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-text {
    max-width: 720px;
}

/* Hero tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 14px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 100px;
    background: rgba(0, 229, 255, 0.03);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s var(--ease-out) 0.1s forwards;
}

.hero-tag span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan), 0 0 20px rgba(0, 229, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.headline-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: headline-reveal 1s var(--ease-out) forwards;
    color: #fff;
}

.headline-line:nth-child(1) {
    animation-delay: 0.3s;
}

.headline-line:nth-child(2) {
    animation-delay: 0.45s;
}

.headline-line:nth-child(3) {
    animation-delay: 0.6s;
}

.headline-line:nth-child(4) {
    animation-delay: 0.75s;
}

.headline-line-accent {
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes headline-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subline {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.3px;
    line-height: 1.7;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s var(--ease-out) 1s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes hero-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: hero-fade-up 0.8s var(--ease-out) 1.15s forwards;
}

/* Hero trust indicators */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 56px;
    opacity: 0;
    transform: translateY(16px);
    animation: hero-fade-up 0.8s var(--ease-out) 1.4s forwards;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-stars {
    font-size: 0.8rem;
    color: var(--color-cyan);
    letter-spacing: 1px;
}

.hero-trust-value {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.5px;
}

.hero-trust-label {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-trust-divider {
    width: 1px;
    height: 20px;
    background: var(--color-border-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-gradient-1);
    color: #000;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}

.btn-large {
    padding: 18px 44px;
    font-size: 1rem;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: clamp(24px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    animation: hero-fade-up 0.8s var(--ease-out) 1.8s forwards;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-dim);
    writing-mode: vertical-rl;
}

.scroll-line-track {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-line-fill {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-cyan));
    animation: scroll-line-move 2.2s ease-in-out infinite;
}

@keyframes scroll-line-move {
    0% { top: -100%; }
    50% { top: 0%; }
    100% { top: 100%; }
}

/* ============================================
   TRUST / SOCIAL PROOF
   ============================================ */
.trust {
    position: relative;
    padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 80px);
    background: var(--color-bg);
    overflow: hidden;
}

.trust-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.trust-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0;
    transition: opacity 2s ease;
}

.trust.visible .trust-glow {
    opacity: 1;
}

.trust-glow-1 {
    width: 500px;
    height: 500px;
    top: -20%;
    right: 10%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 70%);
}

.trust-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
    position: relative;
    z-index: 1;
}

/* --- Top row: headline left + feature card right --- */
.trust-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 80px);
    margin-bottom: 0;
}

.trust-headline {
    flex: 1;
    min-width: 0;
}

.trust-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #fff;
}

.trust-title-accent {
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Feature card (dominant) --- */
.trust-feature {
    position: relative;
    flex-shrink: 0;
    padding: clamp(28px, 3vw, 40px) clamp(32px, 4vw, 52px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.6s var(--ease-out);
    text-align: right;
}

.trust-feature:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
}

.trust-feature-glow {
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    opacity: 0;
    background: radial-gradient(
        300px circle at var(--card-x, 70%) var(--card-y, 50%),
        rgba(0, 229, 255, 0.05),
        transparent 50%
    );
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.trust-feature:hover .trust-feature-glow {
    opacity: 1;
}

.trust-feature-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.trust-feature-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.trust-feature-desc {
    font-size: 0.82rem;
    color: var(--color-text-dim);
    font-style: italic;
    letter-spacing: 0.2px;
}

/* --- Divider line --- */
.trust-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-hover) 20%, var(--color-border-hover) 80%, transparent);
    margin: clamp(32px, 4vw, 48px) 0;
}

/* --- Bottom cards row (3 minimal items) --- */
.trust-cards {
    display: flex;
    align-items: center;
    gap: 0;
}

.trust-card {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
}

.trust-card-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    color: #fff;
    margin-bottom: 6px;
    transition: all 0.4s var(--ease-out);
}

.trust-card:hover .trust-card-number {
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-card-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.trust-card-sep {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* Quote card */
.trust-card-quote {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-card-statement {
    font-family: var(--font-heading);
    font-size: clamp(0.88rem, 1.4vw, 1.05rem);
    font-weight: 500;
    letter-spacing: -0.2px;
    line-height: 1.4;
    color: var(--color-text-muted);
    font-style: italic;
    transition: color 0.4s ease;
}

.trust-card-quote:hover .trust-card-statement {
    color: var(--color-text);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SELECTED WORK — Overlapping Card Gallery
   ============================================ */
.projects {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

/* --- Top bar --- */
.projects-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}

.projects-header {
    text-align: left;
}

.projects-header .section-title {
    margin-bottom: 0;
}

/* --- Controls --- */
.projects-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.projects-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-text-dim);
}

.projects-counter-current {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    min-width: 1.4em;
    text-align: right;
    transition: all 0.4s var(--ease-out);
}

.projects-counter-sep {
    opacity: 0.2;
}

.projects-counter-total {
    opacity: 0.4;
}

.projects-nav {
    display: flex;
    gap: 6px;
}

.pj-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.pj-nav-btn:hover {
    border-color: rgba(0, 229, 255, 0.35);
    color: var(--color-cyan);
    transform: scale(1.06);
}

.pj-nav-btn:active {
    transform: scale(0.94);
}

/* --- Runway --- */
.pj-runway {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
    padding: 50px 0 80px;
}

.pj-runway:active {
    cursor: grabbing;
}

/* --- Track (stacked cards, positioned via JS) --- */
.pj-track {
    position: relative;
    width: 100%;
    height: clamp(420px, 48vw, 620px);
}

/* --- Item --- */
.pj-item {
    position: absolute;
    width: clamp(380px, 42vw, 580px);
    top: 50%;
    left: 50%;
    will-change: transform, opacity, filter;
    cursor: pointer;
}

/* --- Frame (image container) --- */
.pj-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.6s var(--ease-out),
                border-color 0.6s ease;
}

/* Active card — cinematic shadow */
.pj-item.pj-active .pj-frame {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 50px 100px -15px rgba(0, 0, 0, 0.55),
        0 25px 50px -8px rgba(0, 0, 0, 0.35),
        0 0 80px -15px rgba(0, 229, 255, 0.08);
}

/* Inactive cards */
.pj-item:not(.pj-active) .pj-frame {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* --- Image --- */
.pj-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto;
    will-change: transform;
}

/* --- Hover shine --- */
.pj-shine {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--shine-x, 50%) var(--shine-y, 50%),
        rgba(255, 255, 255, 0.07),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.pj-item.pj-active .pj-frame:hover .pj-shine {
    opacity: 1;
}

/* --- Caption --- */
.pj-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 18px 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-out),
                transform 0.5s var(--ease-out);
}

.pj-item.pj-active .pj-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.pj-idx {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--color-text-dim);
}

.pj-title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 500;
    letter-spacing: -0.2px;
    color: var(--color-text);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    border-radius: 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    background: var(--color-bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    color: var(--color-cyan);
    margin-bottom: 24px;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-dim);
    letter-spacing: 1px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    letter-spacing: 0.5px;
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-cyan);
}

/* ============================================
   STUDIO / ABOUT
   ============================================ */
.studio {
    padding: 120px 0;
}

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

.studio-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.studio-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.studio-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.studio-value {
    display: flex;
    align-items: center;
    gap: 20px;
}

.value-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text);
    min-width: 130px;
}

.value-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-border-hover), transparent);
}

.studio-visual {
    display: flex;
    justify-content: center;
}

.studio-card {
    position: relative;
    padding: 48px 40px;
    border-radius: 20px;
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    text-align: center;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
}

.studio-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.studio-location {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--color-cyan);
    margin-bottom: 16px;
}

.studio-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.studio-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 120px 0;
    background: var(--color-bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 0;
    left: 28px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-cyan), var(--color-purple), var(--color-magenta));
    opacity: 0.3;
}

.process-step {
    position: relative;
    display: flex;
    gap: 40px;
    padding-bottom: 56px;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-cyan);
    transition: all 0.4s var(--ease-out);
}

.process-step:hover .step-number {
    border-color: var(--color-cyan);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 4px;
}

.step-content p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(180, 74, 255, 0.06) 0%, rgba(0, 255, 234, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.cta-contact-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.cta-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 48px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    min-width: 260px;
}

.cta-contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 234, 0.15);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 60px -12px rgba(0, 255, 234, 0.08), 0 0 0 1px rgba(0, 255, 234, 0.05);
}

.cta-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 255, 234, 0.06);
    border: 1px solid rgba(0, 255, 234, 0.1);
    color: var(--color-cyan);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.cta-contact-card:hover .cta-contact-icon {
    transform: scale(1.08);
    background: rgba(0, 255, 234, 0.1);
    box-shadow: 0 0 24px rgba(0, 255, 234, 0.15);
}

.cta-contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
}

.cta-contact-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.cta-contact-card:hover .cta-contact-value {
    color: #fff;
}

/* ============================================
   FAQ
   ============================================ */
/* --- FAQ Section — Premium Interactive Experience --- */
.faq {
    padding: 220px 0 200px;
    position: relative;
    overflow: hidden;
}

.faq-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.faq-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.faq.visible .faq-orb {
    opacity: 1;
}

.faq-orb-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    right: -15%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
    animation: faq-orb-drift 18s ease-in-out infinite alternate;
}

.faq-orb-2 {
    width: 500px;
    height: 500px;
    bottom: 5%;
    left: -10%;
    background: radial-gradient(circle, rgba(180, 74, 255, 0.03) 0%, transparent 70%);
    animation: faq-orb-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes faq-orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
    100% { transform: translate(-20px, 15px) scale(0.95); }
}

.faq .container {
    max-width: 900px;
}

.faq-header {
    text-align: center;
    margin-bottom: 100px;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 16px;
}

.faq-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
}

.faq-progress-track {
    width: 120px;
    height: 2px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.faq-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-gradient-1);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-progress-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-item {
    position: relative;
    border-radius: 16px;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border: 1px solid transparent;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.015);
    border-color: var(--color-border);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(0, 229, 255, 0.12);
    transform: scale(1.01);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.06),
        0 20px 60px -20px rgba(0, 229, 255, 0.08),
        0 0 80px -40px rgba(0, 229, 255, 0.04);
}

.faq-item-glow {
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    opacity: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 229, 255, 0.06),
        transparent 40%
    );
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.faq-item:hover .faq-item-glow {
    opacity: 1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px 32px;
    background: none;
    border: none;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover .faq-num {
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--color-cyan);
}

.faq-item.active .faq-num {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
    color: var(--color-cyan);
    box-shadow: 0 0 20px -6px rgba(0, 229, 255, 0.3);
}

.faq-q-text {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 500;
    letter-spacing: -0.4px;
    line-height: 1.3;
    flex: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover .faq-q-text {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
}

.faq-item.active .faq-q-text {
    color: #fff;
    transform: translateX(4px);
}

/* Custom plus/minus icon */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

.faq-icon-line {
    position: absolute;
    background: var(--color-text-dim);
    border-radius: 2px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon-h {
    width: 14px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon-v {
    width: 1.5px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item:hover .faq-icon-line {
    background: var(--color-cyan);
}

.faq-item.active .faq-icon-h {
    background: var(--color-cyan);
    opacity: 0.7;
}

.faq-item.active .faq-icon-v {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* Answer panel */
.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.faq-answer-inner {
    padding: 0 32px 40px 84px;
    opacity: 0;
    filter: blur(6px);
    transform: translateY(16px);
    transition:
        opacity 0.7s ease 0.08s,
        filter 0.7s ease 0.08s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    max-width: 560px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Inactive items dim when one is active */
.faq-list.has-active .faq-item:not(.active) {
    opacity: 0.5;
}

.faq-list.has-active .faq-item:not(.active):hover {
    opacity: 0.85;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--color-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-social a {
    color: var(--color-text-dim);
    transition: all 0.3s ease;
    padding: 4px;
}

.footer-social a:hover {
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-text-dim);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-text-muted);
}

/* ============================================
   LEGAL PAGES — Impressum & Datenschutz
   ============================================ */
.legal-page {
    position: relative;
    min-height: 100vh;
    padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 140px);
    background: var(--color-bg);
    overflow: hidden;
}

/* Ambient orbs */
.legal-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.legal-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.legal-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-cyan);
    top: -100px;
    right: -150px;
}

.legal-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-purple);
    bottom: 10%;
    left: -100px;
}

/* Header */
.legal-header {
    margin-bottom: 64px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    margin-bottom: 32px;
}

.legal-back:hover {
    color: var(--color-cyan);
    transform: translateX(-4px);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-top: 16px;
}

/* Content */
.legal-content {
    max-width: 760px;
    position: relative;
}

.legal-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section h3:first-of-type {
    margin-top: 0;
}

.legal-section p {
    font-size: clamp(0.92rem, 1.2vw, 1rem);
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-rights-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-rights-list li {
    font-size: clamp(0.92rem, 1.2vw, 1rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.legal-rights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cyan);
    opacity: 0.6;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
    .legal-page {
        padding: clamp(120px, 16vw, 160px) 0 clamp(60px, 8vw, 100px);
    }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-header {
        margin-bottom: 40px;
    }

    .legal-section {
        padding: 24px 0;
    }

    .legal-orb-1 {
        width: 300px;
        height: 300px;
    }

    .legal-orb-2 {
        width: 250px;
        height: 250px;
    }
}

/* ============================================
   BEFORE / AFTER — CINEMATIC TRANSFORMATION
   ============================================ */
.compare {
    padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 12vw, 160px);
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

/* Ambient atmosphere */
.compare-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.compare-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0;
    transition: opacity 2.5s ease;
}

.compare.visible .compare-glow {
    opacity: 1;
}

.compare-glow-1 {
    width: 700px;
    height: 700px;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 229, 255, 0.035) 0%, transparent 70%);
}

.compare-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(180, 74, 255, 0.025) 0%, transparent 70%);
}

/* Header */
.compare-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding: 0 clamp(24px, 5vw, 80px);
    position: relative;
    z-index: 1;
}

.compare-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-cyan);
    margin-bottom: 24px;
    opacity: 0.7;
}

.compare-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 20px;
    color: #fff;
}

.compare-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: var(--color-text-dim);
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* Stage — floating frame + reflection */
.compare-stage {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 64px);
    position: relative;
    z-index: 1;
}

.compare-frame {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

/* Cinematic glow behind frame */
.compare-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(180, 74, 255, 0.06), rgba(0, 229, 255, 0.04));
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: -1;
    filter: blur(1px);
}

.compare-frame:hover::before {
    opacity: 1;
}

/* Slider container */
.compare-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    cursor: ew-resize;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #050508;
    box-shadow:
        0 60px 120px -20px rgba(0, 0, 0, 0.6),
        0 30px 60px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 100px -20px rgba(0, 229, 255, 0.04);
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transition: box-shadow 0.8s var(--ease-out), border-color 0.6s ease;
}

.compare-slider:hover {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow:
        0 60px 120px -20px rgba(0, 0, 0, 0.65),
        0 30px 60px -10px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 120px -20px rgba(0, 229, 255, 0.06);
}

/* Layers */
.compare-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.compare-before {
    z-index: 1;
}

.compare-after {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    will-change: clip-path;
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Labels — ultra-minimal */
.compare-label {
    position: absolute;
    bottom: 20px;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.compare-label-left {
    left: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-dim);
}

.compare-label-right {
    right: 20px;
    background: rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.1);
    color: rgba(0, 229, 255, 0.7);
}

/* Handle — elegant minimal divider */
.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    will-change: left;
}

.compare-handle-line {
    flex: 1;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    transition: background 0.4s ease;
}

.compare-slider:hover .compare-handle-line,
.compare-slider.is-dragging .compare-handle-line {
    background: rgba(0, 229, 255, 0.5);
}

.compare-handle-line::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 12px;
    left: -5.5px;
    background: linear-gradient(to bottom, transparent 5%, rgba(0, 229, 255, 0.04) 50%, transparent 95%);
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.compare-slider:hover .compare-handle-line::after,
.compare-slider.is-dragging .compare-handle-line::after {
    opacity: 1;
}

.compare-handle-knob {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(8, 8, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.5s var(--ease-out);
}

.compare-slider:hover .compare-handle-knob {
    border-color: rgba(0, 229, 255, 0.35);
    color: var(--color-cyan);
    transform: scale(1.08);
    box-shadow:
        0 0 20px rgba(0, 229, 255, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.compare-slider.is-dragging .compare-handle-knob {
    border-color: rgba(0, 229, 255, 0.5);
    color: var(--color-cyan);
    transform: scale(1.14);
    box-shadow:
        0 0 28px rgba(0, 229, 255, 0.18),
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Reflection — cinematic floor reflection */
.compare-reflection {
    width: 85%;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.015), transparent 70%);
    border-radius: 0 0 50% 50%;
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .trust-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .trust-feature {
        width: 100%;
        text-align: left;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pj-item {
        width: clamp(300px, 50vw, 440px);
    }

    .pj-track {
        height: clamp(360px, 45vw, 500px);
    }

    .projects-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .studio-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE-FIRST PREMIUM OPTIMIZATION
   ============================================ */

/* --- Floating Mobile CTA Bar --- */
.mobile-cta-bar {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {

    /* --- PERFORMANCE: Reduce GPU-heavy effects --- */
    .hero-orb {
        filter: blur(60px);
        opacity: 0;
        animation: none;
    }

    .hero-orb-1,
    .hero-orb-2,
    .hero-orb-3 {
        animation: none;
        opacity: 0.4;
    }

    .hero-particles {
        display: none;
    }

    .trust-glow,
    .compare-glow,
    .faq-orb,
    .studio-card-glow {
        filter: blur(80px);
    }

    .faq-orb {
        animation: none;
    }

    .compare-reflection {
        display: none;
    }

    .faq-answer-inner {
        filter: none !important;
    }

    .faq-item-glow {
        display: none;
    }

    /* Disable expensive hover transforms on mobile */
    .service-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none !important;
    }

    /* Reduce box-shadows on mobile */
    .compare-slider {
        box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    }

    .pj-item.pj-active .pj-frame {
        box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.45);
    }

    /* Noise overlay — lighter on mobile for performance */
    body::before {
        opacity: 0.2;
    }

    /* --- NAVBAR: Premium mobile navigation --- */
    .navbar {
        padding: 16px 0;
    }

    .navbar.scrolled {
        padding: 12px 0;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 1.15rem;
        letter-spacing: 2.5px;
    }

    .nav-toggle {
        display: flex;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        -webkit-tap-highlight-color: transparent;
    }

    /* Hide default nav-links on mobile — replaced by mobile-menu overlay */
    .nav-links {
        display: none !important;
    }

    /* ============================================
       MOBILE MENU — Cinematic Fullscreen Overlay
       ============================================ */
    .mobile-menu {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
    }

    .mobile-menu.open {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }

    /* Background layer */
    .mobile-menu-bg {
        position: absolute;
        inset: 0;
        background: rgba(6, 6, 14, 0.97);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        transform: scaleY(0);
        transform-origin: top center;
        transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu.open .mobile-menu-bg {
        transform: scaleY(1);
    }

    .mobile-menu.closing .mobile-menu-bg {
        transform: scaleY(0);
        transform-origin: bottom center;
        transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
    }

    /* Atmospheric orbs */
    .mobile-menu-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0;
        transition: opacity 0.8s ease 0.3s;
    }

    .mobile-menu.open .mobile-menu-orb {
        opacity: 1;
    }

    .mobile-menu.closing .mobile-menu-orb {
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-orb-1 {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -100px;
        background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
        animation: menuOrbFloat1 8s ease-in-out infinite;
    }

    .mobile-menu-orb-2 {
        width: 250px;
        height: 250px;
        bottom: -60px;
        left: -80px;
        background: radial-gradient(circle, rgba(180, 74, 255, 0.1) 0%, transparent 70%);
        animation: menuOrbFloat2 10s ease-in-out infinite;
    }

    @keyframes menuOrbFloat1 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(-20px, 30px); }
    }

    @keyframes menuOrbFloat2 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(20px, -25px); }
    }

    /* Decorative lines */
    .mobile-menu-line {
        position: absolute;
        left: 32px;
        right: 32px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
        transform: scaleX(0);
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu-line-top {
        top: 96px;
        transition-delay: 0.35s;
    }

    .mobile-menu-line-bottom {
        bottom: 80px;
        transition-delay: 0.4s;
    }

    .mobile-menu.open .mobile-menu-line {
        transform: scaleX(1);
    }

    .mobile-menu.closing .mobile-menu-line {
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    /* Content container */
    .mobile-menu-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
        padding: 0 40px 60px;
    }

    /* Header with close button */
    .mobile-menu-header {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 20px 0;
        min-height: 68px;
    }

    /* Close button */
    .mobile-menu-close {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
        transition: opacity 0.01s, transform 0.01s, border-color 0.4s ease, background 0.4s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu.open .mobile-menu-close {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        transition: opacity 0.4s ease 0.2s,
                    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                    border-color 0.4s ease,
                    background 0.4s ease;
    }

    .mobile-menu.closing .mobile-menu-close {
        opacity: 0;
        transform: scale(0.5) rotate(90deg);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .mobile-menu-close:active {
        background: rgba(0, 229, 255, 0.06);
        border-color: rgba(0, 229, 255, 0.2);
    }

    .mobile-menu-close-line {
        position: absolute;
        width: 18px;
        height: 1.5px;
        background: var(--color-text);
        border-radius: 1px;
        transition: background 0.3s ease;
    }

    .mobile-menu-close-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-close-line:nth-child(2) {
        transform: rotate(-45deg);
    }

    .mobile-menu-close:active .mobile-menu-close-line {
        background: var(--color-cyan);
    }

    /* Navigation links */
    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-top: 32px;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 24px;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.01s, transform 0.01s;
    }

    .mobile-menu.open .mobile-menu-link {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    background 0.4s ease;
    }

    .mobile-menu.open .mobile-menu-link[data-index="0"] { transition-delay: 0.25s, 0.25s, 0s; }
    .mobile-menu.open .mobile-menu-link[data-index="1"] { transition-delay: 0.33s, 0.33s, 0s; }
    .mobile-menu.open .mobile-menu-link[data-index="2"] { transition-delay: 0.41s, 0.41s, 0s; }
    .mobile-menu.open .mobile-menu-link[data-index="3"] { transition-delay: 0.49s, 0.49s, 0s; }

    .mobile-menu.closing .mobile-menu-link {
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .mobile-menu.closing .mobile-menu-link[data-index="3"] { transition-delay: 0s; }
    .mobile-menu.closing .mobile-menu-link[data-index="2"] { transition-delay: 0.04s; }
    .mobile-menu.closing .mobile-menu-link[data-index="1"] { transition-delay: 0.08s; }
    .mobile-menu.closing .mobile-menu-link[data-index="0"] { transition-delay: 0.12s; }

    .mobile-menu-link:active {
        background: rgba(0, 229, 255, 0.05);
    }

    .mobile-menu-link-number {
        font-family: var(--font-body);
        font-size: 0.7rem;
        font-weight: 400;
        letter-spacing: 1px;
        color: var(--color-cyan);
        opacity: 0.5;
        min-width: 24px;
    }

    .mobile-menu-link-text {
        font-family: var(--font-heading);
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        font-weight: 600;
        letter-spacing: -0.5px;
        color: var(--color-text);
        transition: color 0.4s ease, letter-spacing 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-menu-link:active .mobile-menu-link-text {
        color: var(--color-cyan);
    }

    /* CTA link — special styling */
    .mobile-menu-link-cta {
        margin-top: 16px;
        position: relative;
    }

    .mobile-menu-link-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 12px;
        border: 1px solid rgba(0, 229, 255, 0.15);
        opacity: 0;
        transition: opacity 0.5s ease 0.55s;
    }

    .mobile-menu.open .mobile-menu-link-cta::before {
        opacity: 1;
    }

    .mobile-menu.closing .mobile-menu-link-cta::before {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-link-cta .mobile-menu-link-text {
        background: var(--color-gradient-1);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Footer tagline */
    .mobile-menu-footer {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.01s, transform 0.01s;
    }

    .mobile-menu.open .mobile-menu-footer {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease 0.6s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
    }

    .mobile-menu.closing .mobile-menu-footer {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .mobile-menu-tagline {
        font-family: var(--font-body);
        font-size: 0.7rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--color-text-dim);
    }

    /* --- HERO: Compact, clean, premium --- */
    .hero {
        min-height: calc(100vh - env(safe-area-inset-bottom));
        min-height: 100svh;
        align-items: stretch;
    }

    .hero-bg {
        background-image: url('../images/hintergrund-mobil.jpg');
        background-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(6, 6, 14, 0.75) 0%,
            rgba(6, 6, 14, 0.88) 50%,
            rgba(6, 6, 14, 0.8) 100%
        );
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: env(safe-area-inset-top, 0px) 24px env(safe-area-inset-bottom, 0px);
        padding-top: max(96px, calc(env(safe-area-inset-top, 0px) + 86px));
        padding-bottom: 40px;
        min-height: 100svh;
    }

    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    /* --- TOP: Messaging area --- */
    .hero-tag {
        display: none;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 8.5vw, 3rem);
        letter-spacing: -0.8px;
        margin-bottom: 18px;
        line-height: 1.08;
    }

    /* Keep headline compact — 2 visual lines */
    .headline-line {
        display: inline-block;
    }

    .headline-line:nth-child(2)::after {
        content: '';
        display: block;
    }

    .hero-subline {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0;
        color: var(--color-text-muted);
    }

    .hero-subline br {
        display: none;
    }

    /* --- BOTTOM: CTA + Trust area --- */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
        padding-top: 40px;
    }

    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.88rem;
        min-height: 48px;
    }

    .hero-buttons .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 0.95rem;
        min-height: 52px;
    }

    /* Trust row — anchored at bottom */
    .hero-trust {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        margin-top: 24px;
        justify-content: center;
        overflow: hidden;
    }

    .hero-trust-divider {
        height: 16px;
    }

    .hero-trust-stars {
        font-size: 0.72rem;
    }

    .hero-trust-label,
    .hero-trust-value {
        font-size: 0.68rem;
    }

    /* Hide scroll indicator on mobile */
    .hero-scroll-indicator {
        display: none;
    }

    /* --- TRUST SECTION: More compact --- */
    .trust {
        padding: 56px 0 48px;
    }

    .trust-inner {
        padding: 0 24px;
    }

    .trust-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .trust-tag {
        font-size: 0.6rem;
        margin-bottom: 12px;
    }

    .trust-title {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }

    .trust-feature {
        width: 100%;
        text-align: left;
        padding: 24px 28px;
        border-radius: 12px;
    }

    .trust-feature-number {
        font-size: 2.4rem;
        letter-spacing: -2px;
    }

    .trust-feature-label {
        font-size: 0.62rem;
    }

    .trust-divider-line {
        margin: 24px 0;
    }

    .trust-cards {
        flex-direction: row;
        gap: 0;
    }

    .trust-card {
        padding: 6px 8px;
    }

    .trust-card-number {
        font-size: 1.3rem;
    }

    .trust-card-label {
        font-size: 0.58rem;
        letter-spacing: 1.5px;
    }

    .trust-card-sep {
        width: 1px;
        height: 28px;
        margin: 0;
    }

    .trust-card-quote {
        display: none;
    }

    /* --- COMPARE / BEFORE-AFTER: Touch-optimized --- */
    .compare {
        padding: 64px 0 56px;
    }

    .compare-header {
        margin-bottom: 32px;
        padding: 0 24px;
    }

    .compare-tag {
        margin-bottom: 16px;
        font-size: 0.6rem;
    }

    .compare-title {
        font-size: 1.6rem;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
    }

    .compare-subtitle {
        font-size: 0.82rem;
    }

    .compare-stage {
        padding: 0 16px;
    }

    .compare-slider {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
        touch-action: none;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .compare-label {
        bottom: 12px;
        font-size: 0.5rem;
        letter-spacing: 2px;
        padding: 5px 10px;
    }

    .compare-label-left {
        left: 12px;
    }

    .compare-label-right {
        right: 12px;
    }

    .compare-handle-knob {
        width: 40px;
        height: 40px;
    }

    .compare-handle-knob svg {
        width: 14px;
        height: 14px;
    }

    /* --- PROJECTS: Premium mobile carousel --- */
    .projects {
        padding: 64px 0 56px;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }

    .projects-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        padding: 0 24px;
    }

    .projects-header .section-tag {
        font-size: 0.6rem;
        margin-bottom: 8px;
    }

    .projects-header .section-title {
        font-size: 1.6rem;
    }

    .projects-controls {
        gap: 8px;
    }

    .projects-counter {
        display: none;
    }

    .pj-nav-btn {
        width: 44px;
        height: 44px;
    }

    .pj-runway {
        padding: 0 0 24px;
        overflow: hidden;
    }

    .pj-item {
        width: clamp(180px, 48vw, 240px);
    }

    .pj-track {
        height: clamp(440px, 105vw, 560px);
    }

    .pj-frame {
        border-radius: 16px;
        overflow: hidden;
        background: var(--color-bg-card);
        border: 1px solid rgba(255, 255, 255, 0.07);
        aspect-ratio: 9 / 19;
    }

    /* Show full image, fill card evenly */
    .pj-img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: top center;
    }

    .pj-shine {
        display: none;
    }

    /* Active card premium shadow */
    .pj-item.pj-active .pj-frame {
        border-color: rgba(0, 229, 255, 0.08);
        box-shadow:
            0 20px 50px -10px rgba(0, 0, 0, 0.45),
            0 0 0 1px rgba(0, 229, 255, 0.03);
    }

    .pj-item:not(.pj-active) .pj-frame {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .pj-info {
        padding: 12px 4px 0;
        gap: 8px;
    }

    .pj-title {
        font-size: 0.88rem;
        font-weight: 500;
    }

    .pj-idx {
        font-size: 0.55rem;
    }

    /* --- SERVICES: Compact cards --- */
    .services {
        padding: 72px 0;
    }

    .services .section-header {
        margin-bottom: 40px;
        text-align: left;
        padding: 0;
    }

    .services .section-title {
        font-size: 1.6rem;
        text-align: left;
    }

    .services .section-subtitle {
        text-align: left;
        font-size: 0.9rem;
        margin: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 28px 24px;
        border-radius: 14px;
    }

    .service-icon {
        margin-bottom: 16px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-number {
        top: 16px;
        right: 20px;
        font-size: 0.7rem;
    }

    .service-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .service-desc {
        font-size: 0.84rem;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    .service-features {
        gap: 6px;
    }

    .service-features li {
        font-size: 0.75rem;
    }

    /* --- STUDIO: Compact --- */
    .studio {
        padding: 72px 0;
    }

    .studio-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .studio-content .section-tag {
        font-size: 0.6rem;
    }

    .studio-content .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .studio-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .studio-values {
        margin-top: 28px;
        gap: 12px;
    }

    .value-label {
        font-size: 0.82rem;
        min-width: 100px;
    }

    .studio-card {
        padding: 32px 28px;
        border-radius: 16px;
        max-width: 100%;
    }

    .studio-location {
        font-size: 0.62rem;
    }

    .studio-card h3 {
        font-size: 1.2rem;
    }

    .studio-card p {
        font-size: 0.84rem;
    }

    /* --- PROCESS: Compact timeline --- */
    .process {
        padding: 72px 0;
    }

    .process .section-header {
        margin-bottom: 40px;
        text-align: left;
    }

    .process .section-title {
        font-size: 1.6rem;
        text-align: left;
    }

    .process .section-subtitle {
        text-align: left;
        font-size: 0.88rem;
        margin: 0;
    }

    .process-step {
        gap: 20px;
        padding-bottom: 36px;
    }

    .process-line {
        left: 22px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 0.75rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        margin-top: 2px;
    }

    .step-content p {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    /* --- FAQ: Compact accordion --- */
    .faq {
        padding: 72px 0 80px;
    }

    .faq-header {
        text-align: left;
        margin-bottom: 40px;
    }

    .faq .section-tag {
        font-size: 0.6rem;
    }

    .faq-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        letter-spacing: -1.5px;
        text-align: left;
    }

    .faq-progress {
        justify-content: flex-start;
        margin-top: 24px;
    }

    .faq-list {
        gap: 1px;
    }

    .faq-item {
        border-radius: 12px;
    }

    .faq-question {
        padding: 22px 18px;
        gap: 14px;
    }

    .faq-num {
        width: 26px;
        height: 26px;
        font-size: 0.62rem;
        border-radius: 6px;
    }

    .faq-q-text {
        font-size: 0.95rem;
        letter-spacing: -0.2px;
    }

    .faq-icon {
        width: 16px;
        height: 16px;
    }

    .faq-icon-h {
        width: 12px;
    }

    .faq-icon-v {
        height: 12px;
    }

    .faq-answer-inner {
        padding: 0 18px 24px 58px;
    }

    .faq-answer p {
        font-size: 0.86rem;
        line-height: 1.7;
    }

    .faq-item.active {
        transform: none;
        box-shadow: 0 8px 30px -10px rgba(0, 229, 255, 0.06);
    }

    /* --- CTA: Compact, account for floating bar --- */
    .cta {
        padding: 72px 0 120px;
    }

    .cta-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: -0.5px;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 0.95rem;
        min-height: 52px;
    }

    .cta-contact-cards {
        flex-direction: column;
        gap: 14px;
        padding: 0 8px;
    }

    .cta-contact-card {
        padding: 28px 24px;
        min-width: unset;
        border-radius: 16px;
    }

    .cta-contact-value {
        font-size: 1.1rem;
    }

    /* --- FOOTER: Compact --- */
    .footer {
        padding: 48px 0 100px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-links a,
    .footer-contact a {
        font-size: 0.84rem;
    }

    .footer-social a {
        padding: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        font-size: 0.75rem;
    }

    /* --- FLOATING MOBILE CTA BAR --- */
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(8, 8, 16, 0.72);
        backdrop-filter: blur(24px) saturate(1.4);
        -webkit-backdrop-filter: blur(24px) saturate(1.4);
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        opacity: 0;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-cta-bar.visible {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        font-family: var(--font-body);
        font-weight: 500;
        letter-spacing: 0.2px;
        border-radius: 100px;
        border: none;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    }

    .mobile-cta-btn:active {
        transform: scale(0.95);
    }

    .mobile-cta-btn svg {
        flex-shrink: 0;
    }

    /* WhatsApp — Dominant Primary CTA */
    .mobile-cta-whatsapp {
        flex: 1.4;
        padding: 13px 22px;
        min-height: 48px;
        font-size: 0.84rem;
        background: #25D366;
        color: #fff;
        box-shadow:
            0 2px 12px rgba(37, 211, 102, 0.2),
            0 0 0 1px rgba(37, 211, 102, 0.08);
        animation: wa-glow 4s ease-in-out 2s infinite;
    }

    .mobile-cta-whatsapp svg {
        width: 19px;
        height: 19px;
    }

    @keyframes wa-glow {
        0%, 100% { box-shadow: 0 2px 12px rgba(37, 211, 102, 0.2), 0 0 0 1px rgba(37, 211, 102, 0.08); }
        50% { box-shadow: 0 3px 18px rgba(37, 211, 102, 0.28), 0 0 0 2px rgba(37, 211, 102, 0.04); }
    }

    /* Call — Subtle Secondary CTA */
    .mobile-cta-call {
        flex: 1;
        padding: 12px 18px;
        min-height: 46px;
        font-size: 0.78rem;
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-cta-call svg {
        width: 16px;
        height: 16px;
        opacity: 0.7;
    }

    /* --- SCROLL ANIMATIONS: Faster on mobile --- */
    [data-animate] {
        transform: translateY(20px);
        transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
    }

    /* --- General mobile spacing & typography --- */
    .container {
        padding: 0 24px;
    }

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

    .section-tag {
        font-size: 0.6rem;
        letter-spacing: 2.5px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}

/* Small Mobile (iPhone SE, etc.) */
@media (max-width: 380px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-buttons {
        padding-top: 32px;
    }

    .hero-trust {
        gap: 10px;
    }

    .hero-trust-label,
    .hero-trust-value {
        font-size: 0.62rem;
    }

    .pj-item {
        width: 170px;
    }

    .pj-track {
        height: 300px;
    }

    .faq-q-text {
        font-size: 0.88rem;
    }

    .faq-answer-inner {
        padding-left: 40px;
    }

    .trust-title {
        font-size: 1.35rem;
    }
}

/* --- Floating Desktop CTA --- */
.floating-cta {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 900;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 60px;
    background: rgba(12, 12, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s var(--ease-out),
                transform 0.5s var(--ease-out),
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 0 rgba(0, 229, 255, 0);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-cta-glow {
    position: absolute;
    inset: -1px;
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(180, 74, 255, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.floating-cta:hover {
    border-color: rgba(0, 229, 255, 0.2);
    background: rgba(12, 12, 26, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 30px -8px rgba(0, 229, 255, 0.15);
    transform: translateY(-2px) scale(1);
}

.floating-cta:hover .floating-cta-glow {
    opacity: 1;
}

.floating-cta:hover .floating-cta-arrow {
    transform: translate(2px, -2px);
    color: var(--color-cyan);
}

.floating-cta-text {
    position: relative;
}

.floating-cta-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.4s var(--ease-out), color 0.4s ease;
    color: rgba(255, 255, 255, 0.5);
}

/* Hide on mobile */
@media (max-width: 768px) {
    .floating-cta {
        display: none !important;
    }
}

/* Show on desktop */
@media (min-width: 769px) {
    .floating-cta {
        display: flex;
    }
}

/* Large Desktop - use desktop image */
@media (min-width: 769px) {
    .hero-bg {
        background-image: url('../images/hintergrund-browser.jpg');
    }
}
