/* CART402 - LUXURY MINIMAL (PROPER) */

:root {
    --black: #000000;
    --gray-50: #0a0a0a;
    --gray-100: #111111;
    --gray-200: #1a1a1a;
    --gray-300: rgba(255, 255, 255, 0.08); /* Semi-transparent white - adaptive borders */
    --gray-400: rgba(255, 255, 255, 0.12); /* Slightly brighter for hover states */
    --gray-500: #666666;
    --gray-600: #888888;
    --gray-700: #a0a0a0;
    --gray-800: #cccccc;
    --white: #ffffff;
    
    --font-display: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-display);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise texture for premium feel (anodized metal effect) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--white);
    color: var(--black);
}

/* Grid Canvas */
#grid-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--gray-300);
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.03),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 17px;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: all 0.2s var(--ease);
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
}

.nav-logo:hover {
    text-shadow: 0 2px 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s var(--ease);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    box-shadow: 
        0 2px 8px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Hero */
.hero {
    padding: 200px 0 140px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 80px;
    align-items: center;
}

.hero-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: var(--white); /* Crisp white */
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); /* Light shadow for contrast */
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.8s var(--ease) backwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .line:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-desc {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 48px;
    max-width: 540px;
}

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

.btn-primary {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    background: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    border: none;
    cursor: pointer;
    box-shadow: 
        0 2px 10px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Border Beam on primary button */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 60%,
        transparent 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200% 100%;
    animation: beam-move 3s linear infinite;
    opacity: 0.4;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(255, 255, 255, 0.25),
        0 0 40px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: var(--white);
}

.btn-primary:hover::before {
    animation-duration: 2s; /* Faster beam on hover */
}

.btn-secondary {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--gray-300);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Terminal */
.hero-terminal {
    position: relative;
}

.terminal {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.3s var(--ease);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Border Beam - White light beam animation */
.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 60%,
        transparent 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 200% 100%;
    animation: beam-move 3s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes beam-move {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Ambient glow для depth */
.terminal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--white);
    filter: blur(120px);
    opacity: 0.08; /* Subtle white glow for monochrome */
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.terminal:hover {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.terminal-header {
    background: var(--gray-200);
    border-bottom: 1px solid var(--gray-300);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.terminal-title {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gray-600);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
}

.code-line {
    display: flex;
    gap: 20px;
}

.ln {
    color: var(--gray-500);
    user-select: none;
    min-width: 20px;
    text-align: right;
}

.kw { color: #c678dd; font-weight: 600; }
.cls { color: #e5c07b; }
.str { color: #98c379; }
.prop { color: #e06c75; }
.fn { color: #61afef; }
.num { color: #d19a66; }
.comment { color: var(--gray-500); font-style: italic; }
.type { color: #e5c07b; }

.code-line.success {
    color: #28c840;
}

.terminal-badge {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    padding: 12px 20px;
    border-radius: 10px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.badge-1 {
    top: -30px;
    right: -40px;
}

.badge-2 {
    bottom: 40px;
    right: -60px;
    animation-delay: 2s;
}

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

/* Metrics */
.metrics {
    padding: 80px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.metric-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s var(--ease);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* Spotlight effect */
.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.4),
        transparent 40%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

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

.metric-card:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: var(--gray-400);
}

.metric-card.featured {
    grid-row: span 1;
}

.card-label {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.card-value {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
}

.card-value .unit {
    font-size: 28px;
    color: var(--gray-500);
}

.card-change {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: var(--gray-200);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Features */
.features {
    padding: 140px 0;
}

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

.section-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 20px;
    color: var(--gray-700);
}

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

.feature-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s var(--ease);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* Glass Parallax - Inner content transitions */
[data-tilt] h3,
[data-tilt] p,
[data-tilt] .feature-number,
[data-tilt] .feature-visual {
    transition: transform 0.1s ease-out;
}

/* Spotlight effect - подсветка границ при hover */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.4),
        transparent 40%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

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

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: var(--gray-400);
}

.feature-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em; /* Tighter tracking */
    margin-bottom: 12px;
    transition: transform 0.1s ease-out; /* Glass parallax */
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 24px;
    transition: transform 0.1s ease-out; /* Glass parallax */
}

.feature-visual {
    margin-top: 24px;
}

.comparison {
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 16px;
}

.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.comp-divider {
    height: 1px;
    background: var(--gray-300);
    margin: 8px 0;
}

.comp-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-value {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
}

.comp-value.bad { color: #ff5f57; }
.comp-value.good { color: #28c840; }

.timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
}

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

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
    border: 2px solid var(--gray-500);
}

.timeline-step.active .timeline-dot {
    background: #28c840;
    border-color: #28c840;
    box-shadow: 0 0 12px rgba(40, 200, 64, 0.6);
}

.timeline-line {
    flex: 1;
    height: 2px;
    background: var(--gray-400);
}

.timeline-line.active {
    background: #28c840;
}

.timeline-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-time {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--white);
}

.stat {
    text-align: center;
    padding: 32px;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
}

.big-stat {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}

.stat-sublabel {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 12px;
}

.code-block {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    padding: 20px;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
}

.globe {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.globe-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    animation: rotateRing 10s linear infinite;
}

.globe-ring:nth-child(2) {
    transform: rotateY(60deg);
}

.globe-ring:nth-child(3) {
    transform: rotateY(-60deg);
}

@keyframes rotateRing {
    from { transform: rotateX(0deg); }
    to { transform: rotateX(360deg); }
}

.feature-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
    padding: 8px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* API */
.api {
    padding: 140px 0;
}

.api-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.api-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.api-method {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.api-method:hover {
    background: var(--gray-200);
    transform: translateX(4px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.api-method.active {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 
        0 4px 20px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.method-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
}

.api-method.active .method-badge {
    color: var(--black);
}

.method-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.api-method.active .method-name {
    color: var(--black);
}

.api-code {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.code-header {
    background: var(--gray-200);
    border-bottom: 1px solid var(--gray-300);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-tabs {
    display: flex;
    gap: 8px;
}

.code-tab {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.code-tab:hover {
    background: var(--gray-300);
}

.code-tab.active {
    background: var(--gray-300);
    color: var(--white);
}

.code-copy {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    background: transparent;
    border: 1px solid var(--gray-300);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.code-copy:hover {
    background: var(--gray-300);
    color: var(--white);
}

.code-body {
    padding: 32px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
}

/* CTA */
.cta {
    padding: 140px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 20px;
    color: var(--gray-700);
    margin-bottom: 48px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

/* Giant watermark logo для premium branding */
.footer::before {
    content: 'CART402';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 160px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 100px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-600);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--gray-700);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s var(--ease);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-300);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-600);
}

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

.footer-legal a {
    font-size: 12px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

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

/* Reveal on Scroll - Smooth entry animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Very smooth easing */
}

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

/* Responsive */
@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 72px;
    }
    
    .section-title,
    .cta-title {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .api-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        padding: 140px 0 100px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-desc {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}
