/* ═══════════════════════════════════════════════════════════
   Kialik — Welcome Page Styles
   Stack: Laravel + Blade + Tailwind (this file is standalone CSS,
          loaded via <link> for the public landing page only)
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────────── */
:root {
    --obsidian: #0d0d0e;
    --obsidian-2: #161618;
    --obsidian-3: #1e1e21;
    --gold: #c9a96e;
    --gold-dim: #9b7a45;
    --copper: #8b5e3c;
    --paper: #f7f3ee;
    --paper-dim: #e8e4df;
    --mist: #dbd8d4;
    --mist-dark: #6b6560;
    --white: #ffffff;

    --ff-display: "Fraunces", Georgia, serif;
    --ff-body: "Inter", system-ui, sans-serif;
    --ff-arabic: "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;

    --nav-h: 72px;
    --container: 1200px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RTL font override ──────────────────────────────────── */
[dir="rtl"] {
    --ff-body: var(--ff-arabic);
}
[dir="rtl"] .hero-eyebrow::before {
    display: none;
}
[dir="rtl"] .hero-eyebrow::after {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}
[dir="rtl"] .step-connector {
    left: auto;
    right: calc(100% - 1.5rem);
}
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}
[dir="rtl"] .footer-grid {
    direction: rtl;
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
}

body {
    font-family: var(--ff-body);
    background: var(--obsidian);
    color: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── Scroll-reveal base (JS will add .is-visible) ───────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}
.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ── Shared layout helpers ──────────────────────────────── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--ff-display);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 500px;
    margin-bottom: 4rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-large {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--obsidian);
    background: var(--gold);
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    white-space: nowrap;
}
.btn-large:hover {
    background: #d4b47a;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.25);
}

.btn-outline {
    display: inline-block;
    font-size: 0.9375rem;
    color: var(--paper-dim);
    text-decoration: none;
    padding: 0.875rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    transition:
        border-color 0.2s,
        color 0.2s;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: var(--gold-dim);
    color: var(--paper);
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding-inline: 2.5rem;
    background: transparent;
    transition:
        background 0.35s,
        backdrop-filter 0.35s,
        border-color 0.35s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(13, 13, 14, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: rgba(201, 169, 110, 0.1);
}

.nav-inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin-inline-start: auto;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--mist);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition:
        color 0.2s,
        background 0.2s;
    white-space: nowrap;
}
.nav-link-button {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.nav-link:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.15);
}
.nav-link.active {
    color: var(--gold);
}

/* Language switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mist);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition:
        color 0.2s,
        border-color 0.2s;
    white-space: nowrap;
}
.lang-btn:hover {
    color: var(--paper);
    border-color: rgba(201, 169, 110, 0.4);
}

.lang-btn svg {
    width: 14px;
    height: 14px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 130px;
    background: var(--obsidian-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 0.2s,
        transform 0.2s,
        visibility 0.2s;
    z-index: 50;
}
.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: var(--mist);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
    text-align: start;
}
.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--paper);
}
.lang-option.active {
    color: var(--gold);
}

/* Nav CTA */
.nav-cta {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--obsidian);
    background: var(--gold);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    transition:
        background 0.2s,
        transform 0.15s;
    white-space: nowrap;
}
.nav-cta:hover {
    background: #d4b47a;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-inline-start: auto;
}
.nav-hamburger span {
    display: block;
    height: 1.5px;
    background: var(--paper);
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s,
        width 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: rgba(13, 13, 14, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 190;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
}
[dir="rtl"] .nav-drawer {
    transform: translateX(-100%);
}
.nav-drawer.open {
    transform: translateX(0);
}
[dir="rtl"] .nav-drawer.open {
    transform: translateX(0);
}

.nav-drawer .nav-link {
    font-size: 1.1rem;
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-drawer .lang-section {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
}

.nav-drawer .lang-option-inline {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--mist);
    text-decoration: none;
    transition:
        color 0.2s,
        border-color 0.2s;
}
.nav-drawer .lang-option-inline:hover,
.nav-drawer .lang-option-inline.active {
    color: var(--gold);
    border-color: var(--gold-dim);
}

.nav-drawer .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    padding: 0.875rem;
    font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero-wrapper {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/img/hero.avif");
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s var(--ease-out);
    will-change: transform;
}
.hero-bg.loaded {
    transform: scale(1);
}

/* Gradient overlay — left side clear, right side fades */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(13, 13, 14, 0.88) 0%,
        rgba(13, 13, 14, 0.72) 45%,
        rgba(13, 13, 14, 0.3) 75%,
        rgba(13, 13, 14, 0.1) 100%
    );
}
/* Second overlay for bottom fade */
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        var(--obsidian) 100%
    );
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
    padding-block: calc(var(--nav-h) + 4rem) 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    max-width: 540px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero-headline {
    font-family: var(--ff-display);
    font-size: clamp(2.6rem, 5vw, 4.25rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--paper);
    margin-bottom: 1.5rem;
}
.hero-headline em {
    font-style: italic;
    color: var(--gold);
}

.hero-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(247, 243, 238, 0.72);
    margin-bottom: 2.5rem;
    max-width: 420px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* NFC card visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 360px;
}

.tap-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.tap-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.3);
    animation: ring-pulse 3s ease-out infinite;
}
.tap-ring:nth-child(1) {
    width: 220px;
    height: 220px;
    animation-delay: 0s;
}
.tap-ring:nth-child(2) {
    width: 330px;
    height: 330px;
    animation-delay: 0.9s;
}
.tap-ring:nth-child(3) {
    width: 440px;
    height: 440px;
    animation-delay: 1.8s;
}

@keyframes ring-pulse {
    0% {
        opacity: 0.65;
        transform: scale(0.82);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

.nfc-card {
    position: relative;
    width: 320px;
    height: 202px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #1c1c1f 0%, #2a2624 50%, #1a1917 100%);
    border: 1px solid rgba(201, 169, 110, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 8px 24px rgba(201, 169, 110, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: card-float 4.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes card-float {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-14px) rotate(-1.5deg);
    }
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dim), var(--copper));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-size: 1.1rem;
    color: var(--paper);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.card-nfc-icon {
    width: 28px;
    height: 28px;
    opacity: 0.55;
}

.card-name {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--paper);
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.card-role {
    font-size: 0.7rem;
    color: var(--mist);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-dim),
        transparent
    );
}

/* ════════════════════════════════════════════════════════════
   STATS STRIP
   ════════════════════════════════════════════════════════════ */
.stats-strip {
    background: var(--obsidian-2);
    border-top: 1px solid rgba(201, 169, 110, 0.07);
    border-bottom: 1px solid rgba(201, 169, 110, 0.07);
    padding-block: 3.5rem;
}

.stats-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--ff-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--mist);
    letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════ */
.features-section {
    background: var(--paper);
    color: var(--obsidian);
    padding-block: 7rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--paper-dim);
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-card {
    background: var(--paper);
    padding: 2.5rem 2rem;
    transition: background 0.2s;
}
.feature-card:hover {
    background: var(--white);
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--copper);
}

.feature-title {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--obsidian);
    margin-bottom: 0.75rem;
}

.feature-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--mist-dark);
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════ */
.how-section {
    background: var(--paper);
    padding-block: 7rem;
    border-top: 1px solid var(--paper-dim);
}

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

.step {
    position: relative;
}

.step-connector {
    position: absolute;
    top: 1rem;
    left: calc(100% - 1.5rem);
    width: 3rem;
    height: 1px;
    background: var(--paper-dim);
}
.step:last-child .step-connector {
    display: none;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--copper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--copper);
    margin-bottom: 1.5rem;
}

.step-title {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--obsidian);
    margin-bottom: 0.6rem;
}

.step-body {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--mist-dark);
}

/* ════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════ */
.pricing-section {
    background: var(--obsidian);
    padding-block: 7rem;
}

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

.pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    background: var(--obsidian-2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition:
        border-color 0.25s,
        transform 0.25s;
}
.pricing-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--gold-dim);
    background: linear-gradient(160deg, #1e1b17, #1a1a1c);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--obsidian);
    background: var(--gold);
    padding: 0.25rem 0.875rem;
    border-radius: 99px;
    white-space: nowrap;
}

.pricing-plan {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mist);
}

.pricing-price {
    font-family: var(--ff-display);
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--paper);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pricing-price span {
    font-size: 1rem;
    color: var(--mist);
    font-family: var(--ff-body);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--mist);
    line-height: 1.65;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(247, 243, 238, 0.75);
}
.pricing-features li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%239B7A45' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.pricing-cta-outline {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--paper-dim);
}
.pricing-cta-outline:hover {
    border-color: var(--gold-dim);
    color: var(--paper);
}
.pricing-cta-filled {
    background: var(--gold);
    color: var(--obsidian);
}
.pricing-cta-filled:hover {
    background: #d4b47a;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--obsidian-2);
    border-top: 1px solid rgba(201, 169, 110, 0.07);
    padding-block: 8rem;
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin-inline: auto;
    padding-inline: 2.5rem;
}

.cta-headline {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--paper);
    margin-bottom: 1.25rem;
}
.cta-headline em {
    font-style: italic;
    color: var(--gold);
}

.cta-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mist);
    margin-bottom: 2.75rem;
}

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

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
    background: var(--obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-block: 4rem 2rem;
}

.footer-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
}

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

.footer-brand {
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
}
.footer-logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--mist);
    line-height: 1.7;
    max-width: 220px;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mist);
    text-decoration: none;
    transition:
        border-color 0.2s,
        color 0.2s;
}
.footer-social-link:hover {
    border-color: var(--gold-dim);
    color: var(--gold);
}
.footer-social-link svg {
    width: 15px;
    height: 15px;
}

.footer-col-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--mist);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--mist-dark);
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
}
.footer-legal a {
    font-size: 0.75rem;
    color: var(--mist-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--mist);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Tablet — 900px */
@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-block: calc(var(--nav-h) + 3rem) 4rem;
    }
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    .hero-body {
        max-width: 100%;
        margin-inline: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-eyebrow {
        justify-content: center;
    }
    .hero-visual {
        min-height: 280px;
    }
    .tap-ring:nth-child(3) {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .steps-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step-connector {
        display: none;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile — 600px */
@media (max-width: 600px) {
    :root {
        --nav-h: 60px;
    }
    .container,
    .hero-grid,
    .stats-inner,
    .footer-inner {
        padding-inline: 1.25rem;
    }

    .nav {
        padding-inline: 1.25rem;
    }
    .nav-logo img {
        height: 28px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section,
    .how-section,
    .cta-section,
    .pricing-section {
        padding-block: 4.5rem;
    }
    .stats-strip {
        padding-block: 3rem;
    }

    .section-headline {
        margin-bottom: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .nfc-card {
        width: 275px;
        height: 174px;
    }
    .tap-ring:nth-child(2) {
        display: none;
    }
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(13, 13, 14, 0.85) 0%,
            rgba(13, 13, 14, 0.75) 60%,
            rgba(13, 13, 14, 0.95) 100%
        );
    }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .nfc-card {
        animation: none;
    }
    .tap-ring {
        animation: none;
        opacity: 0.12;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-bg {
        transform: scale(1);
        transition: none;
    }
}


/* ════════════════════════════════════════════════════════════
   MEGA MENU — DESKTOP
   ════════════════════════════════════════════════════════════ */

[x-cloak] { display: none !important; }

.nav-item-has-dropdown { position: relative; }

.nav-link--dropdown {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--mist);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    font-family: var(--ff-body);
}
.nav-link--dropdown:hover {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.15);
}

/* Full-width panel anchored to the nav bar */
.mega-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--obsidian-3);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    z-index: 200;
    padding-block: 2rem;
}

.mega-panel__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left blurb */
.mega-panel__blurb {
    padding-top: 0.25rem;
}
.mega-panel__blurb-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.mega-panel__blurb-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--mist-dark);
    margin-bottom: 1.25rem;
}
.mega-panel__blurb-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--copper);
    background: rgba(139, 94, 60, 0.12);
    border: 1px solid rgba(139, 94, 60, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
}

/* Product cards grid */
.mega-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.mega-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1rem 1.125rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
}
.mega-card:hover {
    background: rgba(201, 169, 110, 0.06);
    border-color: rgba(201, 169, 110, 0.2);
}

/* Table Holder spans full width */
.mega-card--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.875rem;
}

.mega-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.mega-card__body { flex: 1; min-width: 0; }

.mega-card__title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--paper);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mega-card__badge {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gold-dim);
    background: rgba(155, 122, 69, 0.1);
    border: 1px solid rgba(155, 122, 69, 0.18);
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
}

.mega-card__desc {
    font-size: 0.775rem;
    color: var(--mist-dark);
    line-height: 1.5;
}

.mega-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.mega-chip {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-dim);
    background: rgba(155, 122, 69, 0.08);
    border: 1px solid rgba(155, 122, 69, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    white-space: nowrap;
}

/* Mega panel transitions */
.mega-panel--enter       { transition: opacity 0.15s ease, transform 0.15s ease; }
.mega-panel--enter-start { opacity: 0; transform: translateY(-6px); }
.mega-panel--enter-end   { opacity: 1; transform: translateY(0); }
.mega-panel--leave       { transition: opacity 0.1s ease; }
.mega-panel--leave-start { opacity: 1; }
.mega-panel--leave-end   { opacity: 0; }

/* ════════════════════════════════════════════════════════════
   MEGA MENU — MOBILE DRAWER
   ════════════════════════════════════════════════════════════ */

.nav-drawer-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-align: start;
    font-size: 1.1rem;
    font-family: var(--ff-body);
    color: var(--mist);
    padding: 0.85rem 0.75rem;
    transition: color 0.2s;
}
.nav-drawer-accordion:hover { color: var(--paper); }

.mega-drawer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.75rem 0.5rem;
}

.mega-drawer__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    font-family: var(--ff-body);
    transition: background 0.15s, border-color 0.15s;
}
.mega-drawer__card:hover,
.mega-drawer__card--toggle:hover {
    background: rgba(201, 169, 110, 0.06);
    border-color: rgba(201, 169, 110, 0.2);
}

.mega-drawer__card--toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: var(--ff-body);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.mega-drawer__icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.mega-drawer__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    text-align: start;
}

.mega-drawer__card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--paper);
}

.mega-drawer__card-desc {
    font-size: 0.75rem;
    color: var(--mist-dark);
    margin-top: 0.1rem;
}

.mega-drawer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem 0.25rem;
}

.mega-chip--link {
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    cursor: pointer;
}
.mega-chip--link:hover {
    background: rgba(155, 122, 69, 0.18);
    border-color: rgba(155, 122, 69, 0.35);
    color: var(--gold);
}