/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* ── Palette: Sophisticated & High-End ── */
    --navy: #05070a;
    --navy-mid: #0b0e14;
    --navy-light: #1e293b;
    --off-white: #f8fafc;
    --white: #ffffff;
    --white-pure: #ffffff;
    --blue: #4f46e5; /* Electric Indigo */
    --blue-hv: #4338ca;
    --blue-lt: #eff6ff;
    --amber: #f59e0b;
    --amber-lt: #fef3c7;
    
    /* ── Theme Tokens (Refined) ── */
    --bg-main: var(--white);
    --bg-alt: var(--off-white);
    --bg-pure: var(--white-pure);
    --text-main: #1e293b; /* Deeper slate for body text (was #334155) */
    --text-dark: #020617; /* Absolute black for headings */
    --text-sub: #334155;  /* Darker sub-headings (was #475569) */
    --text-muted: #475569; /* Much more visible muted text (was #64748b) */
    --slate-mid: #94a3b8;
    --border: #e2e8f0;
    --nav-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(10px); /* Reduced for GPU performance */
    
    /* ── Sophisticated Shadow System (Layered Premium) ── */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Layered organic shadow (6-layer) */
    --shadow-premium: 
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 12px 20px rgba(0, 0, 0, 0.04),
        0 40px 60px rgba(0, 0, 0, 0.06);
    
    /* ── Typography & Spacing ── */
    --font-header: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font: 'Outfit', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius: 16px; 
    --space-section: 200px; /* Increased for breathability */
    --space-inner: 64px;
    
    /* ── Motion Design System (Ultra-Smooth) ── */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-sm: 0.3s;
    --duration-md: 0.5s;
    --duration-lg: 0.8s;
    
    /* Letter Spacing for Premium Feel */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.02em;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.4); /* Ghostly indigo */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 70, 229, 0.7);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    background-color: var(--navy); /* Prevents white bar below footer on rubber-band/mobile */
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-main);
    background: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    position: relative;
}


::-moz-selection {
    background: var(--blue);
    color: var(--white);
}


::selection {
    background: var(--blue);
    color: var(--white);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 28px;
}

.section {
    padding-block: var(--space-section);
    position: relative;
}

.section--alt {
    background: var(--off-white);
}

/* Subtle noise texture on alt sections only */
.section--alt::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.018;
    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)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    z-index: 0;
}

.section--dark {
    background: var(--navy);
    color: var(--white);
}

h1,
h2,
h3,
.nav__logo {
    font-family: var(--font-header);
    letter-spacing: var(--tracking-tighter);
}

.section-label {
    display: inline-block;
    font-family: var(--font-header);
    font-size: 0.8125rem;
    font-weight: 800; 
    letter-spacing: 0.25em; /* Elite expanded look */
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px; 
    opacity: 0.9;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: var(--tracking-tighter);
    margin-bottom: 24px; /* Strict ratio: 24px */
    color: var(--text-dark);
    position: relative;
    padding-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-sub);
    max-width: 600px;
    margin-bottom: 48px; /* Strict ratio: 48px */
    line-height: 1.7;
}

/* ── Typography Refinement ── */
/* ── Why Section ── */
.why-cta {
    text-align: center;
    margin-top: 48px;
}

.why-section {
    padding-block: var(--space-section);
    background: var(--off-white);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.why-item {
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform var(--duration-sm) var(--ease), 
                box-shadow var(--duration-sm) var(--ease),
                border-color var(--duration-sm) var(--ease);
    will-change: transform;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.why-bad {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.12);
}

.why-good {
    background: rgba(26, 86, 219, 0.06);
    border-color: rgba(26, 86, 219, 0.2);
}

.why-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.why-item p {
    font-size: .875rem;
    color: var(--text-sub);
    line-height: 1.65;
}

.pricing-ideal {
    font-size: .8rem;
    color: var(--blue);
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(26, 86, 219, 0.06);
    border-radius: 6px;
    border-left: 3px solid var(--blue);
}

/* ── Trust & Lead Magnet ── */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.trust-badge {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    font-size: .8rem;
    font-weight: 500;
    background: var(--white-pure);
    color: var(--text-main);
}

.lead-magnet {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 12px;
    background: rgba(26, 86, 219, 0.06);
    border: 1px solid rgba(26, 86, 219, 0.15);
    margin-bottom: 32px;
}

.lm-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.lead-magnet strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.lead-magnet p {
    font-size: .875rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* Typography Base Overrides - Handled in root/base now */

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 30px;
    min-height: 52px; /* Base height for desktop */
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--duration-sm) var(--ease), 
                color var(--duration-sm) var(--ease),
                border-color var(--duration-sm) var(--ease), 
                box-shadow var(--duration-sm) var(--ease),
                transform var(--duration-sm) cubic-bezier(0.34, 1.56, 0.64, 1); /* Premium bouncy feel */
    white-space: nowrap;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.96) !important;
}

/* Solid primary - Electric Indigo */
.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.25), 0 8px 10px -6px rgba(79, 70, 229, 0.2);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--blue-hv);
    border-color: var(--blue-hv);
    box-shadow: 0 20px 35px -8px rgba(79, 70, 229, 0.35);
    transform: translateY(-4px) scale(1.02);
}

/* White outline (for dark hero) */
.btn--white-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .4);
}

.btn--white-outline:hover,
.btn--white-outline:focus-visible {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
}

/* Blue outline */
.btn--outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, .3);
}

/* Ghost (light border) */
.btn--ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: var(--blue);
    color: var(--blue);
}

/* Nav pill */
.btn--nav {
    padding: 10px 22px;
    font-size: .875rem;
    background: var(--blue);
    color: var(--white) !important;
    border-color: var(--blue);
}

.btn--nav:hover {
    background: var(--blue-hv);
    border-color: var(--blue-hv);
}

/* Amber CTA button */
.btn--amber {
    background: var(--amber);
    color: #78350F;
    border-color: var(--amber);
    font-weight: 700;
}

.btn--amber:hover,
.btn--amber:focus-visible {
    background: #D97706;
    border-color: #D97706;
    box-shadow: 0 6px 24px rgba(245, 158, 11, .4);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--duration-md) var(--ease), 
                backdrop-filter var(--duration-md) var(--ease), 
                border-color var(--duration-md) var(--ease), 
                box-shadow var(--duration-md) var(--ease);
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* State: scrolled onto sections - Enhanced Glassmorphism */
.site-header.is-scrolled {
    background: var(--nav-bg); 
    backdrop-filter: var(--glass-blur) saturate(180%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.15); /* Light refraction highlight */
    outline: 1px solid rgba(255, 255, 255, 0.5); 
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 32px;
}

.nav__logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.025em;
    white-space: nowrap;
    color: var(--white);
    transition: color var(--ease);
}

.header--light .nav__logo {
    color: var(--text-dark);
}

.header--dark .nav__logo {
    color: var(--white);
}

.nav__logo .accent {
    color: var(--blue);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--white);
    transition: color var(--ease);
}

.header--light .nav__links a {
    color: var(--text-dark);
}

.nav__links a:hover {
    color: var(--blue);
}

/* Scrolled state: links become dark */
.header--light .nav__links a {
    color: var(--text-sub);
}

.header--light .nav__links a:hover {
    color: var(--blue);
}

.header--dark .nav__links a {
    color: var(--white);
}

.header--dark .nav__links a:hover {
    color: var(--blue);
}

/* Keep btn--nav always white */
.nav__links .btn--nav,
.header--light .nav__links .btn--nav {
    color: var(--white) !important;
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__burger span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease), background var(--ease);
}

.header--light .nav__burger span {
    background: var(--text-dark);
}

.nav__burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
    opacity: 0;
}

.nav__burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO  (dark navy)
   ============================================================ */
.hero {
    background: #05070a;
    background: 
        radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, #0b0e14 0%, #05070a 100%);
    padding-top: 180px;
    padding-bottom: 280px; /* Increased back slightly to push transition lower */
    position: relative;
    overflow: hidden;
}

/* Subtle grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

/* Premium Glow */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
    animation: heroGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Fade to white transition */
.hero-bottom-fade {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 180px; /* Reduced for better overlay performance */
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    pointer-events: none;
    z-index: 2;
}

.hero__inner {
    max-width: 1200px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: nowrap; /* Prevent wrapping on desktop */
}

.hero-mockup-wrap {
    flex: 0 0 520px; /* Fixed width on desktop to prevent shrinking */
    position: relative;
    z-index: 10;
    margin-top: 40px;
    animation: heroFloat 6s ease-in-out infinite;
    pointer-events: auto;
    perspective: 1000px;
    overflow: visible;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.browser-mockup {
    background: #111827;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.07),
        0 24px 48px rgba(0,0,0,0.45),
        0 0 100px rgba(59,130,246,0.07),
        inset 0 1px 1px rgba(255,255,255,0.15), /* Brighter top edge */
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.mockup-bar {
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot--red { background: #ff5f57; }
.dot--yellow { background: #ffbd2e; }
.dot--green { background: #28ca41; }

.mockup-url {
    flex: 1;
    text-align: center;
    margin-right: 46px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 4px 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

.mockup-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Skeleton elements */
.hm-nav {
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    width: 100%;
}

.hm-hero-block {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hm-h1 {
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 80%;
}

.hm-h1--short {
    width: 50%;
}

.hm-sub {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    width: 90%;
}

.hm-btn {
    height: 32px;
    background: rgba(59, 130, 246, 0.35);
    border-radius: 6px;
    width: 100px;
    margin-top: 8px;
}

.hm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hm-card {
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* ── Mockup Animation ── */
.mockup-content {
    position: relative;
    overflow: hidden;
}

.mockup-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: hmShimmer 4s infinite linear;
    pointer-events: none;
}

@keyframes hmShimmer {
    0% { left: -150%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hm-card--accent {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.hm-footer {
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-top: 8px;
}

/* Shimmer effect for skeleton */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

.mockup-content [class*="hm-"] {
    position: relative;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.05) 0%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.05) 100%
    );
    background-size: 400px 100%;
    animation: shimmer 2.2s ease-in-out 3;
}

.hm-hero-block {
    background: rgba(59, 130, 246, 0.02);
    animation: none; /* Block itself shouldn't shimmer, only its contents */
}

.hm-btn {
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0.3) 100%
    );
    background-size: 400px 100%;
}

.mockup-content [class*="hm-"]:nth-child(2) { animation-delay: .3s; }
.mockup-content [class*="hm-"]:nth-child(3) { animation-delay: .6s; }

/* Floating Badges */
.hero__float {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 20;
    transition: transform 0.3s ease;
}

.hero__float span {
    font-size: 1rem;
}

.hero__float--top {
    top: -22px;
    right: -64px;
    animation: badgeIn .6s cubic-bezier(.16,1,.3,1) .8s both;
}

.hero__float--bottom {
    bottom: -22px;
    left: -64px;
    animation: badgeIn .6s cubic-bezier(.16,1,.3,1) 1.1s both;
}

@keyframes badgeIn {
    from { opacity: 0; transform: translateY(8px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0.5deg); }
    50%       { transform: translateY(-15px) rotate(-0.5deg); }
}

.hero-mockup-wrap.tilt-active {
    animation: none;
}

@media (max-width: 1024px) {
    .hero__inner {
        flex-wrap: wrap; /* Allow wrapping on tablets/mobile */
        justify-content: center;
        text-align: center;
    }

    .hero-mockup-wrap {
        margin-top: 60px;
        max-width: 90%;
        flex: none; /* Reset desktop flex */
        min-width: auto;
        margin-inline: auto;
        animation: none;
        transform: scale(0.95);
    }

    .hero__float--top { 
        top: -30px; 
        right: 0; 
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    .hero__float--bottom { 
        bottom: -20px; 
        left: 0; 
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .hero-mockup-wrap {
        transform: scale(0.9);
        margin-top: 40px;
    }
    .hero__float--top {
        display: none; /* Hide top badge on mobile to avoid overlap with mockup header */
    }
}

/* ============================================================
   O MNĚ (V2) - Refined Layout
   ============================================================ */
.about__layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--navy-mid);
    box-shadow: var(--shadow-xl);
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(105%);
}

.about__experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--blue);
    color: var(--white);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.4);
    z-index: 2;
}

.about__experience-badge strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.about__experience-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.about__lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.5;
}

.about__trust-list {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.about__trust-list li > span:first-child {
    color: var(--blue);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 28px;
    display: inline-flex;
    justify-content: center;
    margin-top: 3px;
}

.about__actions {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .about__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__visual {
        max-width: 400px;
        margin-inline: auto;
    }
}



/* ── Floating Badges ── */
.hero__float {
    position: absolute;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .2);
    z-index: 10;
}


.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--amber);
    background: rgba(245, 158, 11, .12);
    border: 1px solid rgba(245, 158, 11, .25);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: .01em;
}

.hero__headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--white) !important;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.reveal-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 1.2s var(--ease) forwards;
}

/* Staggered Entrance Sequence */
.hero__badge.reveal-line               { animation-delay: 0.1s; }
.hero__headline .reveal-line:nth-child(1) { animation-delay: 0.35s; }
.hero__headline .reveal-line:nth-child(2) { animation-delay: 0.6s; }
.hero__sub.reveal-line                 { animation-delay: 0.85s; }
.hero__actions.reveal-line             { animation-delay: 1.1s; }
.hero__trust.reveal-line               { animation-delay: 1.35s; }

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(30px) skewY(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0deg);
    }
}

.hero__headline .accent {
    color: var(--blue);
}

.hero__sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95) !important; /* Increased for better legibility */
    line-height: 1.65;
    margin-bottom: 44px;
    max-width: 540px;
    position: relative;
    z-index: 2;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
    justify-content: center;
}

.phone-note {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
    opacity: .6;
    margin-top: 8px;
}

.hero__actions .phone-note {
    text-align: center;
    color: #e2e8f0;
}

.contact__details .phone-note {
    margin-left: 36px;
    color: var(--text-muted, #64748b);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: .875rem;
    font-weight: 500;
    color: #e2e8f0; /* Brighter against dark bg */
}

.trust-speed {
    color: var(--amber) !important;
    font-weight: 700;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

/* Single checkmark managed by CSS to avoid duplication */
.hero__trust span::before {
    content: '✓ ';
    color: var(--blue);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    background: linear-gradient(180deg, #F1F5F9 0%, var(--white) 100%);
    position: relative;
}

/* ============================================================
   FOR WHOM
   ============================================================ */
.forwhom {
    background: var(--white);
}

.forwhom__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: var(--space-inner);
}

.forwhom__card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--ease);
    box-shadow: var(--shadow-premium);
}

.forwhom__card:hover {
    box-shadow: var(--shadow-lg), 0 0 20px rgba(26, 86, 219, 0.1);
    transform: translateY(-6px);
    border-color: var(--blue);
}

.forwhom__icon {
    width: 56px;
    height: 56px;
    background: var(--blue-lt);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.forwhom__card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.forwhom__card p {
    font-size: .9375rem;
    color: var(--text-sub);
    line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: var(--space-inner);
    background: transparent;
}

.services__item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 52px 40px;
    transition: transform var(--duration-md) var(--ease), 
                box-shadow var(--duration-md) var(--ease), 
                border-color var(--duration-md) var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.services__item:hover {
    box-shadow: 0 30px 60px -12px rgba(79, 70, 229, 0.12);
    transform: translateY(-10px);
    border-color: rgba(79, 70, 229, 0.2);
}

.services__num {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 7rem;
    font-weight: 900;
    color: var(--blue);
    opacity: 0.05; /* More subtle */
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: var(--ease);
}

.services__item:hover .services__num {
    opacity: 0.3;
}

.services__item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
}

.services__item p {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.75;
}

/* ============================================================
   PRICING
   ============================================================ */
#cenik {
    padding-top: calc(var(--space-section) * 0.4);
}
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch; /* Match heights for premium look */
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing__grid {
        grid-template-columns: 1fr;
    }
}

.pricing__card {
    min-width: 0; /* Prevents grid blowout with long text */
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-md) var(--ease), 
                box-shadow var(--duration-md) var(--ease);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.8), /* Subtle top highlight */
        var(--shadow-premium);
}

.pricing__card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
}

.pricing__card--featured {
    border-color: var(--blue);
    box-shadow: 
        0 0 0 1px var(--blue), 
        inset 0 1px 0 rgba(255, 255, 255, 0.8), /* Inner light refraction */
        var(--shadow-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.pricing__card--maintenance {
    background: #f8fafccc;
    border-color: rgba(0, 0, 0, 0.03);
}

.pricing__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--amber);
    color: #78350F;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .35);
}

.pricing__top {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pricing__name {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-sub);
    margin-bottom: 10px;
}

.pricing__price {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-main);
}

.pricing__price strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.pricing__per {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-sub);
}

.pricing__desc {
    font-size: .875rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.pricing__list {
    margin-bottom: 24px;
    flex: 1;
}

.pricing__list li {
    padding: 9px 0;
    font-size: .875rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    color: var(--text-main);
}

.pricing__list li:last-child {
    border-bottom: none;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--blue-lt);
    color: var(--blue);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.pricing__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding-top: 8px;
}

.pricing__help {
    font-size: .9375rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.pricing__help a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.pricing__help a:hover {
    color: var(--blue-hv);
}

.pricing__note {
    font-size: .75rem;
    color: var(--text-muted);
    letter-spacing: .01em;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
    padding-block: calc(var(--space-section) * 1.35); /* Maximum breathing room */
    scroll-margin-top: 100px;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: var(--space-inner);
}

@media (max-width: 1024px) {
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
}


.portfolio__item {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--white-pure);
    transition: transform var(--duration-md) var(--ease), 
                box-shadow var(--duration-md) var(--ease), 
                filter var(--duration-md) var(--ease);
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: var(--shadow-premium);
}

.portfolio__item:hover {
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.1);
    transform: translateY(-12px) scale(1.015);
    z-index: 20;
}

.portfolio__card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.project-preview {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -1px -1px 0 -1px; /* Cover border overlap */
}

.project-preview img.desktop {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s var(--ease);
}

.project-preview img.mobile {
    position: absolute;
    right: 24px;
    bottom: 0;
    height: 75%;
    width: auto;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: transform 0.6s var(--ease);
    border: 4px solid #111;
    border-bottom: none;
}

.portfolio__item:hover .project-preview img.desktop {
    transform: scale(1.05) translateY(-5px);
}

.portfolio__item:hover .project-preview img.mobile {
    transform: translateY(-8px) scale(1.02);
}


.portfolio__info {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project__header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.result-badge {
    background: var(--blue-lt);
    color: var(--blue);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.portfolio__actions {
    position: relative;
    z-index: 10;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
}

.portfolio__tag {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #92400e; /* Much darker amber for contrast on light bg */
    background: var(--amber-lt);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.portfolio__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.portfolio__case-study {
    margin: 20px 0;
    display: grid;
    gap: 16px;
}

.case-study__block strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.case-study__block p {
    font-size: 0.9375rem;
    color: var(--text-sub);
    line-height: 1.5;
}

.portfolio__bullets {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    gap: 8px;
}

.portfolio__bullets li {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
}


.btn--demo {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}

.btn--demo:hover {
    background: var(--blue-lt);
    border-color: var(--blue);
}

/* Accessibility: Focus States */
.btn:focus {
    outline: 3px solid rgba(26, 86, 219, 0.4);
    outline-offset: 2px;
}

/* ============================================================
   DEMO BAR (FOR INTERACTIVE DEMOS)
   ============================================================ */
.demo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--text-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.demo-bar__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.demo-bar__tag {
    background: var(--blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.6875rem;
}

.demo-bar__actions {
    display: flex;
    gap: 12px;
}

.demo-bar .btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* Adjust body when demo-bar is present */
.is-demo-page {
    padding-top: 60px !important;
}



/* ============================================================
   WHY CHOOSE ME SECTION
   ============================================================ */
.why {
    background: var(--off-white);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: var(--space-inner);
}

.why__item {
    display: flex;
    gap: 20px;
}

.why__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--blue-lt);
    color: var(--blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.why__content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why__content p {
    font-size: .9375rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ── Dark variant ── */
.why--dark {
    background: radial-gradient(circle at top left, #1E293B 0%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.why--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

.why--dark::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.why--dark .container {
    position: relative;
    z-index: 2;
}

.why__label {
    color: var(--white) !important;
}

.why__title {
    color: var(--white) !important;
}

.why__title::after {
    display: none !important;
}

.why--dark .why__content h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.why--dark .why__content p {
    color: rgba(255, 255, 255, .55);
}

.why--dark .why__icon {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

/* ── Stats Strip ── */
.stats-strip {
    background: var(--bg-main);
    padding: 0 0 80px;
    position: relative;
}

.stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stats-strip__item {
    position: relative;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: none;
    background: linear-gradient(135deg, var(--bg-pure), #f8faff);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stats-strip__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

.stats-strip__item strong {
    display: block;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.stats-strip__item span {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Reveal animation */
.stats-strip__item strong,
.stats-strip__item span {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stats-strip__item span {
    transition-delay: 0.1s;
}

.stats-strip--visible .stats-strip__item strong,
.stats-strip--visible .stats-strip__item span {
    opacity: 1;
    transform: translateY(0);
}

.stats-strip--visible .stats-strip__item:nth-child(2) strong { transition-delay: 0.08s; }
.stats-strip--visible .stats-strip__item:nth-child(2) span  { transition-delay: 0.18s; }
.stats-strip--visible .stats-strip__item:nth-child(3) strong { transition-delay: 0.16s; }
.stats-strip--visible .stats-strip__item:nth-child(3) span  { transition-delay: 0.26s; }
.stats-strip--visible .stats-strip__item:nth-child(4) strong { transition-delay: 0.24s; }
.stats-strip--visible .stats-strip__item:nth-child(4) span  { transition-delay: 0.34s; }

/* ── References ── */
.references {
    background: var(--bg-alt);
}

.references__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.references__card {
    background: var(--bg-pure);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-sm) var(--ease);
}

.references__card:hover {
    box-shadow: var(--shadow-md);
}

.references__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 20px;
}

.references__author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.references__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.references__author strong {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 700;
}

.references__author span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Honeypot ── */
.honey-field {
    display: none !important;
}

/* ── CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 60%, #1E3A8A 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -.025em;
}

.cta-banner__sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, .75);
}

/* ============================================================
   PORTFOLIO HOVER BUTTON
   ============================================================ */
.portfolio__img-wrap {
    position: relative;
}

.portfolio__hover-cta {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--blue);
    color: var(--white);
    font-size: .8125rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--ease), transform var(--ease);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .5);
}

.portfolio__item:hover .portfolio__hover-cta {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.05);
    /* Přidán jemný scale efekt pro wow dojem */
}

/* ============================================================
   PROCESS
   ============================================================ */
.process__steps {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: var(--space-inner);
    flex-wrap: wrap;
}

.process__step {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.process__num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .4);
    position: relative;
    z-index: 1;
}

/* Connector line between steps */
.process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 52px;
    right: -16px;
    height: 2px;
    background: linear-gradient(to right, var(--blue), rgba(37, 99, 235, .1));
    z-index: 0;
}

.process__content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.process__content p {
    font-size: .9375rem;
    color: var(--text-sub);
    line-height: 1.65;
}

.process__arrow {
    font-size: 1.25rem;
    color: var(--blue);
    padding-top: 14px;
    flex-shrink: 0;
    align-self: flex-start;
    opacity: .5;
}

.process__cta {
    text-align: center;
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

@media (max-width: 640px) {
    .process__cta {
        padding-inline: 4px;
    }
    .process__cta .btn {
        width: 100%;
        max-width: 400px;
    }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact__text p {
    font-size: 1.0625rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    line-height: 1.65;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--ease);
}

.contact__link:hover {
    color: var(--blue);
}

.contact__icon {
    font-size: 1.125rem;
}

/* FORM */
.contact__form {
    background: var(--white-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form__group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.optional {
    font-weight: 400;
    color: var(--text-sub);
}

.form__group input,
.form__group textarea {
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
    resize: vertical;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-muted);
}

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, .15);
    background: var(--white-pure);
}

.form__group input.error,
.form__group textarea.error {
    border-color: #EF4444;
}

.form__success {
    text-align: center;
    font-weight: 600;
    color: #16A34A;
    padding: 14px;
    background: #DCFCE7;
    border-radius: var(--radius-sm);
    font-size: .9375rem;
}

.form__error {
    text-align: center;
    font-weight: 600;
    color: #DC2626;
    padding: 14px;
    background: #FEE2E2;
    border-radius: var(--radius-sm);
    font-size: .9375rem;
}

/* LOADING BTTN STATE */
.btn--loading {
    position: relative;
    pointer-events: none;
    opacity: 0.9;
    color: transparent !important;
}

.btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .75); /* Increased from .55 */
    padding-top: 60px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer__brand .footer__logo {
    color: var(--white);
    display: block;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer__tagline {
    font-size: .875rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 64px;
}

.footer__col h3 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col a {
    font-size: .9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7); /* Increased from .55 */
    transition: color var(--ease);
}

.footer__col a:hover {
    color: var(--white);
}

.footer__nav a {
    font-size: .875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7); /* Increased from .5 */
    transition: color var(--ease);
}

.footer__nav a:hover {
    color: var(--white);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 24px;
    font-size: .75rem;
}

.footer__bottom a {
    color: rgba(255, 255, 255, .6); /* Increased from .4 */
    transition: color var(--ease);
}

.footer__bottom a:hover {
    color: var(--white);
}

/* ============================================================
   HIDDEN HELPERS
   ============================================================ */
.hide-mobile {
    display: inline;
}

/* Ensure all section content sits above noise ::before layer */
.section>.container,
.section--alt>.container {
    position: relative;
    z-index: 1;
}

.section--alt {
    background: var(--bg-alt);
    position: relative;
    transition: background-color 0.4s ease;
}

/* WHY section dark variant */
.why--dark {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .why--dark {
    background: var(--bg-pure);
}

/* CTA banner mobile */
@media (max-width: 700px) {
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --space-section: 80px;
    }

    .hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    :root {
        --space-section: 72px;
        --space-inner: 40px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process__arrow {
        display: none;
    }

    .process__steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    /* Remove connector line when steps wrap */
    .process__step:not(:last-child)::after {
        display: none;
    }
}

/* ============================================================
   RESPONSIVE – HERO collapse ≤ 880px
   ============================================================ */
@media (max-width: 880px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

}

/* ============================================================
   RESPONSIVE – MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
    :root {
        --space-section: 64px;
        --space-inner: 32px;
    }

    .hide-mobile {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    /* Portfolio Mobile Visibility Fix */
    .project-preview {
        height: 280px;
    }

    .project-preview img.mobile {
        right: 12px;
        height: 70%;
        width: auto;
    }

    /* Nav burger */
    .nav__burger {
        display: flex;
    }

    .nav__links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), 
                    visibility 0.5s;
    }

    .header--light .nav__links {
        background: var(--white);
        border-bottom-color: var(--border);
    }

    .nav__links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__links li {
        width: auto;
        opacity: 0;
        transform: translateY(20px);
        transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
    }

    .nav__links.open li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered entry animations */
    .nav__links.open li:nth-child(1) { transition-delay: 0.1s; }
    .nav__links.open li:nth-child(2) { transition-delay: 0.15s; }
    .nav__links.open li:nth-child(3) { transition-delay: 0.2s; }
    .nav__links.open li:nth-child(4) { transition-delay: 0.25s; }

    .nav__links a {
        font-size: 1.75rem;
        font-weight: 700;
        padding: 12px 0;
        color: var(--white);
        text-align: center;
        transition: color var(--duration-sm) var(--ease);
    }
    
    .nav__links a:hover {
        color: var(--blue);
    }

    .nav__burger {
        z-index: 1000; /* Above the curtain */
    }

    .btn {
        min-height: 56px !important; /* Premium touch targets on mobile */
    }

    .header--light .nav__links a {
        color: var(--text-sub);
    }

    .header--light .nav__links a:hover {
        color: var(--blue);
    }

    .nav__links .btn--nav {
        margin: 10px 28px 0;
        width: calc(100% - 56px);
        color: var(--white) !important;
    }

    .hero__content {
        text-align: center;
        align-items: center;
    }

    .hero__badge {
        margin-bottom: 20px;
    }

    .hero__sub {
        margin-bottom: 28px;
    }

    /* Hero actions */
    .hero__actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 28px;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        align-items: start;
        justify-items: start;
        margin-top: 0;
        padding-bottom: 16px;
        width: 100%;
    }

    .hero__trust span {
        text-align: left;
    }

    /* Grids */
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .process__steps {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact__form {
        padding: 28px 20px;
    }

    /* Footer */
    /* Footer Mobile Redesign */
    .footer__top {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }

    .footer__brand {
        text-align: left;
    }

    .footer__nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
        width: 100%;
    }

    .footer__col:last-child {
        grid-column: span 2;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-top: 32px;
    }

    .footer__legal {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .footer__top-link {
        margin-top: 4px;
    }
}

/* ============================================================
   PORTFOLIO CARD SUBTITLE
   ============================================================ */
.portfolio__sub {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: .01em;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(5, 7, 17, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.lb-overlay.lb-active {
    opacity: 1;
    pointer-events: auto;
}

.lb-wrap {
    position: relative;
    max-width: min(1100px, 94vw);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    max-width: 100%;
    max-height: 86vh;
    border-radius: 8px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .6);
    transform: scale(.97);
    transition: transform 260ms ease;
    cursor: zoom-in;
    object-fit: contain;
}

.lb-overlay.lb-active .lb-img {
    transform: scale(1);
}

.lb-img.lb-zoomed {
    cursor: zoom-out;
    max-width: none;
    max-height: none;
    transform: scale(1.8) !important;
}

.lb-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms;
    z-index: 9001;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, .22);
}

.lb-btn--prev {
    left: 16px;
}

.lb-btn--next {
    right: 16px;
}

.lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms;
    z-index: 9001;
}

.lb-close:hover {
    background: rgba(255, 255, 255, .22);
}

.lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .5);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .06em;
    z-index: 9001;
}

/* ============================================================
   SCROLL FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ACTIVE NAV LINK
   ============================================================ */
.nav__link--active {
    color: var(--blue) !important;
}

/* ── Service & Pricing CTAs ── */
.services__cta,
.pricing__cta {
    margin-top: 56px;
    text-align: center;
}

/* ============================================================
   AUDIT SECTION (LEAD MAGNET)
   ============================================================ */
.audit {
    background: #05070a;
    background: radial-gradient(circle at top right, #0b0e14 0%, #020617 100%);
    color: var(--white);
    padding-bottom: 200px; /* Increased for breathability */
    position: relative;
    overflow: hidden;
}

.audit__layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.audit .section-title {
    color: var(--white);
    border-color: var(--blue);
}

.audit .section-sub {
    color: rgba(255, 255, 255, 0.6);
}

.audit__box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    color: var(--white);
    position: relative;
}

.audit__box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%, rgba(255,255,255,0.05));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.audit__form .form__group {
    margin-bottom: 24px;
}

.audit__form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.audit__perks {
    list-style: none;
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.audit__perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.audit__perks li span {
    font-size: 1.25rem;
}

.audit__form input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font);
    transition: var(--ease);
    font-size: 1rem;
}

.audit__form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.form__success {
    margin-top: 24px;
    padding: 16px;
    background: #DCFCE7;
    color: #166534;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Button Loading State */
.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spinner 0.6s linear infinite;
    z-index: 2;
}

.btn.is-loading .btn-text {
    opacity: 0;
}


.footer__socials {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--slate-mid);
    transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.footer__social-link:hover {
    color: var(--blue);
    background: rgba(79, 70, 229, 0.1);
}

.footer__cta-row {
    margin-top: 24px;
}

@media (max-width: 991px) {

    .trust__grid,
    .audit__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .audit__box {
        padding: 30px 24px;
    }
}

@media (max-width: 768px) {
    .services__grid {
        gap: 16px;
        padding: 0 4px;
    }


    .services__item {
        padding: 32px 24px;
    }
}

/* ── Contact Form Success State ── */
.contact-success {
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.02);
    text-align: center;
    animation: successIn .5s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes successIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
    animation: pop .5s cubic-bezier(.16, 1, .3, 1) .15s both;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.contact-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-success p {
    color: var(--text-sub);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-success strong {
    color: var(--text-main);
}

.success-details {
    margin-top: 20px;
}

.success-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.success-detail-item:last-child {
    border-bottom: none;
}

.sd-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.success-detail-item span:last-child {
    font-size: .875rem;
    color: var(--text-sub);
}

/* ── Ensure Audit success is also visible ── */
.form__success {
    background: var(--bg-alt) !important;
    border: 1px solid var(--border) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    color: var(--text-main) !important;
}

.form__success h3 {
    color: var(--text-main) !important;
}

.form__success p {
    color: var(--text-sub) !important;
}

/* ── FAQ Section ── */
#faq {
    padding-bottom: calc(var(--space-section) * 0.3);
}
#kontakt {
    padding-top: calc(var(--space-section) * 0.3);
}
.faq {
    width: 100%;
}

.faq__grid {
    max-width: 800px;
    margin-inline: auto;
    margin-top: 48px;
}

.faq__header {
    text-align: left;
    margin-bottom: 32px;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--blue);
}

.faq__icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq__answer p {
    color: var(--text-sub);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Scroll to Top ── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 10px 20px rgba(26, 86, 219, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--blue-hv);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(26, 86, 219, 0.4);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* ── Refined Scroll Animation ── */
.fade-in-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--duration-lg) var(--ease), 
                transform var(--duration-lg) var(--ease);
}

.fade-in-up--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay Helpers */
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }
.delay-5 { transition-delay: 400ms; }

/* ── Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 24px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 200px;
}

.cookie-banner__text strong {
    display: block;
    color: #f8fafc;
    font-size: 0.93rem;
    margin-bottom: 4px;
}

.cookie-banner__text p {
    color: #cbd5e1; /* Brighter for dark background */
    font-size: 0.83rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #60a5fa;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.2s, opacity 0.2s;
}

.cookie-btn--reject {
    background: rgba(255, 255, 255, 0.09);
    color: #cbd5e1;
}

.cookie-btn--reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cookie-btn--accept {
    background: #3b82f6;
    color: #fff;
}

.cookie-btn--accept:hover {
    background: #2563eb;
}

@media (max-width: 560px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ── Trust Numbers Bar ── */
.trust-numbers {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 22px 0;
}

.trust-numbers__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.tn-item {
    text-align: center;
    padding: 8px 40px;
}

.tn-item strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy, #0f172a);
    line-height: 1;
    margin-bottom: 4px;
}

.tn-item span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tn-sep {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .tn-item { padding: 8px 20px; }
    .tn-item strong { font-size: 1.25rem; }
    .tn-sep { display: none; }
}

/* ── Stats Strip & References – Responsive ── */
@media (max-width: 768px) {
    .stats-strip { padding: 0 0 56px; }
    .stats-strip__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .references__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .stats-strip { padding: 0 0 40px; }
    .stats-strip__inner {
        gap: 12px;
    }
    .stats-strip__item { padding: 20px 12px; }
    .stats-strip__item strong {
        font-size: 1.35rem;
    }
}

/* ── CTA Banner guarantee ── */
.cta-banner__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cta-guarantee {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-weight: 500;
}

/* ── Theme Toggle ── */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease, transform 0.3s ease;
}
@media (max-width: 1024px) {
    .hero {
        padding-bottom: 80px; /* Reduced for mobile to stay compact */
    }
    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-mockup-wrap {
        display: none !important;
    }
    .hero-bottom-fade {
        height: 60px; /* Even lower for mobile to avoid text overlap */
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .hero-mockup-wrap {
        animation: none !important;
    }
}
