/* =============================================
   DUNELIA — Design System
   Premium · Elegant · Dark Luxury
   ============================================= */

/* ── Reset ──────────────────────────────────── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ── Variables ──────────────────────────────── */

:root {
    --bg:            #0b0b0f;
    --bg-surface:    #131316;
    --bg-elevated:   #1a1a1f;
    --bg-hover:      #222228;
    --bg-input:      #16161b;

    --border:        rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --border-focus:  rgba(200, 169, 110, 0.4);

    --text:          #f0ece4;
    --text-secondary:#a09a90;
    --text-muted:    #6b665e;

    --gold:          #c8a96e;
    --gold-light:    #dfc088;
    --gold-dark:     #a68a4b;
    --gold-glow:     rgba(200, 169, 110, 0.10);
    --gold-glow-md:  rgba(200, 169, 110, 0.18);

    --success:       #5cb87a;
    --success-bg:    rgba(92, 184, 122, 0.08);
    --error:         #d96b6b;
    --error-bg:      rgba(217, 107, 107, 0.08);

    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --radius-xl:     32px;

    --shadow-sm:     0 1px 3px rgba(0,0,0,0.3);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg:     0 12px 48px rgba(0,0,0,0.45);
    --shadow-glow:   0 0 60px rgba(200, 169, 110, 0.06);

    --font-serif:    Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;

    --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);

    --header-h:      72px;
}

/* ── Typography ─────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }

p { color: var(--text-secondary); }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

/* ── Layout ─────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.hide-mobile { display: inline; }

/* ── Buttons ────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: #0b0b0f;
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 4px 20px rgba(200, 169, 110, 0.25);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-ghost {
    color: var(--text-secondary);
}
.btn-ghost:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.btn-lg  { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm  { padding: 8px 18px; font-size: 0.82rem; }
.btn-xs  { padding: 5px 12px; font-size: 0.78rem; }
.btn-full { width: 100%; }

.btn--danger       { color: var(--error); }
.btn--danger:hover { background: var(--error-bg); }

/* ── Forms ──────────────────────────────────── */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-input);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea { resize: vertical; min-height: 100px; }

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b665e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-error {
    display: block;
    font-size: 0.82rem;
    color: var(--error);
    margin-top: 0.4rem;
}

.form-hint {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}
.form-hint a { color: var(--gold); }
.form-hint a:hover { text-decoration: underline; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

/* File upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
    cursor: pointer;
}
.file-upload:hover {
    border-color: var(--gold);
    background: var(--gold-glow);
}
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-upload-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.file-upload-text {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.file-upload-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── Alerts ─────────────────────────────────── */

.alert {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: alertIn 0.4s var(--ease-out);
    max-width: calc(100vw - 48px);
}

.alert-success {
    background: #1a2e22;
    color: var(--success);
    border: 1px solid rgba(92, 184, 122, 0.2);
}

.alert-error {
    background: #2e1a1a;
    color: var(--error);
    border: 1px solid rgba(217, 107, 107, 0.2);
}

.alert-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes alertIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Header ─────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    padding-top: env(safe-area-inset-top, 0px);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--gold);
    line-height: 1;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-link:hover,
.nav-link.active {
    color: var(--text);
}
.nav-link.active {
    color: var(--gold);
}

.header-actions {
    display: flex;
    gap: 8px;
    margin-left: 1rem;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mobile-menu nav a {
    font-size: 1.3rem;
    padding: 12px 24px;
    color: var(--text-secondary);
    transition: color 0.25s var(--ease);
}
.mobile-menu nav a:hover { color: var(--text); }
.mobile-menu-divider {
    width: 40px;
    height: 1px;
    background: var(--border-strong);
    margin: 12px 0;
}

/* ── Hero ───────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(200, 169, 110, 0.04), transparent),
        radial-gradient(ellipse 60% 80% at 20% 60%, rgba(200, 169, 110, 0.03), transparent),
        radial-gradient(ellipse 60% 80% at 80% 40%, rgba(120, 100, 160, 0.03), transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.08), transparent 70%);
    top: 10%;
    left: 15%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(140, 120, 180, 0.06), transparent 70%);
    top: 40%;
    right: 10%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.05), transparent 70%);
    bottom: 10%;
    left: 40%;
    animation: orbFloat3 22s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(40px, -30px); }
    66%      { transform: translate(-20px, 20px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(-30px, 40px); }
    66%      { transform: translate(30px, -20px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(20px, 30px); }
    66%      { transform: translate(-40px, -10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: heroFadeUp 1s var(--ease-out) 0.2s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
    animation: heroFadeUp 1s var(--ease-out) 0.4s both;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: heroFadeUp 1s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeUp 1s var(--ease-out) 0.8s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: heroFadeUp 1s var(--ease-out) 1.2s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* ── Values ─────────────────────────────────── */

.section--values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.value-card {
    padding: 48px 40px;
    background: var(--bg-surface);
    transition: background 0.3s var(--ease);
}
.value-card:hover {
    background: var(--bg-elevated);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.value-card h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── Steps ──────────────────────────────────── */

.section--steps {
    background: var(--bg-surface);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-number {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.92rem;
}

/* ── Features ───────────────────────────────── */

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.features-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--gold);
}
.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.88rem;
}

/* ── Quote ──────────────────────────────────── */

.section--quote {
    padding: 120px 0;
}

.quote-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 0.5;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.quote-block blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.quote-block cite {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ── CTA ────────────────────────────────────── */

.section--cta {
    padding: 100px 0;
}

.cta-block {
    text-align: center;
    padding: 80px 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--gold-glow), transparent 60%);
    pointer-events: none;
}

.cta-block h2 {
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
}

.cta-block p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-block .btn {
    position: relative;
}

/* ── Page Hero ──────────────────────────────── */

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    color: var(--text);
}

/* ── About ──────────────────────────────────── */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-value {
    padding: 28px 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s var(--ease);
}
.about-value:hover {
    border-color: var(--border-strong);
}

.about-value h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-value p {
    font-size: 0.92rem;
}

/* ── How It Works ───────────────────────────── */

.hiw-steps {
    max-width: 720px;
    margin: 0 auto;
}

.hiw-step {
    display: flex;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}
.hiw-step:last-child { border-bottom: none; }

.hiw-step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.3;
    flex-shrink: 0;
}

.hiw-step-content h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.hiw-step-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

/* ── Pricing ─────────────────────────────────── */

.section--pricing-hero {
    padding: 140px 0 80px;
}

.pricing-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 3rem 0;
}

.billing-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
    user-select: none;
}
.billing-label--active { color: var(--text); font-weight: 600; }

.billing-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--gold-glow-md);
    color: var(--gold);
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.billing-switch {
    width: 52px;
    height: 28px;
    background: var(--bg-hover);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.billing-switch:hover { border-color: var(--gold); }

.billing-switch-thumb {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--text-secondary);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease);
}
.billing-switch.active .billing-switch-thumb {
    transform: translateX(24px);
    background: var(--gold);
}

/* Plans grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plan-card:hover {
    border-color: var(--border-strong);
}

.plan-card--featured {
    border-color: var(--gold-dark);
    box-shadow: 0 0 60px rgba(200, 169, 110, 0.08);
}
.plan-card--featured:hover {
    border-color: var(--gold);
    box-shadow: 0 0 80px rgba(200, 169, 110, 0.12);
}

.plan-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 18px;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--gold);
    color: #0b0b0f;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-header { margin-bottom: 1.5rem; }

.plan-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--gold);
}

.plan-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-period {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.plan-features {
    flex: 1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.plan-check {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.plan-cross {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    opacity: 0.5;
}

.plan-feature--disabled {
    opacity: 0.45;
}

@media (max-width: 768px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
    .section--pricing-hero { padding: 120px 0 60px; }
    .price-amount { font-size: 2.5rem; }
}

/* FAQ */
.section--faq {
    background: var(--bg-surface);
    padding: 100px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: color 0.25s var(--ease);
}
.faq-question:hover { color: var(--gold); }

.faq-icon {
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { max-height: 500px; }

/* ── Contact ────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info > p {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-form {
    padding: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ── Auth Pages ─────────────────────────────── */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 30%, rgba(200, 169, 110, 0.04), transparent);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.auth-card {
    padding: 48px 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.auth-card--wide {
    max-width: 520px;
}

.auth-container:has(.auth-card--wide) {
    max-width: 520px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

.auth-card h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--gold);
    font-weight: 500;
}
.auth-footer a:hover { text-decoration: underline; }

/* Auth divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 1.5rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-strong);
}
.auth-divider span {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Google button */
.btn-google {
    background: #fff;
    color: #3c4043;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    gap: 10px;
    transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-google:hover {
    background: #f8f8f8;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}
.btn-google .google-icon {
    flex-shrink: 0;
}

/* ── Error Page ─────────────────────────────── */

.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.error-code {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 400;
    line-height: 1;
    color: var(--gold);
    opacity: 0.15;
    margin-bottom: 1rem;
}

.error-content h1 {
    color: var(--text);
    margin-bottom: 1rem;
}

.error-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────── */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── Scroll Reveal ──────────────────────────── */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ── Utility ────────────────────────────────── */

.text-muted    { color: var(--text-muted) !important; }
.text-small    { font-size: 0.82rem; }
.text-gold     { color: var(--gold); }

/* ── Responsive ─────────────────────────────── */

@media (max-width: 1024px) {
    .main-nav,
    .header-actions { display: none; }

    .mobile-toggle { display: flex; }

    .features-layout { grid-template-columns: 1fr; gap: 48px; }
    .about-grid      { grid-template-columns: 1fr; gap: 48px; }
    .contact-layout  { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .section { padding: 64px 0; }

    .values-grid   { grid-template-columns: 1fr; }
    .steps-grid    { grid-template-columns: 1fr; gap: 8px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
    .form-row      { grid-template-columns: 1fr; }

    .hero { min-height: 90vh; padding: 100px 20px 60px; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

    .hero-orb { display: none; }

    .hiw-step { flex-direction: column; gap: 16px; }
    .hiw-step-number { font-size: 2.5rem; }

    .value-card { padding: 32px 28px; }

    .auth-card { padding: 36px 28px; }

    .contact-form { padding: 28px 24px; }

    .cta-block { padding: 48px 28px; }

    .section--quote { padding: 80px 0; }
    .quote-mark { font-size: 4rem; }

    .hide-mobile { display: none; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn { justify-content: center; }

    .auth-card { padding: 32px 20px; }
}
