/* ─── Reset & Base ──────────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip; /* clip without creating scroll container — allows child horizontal scroll */
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text-on-dark);
    background-color: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip; /* clip without creating scroll container */
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ─── Container ─────────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* ─── Typography ────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-on-dark);
}

h1, h2, h3 { letter-spacing: var(--ls-tight); }
h4, h5, h6 { letter-spacing: var(--ls-normal); }

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* Eyebrow — mono uppercase micro-label */
.eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: 0.75rem;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-sm);
}

p {
    color: rgba(245, 245, 247, 0.6);
    line-height: 1.75;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: var(--fs-small);
    cursor: pointer;
    transition: all 0.4s var(--ease-premium);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #050507;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 9px 20px !important;
  font-size: 14px !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-on-dark);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--border-light);
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Navbar sits ABOVE mobile-menu(500) so burger/cart are always accessible */
    z-index: 510;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
    padding-inline: var(--container-padding);
}

.navbar.transparent {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar.dark-bg.scrolled {
    background: rgba(10, 10, 11, 0.96);
}

.navbar__inner {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .logo-img {
        height: 24px;
    }
}

/* Nav Links */
.navbar__nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    margin-left: var(--space-lg);
}

.navbar__link {
    font-size: var(--fs-small);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    position: relative;
    padding-block: 0.25rem;
}

.navbar.scrolled .navbar__link {
    color: var(--text-muted);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.navbar__link:hover {
    color: #fff;
}

.navbar.scrolled .navbar__link:hover {
    color: #fff;
}

.navbar__link:hover::after {
    transform: scaleX(1);
}

/* Contacts adaptive icon/label */
.nav-contacts {
    display: inline-flex;
    align-items: center;
}

.nav-contacts__icon {
    display: none;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
    transform: translateY(2px);
}

@media (min-width: 769px) {
    .nav-contacts__label { display: none; }
    .nav-contacts__icon { display: inline-flex; }
    
    .nav-contacts:hover .nav-contacts__icon {
        color: var(--accent);
        transform: translateY(1px);
    }
}

@media (max-width: 768px) {
    .nav-contacts__icon { display: none; }
    .nav-contacts__label { display: inline; }
}

/* Right Controls */
.navbar__controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-sep {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-sep {
        display: none;
    }
}

/* Language Switcher */
.lang-switcher,
.currency-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 3px;
    transition: background var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled .lang-switcher,
.navbar.scrolled .currency-switcher {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-light);
}

.lang-btn,
.currency-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
}

.navbar.scrolled .lang-btn,
.navbar.scrolled .currency-btn {
    color: var(--text-muted);
}

.lang-btn.active,
.currency-btn.active {
    background: var(--accent);
    color: var(--bg-deep);
}

.lang-btn:not(.active):hover,
.currency-btn:not(.active):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-btn:not(.active):hover,
.navbar.scrolled .currency-btn:not(.active):hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.06);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 7px 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-dropdown__trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.lang-dropdown__chevron {
    transition: transform 0.2s ease;
}

.lang-dropdown[data-open="true"] .lang-dropdown__chevron {
    transform: rotate(180deg);
}

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    list-style: none;
    margin: 0;
    padding: 4px;
    min-width: 80px;
    background: #0F0F11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.lang-dropdown__menu[hidden] {
    display: none;
}

.lang-dropdown__option {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-dropdown__option:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.lang-dropdown__option.active {
    color: var(--accent);
}

/* Header icon links (Ghost style) */
.header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.header-icon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.navbar.scrolled .header-icon-link {
    color: var(--text-muted);
}

.navbar.scrolled .header-icon-link:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

/* CTA button */
.navbar__cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.8125rem;
}

/* Burger */
.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
    /* Burger sits ABOVE mobile menu so it's always clickable to close */
    z-index: 520;
    position: relative;
}

.navbar__burger:hover {
    background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .navbar__burger:hover {
    background: rgba(0, 0, 0, 0.06);
}

.navbar__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .navbar__burger span {
    background: var(--text-primary);
}

.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile cart icon — hidden on desktop, shown only on mobile */
/* !important needed because cart.css .nav-cart sets display:flex */
.nav-cart-mobile {
    display: none !important;
}

/* Mobile menu — full-screen opaque overlay, slides from right */
.navbar__mobile-menu {
    position: fixed;
    /* Start BELOW the navbar — avoids duplicate logo problem */
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    /* Fully opaque — no content bleed-through */
    background: #0a0a0b;
    /* Higher than any page element including sticky shop controls (--z-sticky=200) */
    /* But BELOW navbar (510) so burger remains clickable */
    z-index: 500;
    flex-direction: column;
    padding: var(--space-md) var(--container-padding) var(--space-xl);
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;

    /* Slide in from the right */
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    pointer-events: none;
}

.navbar__mobile-menu.open {
    transform: translateX(0);
    pointer-events: all;
}

.navbar__mobile-link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-on-dark);
    border-bottom: 1px solid var(--border-dark);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.navbar__mobile-link:hover {
    color: var(--accent);
    padding-left: var(--space-xs);
}

.navbar__mobile-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

.navbar__mobile-cta {
    display: block;
    margin-top: var(--space-xl);
    text-align: center;
    width: 100%;
}

/* Mobile menu header — hidden, navbar covers the top */
.navbar__mobile-header {
    display: none;
}

/* Divider between nav links and switchers */
.navbar__mobile-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: var(--space-sm) 0 0;
}

/* Switcher rows: label + control inline */
.navbar__mobile-switcher-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.navbar__mobile-switcher-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    min-width: 64px;
}

/* Lock body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ─── Main content offset ───────────────────────────────────────────────── */

#main-content {
    padding-top: 0;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding-block: 40px 32px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
    flex-wrap: wrap;
}

.footer-logo .logo-img {
    height: 32px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-stores {
    display: flex;
    gap: 12px;
    align-items: center;
}

.store-badge {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s;
}

.store-badge:hover {
    opacity: 0.85;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding-bottom: 24px;
    }

    .footer-nav {
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* ─── Section Utilities ─────────────────────────────────────────────────── */

.section {
    padding-block: var(--space-2xl);
}

.section--dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
}

.section__tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.section__title {
    font-size: var(--fs-h2);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section__subtitle {
    margin-top: var(--space-sm);
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ─── Hero (home page) ──────────────────────────────────────────────────── */

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 199, 209, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 60%, rgba(0, 199, 209, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-soft);
    border: 1px solid rgba(0, 199, 209, 0.25);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero__tag::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 2s infinite;
}

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

.hero__title {
    font-size: var(--fs-h1);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--text-on-dark);
    margin-bottom: var(--space-md);
}

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

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(245, 245, 247, 0.6);
    max-width: 52ch;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ─── Page Hero (Universal) ─────────────────────────────────────────────── */

.page-hero {
    background: var(--bg-deep);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100%;
    background: radial-gradient(
        ellipse 60% 70% at 50% 0%,
        rgba(0, 199, 209, 0.18) 0%,
        rgba(0, 199, 209, 0.08) 30%,
        rgba(0, 199, 209, 0.02) 55%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 0;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: var(--ls-tight);
    line-height: 1.1;
    color: var(--text-on-dark);
    margin: 0 auto 1.25rem;
    max-width: 900px;
}

.page-hero .eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    text-decoration: none !important;
    border: none !important;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero-extra {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
}

/* ─── Grid Helpers ──────────────────────────────────────────────────────── */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* ─── Card ──────────────────────────────────────────────────────────────── */

.card {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

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

/* ─── MOBILE BREAKPOINT (<1024px) ───────────────────────────── */
@media (max-width: 1023px) {
    /* Hide desktop nav + controls, show burger */
    .navbar__nav,
    .navbar__controls { display: none; }

    .navbar__burger { display: flex; }

    /* Show cart icon always on mobile (between logo and burger) */
    .nav-cart-mobile {
        display: flex !important;
        align-items: center;
        margin-left: auto;
        margin-right: 8px;
    }

    .footer__grid { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

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

/* ─── HEADER SWITCHERS (lang + currency) ──────────────────────── */

.lang-switcher,
.currency-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}

.lang-btn,
.currency-btn {
  background: transparent;
  border: none;
  color: rgba(245, 245, 247, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.lang-btn:hover,
.currency-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.lang-btn.active,
.currency-btn.active {
  background: var(--accent);
  color: #050507;
}

/* Коли navbar став прозорим (на самому верху) — світліші перемикачі */
.navbar.transparent .lang-switcher,
.navbar.transparent .currency-switcher {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Mobile варіант */
.navbar__mobile-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0;
}

.navbar__mobile-controls .lang-switcher,
.navbar__mobile-controls .currency-switcher {
  align-self: flex-start;
}

/* ─── CTA-FINAL (reusable section) ──────────────────────────── */

.cta-final {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/public/img/home/cta/architecture-night.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-deep);
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0.85) 0%,
    rgba(5, 5, 7, 0.75) 50%,
    rgba(5, 5, 7, 0.9) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 4rem 2rem;
  margin: 0 auto;
}

.cta-content .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(245, 245, 247, 0.7);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-on-dark);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .cta-final { min-height: 400px; }
  .cta-content { padding: 3rem 1.5rem; }
}

/* === Static CMS Pages — Content === */
.static-page {
    padding: 0 0 100px;
}

/* CMS pages: hero with custom image */
.page-hero--with-image {
    background-size: cover;
    background-position: center;
    padding: 10rem 0 6rem;
}
.page-hero--with-image::before { display: none; }
.page-hero--with-image .page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,7,0.55) 0%, rgba(5,5,7,0.85) 60%, #050507 100%);
    z-index: 0;
    pointer-events: none;
}
.page-hero--with-image .container {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .page-hero--with-image {
        padding: 7rem 0 4rem;
    }
}
.static-page-content {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    line-height: 1.75;
}

.static-page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 56px 0 16px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.static-page-content h2:first-child { margin-top: 0; }

.static-page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 40px 0 12px;
    line-height: 1.3;
    position: relative;
    padding-left: 16px;
}
.static-page-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    bottom: 0.4em;
    width: 3px;
    border-radius: 2px;
    background: var(--accent, #00c7d1);
}

.static-page-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 28px 0 8px;
}

.static-page-content p {
    margin: 0 0 18px;
}

.static-page-content strong,
.static-page-content b {
    color: var(--accent, #00c7d1);
    font-weight: 600;
}

.static-page-content em,
.static-page-content i {
    color: rgba(255,255,255,0.95);
}

.static-page-content ul,
.static-page-content ol {
    padding-left: 28px;
    margin: 0 0 22px;
}
.static-page-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}
.static-page-content ul li::marker {
    color: var(--accent, #00c7d1);
}
.static-page-content ol li::marker {
    color: var(--accent, #00c7d1);
    font-weight: 600;
    font-family: 'Geist Mono', monospace;
}

.static-page-content a {
    color: var(--accent, #00c7d1);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
}
.static-page-content a:hover { color: #00b3bd; }

.static-page-content blockquote {
    margin: 28px 0;
    padding: 16px 24px;
    border-left: 3px solid var(--accent, #00c7d1);
    background: rgba(0, 199, 209, 0.05);
    border-radius: 0 12px 12px 0;
    color: rgba(255,255,255,0.9);
    font-style: italic;
}
.static-page-content blockquote p:last-child { margin-bottom: 0; }

.static-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    display: block;
}

.static-page-content hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 40px 0;
}

.static-page-content code {
    font-family: 'Geist Mono', monospace;
    font-size: 0.9em;
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
}
.static-page-content pre {
    background: #0F0F11;
    border-radius: 12px;
    padding: 16px 20px;
    overflow-x: auto;
    margin: 24px 0;
}
.static-page-content pre code {
    background: transparent;
    padding: 0;
}

@media (max-width: 768px) {
    .static-page { padding: 0 0 72px; }
    .static-page-content { font-size: 16px; }
    .static-page-content h2 { font-size: 24px; margin: 40px 0 12px; }
    .static-page-content h3 { font-size: 19px; }
}

/* === CMS Pages — додаткові компоненти контенту === */

/* Лід-параграф (перший абзац, більший і світліший) */
.static-page-content p.lead {
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .static-page-content p.lead {
        font-size: 17px;
    }
}

/* === Картки кроків === */
.static-page-content .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0 48px;
    max-width: none;
    width: 100%;
}

.static-page-content .step-card {
    background: #0F0F11;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.25s ease, transform 0.25s ease;
    position: relative;
}
.static-page-content .step-card:hover {
    border-color: rgba(0,199,209,0.3);
    transform: translateY(-2px);
}

.static-page-content .step-num {
    display: inline-block;
    font-family: 'Geist Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent, #00c7d1);
    margin-bottom: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0,199,209,0.08);
    border: 1px solid rgba(0,199,209,0.18);
}

.static-page-content .step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    padding-left: 0;
    line-height: 1.3;
}
.static-page-content .step-card h3::before {
    display: none;
}

.static-page-content .step-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

@media (max-width: 900px) {
    .static-page-content .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 24px 0 40px;
    }
    .static-page-content .step-card {
        padding: 22px 20px;
    }
}

/* === Featured-список === */
.static-page-content .feature-list {
    padding-left: 0;
    margin: 16px 0 32px;
    list-style: none;
}

.static-page-content .feature-list li {
    position: relative;
    padding: 14px 18px 14px 44px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.static-page-content .feature-list li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 20px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0,199,209,0.15);
    border: 1.5px solid var(--accent, #00c7d1);
    flex-shrink: 0;
}
.static-page-content .feature-list li::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 25px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--accent, #00c7d1);
    border-bottom: 2px solid var(--accent, #00c7d1);
    transform: rotate(-45deg);
}

.static-page-content .feature-list li::marker {
    content: none;
}

.static-page-content .feature-list li strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 768px) {
    .static-page-content .feature-list li {
        padding: 12px 14px 12px 40px;
        font-size: 15px;
    }
    .static-page-content .feature-list li strong {
        font-size: 15px;
    }
}

/* === CMS Pages — Callout/Quote === */
.static-page-content .callout {
    background: rgba(0,199,209,0.06);
    border: 1px solid rgba(0,199,209,0.18);
    border-left: 3px solid var(--accent, #00c7d1);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 28px 0;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.65;
}
.static-page-content .callout strong {
    color: var(--accent, #00c7d1);
}
.static-page-content .callout p { margin-bottom: 8px; }
.static-page-content .callout p:last-child { margin-bottom: 0; }

/* Варіант warning */
.static-page-content .callout.callout--warning {
    background: rgba(255, 165, 0, 0.06);
    border-color: rgba(255, 165, 0, 0.3);
    border-left-color: #ffa500;
}
.static-page-content .callout.callout--warning strong { color: #ffa500; }

/* === CMS Pages — 2-column layout === */
.static-page-content .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px 0;
    align-items: start;
}
.static-page-content .two-col > * { margin: 0; }
.static-page-content .two-col h2,
.static-page-content .two-col h3 {
    margin-top: 0;
    padding-left: 0;
}
.static-page-content .two-col h3::before { display: none; }
@media (max-width: 768px) {
    .static-page-content .two-col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Варіант: heading-зліва, контент-справа */
.static-page-content .split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin: 40px 0;
    align-items: start;
}
.static-page-content .split > .split-heading {
    margin: 0;
}
.static-page-content .split > .split-heading h2,
.static-page-content .split > .split-heading h3 {
    margin: 0;
    padding-left: 0;
}
.static-page-content .split > .split-heading h2::before,
.static-page-content .split > .split-heading h3::before { display: none; }
.static-page-content .split > .split-content > *:first-child { margin-top: 0; }
.static-page-content .split > .split-content > *:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .static-page-content .split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* === CMS Pages — FAQ-accordion === */
.static-page-content .faq {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.static-page-content .faq-item {
    background: #0F0F11;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.static-page-content .faq-item[open] {
    border-color: rgba(0,199,209,0.2);
}
.static-page-content .faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.static-page-content .faq-item summary::-webkit-details-marker { display: none; }
.static-page-content .faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--accent, #00c7d1);
    transition: transform 0.2s;
    flex-shrink: 0;
    line-height: 1;
}
.static-page-content .faq-item[open] summary::after {
    content: '−';
    transform: rotate(0deg);
}
.static-page-content .faq-item .faq-body {
    padding: 0 22px 18px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.static-page-content .faq-item .faq-body p:first-child { margin-top: 0; }
.static-page-content .faq-item .faq-body p:last-child { margin-bottom: 0; }
.static-page-content .faq-item .faq-body ul,
.static-page-content .faq-item .faq-body ol {
    margin: 8px 0;
}
@media (max-width: 768px) {
    .static-page-content .faq-item summary {
        padding: 16px 18px;
        font-size: 15px;
    }
    .static-page-content .faq-item .faq-body {
        padding: 0 18px 16px;
    }
}

/* === CMS Pages — CTA banner === */
.static-page-content .cta-banner {
    background: linear-gradient(135deg, rgba(0,199,209,0.08) 0%, rgba(0,199,209,0.02) 100%);
    border: 1px solid rgba(0,199,209,0.2);
    border-radius: 20px;
    padding: 40px 32px;
    margin: 48px 0;
    text-align: center;
}
.static-page-content .cta-banner h3,
.static-page-content .cta-banner h2 {
    margin: 0 0 12px;
    padding-left: 0;
    font-size: 24px;
    color: #fff;
}
.static-page-content .cta-banner h3::before,
.static-page-content .cta-banner h2::before { display: none; }
.static-page-content .cta-banner p {
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.static-page-content .cta-banner .cta-banner-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.static-page-content .cta-banner a.btn {
    /* підхоплюємо глобальний .btn — нічого не дублюємо */
    text-decoration: none;
}
@media (max-width: 768px) {
    .static-page-content .cta-banner {
        padding: 32px 20px;
        margin: 32px 0;
    }
    .static-page-content .cta-banner h3,
    .static-page-content .cta-banner h2 {
        font-size: 20px;
    }
}

/* === CMS Pages — Stats === */
.static-page-content .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 32px 0;
}
.static-page-content .stat-card {
    background: #0F0F11;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}
.static-page-content .stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent, #00c7d1);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    font-family: var(--font-heading, inherit);
}
.static-page-content .stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .static-page-content .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .static-page-content .stat-num { font-size: 28px; }
}

/* === CMS Pages — Section divider === */
.static-page-content .section-divider {
    margin: 56px 0 24px;
    text-align: center;
    position: relative;
}
.static-page-content .section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}
.static-page-content .section-divider span {
    position: relative;
    z-index: 1;
    background: #050507;
    padding: 0 20px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: var(--accent, #00c7d1);
}

/* CMS — App Store / Google Play стори в контенті */
.static-page-content .app-stores {
    text-align: center;
    margin: 40px 0;
}
.static-page-content .app-stores-title {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}
.static-page-content .app-stores-grid {
    display: inline-flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.static-page-content .app-stores .store-badge {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s;
    text-decoration: none;
    border: none;
}
.static-page-content .app-stores .store-badge:hover {
    opacity: 0.85;
}
@media (max-width: 480px) {
    .static-page-content .app-stores-grid {
        gap: 8px;
    }
}
