@font-face {
    font-family: 'MTWideMedium';
    src: url('/fonts/mts-wide-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-text: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Arial, sans-serif;
    --bg-void: #000000;
    --bg-depth: #050507;
    --bg-elevated: #0a0a0c;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(255, 255, 255, 0.09);
    --bg-glass-hover: rgba(255, 255, 255, 0.12);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-bright: rgba(255, 255, 255, 0.16);
    --border-glass-glow: rgba(255, 255, 255, 0.28);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.70);
    --text-muted: rgba(255, 255, 255, 0.45);
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.85);
    --success: #34c759;
    --success-dim: rgba(52, 199, 89, 0.72);
    --danger: #ff3b30;
    --danger-dim: rgba(255, 59, 48, 0.72);
    --warning: #ffcc00;
    --radius-sm: 18px;
    --radius-md: 26px;
    --radius-lg: 34px;
    --radius-xl: 52px;
    --radius-full: 9999px;
    --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.50);
    --glow-sm: 0 0 30px rgba(255, 255, 255, 0.08);
    --glow-md: 0 0 60px rgba(255, 255, 255, 0.14);
    --glow-lg: 0 0 120px rgba(255, 255, 255, 0.20);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--bg-void);
    color: var(--text-primary);
    font-family: 'MTWideMedium', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 70% 50% at 15% 20%, rgba(255,255,255,0.055) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 75%, rgba(255,255,255,0.04) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(255,255,255,0.025) 0%, transparent 45%),
        var(--bg-void);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.028;
    pointer-events: none;
}

a {
    color: var(--text-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

::selection {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

header {
    position: sticky;
    top: 0;
    z-index: 9999999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
}

header .container {
    max-width: 1240px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

header .logo {
    flex: 0 0 auto;
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

header .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

header .nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

header .nav a:not(.btn):hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

header .nav .nav-profile-link {
    margin-left: 8px;
}

header .nav .btn-primary {
    color: var(--bg-void);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    background: var(--bg-glass);
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 9999999;
    transition: all 0.25s ease;
}

.burger:hover {
    background: var(--bg-glass-strong);
    border-color: var(--border-glass-bright);
}

.burger-line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.burger-line:nth-child(1) {
    transform: translate(-50%, calc(-50% - 7px));
}

.burger-line:nth-child(3) {
    transform: translate(-50%, calc(-50% + 7px));
}

.burger[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0.9rem 1.7rem;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    background: var(--bg-glass-strong);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 40%);
    opacity: 0.6;
    pointer-events: none;
}

.btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-bright);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--glow-sm);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-void);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-primary::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 45%);
    opacity: 1;
}

.btn-primary:hover {
    background: var(--accent-dim);
    box-shadow: 0 18px 48px rgba(255, 255, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-outline,
.btn-ghost {
    background: transparent;
    border-color: var(--border-glass-bright);
    color: var(--text-primary);
}

.btn-outline:hover,
.btn-ghost:hover {
    background: var(--bg-glass-strong);
    border-color: var(--border-glass-glow);
    box-shadow: var(--glow-sm);
}

section {
    padding: 6.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.landing {
    position: relative;
    isolation: isolate;
    min-height: min(840px, calc(100svh - 76px));
    width: min(100%, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    overflow: hidden;
}

.landing::before {
    content: '';
    position: absolute;
    inset: 8% 6%;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 40px 100px rgba(0,0,0,0.4);
    animation: hero-glow 5s ease-in-out infinite alternate;
}

.landing::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%);
    filter: blur(60px);
    animation: orb-pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-glow {
    from { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 40px 100px rgba(0,0,0,0.4); }
    to { box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 50px 120px rgba(0,0,0,0.5), 0 0 80px rgba(255,255,255,0.08); }
}

@keyframes orb-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-kicker {
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: fade-in-up 0.8s ease-out both;
}

.hero-logo {
    max-width: 14ch;
    color: var(--text-primary);
    font-size: clamp(3.2rem, 9.5vw, 7rem);
    font-weight: 600;
    line-height: 0.95;
    text-wrap: balance;
    letter-spacing: -0.04em;
    text-shadow: 0 0 80px rgba(255,255,255,0.22);
    animation: fade-in-up 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    width: min(100%, 560px);
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fade-in-up 0.8s ease-out 0.3s both;
}

.landing-actions .btn {
    min-height: 56px;
    padding: 0 2.2rem;
    font-size: 1rem;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

b,
strong {
    color: var(--text-primary);
    font-weight: 600;
}

.section-title {
    margin: 0 auto 1.5rem;
    color: var(--text-primary);
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.08;
    text-align: center;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin: 0.9rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

.about-copy {
    max-width: 66ch;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.85;
    text-align: center;
    overflow-wrap: break-word;
}

.about-copy .inline-block {
    display: inline;
}

.about-copy span.cursor-help {
    border-bottom: 1px dashed var(--border-glass-bright);
}

/* Glass card */
.card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.08);
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    opacity: 0.7;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255,255,255,0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--border-glass-glow);
    box-shadow: var(--shadow-md), var(--glow-md), inset 0 1px 0 rgba(255,255,255,0.12);
}

.card:hover::after {
    opacity: 1;
}

.card h3 {
    color: var(--text-primary);
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
}

.card p.text-3xl,
.card #custom-price {
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255,255,255,0.18);
}

.card .text-amber-400,
.card .text-amber-600 {
    color: var(--warning);
}

.card input {
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.32);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.card input:focus {
    outline: none;
    border-color: var(--border-glass-bright);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.card:hover .order-btn {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ═══════════════════════════════════════════════════════════════
   LUXURY PRICING CARDS
   ═══════════════════════════════════════════════════════════════ */
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.4rem 1.6rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.02) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 24px 70px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 0 40px rgba(255,255,255,0.02);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    overflow: hidden;
}

/* animated gradient border */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.10) 25%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0.10) 75%,
        rgba(255,255,255,0.45) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.75;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: border-rotate 6s linear infinite;
}

@keyframes border-rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* top sheen */
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* mouse spotlight */
.pricing-card .card-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow:
        0 40px 100px rgba(0,0,0,0.45),
        0 0 80px rgba(255,255,255,0.10),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 0 60px rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover::after {
    opacity: 0.8;
}

.pricing-card:hover .card-spotlight {
    opacity: 1;
}

.pricing-card .card-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.pricing-card:hover .card-icon {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 30px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.25);
}

.pricing-card h3 {
    position: relative;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    z-index: 1;
}

.pricing-card .price {
    position: relative;
    font-size: clamp(2.6rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.8rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 50px rgba(255,255,255,0.18);
    z-index: 1;
}

.pricing-card .price-note {
    position: relative;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    z-index: 1;
}

.pricing-card .price-note.highlight {
    color: var(--warning);
    font-weight: 500;
}

.pricing-card .discount-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: auto;
    z-index: 1;
}

.pricing-card .discount-badge + .btn {
    margin-top: 10px !important;
    z-index: 1;
}

.pricing-card.featured {
    background:
        radial-gradient(140% 120% at 50% 0%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 35%, rgba(255,255,255,0.01) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 100%);
    box-shadow:
        0 30px 90px rgba(0,0,0,0.45),
        0 0 80px rgba(255,255,255,0.12),
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 0 60px rgba(255,255,255,0.03);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.20) 30%,
        rgba(255,255,255,0.10) 50%,
        rgba(255,255,255,0.25) 70%,
        rgba(255,255,255,0.75) 100%);
    opacity: 1;
}

.pricing-card.featured .popular-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: #fff;
    color: #000;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255,255,255,0.25);
    z-index: 2;
}

.pricing-card input {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 1rem;
    padding: 0.85rem;
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    transition: all 0.25s ease;
}

.pricing-card input:focus {
    outline: none;
    border-color: var(--border-glass-glow);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 0 25px rgba(255,255,255,0.08);
}

.pricing-card.featured .card-icon {
    background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 100%);
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 40px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.30);
}

.pricing-card.featured .price {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 2rem 1.3rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card input {
        max-width: 100%;
    }
}

.global-error {
    display: block;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(255, 59, 48, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 59, 48, 0.10);
    color: #ffb3ab;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.success-message {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(52, 199, 89, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(52, 199, 89, 0.10);
    color: #a8f5c5;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.error-message {
    display: none;
    margin-top: 6px;
    color: #ffb3ab;
    font-size: 0.86rem;
}

.message-preline {
    white-space: pre-line;
}

/* FAQ */
.faq-item {
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.faq-item:hover {
    border-color: var(--border-glass-glow);
    box-shadow: var(--glow-sm), inset 0 1px 0 rgba(255,255,255,0.08);
}

.faq-toggle {
    width: 100%;
    text-align: left;
    padding: 1.3rem 1.6rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.6rem;
    color: var(--text-secondary);
    font-family: var(--font-text);
    font-size: 0.96rem;
    line-height: 1.7;
    text-align: left;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-content {
    max-height: 320px;
    padding: 0 1.6rem 1.3rem;
    opacity: 1;
}

.faq-item.open .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-content a {
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-glass-bright);
    transition: border-color 0.2s ease;
}

.faq-content a:hover {
    border-color: var(--text-primary);
}

/* How to use / steps */
.step-card .step-number {
    color: var(--text-primary);
    text-shadow: 0 0 24px rgba(255,255,255,0.20);
}

/* Contact */
.contact-copy {
    font-family: var(--font-text);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 2.5rem 1.5rem;
    margin-top: 4rem;
}

footer a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--text-primary);
}

/* Utility glass */
.glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-md);
}

.glass-strong {
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-glass-bright);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: var(--radius-md);
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating orbs background */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    header .container {
        min-height: 68px;
        padding: 0 18px;
        flex-wrap: wrap;
        gap: 0;
    }

    header .logo {
        order: 1;
        flex: 1 1 auto;
        font-size: 1.1rem;
    }

    .burger {
        order: 2;
        flex: 0 0 44px;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    header .nav {
        display: flex;
        position: relative;
        z-index: 9999999;
        order: 3;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.22s ease,
                    padding 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    }

    header .nav.show {
        max-height: 360px;
        padding: 14px 0 18px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    header .nav a,
    header .nav a:not(.btn),
    header .nav .nav-profile-link {
        width: 100%;
        margin: 0;
        padding: 12px 16px;
        text-align: left;
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

    header .nav.show a,
    header .nav.show a:not(.btn),
    header .nav.show .nav-profile-link {
        opacity: 1;
        transform: translateY(0);
    }

    header .nav .btn {
        justify-content: center;
        text-align: center;
    }

    section {
        padding: 4.5rem 1rem;
    }

    .landing {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 5.5rem 1rem 6rem;
    }

    .landing::before {
        inset: 1rem;
        border-radius: var(--radius-lg);
    }

    .landing::after {
        width: 300px;
        height: 300px;
    }

    .hero-logo {
        max-width: 10ch;
        font-size: clamp(2.7rem, 12vw, 3.6rem);
    }

    .hero-subtitle {
        width: 100%;
        max-width: 32ch;
        overflow-wrap: break-word;
    }

    .landing-actions {
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
    }

    .landing-actions .btn {
        width: 100%;
    }

    .about-copy {
        text-align: left;
    }

    .about-copy .inline-block {
        display: inline;
    }
}
