:root {
    --bg-primary: #0d0d12;
    --bg-secondary: #13131a;
    --bg-card: #1a1a24;
    --bg-card-hover: #22222e;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --accent: #ea2027;
    --accent-hover: #d31920;
    --accent-glow: rgba(234, 32, 39, 0.25);
    --accent-subtle: rgba(234, 32, 39, 0.08);
    --border: #2a2a38;
    --border-light: #333345;
    --success: #34d399;
    --danger: #f87171;
    --gradient: linear-gradient(135deg, #bb0c13 0%, #ea2027 100%);
    --gradient-hero: linear-gradient(160deg, #0d0d12 0%, #1a1520 50%, #0d0d12 100%);
    --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 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(234, 32, 39, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    /* Real height of .topbar, kept in sync by JS since it can wrap to two
       lines on narrow screens or in longer languages. */
    --topbar-h: 40px;
}

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

html {
    scroll-behavior: smooth;
}

/* Form controls don't inherit the body font by default in most browsers. */
select, input, button, textarea {
    font-family: inherit;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Topbar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient);
    color: #ffffff;
    z-index: 1100;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.topbar-sep {
    opacity: 0.7;
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo img {
    height: 36px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo img {
    height: 44px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.925rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 10px 40px 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    max-width: 150px;
}

.language-select:hover,
.language-select:focus {
    border-color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 4px 16px var(--accent-glow);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
    border-radius: 100px;
    letter-spacing: 0.2px;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 16px var(--accent-glow); }
    50% { box-shadow: 0 4px 28px rgba(234, 32, 39, 0.55); }
}

.hero-cta .btn-primary {
    animation: ctaPulse 2.4s ease-in-out infinite;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.btn-block {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Drawer (mobile) */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1200;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.drawer-header .logo img {
    height: 32px;
}

.drawer-close {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.drawer-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 12px;
    flex: 1;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.drawer-nav a i {
    color: var(--accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.drawer-nav a:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}

.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border);
}

.drawer-footer .language-select {
    width: 100%;
    max-width: none;
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    /* --topbar-h + 72px header + breathing room, so content never sits
       right under the fixed header. */
    padding: calc(var(--topbar-h) + 72px + 56px) 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title span {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-cta .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-width: 0;
}

/* Hero shot frame — same device-frame look as the showcase screenshots,
   with the tilt animation. */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shot-frame {
    width: 100%;
    max-width: 560px;
    background: #0a0a0e;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 12px 12px 10px;
    box-shadow: var(--shadow-lg), 0 0 34px rgba(234, 32, 39, 0.22);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.5s ease;
    animation: hero-shot-glow 3.5s ease-in-out infinite;
}

@keyframes hero-shot-glow {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 28px rgba(234, 32, 39, 0.18);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 64px rgba(234, 32, 39, 0.5);
    }
}

.hero-shot-frame:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-shot-notch {
    width: 12px;
    height: 12px;
    background: #000;
    border: 1px solid #2a2a38;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.hero-shot {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Performance band */
.perf-band {
    background: var(--accent-subtle);
    border-top: 1px solid rgba(234, 32, 39, 0.15);
    border-bottom: 1px solid rgba(234, 32, 39, 0.15);
    padding: 22px 0;
}

.perf-band-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 48px;
}

.perf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.perf-item i {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Showcase (screenshots) */
.showcase {
    padding: 120px 0;
}

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

.shot-frame {
    background: #0a0a0e;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    padding: 14px 14px 10px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.shot-frame:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 32, 39, 0.4);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Camera punch-hole, like a phone held in landscape. */
.shot-notch {
    width: 10px;
    height: 10px;
    background: #000;
    border: 1px solid #2a2a38;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.shot-img-wrap {
    position: relative;
    aspect-ratio: 1279 / 609;
    background: var(--bg-primary);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.shot-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.shot-fallback i {
    width: 36px;
    height: 36px;
    opacity: 0.4;
}

/* When a screenshot hasn't been added yet, JS hides the broken <img> and
   shows this icon placeholder instead — never a broken-image glyph. */
.shot-img-wrap.no-image img { display: none; }
.shot-img-wrap.no-image .shot-fallback { display: flex; }

.shot-label {
    text-align: center;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Steps (how it works) */
.steps {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    background: var(--gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.step-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-subtle);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% -10%, var(--accent-subtle) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(234, 32, 39, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), var(--shadow-glow);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(160deg, var(--accent-subtle) 0%, transparent 100%);
    border: 1px solid rgba(234, 32, 39, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 20px var(--accent-glow);
    transform: scale(1.05);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: color 0.35s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

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

/* Speed */
.speed {
    padding: 120px 0;
}

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

.speed-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.speed-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% -10%, var(--accent-subtle) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.speed-card:hover {
    border-color: rgba(234, 32, 39, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

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

.speed-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(160deg, var(--accent-subtle) 0%, transparent 100%);
    border: 1px solid rgba(234, 32, 39, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.speed-card:hover .speed-icon {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 20px var(--accent-glow);
    transform: scale(1.05);
}

.speed-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: color 0.35s ease;
}

.speed-card:hover .speed-icon i {
    color: #ffffff;
}

.speed-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.speed-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Platforms */
.platforms {
    padding: 120px 0;
}

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

.platforms-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.platforms-note i {
    color: var(--accent);
    flex-shrink: 0;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--accent-subtle) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.platform-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.platform-card > * {
    position: relative;
    z-index: 1;
}

.platform-card.soon {
    opacity: 0.75;
}

.platform-coming {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid rgba(234, 32, 39, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(160deg, var(--accent-subtle) 0%, transparent 100%);
    border: 1px solid rgba(234, 32, 39, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.platform-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Pricing */
.pricing {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pricing-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.pricing-plan {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-amount {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.8;
}

.price {
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1;
}

.period {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

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

.pricing-features li i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-guarantee i {
    color: var(--success);
}

.play-badge-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px dotted var(--border-light);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.play-badge-link:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.pricing-features li i.check-badge {
    background: var(--accent-subtle);
    color: var(--accent);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* FAQ accordion */
.faq-item {
    padding: 0;
    overflow: hidden;
}

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

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

.faq-item summary .faq-q {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item summary .faq-q i {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-item summary .chevron {
    color: var(--text-secondary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

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

.faq-item p {
    padding: 0 28px 22px 52px;
}

/* FAQ */
.faq {
    padding: 120px 0;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 72px 0 32px;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .language-select {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: calc(var(--topbar-h) + 72px + 40px) 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    
    .features-grid,
    .platforms-grid,
    .faq-grid,
    .showcase-grid,
    .steps-grid,
    .speed-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .step-item p {
        max-width: 100%;
    }

    .perf-band-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .customer-photo {
        width: 110px;
        height: 110px;
    }

    .customers-track {
        animation-duration: 22s;
    }
    
.section-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 40px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .btn-large {
        width: 100%;
    }
}

/* Legal notice modal — blocks the page until the visitor accepts. */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
}

.legal-modal-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.legal-modal-icon i {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.legal-modal h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.legal-modal p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.legal-modal-label {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin-bottom: 10px !important;
}

.legal-modal-list {
    list-style: none;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-modal-list li {
    position: relative;
    padding-inline-start: 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.legal-modal-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-modal-fineprint {
    font-size: 0.8rem !important;
    color: var(--text-secondary);
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.legal-modal .btn {
    margin-top: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }

/* Lightbox for showcase screenshots */
.shot-frame { cursor: pointer; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    margin: 0;
    max-width: min(92vw, 1080px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.lightbox.open .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
    border-color: var(--accent);
    background: rgba(234, 32, 39, 0.15);
}

.lightbox-close svg {
    width: 22px;
    height: 22px;
}
