/* ═══════════════════════════════════════════════════════════════
   QONAQ · Design System v3
   Cinzel + Inter  |  Glassmorphism  |  Kazakh Ornaments  |  2026
═══════════════════════════════════════════════════════════════ */

:root {
    --page-1:    #f3f5f7;
    --page-2:    #e9edf1;
    --ink:       #252525;
    --ink-soft:  rgba(37,37,37,0.85);
    --ink-faint: rgba(37,37,37,0.28);
    --gold:      #C9A84C;
    --gold-2:    #a97a22;
    --gold-3:    #f7dc8a;
    --gold-grad: linear-gradient(135deg, #6c4a12 0%, #a97a22 22%, #c9a84c 45%, #e8b84d 62%, #c49334 80%, #7b5617 100%);
    --silver:    rgba(180,196,215,0.80);
    --radius-xl: 34px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow:    0 22px 70px rgba(38,44,52,0.14);
    --shadow-sm: 0 8px 30px rgba(38,44,52,0.08);
    --glass:     rgba(255,255,255,0.72);
    --glass-bdr: rgba(255,255,255,0.68);
    --dark-bg:   rgba(22,22,36,0.90);
    --dark-bdr:  rgba(255,255,255,0.08);
    /* kept for legacy references in invite pages */
    --cream:      #FAF6EE;
    --cream-dark: #F0E8D6;
    --ink-soft-legacy: #3D2E15;
    --border:    rgba(201,168,76,0.25);
    --gold-light: #E8D08A;
    --gold-dark:  #8B6914;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 17px;
    background: var(--page-1);
    color: var(--ink);
    overflow-x: hidden;
}

/* ═══ NAV ═══════════════════════════════════════════════════ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 3rem;
    background: rgba(243,245,247,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 1px 28px rgba(38,44,52,0.05);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink); text-decoration: none;
}
.nav-logo span {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: -0.06em;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    font-size: 0.88rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-parent-label {
    font-size: 0.88rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft); cursor: default;
}

/* ── cat-icon accent (gold paths inside SVG icons) ── */
.cat-ico-a { color: var(--gold); }

/* ── Dropdown ── */
.nav-has-drop { position: relative; }
.nav-has-drop > a::after {
    content: ' ▾';
    font-size: 0.6em;
    opacity: 0.5;
    vertical-align: middle;
}
[x-cloak] { display: none !important; }

.nav-drop {
    display: block; position: absolute; top: 100%; left: 0;
    min-width: 210px; list-style: none;
    background: rgba(243,245,247,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 0.4rem 0;
    z-index: 200;
}
.nav-drop li a {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
    color: var(--ink-soft); text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-drop li a:hover { background: rgba(201,168,76,0.08); color: var(--gold-2); }
/* icon container inside desktop dropdown */
.nav-drop-ico {
    display: inline-flex; flex-shrink: 0;
    width: 16px; height: 16px;
    color: var(--ink-soft);
}
.nav-drop li a:hover .nav-drop-ico { color: var(--gold-2); }
/* dropdown visibility handled by Alpine x-show */

/* ── Hamburger (mobile only) ── */
.nav-burger {
    display: none;
    appearance: none; border: none; background: transparent;
    color: var(--ink); cursor: pointer; padding: 0.2rem;
    line-height: 0;
}

/* ── Mobile full-screen overlay ── */
.nav-mobile {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(243,245,247,0.97);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    overflow-y: auto;
    padding-top: 72px; /* clear the fixed nav bar */
}
.nav-mobile-inner {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 3rem;
    display: flex; flex-direction: column; gap: 0;
}
/* Group row */
.nav-mob-group { border-bottom: 1px solid rgba(201,168,76,0.18); }
.nav-mob-group-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 0.95rem 0.25rem;
    background: none; border: none; cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 500; letter-spacing: 0.03em;
    color: var(--ink); text-align: left;
}
.nav-mob-group-label {
    display: flex; align-items: center; gap: 0.65rem;
}
.nav-mob-parent-ico {
    display: inline-flex; width: 22px; height: 22px; flex-shrink: 0;
    color: var(--gold);
}
.nav-mob-chev {
    flex-shrink: 0; transition: transform 0.25s ease;
    color: var(--gold);
}
/* children list */
.nav-mob-children {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 0.25rem 0 1rem 0.5rem;
}
.nav-mob-child {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
    color: var(--ink-soft); text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.nav-mob-child:hover { background: rgba(201,168,76,0.08); color: var(--gold-2); }
.nav-mob-child-ico {
    display: inline-flex; width: 18px; height: 18px; flex-shrink: 0;
    color: var(--ink-soft);
}
.nav-mob-child:hover .nav-mob-child-ico { color: var(--gold); }
/* static links */
.nav-mob-link {
    display: block; padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(201,168,76,0.18);
    font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-soft); text-decoration: none;
    transition: color 0.15s;
}
.nav-mob-link:hover { color: var(--gold-2); }
.nav-mob-cta { margin-top: 1.75rem; }

.nav-cta {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: #1c1005;
    background: #C9A84C;
    padding: 0.6rem 1.6rem;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(201,168,76,0.35);
    transition: all 0.3s;
}
.nav-cta:hover {
    background: #b8860b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.45);
}

/* ═══ HERO ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    position: relative; overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold-grad);
    z-index: 10;
}

.hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 8rem 4rem 6rem 5rem; position: relative;
    background: linear-gradient(155deg, var(--page-1) 0%, var(--page-2) 100%);
}

.hero-ornament {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 40%;
    background: var(--gold-grad);
    border-radius: 0 2px 2px 0;
    opacity: 0.55;
}

.hero-tag {
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.hero-tag::before {
    content: '';
    width: 2rem; height: 1.5px;
    background: var(--gold-grad); border-radius: 1px;
    display: block; flex-shrink: 0;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 4.2vw, 4.2rem);
    font-weight: 400; line-height: 1.1;
    color: var(--ink); margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}
.hero-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-kz {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 400;
    color: rgba(37,37,37,0.85); margin-bottom: 2rem;
    letter-spacing: 0.08em;
}

.hero-desc {
    font-size: 1rem; font-weight: 400; line-height: 1.9;
    color: rgba(37,37,37,0.85); max-width: 380px; margin-bottom: 3rem;
}

.hero-actions { display: flex; gap: 1.2rem; align-items: center; }

.btn-primary {
    background: #C9A84C;
    color: #fff;
    padding: 0.9rem 2.4rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none; transition: all 0.3s;
    border: none; cursor: pointer;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(201,168,76,0.30), inset 0 1px 0 rgba(255,255,255,0.15);
    display: inline-flex; align-items: center;
}
.btn-primary:hover {
    background: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201,168,76,0.40);
}

.btn-ghost {
    color: var(--ink-soft); font-size: 0.82rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    transition: color 0.3s;
}
.btn-ghost:hover { color: var(--gold-2); }
.btn-ghost::after { content: '→'; font-size: 0.9rem; }

.hero-right {
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, #dde3ea 0%, #ccd4de 100%);
    display: flex; align-items: center; justify-content: center;
}

.hero-pattern { position: absolute; inset: 0; opacity: 0.05; pointer-events: none; }
.hero-img-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.hero-card-preview {
    position: relative; z-index: 2;
    width: 300px;
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.92);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 80px rgba(38,44,52,0.18), 0 0 0 1px rgba(201,168,76,0.1);
    padding: 2.5rem 2rem; text-align: center;
    animation: float 6s ease-in-out infinite;
}

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

.card-ornament-top {
    height: 3px; width: 60px;
    background: var(--gold-grad);
    margin: 0 auto 1.5rem; border-radius: 2px;
}

.card-kz-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 1rem;
}

.card-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem; font-weight: 400; line-height: 1.2;
    color: var(--ink);
}

.card-ampersand {
    font-size: 1.2rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block; margin: 0.3rem 0;
}

.card-date {
    font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-soft); margin-top: 1.2rem;
}

.card-ornament-bottom { margin-top: 1.5rem; }
.geo-corner { position: absolute; opacity: 0.15; }
.geo-corner.tl { top: 1rem; left: 1rem; }
.geo-corner.br { bottom: 1rem; right: 1rem; transform: rotate(180deg); }

/* ═══ STATS ══════════════════════════════════════════════════ */
.stats {
    margin: -2rem 3rem 0;
    padding: 2rem 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex; justify-content: space-around; align-items: center;
    position: relative; z-index: 5;
}

.stat-item { text-align: center; }
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 600;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-soft); margin-top: 0.4rem;
}
.stat-div { width: 1px; height: 40px; background: rgba(201,168,76,0.2); }

/* ═══ SECTION LABEL ══════════════════════════════════════════ */
.section-label {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 1rem;
}
.section-label::after {
    content: ''; flex: 1; max-width: 3rem;
    height: 1.5px;
    background: var(--gold-grad); border-radius: 1px;
}

/* ═══ TEMPLATES ══════════════════════════════════════════════ */
.templates { padding: 5rem 3rem 7rem; position: relative; }
.templates-header { margin-bottom: 2.5rem; }
.templates-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400; line-height: 1.2;
    color: var(--ink); letter-spacing: 0.03em;
}
.templates-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Category filter tabs ── */
.tpl-cats {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    justify-content: center; margin-bottom: 2.5rem;
}
.tpl-cat-btn {
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.8rem; font-weight: 500;
    padding: 0.5rem 1.5rem; border-radius: 50px;
    border: 1.5px solid rgba(26,18,9,0.12);
    background: #fff; color: rgba(26,18,9,0.5);
    cursor: pointer; transition: all 0.22s;
}
.tpl-cat-btn.active,
.tpl-cat-btn:hover {
    background: var(--gold); border-color: var(--gold); color: #fff;
}

/* ── Phone frame grid ── */
.tpl-phones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tpl-phone-card {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(38,44,52,0.08);
    padding: 0.6rem 0.6rem 0;
    display: flex; flex-direction: column; align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
    height: 500px; width: 280px;
}
.tpl-phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(38,44,52,0.14);
}

.tpl-badge-row {
    display: flex; justify-content: space-between;
    align-items: center; width: 100%; margin-bottom: 0.5rem;
}
.tpl-price-badge {
    font-family: 'Nunito', system-ui, sans-serif; font-size: 0.7rem; font-weight: 600;
    padding: 0.22rem 0.7rem; border-radius: 50px;
    background: var(--gold); color: #1c1005;
}
.tpl-type-badge {
    font-family: 'Nunito', system-ui, sans-serif; font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.08em; padding: 0.22rem 0.65rem;
    border-radius: 50px; background: var(--ink); color: rgba(255,255,255,0.85);
}

/* ── Phone mockup ── */
.phone-frame {
    position: relative; width: 100%;
    background: #1a1a28; border-radius: 28px;
    border: 5px solid #2a2a38; overflow: hidden;
    flex: 1; min-height: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-island {
    position: absolute; top: 7px; left: 50%;
    transform: translateX(-50%);
    width: 52px; height: 10px;
    background: #0d0d18; border-radius: 20px; z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%;
    overflow: hidden; border-radius: 23px; position: relative;
    background: #1A1209;
}

/* Per-template screen colors */
.tpl-screen-dala   { background: #2A3D28; }
.tpl-screen-zoloto { background: #1A1209; }
.tpl-screen-aspan  { background: #1C2B3A; }
.tpl-screen-guldar { background: #3D1F1F; }
.tpl-screen-tenge  { background: #2A2A1A; }

.phone-screen-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.phone-screen-inner {
    position: relative; z-index: 2;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 1.8rem 0.6rem 1.4rem;
    background: rgba(0,0,0,0.12);
    transition: background 0.3s;
}
.tpl-phone-card:hover .phone-screen-inner {
    background: rgba(0,0,0,0.30);
}
.phone-tpl-tag {
    font-size: 0.45rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: rgba(201,168,76,0.85);
    text-align: center; margin-bottom: 0.55rem;
}
.phone-tpl-hr {
    width: 26px; height: 0.5px;
    background: rgba(201,168,76,0.55);
    margin: 0.4rem auto;
}
.phone-tpl-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 400;
    color: rgba(255,255,255,0.95);
    text-align: center; line-height: 1.3;
}
.phone-tpl-amp {
    display: block; font-style: italic;
    color: var(--gold); font-size: 1.05rem; line-height: 1.1;
}
.phone-tpl-date {
    font-size: 0.43rem; letter-spacing: 0.28em;
    text-transform: uppercase; color: rgba(201,168,76,0.75);
    text-align: center;
}
.phone-name-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    padding: 1.2rem 0.7rem 0.65rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.6rem; font-weight: 500; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
}

/* ── Action buttons ── */
.tpl-btn-row {
    width: calc(100% + 1.2rem);
    margin: 0.5rem -0.6rem 0;
    display: flex;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.tpl-btn-create,
.tpl-btn-preview {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 0.35rem;
    padding: 0.62rem 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.tpl-btn-create {
    background: var(--gold-2); color: #fff;
}
.tpl-btn-create:hover { background: var(--gold); }
.tpl-btn-preview {
    background: rgba(26,18,9,0.06); color: rgba(26,18,9,0.55);
    border-left: 1px solid rgba(26,18,9,0.08);
}
.tpl-btn-preview:hover { background: rgba(26,18,9,0.11); color: var(--ink); }

/* ═══ FEATURES ═══════════════════════════════════════════════ */
.features {
    background: linear-gradient(160deg, var(--page-2) 0%, var(--page-1) 100%);
    padding: 7rem 3rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
    position: relative; overflow: hidden;
}

.features-visual { position: relative; height: 500px; }

.feat-card-bg {
    position: absolute; bottom: 0; left: 0;
    width: 75%; height: 85%;
    background: var(--glass);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-bdr);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feat-card-front {
    position: absolute; top: 0; right: 0;
    width: 72%; height: 82%;
    background: rgba(255,255,255,0.88);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 32px 80px rgba(38,44,52,0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3rem; text-align: center;
}

.feat-card-badge {
    position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
    background: #C9A84C;
    color: #1c1005;
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 0.35rem 1.2rem;
    white-space: nowrap; border-radius: 100px;
    box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

.features-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400; line-height: 1.2; margin-bottom: 2rem;
    letter-spacing: 0.03em;
}
.features-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.feat-item {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.feat-item:last-child { border-bottom: none; }

.feat-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    background: rgba(255,255,255,0.85);
    border-radius: var(--radius-md);
    border: 1px solid rgba(201,168,76,0.2);
    box-shadow: 0 4px 12px rgba(38,44,52,0.08);
    display: flex; align-items: center; justify-content: center;
    margin-top: 0.1rem;
}
.feat-icon svg { width: 16px; height: 16px; stroke: var(--gold-2); fill: none; }

.feat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 500;
    color: var(--ink); margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}
.feat-desc { font-size: 1rem; font-weight: 400; line-height: 1.8; color: rgba(37,37,37,0.85); }

/* ═══ HOW IT WORKS ═══════════════════════════════════════════ */
.how { padding: 7rem 3rem; text-align: center; position: relative; overflow: hidden; }
.how-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400; margin-bottom: 4rem;
    letter-spacing: 0.03em;
    position: relative; z-index: 1;
}
.how-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; position: relative; z-index: 1;
}
.steps::before {
    content: ''; position: absolute;
    top: 1.75rem; left: 12.5%; right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3) 30%, rgba(201,168,76,0.3) 70%, transparent);
}

.step {
    position: relative;
    background: var(--glass);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(38,44,52,0.07);
}
.step-num {
    width: 3.5rem; height: 3.5rem;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(38,44,52,0.10), 0 0 0 1.5px rgba(201,168,76,0.25);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; font-weight: 600;
    color: var(--gold-2);
    position: relative; z-index: 1;
}

.step-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 600;
    color: var(--ink); margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.step-desc { font-size: 0.9rem; font-weight: 400; line-height: 1.75; color: rgba(37,37,37,0.85); }

/* ═══ TESTIMONIAL ════════════════════════════════════════════ */
.testimonial {
    margin: 0 3rem 7rem;
    padding: 5rem;
    background: var(--dark-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-bdr);
    box-shadow: 0 32px 80px rgba(22,22,36,0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 5rem; align-items: center;
}

.testi-ornament { text-align: center; }
.testi-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem; line-height: 0.8;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.55; user-select: none;
}

.testi-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 300; font-style: italic;
    line-height: 1.7; color: rgba(255,255,255,0.8);
    margin-bottom: 2rem; letter-spacing: 0.02em;
}

.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: #C9A84C;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: #1c1005; font-weight: 600;
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
    flex-shrink: 0;
}
.testi-name {
    font-size: 0.92rem; font-weight: 400;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.85);
    margin-bottom: 0.2rem;
}
.testi-role {
    font-size: 0.75rem; font-weight: 300;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(201,168,76,0.6);
}

/* ═══ PRICING ════════════════════════════════════════════════ */
.pricing { padding: 7rem 3rem; }
.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-header .section-label { justify-content: center; }
.pricing-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400; letter-spacing: 0.03em;
}
.pricing-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.plan {
    background: var(--glass);
    border: 1px solid var(--glass-bdr);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 2.5rem 2rem; position: relative;
    transition: all 0.3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured-plan {
    background: var(--dark-bg);
    border: 1px solid var(--dark-bdr);
    box-shadow: 0 32px 80px rgba(22,22,36,0.25);
}

.plan-badge {
    position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
    background: #C9A84C;
    color: #1c1005; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 0.35rem 1.2rem; border-radius: 100px;
    box-shadow: 0 4px 12px rgba(201,168,76,0.3);
    white-space: nowrap;
}

.plan-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 400;
    color: var(--ink); margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}
.plan.featured-plan .plan-name { color: rgba(255,255,255,0.9); }

.plan-name-kz {
    font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 1.5rem;
}

.plan-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3rem; font-weight: 600;
    line-height: 1; color: var(--ink); margin-bottom: 0.3rem;
}
.plan.featured-plan .plan-price {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-currency {
    font-size: 0.85rem; font-weight: 300;
    color: var(--ink-soft); margin-bottom: 1.5rem;
}
.plan.featured-plan .plan-currency { color: rgba(255,255,255,0.35); }
.plan-divider { height: 1px; background: rgba(201,168,76,0.15); margin-bottom: 1.5rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.plan-features li {
    font-size: 0.9rem; font-weight: 300;
    color: var(--ink-soft);
    display: flex; align-items: center; gap: 0.7rem;
}
.plan.featured-plan .plan-features li { color: rgba(255,255,255,0.55); }
.plan-features li::before {
    content: '◆';
    font-size: 0.45rem; flex-shrink: 0;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-btn {
    display: block; margin-top: 2rem; text-align: center;
    padding: 0.8rem;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--gold-2);
    border-radius: 100px;
    transition: all 0.3s; cursor: pointer;
}
.plan-btn:hover {
    background: #C9A84C;
    color: #1c1005; border-color: transparent;
    box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.plan.featured-plan .plan-btn {
    background: #C9A84C;
    color: #1c1005; border-color: transparent;
    box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.plan.featured-plan .plan-btn:hover {
    background: #b8860b;
    color: #fff;
    box-shadow: 0 6px 22px rgba(201,168,76,0.45);
}

/* ═══ CTA ════════════════════════════════════════════════════ */
.cta-section {
    margin: 0 3rem 7rem;
    padding: 6rem 5rem; text-align: center;
    position: relative; overflow: hidden;
    background: var(--dark-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--dark-bdr);
    box-shadow: 0 32px 80px rgba(22,22,36,0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cta-section::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%;
    height: 3px;
    background: var(--gold-grad);
    border-radius: 0 0 3px 3px;
    opacity: 0.9;
}

.cta-geo { position: absolute; inset: 0; opacity: 0.04; pointer-events: none; }

.cta-label {
    font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: rgba(247,220,138,0.8); margin-bottom: 1.5rem;
    position: relative; z-index: 1;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400; line-height: 1.15; margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.03em;
    position: relative; z-index: 1;
}
.cta-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-sub {
    font-size: 0.88rem; font-weight: 300; line-height: 1.9;
    color: rgba(255,255,255,0.42); max-width: 420px;
    margin: 0 auto 3rem;
    position: relative; z-index: 1;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; position: relative; z-index: 1; }

.cta-section .btn-ghost { color: rgba(255,255,255,0.45); }
.cta-section .btn-ghost:hover { color: rgba(247,220,138,0.9); }

/* ═══ FOOTER ══════════════════════════════════════════════════ */
footer {
    background: rgba(16,16,26,0.97);
    padding: 4rem 3rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8rem; letter-spacing: 0.05em;
}
.footer-logo span {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.85rem; font-weight: 300; line-height: 1.8;
    color: rgba(255,255,255,0.28); max-width: 200px;
}

.footer-col-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 1.2rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.88rem; font-weight: 300;
    color: rgba(255,255,255,0.32);
    text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.18); }
.footer-lang { display: flex; gap: 1.2rem; }
.footer-lang a {
    font-size: 0.78rem; font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.22);
    text-decoration: none; transition: color 0.3s;
}
.footer-lang a:hover, .footer-lang a.active { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   ORNAMENT SYSTEM — Kazakh ою-өрнек
═══════════════════════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes orn-spin    { to { transform: rotate(360deg); } }
@keyframes orn-spin-r  { to { transform: rotate(-360deg); } }
@keyframes orn-float {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    50%     { transform: translateY(-10px) rotate(2deg); }
}
@keyframes orn-float-r {
    0%,100% { transform: translateY(0px) rotate(0deg); }
    50%     { transform: translateY(-7px) rotate(-2deg); }
}
@keyframes orn-bob {
    0%,100% { transform: translateY(0px); }
    50%     { transform: translateY(-5px); }
}
@keyframes orn-pulse {
    0%,100% { opacity: 0.08; }
    50%     { opacity: 0.18; }
}

/* ── Base ornament class ── */
.orn { pointer-events: none; user-select: none; display: block; }

/* ── Corner spiral ornaments in hero-right ── */
.orn-corner-wrap {
    position: absolute;
    pointer-events: none; z-index: 3;
}
.orn-corner-wrap.pos-tr {
    top: 4.5rem; right: 1.5rem;
    animation: orn-float 8s ease-in-out infinite;
}
.orn-corner-wrap.pos-bl {
    bottom: 1.5rem; left: 1.5rem;
    transform: rotate(180deg);
    animation: orn-float-r 11s ease-in-out infinite;
    animation-delay: -4s;
}
.orn-corner-wrap.pos-tl {
    top: 4.5rem; left: 1.5rem;
    transform: scaleX(-1);
    animation: orn-float 9.5s ease-in-out infinite;
    animation-delay: -2s;
}
.orn-corner {
    width: 80px; height: auto;
    color: #C9A84C;
    opacity: 0.45;
}
.orn-corner.silver {
    color: var(--silver);
    opacity: 0.55;
}

/* ── Background medallion (features / how) ── */
.orn-bg-wrap {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; overflow: hidden; z-index: 0;
}
.orn-medallion {
    width: min(90%, 440px);
    color: rgba(160,178,200,0.6);
    opacity: 0.10;
    animation: orn-spin 100s linear infinite;
    transform-origin: center;
}
.orn-circle-bg {
    width: min(85%, 360px);
    color: #C9A84C;
    opacity: 0.09;
    animation: orn-spin-r 75s linear infinite;
    transform-origin: center;
}

/* ── Center flourish above CTA heading ── */
.orn-flourish-wrap {
    display: flex; justify-content: center;
    margin-bottom: 1.8rem; z-index: 1; position: relative;
    animation: orn-bob 6s ease-in-out infinite;
}
.orn-flourish { width: 130px; height: auto; color: #C9A84C; opacity: 0.8; }

/* ── Samruk bird in CTA background ── */
.orn-samruk-wrap {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.orn-samruk {
    width: min(70%, 500px);
    color: rgba(201,168,76,0.06);
    animation: orn-pulse 8s ease-in-out infinite;
}

/* ═══ ANIMATIONS ══════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-tag         { animation: fadeUp 0.8s ease both; }
.hero-title       { animation: fadeUp 0.8s 0.1s ease both; }
.hero-subtitle-kz { animation: fadeUp 0.8s 0.2s ease both; }
.hero-desc        { animation: fadeUp 0.8s 0.3s ease both; }
.hero-actions     { animation: fadeUp 0.8s 0.4s ease both; }
.hero-card-preview { animation: fadeUp 0.8s 0.5s ease both, float 6s 1.3s ease-in-out infinite; }

/* ═══ RESPONSIVE ══════════════════════════════════════════════ */
@media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-cta-desk { display: none !important; }

    .hero { grid-template-columns: 1fr; }
    .hero-left { padding: 7rem 2rem 3rem; }
    .hero-right { min-height: 360px; }

    .stats { margin: 2rem 1.5rem 0; padding: 1.5rem; flex-wrap: wrap; gap: 1.5rem; }

    .templates { padding: 4rem 1.5rem; }
    .tpl-phones-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .features { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
    .features-visual { height: 300px; }

    .how { padding: 4rem 1.5rem; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .steps::before { display: none; }

    .testimonial { grid-template-columns: 1fr; padding: 3rem 2rem; margin: 0 1.5rem 4rem; gap: 2rem; }

    .pricing { padding: 4rem 1.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }

    .cta-section { padding: 4rem 2rem; margin: 0 1.5rem 4rem; }

    footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }

    .orn-corner-wrap { display: none; }
    .orn-medallion { width: 280px; }
    .orn-circle-bg { width: 260px; }

    .categories-accordion { padding: 4rem 1.5rem; }
    .accordion { max-width: 100%; }
}

@media (max-width: 520px) {
    .tpl-phones-grid { grid-template-columns: 1fr; justify-items: center; gap: 1.2rem; }
    .tpl-phone-card  { width: 280px; }
}

/* ═══ CATEGORIES ACCORDION ══════════════════════════════════ */
.categories-accordion {
    padding: 6rem 3rem;
    background: var(--page-1);
    text-align: center;
}

.accordion-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
}

.accordion-title em {
    font-style: normal;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accordion {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid rgba(201,168,76,0.2);
}

.accordion-item {
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-align: left;
    transition: color 0.25s;
}
/* inner wrapper for icon + label */
.acc-trigger-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.acc-parent-ico {
    display: inline-flex;
    width: 22px; height: 22px;
    flex-shrink: 0;
    color: var(--gold);
}

.accordion-trigger:hover,
.accordion-trigger.is-open {
    color: var(--gold-2);
}

.accordion-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gold);
}

.accordion-body {
    padding: 0.5rem 0.5rem 1.5rem;
}

.accordion-children {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.accordion-child-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem 0.55rem 0.8rem;
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.acc-child-ico {
    display: inline-flex;
    width: 15px; height: 15px;
    flex-shrink: 0;
    color: var(--gold);
    transition: color 0.2s;
}

.accordion-child-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}
.accordion-child-link:hover .acc-child-ico {
    color: #fff;
}
