/* ═══════════════════════════════════════════════════════════════
   MEDIA SWIPE - Design System & Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --bg-primary: #08080d;
    --bg-secondary: #0e0e16;
    --bg-tertiary: #14141e;
    --accent: #E63946;
    --accent-dark: #c5303c;
    --accent-glow: rgba(230, 57, 70, 0.25);
    --accent-glow-strong: rgba(230, 57, 70, 0.5);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.55);
    --text-muted: rgba(240, 240, 245, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glass */
    --blur-amount: 20px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

/* ── UTILITIES ───────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%      { transform: translateY(-20px) rotate(2deg); }
    66%      { transform: translateY(10px) rotate(-1deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%      { transform: translateY(15px) rotate(-2deg); }
    66%      { transform: translateY(-25px) rotate(1deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes scroll-line-anim {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll-triggered */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Hero animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.2s; }
.animate-in:nth-child(2) { animation-delay: 0.4s; }
.animate-in:nth-child(3) { animation-delay: 0.6s; }
.animate-in:nth-child(4) { animation-delay: 0.8s; }


/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 14px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    pointer-events: none;
    transition: top var(--transition-smooth);
}

.navbar.scrolled {
    top: 10px;
}

.nav-container {
    width: min(calc(100% - 32px), var(--container-max));
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 10px 12px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(9, 9, 15, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 18px 55px rgba(0, 0, 0, 0.32),
        0 0 35px rgba(230, 57, 70, 0.08);
    backdrop-filter: blur(26px) saturate(145%);
    -webkit-backdrop-filter: blur(26px) saturate(145%);
    transition: border-color var(--transition-smooth), background var(--transition-smooth), box-shadow var(--transition-smooth), padding var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    padding: 8px 10px 8px 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.04)),
        rgba(8, 8, 13, 0.78);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 42px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(230, 57, 70, 0.06);
}

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

.logo-img {
    height: 38px;
    width: auto;
    filter: brightness(1.08) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 650;
    color: rgba(240, 240, 245, 0.66);
    padding: 8px 12px;
    border-radius: 12px;
    letter-spacing: 0;
    transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-offer-item {
    position: relative;
}

.nav-offer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-offer-link > i {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: grid;
    width: 320px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(8, 8, 13, 0.96);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(24px);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 14px;
}

.nav-offer-item:hover .nav-submenu,
.nav-offer-item:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-offer-item:hover .nav-offer-link > i,
.nav-offer-item:focus-within .nav-offer-link > i {
    transform: rotate(180deg);
}

.nav-submenu > a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 11px;
    border-radius: 11px;
}

.nav-submenu > a:hover,
.nav-submenu > a:focus-visible {
    background: rgba(255, 255, 255, 0.065);
}

.nav-submenu > a > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--accent);
    font-size: 1.05rem;
    border-radius: 9px;
    background: rgba(230, 57, 70, 0.08);
}

.nav-submenu > a > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-submenu b {
    font-size: 0.78rem;
}

.nav-submenu small {
    color: var(--text-secondary);
    font-size: 0.66rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 750;
    color: #fff;
    padding: 9px 16px;
    min-height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(230, 57, 70, 0.42);
    background:
        linear-gradient(180deg, rgba(230, 57, 70, 0.18), rgba(230, 57, 70, 0.075)),
        rgba(255, 255, 255, 0.035);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 28px rgba(230, 57, 70, 0.18);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta i {
    color: var(--accent);
    font-size: 1rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(180deg, rgba(230, 57, 70, 0.26), rgba(230, 57, 70, 0.1)),
        rgba(255, 255, 255, 0.045);
    border-color: rgba(230, 57, 70, 0.66);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 34px rgba(230, 57, 70, 0.24);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

/* Custom data-flow background */
.hero-light-sheet {
    position: absolute;
    inset: -12% -8%;
    background:
        linear-gradient(118deg, transparent 0 42%, rgba(255, 255, 255, 0.035) 42.2% 42.55%, transparent 42.8% 50%, rgba(230, 57, 70, 0.14) 50.2%, rgba(230, 57, 70, 0.035) 61%, transparent 75%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent 38%);
    opacity: 0.8;
    mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.72) 62%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.72) 62%, transparent 100%);
}

.hero-data-field {
    position: absolute;
    inset: 5% 0 7%;
    opacity: 0.68;
    mask-image: radial-gradient(ellipse 90% 70% at 54% 44%, black 0%, rgba(0, 0, 0, 0.68) 48%, transparent 82%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 54% 44%, black 0%, rgba(0, 0, 0, 0.68) 48%, transparent 82%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.6px, transparent 0.8px);
    background-size: 18px 18px;
    opacity: 0.08;
    mask-image: linear-gradient(180deg, black 0%, transparent 86%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 86%);
}

.data-route,
.data-sheet,
.data-core {
    position: absolute;
    display: block;
}

.data-route {
    height: 1px;
    width: 270px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.08), rgba(230, 57, 70, 0.5), rgba(255, 255, 255, 0.18), transparent);
    opacity: 0.48;
    overflow: hidden;
    transform-origin: left center;
}

.data-route::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: translateX(-100%);
    animation: data-route-pulse 4.8s ease-in-out infinite;
}

.data-route--1 { top: 27%; left: 11%; transform: rotate(7deg); }
.data-route--2 { top: 38%; left: 34%; width: 340px; transform: rotate(-10deg); }
.data-route--3 { top: 65%; left: 17%; width: 430px; transform: rotate(-3deg); }
.data-route--4 { top: 53%; right: 5%; width: 300px; transform: rotate(13deg); }

@keyframes data-route-pulse {
    0%, 42% { transform: translateX(-100%); opacity: 0; }
    55% { opacity: 0.9; }
    78%, 100% { transform: translateX(100%); opacity: 0; }
}

.data-sheet {
    width: 128px;
    height: 78px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
        repeating-linear-gradient(0deg, transparent 0 16px, rgba(255, 255, 255, 0.055) 16px 17px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(255, 255, 255, 0.045) 31px 32px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 44px rgba(0, 0, 0, 0.18);
}

.data-sheet::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 12px;
    width: 42px;
    height: 8px;
    border-radius: 3px;
    background: rgba(230, 57, 70, 0.28);
    box-shadow: 48px 21px 0 rgba(255, 255, 255, 0.08), 18px 42px 0 rgba(230, 57, 70, 0.16);
}

.data-sheet--1 { top: 18%; left: 6%; transform: rotate(-7deg); }
.data-sheet--2 { top: 13%; left: 43%; transform: rotate(5deg); }
.data-sheet--3 { bottom: 18%; left: 24%; transform: rotate(4deg); }
.data-sheet--4 { top: 60%; right: 8%; transform: rotate(-5deg); }

.data-core {
    right: 32%;
    top: 33%;
    width: 132px;
    height: 86px;
    border-radius: 8px;
    border: 1px solid rgba(230, 57, 70, 0.18);
    background: rgba(230, 57, 70, 0.045);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 42px rgba(230, 57, 70, 0.12);
}

.data-core::before,
.data-core::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.data-core::before { top: 24px; }
.data-core::after { bottom: 24px; }

.data-core span {
    position: absolute;
    bottom: 16px;
    width: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.8), rgba(230, 57, 70, 0.18));
}

.data-core span:nth-child(1) { left: 34px; height: 28px; }
.data-core span:nth-child(2) { left: 61px; height: 46px; }
.data-core span:nth-child(3) { left: 88px; height: 36px; }

/* ── HERO SPLIT LAYOUT ───────────────────────────────────────── */
.hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: var(--container-max);
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(240, 240, 245, 0.68);
    letter-spacing: 0;
    margin-bottom: 20px;
    text-transform: none;
}

.hero-tag::before {
    content: '';
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), rgba(230, 57, 70, 0.18));
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.08rem;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
    margin-bottom: 26px;
    max-width: 560px;
    text-wrap: balance;
}

.hero-title-line {
    display: block;
}

.hero-title .text-accent {
    color: #ff4655;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.22);
}

.hero-subtitle {
    font-size: 1.04rem;
    color: rgba(240, 240, 245, 0.62);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── HERO RIGHT: AI DASHBOARD ───────────────────────────────── */
.hero-right {
    animation-delay: 0.5s !important;
}

.ai-dashboard {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(230,57,70,0.08);
}

/* Dashboard header */
.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.dash-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #28c840;
    letter-spacing: 0.08em;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #28c840;
    border-radius: 50%;
    animation: pulse-glow 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px #28c840;
}

/* Metrics row */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dash-metric {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.dash-metric:last-child { border-right: none; }

.dash-metric--accent .dm-value {
    color: var(--accent);
}

.dm-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.1;
}

.dm-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.04em;
}

/* Process flow */
.dash-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 4px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.flow-node--active,
.flow-node.fn-lit {
    opacity: 1;
}

.fn-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.flow-node.fn-lit .fn-icon {
    border-color: rgba(230,57,70,0.4);
    background: rgba(230,57,70,0.08);
    box-shadow: 0 0 16px rgba(230,57,70,0.2);
}

.fn-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.flow-arrow {
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0;
}

.flow-arrow.fa-animate::after {
    animation: arrow-travel 0.5s ease forwards;
}

@keyframes arrow-travel {
    from { left: -100%; opacity: 1; }
    to   { left: 100%; opacity: 1; }
}

/* Live feed */
.dash-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    max-height: 130px;
    overflow: hidden;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s;
}

.feed-item:last-child { border-bottom: none; }

.feed-item--in {
    background: rgba(230,57,70,0.04);
    animation: feedSlideIn 0.4s ease;
}

@keyframes feedSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.fi-icon { font-size: 1rem; flex-shrink: 0; }

.fi-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.fi-name {
    font-size: 0.78rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fi-time {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
}

.fi-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.fi-badge--new {
    background: rgba(230,57,70,0.15);
    border: 1px solid rgba(230,57,70,0.3);
    color: var(--accent);
}

.fi-badge--ok {
    background: rgba(40,200,64,0.1);
    border: 1px solid rgba(40,200,64,0.25);
    color: #28c840;
}

/* Speed comparison */
.dash-speed {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.speed-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.speed-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    width: 62px;
    flex-shrink: 0;
}

.speed-bar {
    flex: 1;
    height: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.speed-fill {
    height: 100%;
    border-radius: 3px;
    width: 0;
    transition: width 1.8s cubic-bezier(0.4,0,0.2,1);
}

.speed-fill--slow {
    background: rgba(255,255,255,0.2);
}

.speed-fill--fast {
    background: linear-gradient(90deg, var(--accent), #ff6b6b);
    box-shadow: 0 0 8px var(--accent-glow);
}

.speed-fill--slow.animated { width: 90%; }
.speed-fill--fast.animated { width: 8%; }

.speed-val {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    width: 56px;
    text-align: right;
    flex-shrink: 0;
}

.speed-val--slow { color: var(--text-muted); }
.speed-val--fast { color: var(--accent); }

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--accent);
    animation: scroll-line-anim 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.15;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.btn-primary {
    background:
        linear-gradient(180deg, rgba(230, 57, 70, 0.16), rgba(230, 57, 70, 0.055)),
        rgba(255, 255, 255, 0.02);
    color: #ff5260;
    border: 1px solid rgba(230, 57, 70, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 26px rgba(230, 57, 70, 0.11);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-primary:hover {
    background:
        linear-gradient(180deg, rgba(230, 57, 70, 0.24), rgba(230, 57, 70, 0.08)),
        rgba(255, 255, 255, 0.035);
    border-color: rgba(230, 57, 70, 0.68);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 16px 34px rgba(230, 57, 70, 0.18);
    transform: translateY(-1px);
}

.btn-primary:hover .btn-icon {
    transform: translateX(2px);
    color: #fff;
}

.btn-secondary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        rgba(255, 255, 255, 0.018);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.btn-secondary:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.btn-large {
    min-height: 50px;
    padding: 13px 24px;
    font-size: 0.98rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT / STATS
   ═══════════════════════════════════════════════════════════════ */
.about {
    padding: var(--section-padding);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    gap: 58px;
    align-items: start;
}

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

.about-text p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 38px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
}

.about-signal {
    padding: 20px 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(255, 255, 255, 0.015);
}

.about-signal span {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
}

.about-signal strong {
    display: block;
    color: rgba(240, 240, 245, 0.82);
    font-size: 0.94rem;
    line-height: 1.4;
}

.partnership-panel {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022) 48%, rgba(230, 57, 70, 0.055)),
        rgba(10, 10, 16, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 28px 80px rgba(0, 0, 0, 0.25);
}

.partnership-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), rgba(230, 57, 70, 0.55), transparent);
}

.partnership-panel::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 64px rgba(230, 57, 70, 0.025),
        0 0 0 128px rgba(255, 255, 255, 0.015);
    opacity: 0.8;
    pointer-events: none;
}

.partnership-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.partnership-top span {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
}

.partnership-top strong {
    padding: 6px 10px;
    color: rgba(240, 240, 245, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(230, 57, 70, 0.22);
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.06);
}

.partnership-panel h3 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin-bottom: 28px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.25vw, 2rem);
    line-height: 1.16;
    letter-spacing: -0.01em;
}

.partnership-flow {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    margin-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partnership-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partnership-row > span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(230, 57, 70, 0.78);
    line-height: 1.5;
}

.partnership-row strong {
    display: block;
    margin-bottom: 4px;
    color: rgba(240, 240, 245, 0.88);
    font-size: 0.98rem;
}

.partnership-row p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

.partnership-footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.partnership-footer span {
    padding: 14px 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.partnership-footer strong {
    display: block;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.1;
}


/* ═══════════════════════════════════════════════════════════════
   SALES MACHINE COMPARISON
   ═══════════════════════════════════════════════════════════════ */
.sales-machine-showcase {
    --machine-green: #35d39a;
    --machine-green-soft: rgba(53, 211, 154, 0.1);
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(53, 211, 154, 0.07), transparent 28%),
        radial-gradient(circle at 8% 82%, rgba(230, 57, 70, 0.1), transparent 30%),
        var(--bg-secondary);
}

.sales-machine-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.sales-machine-showcase .container {
    position: relative;
    z-index: 1;
    max-width: 1480px;
}

.sales-machine-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 52px;
}

.sales-machine-heading > p {
    padding: 0 0 4px 24px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
    border-left: 1px solid rgba(230, 57, 70, 0.42);
}

.sales-machine-compare {
    display: grid;
    grid-template-columns: minmax(430px, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
}

.sales-flow-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016));
}

.sales-flow-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.sales-flow-card--before {
    border-color: rgba(230, 57, 70, 0.18);
}

.sales-flow-card--after {
    border-color: rgba(53, 211, 154, 0.18);
}

.sales-flow-card--before::after,
.sales-flow-card--after::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    pointer-events: none;
}

.sales-flow-card--before::after {
    background: rgba(230, 57, 70, 0.055);
    box-shadow: 0 0 0 48px rgba(230, 57, 70, 0.02);
}

.sales-flow-card--after::after {
    background: rgba(53, 211, 154, 0.045);
    box-shadow: 0 0 0 48px rgba(53, 211, 154, 0.015);
}

.sales-flow-header {
    position: relative;
    z-index: 1;
    min-height: 174px;
    padding-bottom: 24px;
}

.sales-flow-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sales-flow-state i {
    font-size: 1rem;
}

.sales-flow-state--before {
    color: var(--accent);
}

.sales-flow-state--after {
    color: var(--machine-green);
}

.sales-flow-header h3 {
    margin-bottom: 9px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.sales-flow-header p {
    max-width: 520px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

.sales-flow-map {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    padding: 24px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        rgba(4, 4, 8, 0.28);
    background-size: 24px 24px;
}

.sales-flow-map--before {
    flex-direction: column;
}

.sales-flow-map--after {
    padding-right: 30px;
    padding-left: 30px;
}

.sales-flow-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 88px;
    padding: 11px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sales-flow-node > i {
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 1.35rem;
}

.sales-flow-node strong,
.sales-flow-node > span {
    font-size: 0.72rem;
    line-height: 1.3;
}

.sales-flow-node > span {
    color: var(--text-secondary);
    font-size: 0.62rem;
}

.sales-flow-node--source {
    min-width: 132px;
    min-height: 64px;
    padding: 10px 16px;
}

.sales-flow-node--source > i {
    margin-bottom: 4px;
    color: var(--accent);
}

.sales-flow-node--overloaded {
    min-width: 168px;
    border-color: rgba(230, 57, 70, 0.34);
    background: rgba(230, 57, 70, 0.09);
    box-shadow: 0 0 36px rgba(230, 57, 70, 0.08);
}

.sales-flow-node--overloaded > i,
.sales-flow-node--overloaded strong {
    color: var(--accent);
}

.sales-flow-node--overloaded b {
    position: absolute;
    top: -9px;
    right: -8px;
    padding: 4px 7px;
    color: #ff8490;
    font-family: var(--font-mono);
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(230, 57, 70, 0.28);
    border-radius: 999px;
    background: #271016;
}

.sales-flow-link {
    position: relative;
    flex: 0 0 auto;
}

.sales-flow-link > i {
    position: absolute;
    z-index: 1;
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0;
}

.sales-flow-link--broken {
    width: 2px;
    height: 40px;
    margin: 5px 0;
    background: repeating-linear-gradient(to bottom, rgba(230, 57, 70, 0.58) 0 5px, transparent 5px 9px);
}

.sales-flow-link--broken > i {
    top: -1px;
    left: -2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.sales-flow-link--broken > span {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 110px;
    color: rgba(230, 57, 70, 0.7);
    font-family: var(--font-mono);
    font-size: 0.54rem;
    white-space: nowrap;
}

.sales-flow-branches {
    position: relative;
    width: 72%;
    height: 38px;
    margin-top: 2px;
    border-top: 1px dashed rgba(230, 57, 70, 0.38);
}

.sales-flow-branches::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 1px;
    height: 15px;
    background: rgba(230, 57, 70, 0.45);
}

.sales-flow-branches i {
    position: absolute;
    top: 0;
    width: 1px;
    height: 38px;
    background: linear-gradient(rgba(230, 57, 70, 0.42), transparent);
}

.sales-flow-branches i:nth-child(1) { left: 0; }
.sales-flow-branches i:nth-child(2) { left: 50%; }
.sales-flow-branches i:nth-child(3) { right: 0; }

.sales-flow-tasks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.sales-flow-tasks > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    padding: 8px;
    color: var(--text-secondary);
    font-size: 0.64rem;
    line-height: 1.25;
    text-align: center;
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: 9px;
    background: rgba(230, 57, 70, 0.035);
}

.sales-flow-tasks i {
    flex: 0 0 auto;
    color: rgba(230, 57, 70, 0.72);
    font-size: 0.95rem;
}

.sales-machine-lane {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sales-machine-lane .sales-flow-node {
    flex: 1 1 0;
    min-width: 104px;
    min-height: 108px;
    padding: 14px 10px;
    border-color: rgba(53, 211, 154, 0.16);
    background: rgba(53, 211, 154, 0.045);
}

.sales-machine-lane .sales-flow-node strong {
    font-size: 0.76rem;
}

.sales-machine-lane .sales-flow-node > span {
    margin-top: 3px;
    font-size: 0.64rem;
    line-height: 1.35;
}

.sales-machine-lane .sales-flow-node > i {
    color: var(--machine-green);
}

.sales-flow-link--good {
    width: 34px;
    height: 2px;
    flex: 0 0 34px;
    background: rgba(53, 211, 154, 0.23);
}

.sales-flow-link--good::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(53, 211, 154, 0.55);
    border-right: 1px solid rgba(53, 211, 154, 0.55);
    transform: rotate(45deg);
}

.sales-flow-link--good > i {
    top: -2px;
    left: 0;
    background: var(--machine-green);
    box-shadow: 0 0 11px var(--machine-green);
}

.sales-flow-outcome {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.sales-flow-outcome span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px;
    font-size: 0.67rem;
    line-height: 1.3;
    text-align: center;
    border-radius: 9px;
}

.sales-flow-outcome--before span {
    color: rgba(255, 160, 168, 0.78);
    background: rgba(230, 57, 70, 0.055);
}

.sales-flow-outcome--after span {
    color: rgba(119, 235, 191, 0.82);
    background: rgba(53, 211, 154, 0.055);
}

.sales-machine-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 20px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.sales-machine-footer > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    max-width: 830px;
}

.sales-machine-footer span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sales-machine-footer p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
}

.sales-machine-footer .btn {
    flex: 0 0 auto;
}

.sales-machine-footer-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.sales-machine-showcase.is-running .sales-flow-link--broken > i {
    animation: salesBrokenPacket 2.5s ease-in-out infinite;
}

.sales-machine-showcase.is-running .sales-flow-node--overloaded {
    animation: salesOverloadPulse 2.5s ease-in-out infinite;
}

.sales-machine-showcase.is-running .sales-flow-tasks > div {
    animation: salesTaskWarning 5s ease-in-out infinite;
}

.sales-machine-showcase.is-running .sales-flow-tasks > div:nth-child(2) { animation-delay: 0.35s; }
.sales-machine-showcase.is-running .sales-flow-tasks > div:nth-child(3) { animation-delay: 0.7s; }

.sales-machine-showcase.is-running .sales-flow-link--good > i {
    animation: salesGoodPacket 4.2s linear infinite;
    animation-delay: calc(var(--flow-step) * 0.72s);
}

.sales-machine-showcase.is-running .sales-machine-lane .sales-flow-node {
    animation: salesMachineNode 4.2s ease-in-out infinite;
    animation-delay: calc(var(--flow-step) * 0.72s);
}

@keyframes salesBrokenPacket {
    0% { opacity: 0; transform: translateY(0); }
    18% { opacity: 1; }
    55% { opacity: 1; transform: translateY(18px); }
    65%, 100% { opacity: 0; transform: translateY(18px); }
}

@keyframes salesOverloadPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(230, 57, 70, 0.05); }
    50% { box-shadow: 0 0 42px rgba(230, 57, 70, 0.2); }
}

@keyframes salesTaskWarning {
    0%, 28%, 100% { border-color: rgba(230, 57, 70, 0.15); transform: translateX(0); }
    31% { border-color: rgba(230, 57, 70, 0.48); transform: translateX(-2px); }
    34% { transform: translateX(2px); }
    37% { transform: translateX(0); }
}

@keyframes salesGoodPacket {
    0% { left: 0; opacity: 0; }
    12% { opacity: 1; }
    55% { opacity: 1; }
    72%, 100% { left: calc(100% - 5px); opacity: 0; }
}

@keyframes salesMachineNode {
    0%, 14%, 100% { border-color: rgba(53, 211, 154, 0.16); background: rgba(53, 211, 154, 0.045); }
    24%, 38% { border-color: rgba(53, 211, 154, 0.5); background: rgba(53, 211, 154, 0.105); box-shadow: 0 0 24px rgba(53, 211, 154, 0.11); }
    48% { border-color: rgba(53, 211, 154, 0.16); background: rgba(53, 211, 154, 0.045); box-shadow: none; }
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services {
    padding: var(--section-padding);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.service-card {
    min-height: 420px;
    padding: 34px 30px 28px;
    position: relative;
    overflow: hidden;
    cursor: default;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 0 34px rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.2);
}

.service-card--featured {
    border-color: rgba(230, 57, 70, 0.25);
    background:
        linear-gradient(135deg, rgba(230, 57, 70, 0.08), rgba(255, 255, 255, 0.018) 42%, rgba(255, 255, 255, 0.03)),
        rgba(230, 57, 70, 0.02);
}

.service-card--featured:hover {
    border-color: rgba(230, 57, 70, 0.4);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    letter-spacing: 0.1em;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 22px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
}

.service-icon svg,
.service-icon i {
    width: 26px;
    height: 26px;
    font-size: 1.55rem;
}

.service-title {
    font-size: 1.42rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0;
    line-height: 1.18;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.45;
    letter-spacing: 0;
    transition: color var(--transition-fast);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin-top: 0.52em;
    border-radius: 50%;
    flex: 0 0 6px;
    background: rgba(230, 57, 70, 0.75);
    box-shadow: 0 0 14px rgba(230, 57, 70, 0.22);
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

.service-outcome {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(240, 240, 245, 0.72);
    font-size: 0.88rem;
    line-height: 1.5;
}

.service-outcome-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.service-outcome-link i {
    transition: transform var(--transition-fast);
}

.service-outcome-link:hover i {
    transform: translateX(4px);
}

.service-card--machina {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    gap: 54px;
    min-height: 0;
    cursor: default;
    border-color: rgba(230, 57, 70, 0.22);
    background:
        radial-gradient(circle at 8% 20%, rgba(230, 57, 70, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(230, 57, 70, 0.055), rgba(255, 255, 255, 0.02));
}

.service-machina-intro,
.service-machina-details {
    min-width: 0;
}

.service-machina-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 42px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.service-machina-details .service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
}

.service-machina-details .service-outcome {
    margin-top: 0;
}

.service-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 18px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 700;
}

.service-text-link:hover {
    color: #ff6672;
}

.service-text-link i {
    transition: transform var(--transition-fast);
}

.service-text-link:hover i {
    transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════════
   AI SECTION
   ═══════════════════════════════════════════════════════════════ */
.ai-section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(230, 57, 70, 0.08), transparent 26%),
        radial-gradient(circle at 86% 34%, rgba(230, 57, 70, 0.055), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.035), transparent 32%),
        var(--bg-secondary);
}

.ai-section::before,
.ai-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.ai-section::before { top: 0; }
.ai-section::after  { bottom: 0; }

.ai-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 56px;
    align-items: start;
}

.ai-content .section-title {
    max-width: 760px;
    margin-bottom: 30px;
}

.ai-intro {
    max-width: 680px;
    margin-bottom: 30px;
    padding: 20px 0 0 26px;
    border-left: 1px solid rgba(230, 57, 70, 0.34);
    position: relative;
}

.ai-intro::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    width: 1px;
    height: 54px;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.95), transparent);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.22);
}

.ai-desc,
.ai-note {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.ai-desc {
    margin-bottom: 12px;
}

.ai-note {
    color: rgba(240, 240, 245, 0.78);
    font-weight: 600;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-feature {
    min-height: 216px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 56%, rgba(230, 57, 70, 0.032)),
        rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.09);
}

.ai-feature:hover {
    border-color: rgba(230, 57, 70, 0.2);
}

.ai-feature-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.45rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.ai-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.25;
}

.ai-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Terminal */
.ai-visual {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.ai-terminal {
    padding: 0;
    overflow: hidden;
    border-color: rgba(230, 57, 70, 0.15);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 26px 24px;
    font-family: var(--font-mono);
    font-size: clamp(0.78rem, 0.9vw, 0.94rem);
    line-height: 1.95;
}

.terminal-line {
    white-space: nowrap;
    overflow: hidden;
}

.t-prompt { color: var(--accent); }
.t-cmd    { color: var(--text-primary); font-weight: 500; }
.t-success { color: #28c840; }
.t-accent  { color: var(--accent); font-weight: 700; }

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
}

.ai-impact-board {
    position: relative;
    overflow: hidden;
    padding: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022) 52%, rgba(230, 57, 70, 0.052)),
        rgba(10, 10, 16, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
}

.ai-impact-board::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.6), rgba(255, 255, 255, 0.34), transparent);
}

.impact-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
}

.impact-top span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.impact-top strong {
    color: rgba(240, 240, 245, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
}

.impact-result {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 22px;
}

.impact-result > div {
    min-height: 130px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.impact-result span {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.impact-result strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    line-height: 0.95;
}

.impact-result p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.5;
}

.impact-result > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--accent);
    border: 1px solid rgba(230, 57, 70, 0.22);
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.07);
}

.impact-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.impact-flow span {
    padding: 12px 10px;
    text-align: center;
    color: rgba(240, 240, 245, 0.76);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
}


/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process {
    padding: var(--section-padding);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.step-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin: 0 auto 16px;
}

.step-content {
    padding: 28px 20px;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════
   KOSZTORYSANT.AI
   ═══════════════════════════════════════════════════════════════ */
.kosztorysant {
    padding: var(--section-padding);
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.kosztorysant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.kosztorysant-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.kosztorysant-logo {
    margin-bottom: 20px;
}

.k-name {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.k-dot {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.kosztorysant-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.kosztorysant-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.kosztorysant-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.kf-icon {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* ── 3D BANNER ── */
@keyframes bannerFloat {
    0%   { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0px); }
    33%  { transform: perspective(1200px) rotateY(-4deg) rotateX(4deg) translateY(-12px); }
    66%  { transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) translateY(6px); }
    100% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0px); }
}

@keyframes glowPulse1 {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.15); }
}

@keyframes glowPulse2 {
    0%, 100% { opacity: 0.2; transform: scale(1) translate(0, 0); }
    50%      { opacity: 0.5; transform: scale(1.2) translate(10px, -10px); }
}

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

.banner-3d-wrapper {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.banner-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.banner-glow-orb--1 {
    width: 300px;
    height: 300px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.4) 0%, transparent 70%);
    animation: glowPulse1 5s ease-in-out infinite;
}

.banner-glow-orb--2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -8%;
    background: radial-gradient(circle, rgba(230, 100, 120, 0.3) 0%, transparent 70%);
    animation: glowPulse2 7s ease-in-out infinite;
}

.banner-glow-orb--3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    animation: glowPulse3 6s ease-in-out infinite;
}

.banner-float-container {
    position: relative;
    z-index: 1;
    animation: bannerFloat 8s ease-in-out infinite;
    will-change: transform;
}

.banner-3d-img {
    display: block;
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(230, 57, 70, 0.15),
        0 0 40px rgba(230, 57, 70, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: box-shadow var(--transition-slow);
}

.banner-3d-wrapper:hover .banner-3d-img {
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(230, 57, 70, 0.25),
        0 0 60px rgba(230, 57, 70, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.banner-reflection {
    position: absolute;
    bottom: -2px;
    left: 5%;
    right: 5%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(230, 57, 70, 0.06), transparent 60%);
    transform: scaleY(-1) perspective(800px) rotateX(15deg);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    border-radius: var(--border-radius);
    pointer-events: none;
    opacity: 0.5;
}

.banner-bottom-glow {
    position: absolute;
    bottom: -25%;
    left: 5%;
    width: 90%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.2) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse1 6s ease-in-out infinite;
}

/* Mockup (legacy fallback) */
.mockup-wrapper {
    position: relative;
}

.mockup-img {
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
    transition: transform var(--transition-slow);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.mockup-wrapper:hover .mockup-img {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mockup-glow {
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-banner {
    padding: 80px 0;
}

.cta-card {
    text-align: center;
    padding: 64px 48px;
    position: relative;
    overflow: hidden;
    border-color: rgba(230, 57, 70, 0.15);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 34%),
        linear-gradient(180deg, rgba(230, 57, 70, 0.035), transparent 28%);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.contact::after {
    content: '';
    position: absolute;
    inset: 12% -12% 8% auto;
    width: 58%;
    background:
        linear-gradient(118deg, transparent 0 27%, rgba(255, 255, 255, 0.04) 27.2% 27.6%, transparent 27.8% 44%, rgba(230, 57, 70, 0.08) 44.2% 44.55%, transparent 44.8%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
    opacity: 0.72;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 74%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 74%, transparent);
    z-index: -1;
}

.contact-header {
    max-width: 860px;
    margin-bottom: 52px;
}

.contact-header-desc {
    max-width: 680px;
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 1.06rem;
    line-height: 1.75;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.86fr) minmax(0, 1.14fr);
    gap: 34px;
    align-items: start;
}

.contact-info {
    position: relative;
}

.contact-panel {
    position: sticky;
    top: 116px;
    padding: 34px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022) 48%, rgba(230, 57, 70, 0.045)),
        rgba(10, 10, 16, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 26px 70px rgba(0, 0, 0, 0.24);
}

.contact-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    opacity: 0.55;
}

.contact-eyebrow,
.contact-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contact-eyebrow::before,
.contact-form-kicker::before {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.contact-panel h3 {
    max-width: 420px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.contact-panel-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.contact-proof-list {
    display: grid;
    gap: 0;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-proof-item {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 64px;
    padding: 13px 0;
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.45;
}

.contact-proof-item + .contact-proof-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ff6470;
    border: 1px solid rgba(230, 57, 70, 0.22);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.035)),
        rgba(255, 255, 255, 0.025);
}

.contact-proof-icon i {
    font-size: 1rem;
}

.contact-direct {
    display: grid;
    gap: 0;
    margin-bottom: 24px;
}

.contact-person {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.contact-person:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-person:hover {
    color: #fff;
    transform: translateX(2px);
}

.contact-person-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.contact-person-name {
    font-weight: 750;
    line-height: 1.2;
}

.contact-role {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.contact-email {
    min-width: 0;
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.66);
    overflow-wrap: anywhere;
    transition: color var(--transition-fast);
}

.contact-person:hover .contact-email {
    color: #ff6470;
}

.contact-company {
    padding-top: 6px;
}

.company-name {
    font-weight: 750;
    font-size: 1rem;
    margin-bottom: 6px;
}

.company-meta {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Form */
.contact-form {
    position: relative;
    overflow: hidden;
    padding: 38px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.03) 52%, rgba(230, 57, 70, 0.045)),
        rgba(11, 11, 18, 0.78);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 28px 80px rgba(0, 0, 0, 0.28);
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.75), rgba(255, 255, 255, 0.4), transparent);
    opacity: 0.8;
}

.contact-form-header {
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.contact-form-header p {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
        rgba(5, 5, 10, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 12px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-group input {
    min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028)),
        rgba(5, 5, 10, 0.42);
    border-color: rgba(230, 57, 70, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 4px rgba(230, 57, 70, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 148px;
    line-height: 1.65;
}

.contact-form .btn-full {
    min-height: 48px;
}

.contact-form-note {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    height: 36px;
    width: auto;
    opacity: 0.7;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-seo {
    max-width: 640px;
    text-align: center;
}

.footer-seo p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
    opacity: 0.6;
}

.footer-seo a {
    color: var(--accent);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-seo a:hover {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
    .sales-machine-compare {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

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

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

    .ai-layout,
    .kosztorysant-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sales-machine-heading,
    .sales-machine-compare {
        grid-template-columns: 1fr;
    }

    .sales-machine-heading {
        gap: 26px;
    }

    .sales-machine-heading > p {
        max-width: 760px;
    }

    .ai-visual {
        position: relative;
        top: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        position: relative;
        top: auto;
    }

    .hero-title {
        font-size: 3.45rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
        --border-radius: 12px;
    }

    /* Navbar mobile */
    .navbar {
        top: 10px;
    }

    .nav-container {
        width: min(calc(100% - 24px), var(--container-max));
        border-radius: 18px;
        padding: 9px 10px 9px 14px;
    }

    .logo-img {
        height: 34px;
    }

    .nav-links {
        position: fixed;
        top: 12px;
        right: -110%;
        width: min(86%, 360px);
        max-width: 360px;
        height: calc(100vh - 24px);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
            rgba(8, 8, 13, 0.93);
        backdrop-filter: blur(30px) saturate(145%);
        -webkit-backdrop-filter: blur(30px) saturate(145%);
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 20px 28px;
        gap: 6px;
        transition: right var(--transition-smooth);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 22px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 12px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        font-size: 0.96rem;
        padding: 11px 12px;
        width: 100%;
    }

    .nav-offer-item {
        width: 100%;
    }

    .nav-offer-link {
        justify-content: space-between;
    }

    .nav-submenu {
        position: static;
        width: 100%;
        margin: 2px 0 8px;
        padding: 4px 0 4px 12px;
        border: 0;
        border-left: 1px solid rgba(230, 57, 70, 0.22);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-offer-item:hover .nav-submenu,
    .nav-offer-item:focus-within .nav-submenu {
        transform: none;
    }

    .nav-submenu > a {
        grid-template-columns: 30px 1fr;
        padding: 8px;
    }

    .nav-submenu > a > i {
        width: 30px;
        height: 30px;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-light-sheet {
        opacity: 0.62;
    }

    .hero-data-field {
        inset: 6% -22% 10%;
        opacity: 0.34;
    }

    .data-sheet--1,
    .data-route--1 {
        display: none;
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.02;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 360px);
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Hero split → stacked on mobile */
    .hero-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-left {
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-signals {
        grid-template-columns: 1fr;
    }

    .partnership-panel {
        padding: 28px 22px;
    }

    .partnership-top,
    .impact-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .partnership-footer,
    .ai-features {
        grid-template-columns: 1fr;
    }

    .sales-flow-card {
        padding: 26px 22px;
    }

    .sales-flow-header {
        min-height: 0;
    }

    .sales-machine-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sales-machine-footer > div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sales-machine-footer-actions {
        width: 100%;
    }

    .service-card--machina {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .service-machina-details {
        padding: 24px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 0;
    }

    .ai-feature {
        min-height: 0;
    }

    .impact-result {
        grid-template-columns: 1fr;
    }

    .impact-result > i {
        transform: rotate(90deg);
        justify-self: center;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    /* Cards */
    .service-card {
        padding: 28px 24px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .contact::after {
        opacity: 0.34;
        width: 95%;
    }

    .contact-header {
        margin-bottom: 34px;
    }

    .contact-header-desc {
        font-size: 0.98rem;
    }

    .contact-panel {
        padding: 28px 22px;
    }

    .contact-proof-item {
        grid-template-columns: 32px 1fr;
        gap: 12px;
        font-size: 0.88rem;
    }

    .contact-person {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .contact-email {
        justify-self: start;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .contact-form-header {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    /* Mockup */
    .mockup-img {
        transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
    }

    /* 3D Banner mobile */
    @keyframes bannerFloatMobile {
        0%   { transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateY(0px); }
        50%  { transform: perspective(800px) rotateY(-2deg) rotateX(3deg) translateY(-8px); }
        100% { transform: perspective(800px) rotateY(-3deg) rotateX(2deg) translateY(0px); }
    }

    .banner-float-container {
        animation: bannerFloatMobile 8s ease-in-out infinite;
    }

    .banner-glow-orb--1 { width: 180px; height: 180px; }
    .banner-glow-orb--2 { width: 120px; height: 120px; }
    .banner-glow-orb--3 { width: 150px; height: 150px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.32rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .partnership-row {
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .sales-machine-heading {
        margin-bottom: 34px;
    }

    .sales-machine-heading > p {
        padding-left: 16px;
        font-size: 0.9rem;
    }

    .sales-flow-map {
        min-height: 0;
        padding: 20px 14px;
    }

    .sales-flow-tasks,
    .sales-flow-outcome {
        grid-template-columns: 1fr;
    }

    .sales-flow-branches {
        display: none;
    }

    .sales-flow-tasks {
        margin-top: 14px;
    }

    .sales-machine-lane {
        flex-direction: column;
        gap: 0;
    }

    .sales-machine-lane .sales-flow-node {
        width: min(100%, 230px);
        min-width: 0;
        min-height: 76px;
        flex: 0 0 auto;
    }

    .sales-flow-link--good {
        width: 2px;
        height: 24px;
        flex: 0 0 24px;
    }

    .sales-flow-link--good::before {
        top: auto;
        right: -3px;
        bottom: -1px;
        transform: rotate(135deg);
    }

    .sales-flow-link--good > i {
        top: 0;
        left: -2px;
    }

    .sales-machine-showcase.is-running .sales-flow-link--good > i {
        animation-name: salesGoodPacketVertical;
    }

    .sales-machine-footer {
        padding: 22px 18px;
    }

    .sales-machine-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .sales-machine-footer-actions {
        flex-direction: column;
    }

    .service-machina-details .service-features {
        grid-template-columns: 1fr;
    }

    .ai-impact-board {
        padding: 22px 18px;
    }

    .terminal-body {
        padding: 22px 18px;
        font-size: 0.74rem;
    }

    .terminal-line {
        white-space: normal;
    }

    .contact-panel,
    .contact-form {
        padding: 24px 18px;
    }

    .contact-panel h3,
    .contact-form-header h3 {
        font-size: 1.34rem;
    }

    .contact-proof-icon {
        width: 32px;
        height: 32px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@keyframes salesGoodPacketVertical {
    0% { top: 0; left: -2px; opacity: 0; }
    12% { opacity: 1; }
    55% { opacity: 1; }
    72%, 100% { top: calc(100% - 5px); left: -2px; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sales-machine-showcase .sales-flow-link > i,
    .sales-machine-showcase .sales-flow-node--overloaded,
    .sales-machine-showcase .sales-flow-tasks > div,
    .sales-machine-showcase .sales-machine-lane .sales-flow-node {
        animation: none !important;
    }

    .sales-flow-link > i {
        opacity: 1;
    }
}

/* ── FOOTER SOCIAL MEDIA ─────────────────────────────────────── */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    white-space: nowrap;
}

.footer-social-link:hover {
    color: #fff;
    background: rgba(24, 119, 242, 0.12);
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 0 18px rgba(24, 119, 242, 0.2);
}

.footer-social-link svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}
