/* ═══════════════════════════════════════════════════════════════
   CutForge — v2.0 — Profesionálny dark-tech dizajn
   Dizajn princípy: dark-tech aesthetic, subtle gradients, glass cards,
   high contrast, smooth animations, mobile-first
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary: #1A82E2;
    --primary-dark: #0d6dd1;
    --primary-light: #58a6ff;
    --secondary: #FF8800;
    --accent: #00d4aa;
    --success: #3fb950;
    --warning: #d29922;
    --danger: #f85149;

    /* Dark theme */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d1220;
    --bg-card: #131b2e;
    --bg-elevated: #1a2236;
    --border: #232b42;
    --border-light: #2a334d;

    /* Text */
    --text-primary: #e6edf3;
    --text-secondary: #b0bac8;
    --text-muted: #7d8590;
    --text-dim: #6e7681;

    /* Light sections (calc, pricing) */
    --light-bg: #f7f9fc;
    --light-card: #ffffff;
    --light-text: #1a1d23;
    --light-text-muted: #5a6470;
    --light-border: #e3e8ef;

    /* Spacing scale */
    --section-py: 100px;
    --container-px: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --glow: 0 0 30px rgba(26, 130, 226, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s;
}

code {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    background: rgba(26, 130, 226, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
nav#topnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo img {
    filter: drop-shadow(0 0 10px rgba(26, 130, 226, 0.4));
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s;
    position: relative;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: border 0.2s;
}

.lang-select:hover { border-color: var(--primary); }
.lang-select:focus { outline: none; border-color: var(--primary); }
.lang-select option { background: var(--bg-card); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}

.btn-small { padding: 7px 14px; font-size: 0.85rem; }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 130, 226, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 130, 226, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: rgba(26, 130, 226, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    padding: 90px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top, rgba(26, 130, 226, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 136, 0, 0.08) 0%, transparent 50%),
        var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 130, 226, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 130, 226, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 130, 226, 0.1);
    border: 1px solid rgba(26, 130, 226, 0.3);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.grad-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.hs-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 4px;
    line-height: 1;
}

.hs-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════ */
.trust-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

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

.trust-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 130, 226, 0.1);
    border: 1px solid rgba(26, 130, 226, 0.25);
    border-radius: 10px;
}

.trust-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.trust-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADER (shared)
   ═══════════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES (BENTO GRID)
   ═══════════════════════════════════════════════════════════════ */
.section-features {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
}

/* Warehouse & traceability — samostatný "balík" band (odlíšený rámom hore/dole) */
.section-sklad {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: transform 0.3s, border 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 130, 226, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(26, 130, 226, 0.2);
}

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

.bento-large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 130, 226, 0.08) 100%);
    border-color: rgba(26, 130, 226, 0.3);
}

.bento-card.highlight {
    border-color: rgba(255, 136, 0, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 136, 0, 0.06) 100%);
}

.bento-card.mobile-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.06) 100%);
    border-color: rgba(0, 212, 170, 0.25);
}

.bento-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: inline-block;
}

.bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.bento-large h3 {
    font-size: 1.4rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.bento-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 136, 0, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(255, 136, 0, 0.3);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feat-bullets {
    list-style: none;
    margin-top: 16px;
}

.feat-bullets li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   WORKFLOW
   ═══════════════════════════════════════════════════════════════ */
.section-workflow {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-workflow::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top left, rgba(26, 130, 226, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgba(0, 212, 170, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.section-workflow > .container {
    position: relative;
}

.wf-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wf-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.25s, border 0.25s;
}

.wf-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.wf-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(26, 130, 226, 0.3);
}

.wf-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.wf-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.55;
}

.wf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wf-tag {
    display: inline-block;
    background: rgba(26, 130, 226, 0.1);
    color: var(--primary-light);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(26, 130, 226, 0.2);
    font-family: 'JetBrains Mono', monospace;
}

.wf-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .wf-arrow { transform: rotate(90deg); }
}

/* ═══════════════════════════════════════════════════════════════
   DEMO VIDEO
   ═══════════════════════════════════════════════════════════════ */
.section-demo-video {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
    position: relative;
}

.section-demo-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center top, rgba(26, 130, 226, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at center bottom, rgba(0, 212, 170, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.section-demo-video > .container {
    position: relative;
}

.demo-video-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(26, 130, 226, 0.15);
    position: relative;
}

.demo-video-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(26, 130, 226, 0.15);
}

.demo-video {
    display: block;
    width: 100%;
    height: auto;
    background: #0a0a0a;
}

@media (max-width: 768px) {
    .demo-video-wrapper {
        border-radius: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════ */
.section-comparison {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
}

.comp-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.comp-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.comp-row:last-child { border-bottom: none; }

.comp-row.comp-header {
    background: var(--bg-elevated);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.comp-row.comp-header > div:nth-child(2) { color: var(--danger); }
.comp-row.comp-header > div:nth-child(3) { color: var(--success); }

.comp-feature {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.comp-bad {
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 24px;
}

.comp-bad::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.comp-good {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-left: 24px;
}

.comp-good::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

@media (max-width: 700px) {
    .comp-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 20px;
    }
    .comp-row.comp-header { display: none; }
    .comp-feature { font-size: 1rem; margin-bottom: 4px; }
}

.comp-disclaimer {
    max-width: 1000px;
    margin: 18px auto 0;
    padding: 0 28px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    font-style: italic;
    text-align: left;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════ */
.section-gallery {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, border 0.25s, box-shadow 0.25s;
    aspect-ratio: 16 / 10;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px 16px;
    color: #fff;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.92) 0%, transparent 100%);
    font-size: 0.88rem;
    font-weight: 600;
    pointer-events: none;
}

/* Placeholder when image fails to load */
.gallery-item.placeholder {
    background: repeating-linear-gradient(
        45deg,
        var(--bg-card),
        var(--bg-card) 10px,
        var(--bg-elevated) 10px,
        var(--bg-elevated) 20px
    );
}

.gallery-item.placeholder img { display: none; }

.gallery-item.placeholder::before {
    content: '📷';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

.gallery-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 30px;
    font-style: italic;
}

/* Lightbox overlay */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    cursor: zoom-out;
}

.gallery-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.gallery-lightbox .lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gallery-lightbox .lb-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-lightbox { padding: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   CALCULATOR (light section)
   ═══════════════════════════════════════════════════════════════ */
.section-calc {
    padding: var(--section-py) 0;
    background: var(--light-bg);
    color: var(--light-text);
}

.section-calc .section-header h2,
.section-calc .section-sub {
    color: var(--light-text);
}

.section-calc .eyebrow {
    color: var(--primary);
}

.section-calc .section-sub {
    color: var(--light-text-muted);
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--light-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.calc-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 0.92rem;
}

.calc-row input,
.calc-row select {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--light-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--light-text);
    transition: border 0.2s;
}

.calc-row input:focus,
.calc-row select:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
    transition: background 0.2s;
}

.info-trigger:hover { background: var(--primary-dark); }

.info-box {
    background: rgba(26, 130, 226, 0.06);
    border-left: 3px solid var(--primary);
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--light-text);
    line-height: 1.5;
}

.info-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
}

.calc-display {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 12px 40px rgba(26, 130, 226, 0.2);
}

.calc-main {
    text-align: center;
}

.calc-main-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.calc-main-value {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.calc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.calc-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
}

.cs-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cs-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cs-value.cs-green {
    color: var(--success);
}

.calc-helper {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -4px;
}

@media (max-width: 700px) {
    .calc-wrapper { grid-template-columns: 1fr; padding: 24px; }
    .calc-grid-2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   TECHNOLOGY
   ═══════════════════════════════════════════════════════════════ */
.section-tech {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.tech-content {
    max-width: 760px;
    margin: 0 auto;
}

.tech-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 12px 0 18px;
    color: var(--text-primary);
}

.tech-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.tech-stack {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 22px;
    text-align: left;
    transition: border 0.2s;
}

.tech-pill:hover { border-color: var(--primary); }

.tech-pill strong {
    display: block;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.tech-pill span {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.section-pricing {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    transition: transform 0.3s, border 0.3s;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.price-card.featured {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 130, 226, 0.12) 100%);
    border-color: var(--primary);
    transform: scale(1.03);
}

.price-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 16px rgba(26, 130, 226, 0.4);
}

.price-header {
    margin-bottom: 24px;
}

.price-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.price-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.price-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
}

.price-features li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.section-faq {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: border 0.2s;
}

.faq-item:hover { border-color: var(--primary); }

.faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.98rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item div {
    padding: 0 22px 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

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

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD CARD
   ═══════════════════════════════════════════════════════════════ */
.section-download {
    padding: 80px 0;
    background: var(--bg-primary);
}

.dl-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(26, 130, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.dl-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 136, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.dl-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.dl-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.dl-card .btn-primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 136, 0, 0.4);
}

.dl-card .btn-primary:hover {
    background: #e57600;
    box-shadow: 0 12px 32px rgba(255, 136, 0, 0.5);
}

.dl-fineprint {
    font-size: 0.82rem;
    margin-top: 18px !important;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.section-contact {
    padding: var(--section-py) 0;
    background: var(--bg-secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-status {
    text-align: center;
    margin-top: 14px;
    font-size: 0.92rem;
    min-height: 1.2em;
}

.contact-direct {
    text-align: center;
    margin-top: 28px;
    color: var(--text-secondary);
}

.contact-direct a {
    color: var(--primary-light);
    font-weight: 600;
    margin-left: 8px;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary-light);
    transition: color 0.2s;
}

.contact-direct a:hover { color: var(--primary); }

@media (max-width: 600px) {
    .form-grid-2 { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 300px;
    line-height: 1.5;
}

.footer-links h5 {
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large { grid-column: span 2; }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }
    .mobile-menu-btn { display: block; }
    .nav-right .btn { display: none; }
}

@media (max-width: 700px) {
    :root { --section-py: 70px; }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large { grid-column: span 1; }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand { grid-column: span 1; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-stats { gap: 20px; }
    .hs-num { font-size: 1.6rem; }
}

/* Smooth fadeIn for sections on scroll */
@media (prefers-reduced-motion: no-preference) {
    .bento-card, .wf-step, .price-card, .faq-item, .stat-card {
        animation: cardFadeIn 0.5s ease-out backwards;
    }

    @keyframes cardFadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
