/* ============================
   لُبّ (Lubb) — Website Styles
   ============================ */

/* Force Western digits: Noto Kufi Arabic renders 0-9 as Arabic-Indic glyphs.
   This @font-face intercepts digit characters and renders them from a Western font. */
@font-face {
    font-family: 'Western Digits';
    src: local('Segoe UI'), local('Arial'), local('Helvetica Neue'), local('Helvetica');
    unicode-range: U+0030-0039, U+002C, U+002E, U+0025; /* 0-9 , . % */
    font-weight: 100 900;
    font-style: normal;
}

/* --- Ambient Atmosphere (v1.5) ---
   Subtle animated background blobs for depth.
   Motion-safe: disabled when prefers-reduced-motion. */
.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.10;
    will-change: transform;
}

.ambient__blob--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #D4A847 0%, transparent 70%);
    top: 8%;
    right: -8%;
    animation: ambientDrift1 28s ease-in-out infinite;
}

.ambient__blob--2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #1A6B6B 0%, transparent 70%);
    bottom: 12%;
    left: -6%;
    animation: ambientDrift2 36s ease-in-out infinite;
}

.ambient__blob--3 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, #4A148C 0%, transparent 70%);
    top: 55%;
    right: 30%;
    opacity: 0.06;
    animation: ambientDrift3 44s ease-in-out infinite;
}

@keyframes ambientDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-40px, 60px) scale(1.08); }
}
@keyframes ambientDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(50px, -40px) scale(1.05); }
}
@keyframes ambientDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, -50px) scale(1.10); }
}

@media (prefers-reduced-motion: reduce) {
    .ambient__blob { animation: none !important; }
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors */
    --color-bg: #0A0E14;
    --color-bg-elevated: #121820;
    --color-bg-card: #1A2230;
    --color-surface: rgba(255, 255, 255, 0.04);
    --color-border: rgba(255, 255, 255, 0.08);

    --color-text: #F0EDE6;
    --color-text-secondary: #B0A99A;
    --color-text-muted: #6B6560;

    --color-gold: #D4A847;
    --color-gold-light: #E8C46A;
    --color-gold-dark: #B88E2F;
    --color-teal: #0D4F4F;
    --color-teal-light: #1A6B6B;

    --color-navy: #1A1A2E;
    --color-cream: #FAF3E8;

    /* Typography */
    --font-body: 'Western Digits', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    --font-display: 'Western Digits', 'Noto Naskh Arabic', 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', serif;
    --font-ui: 'Western Digits', 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
    --font-glyph: 'Noto Naskh Arabic', serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    position: relative;
}

/* Ensure content layers above ambient blobs */
body > main,
body > .nav,
body > footer,
body > section {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul { list-style: none; }

/* --- Utility --- */
.text-gold { color: var(--color-gold); }

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* No-JS fallback: show content if JS fails */
.js-loading .reveal {
    opacity: 1;
    transform: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header__tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(212, 168, 71, 0.1);
    border: 1px solid rgba(212, 168, 71, 0.2);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.section-header__desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #0A0E14;
    box-shadow: 0 4px 24px rgba(212, 168, 71, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 71, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn--ghost:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

.reveal--from-right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.92); }

/* ===========================
   NAVIGATION
   =========================== */
/* Keep nav and small UI text in Kufi (cleaner for UI than Naskh's serifs) */
.nav,
.nav *,
.btn,
.section-header__tag,
.realm-card__name,
.realm-card__count,
.card-type-item__name,
.feature-card__title,
.pricing-card__name,
.pricing-card__feature,
.feature-card__desc,
.pricing-card__annual,
footer,
footer * {
    font-family: var(--font-ui);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(10, 14, 20, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s var(--ease-out);
}

.nav.is-scrolled {
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav__logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.nav__links {
    display: flex;
    gap: var(--space-xl);
}

.nav__links a {
    font-size: 15px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav__links a:hover {
    color: var(--color-text);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #0A0E14;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 71, 0.3);
}

.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav__menu-btn.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__menu-btn.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 var(--space-4xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Orbital Nucleus — branded hero animation */
.orbital {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    width: min(600px, 90vw);
    height: 90vw;
    height: min(600px, 90vw);
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

/* Realm Color River — flowing gradient of all 18 realm colors */
.realm-river {
    height: 2px;
    overflow: hidden;
    position: relative;
}

.realm-river__flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        #0D47A1, #1B5E20, #4A148C, #E65100, #006064, #AD1457,
        #1A237E, #B71C1C, #BF360C, #0277BD, #607D8B, #455A64,
        #EC407A, #FFB300, #AB47BC, #26A69A, #EF5350, #42A5F5,
        #0D47A1);
    animation: riverFlow 25s linear infinite;
}

@keyframes riverFlow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__logo-mark {
    margin-bottom: var(--space-lg);
}

.hero__logo-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero__subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: #1A1F2E;
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(212, 168, 71, 0.08);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0A0E14;
    border-radius: 12px;
    z-index: 2;
}

.phone-mockup__screen {
    background: var(--color-bg);
    border-radius: 28px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* App bar */
.phone-mockup__appbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 16px 8px;
    position: relative;
    z-index: 2;
}

.phone-mockup__app-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
}

.phone-mockup__deck-name {
    font-size: 10px;
    color: var(--color-text-muted);
    max-width: 120px;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card container */
.phone-mockup__cards {
    flex: 1;
    position: relative;
    min-height: 320px;
    margin: 0 8px;
}

/* ---- Mockup Card Base ---- */
.mockup-card {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mockup-card.is-active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

/* Shared elements */
.mockup-card__bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-card__overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.mockup-card__overlay--heavy {
    background: rgba(10, 14, 20, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mockup-card__line {
    width: 40px;
    height: 2px;
    background: var(--realm, var(--color-gold));
    margin: 8px 0;
    opacity: 0.6;
}

.mockup-card__headline {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
}

.mockup-card__body {
    font-size: 11px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---- Title Card ---- */
.mockup-card--title,
.mockup-card--knowledge {
    min-height: 320px;
}
.mockup-card--title {
    background: #0A0E14;
}

.mockup-card--title .mockup-card__bottom {
    position: absolute;
    bottom: 0; right: 0; left: 0;
    padding: 20px 16px;
    z-index: 1;
}

.mockup-card__tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: #fff;
    background: var(--realm);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.mockup-card--title .mockup-card__headline {
    font-size: 15px;
    margin-bottom: 4px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.mockup-card__sub {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* ---- Definition Card ---- */
.mockup-card--definition {
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mockup-card__dot-grid {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}

.mockup-card__center {
    position: relative;
    z-index: 1;
    padding: 24px 16px;
}

.mockup-card__label {
    font-size: 10px;
    font-weight: 600;
    color: var(--realm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.mockup-card__term {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
}

.mockup-card--definition .mockup-card__line {
    margin: 10px auto;
}

.mockup-card__def {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ---- Quote Card ---- */
.mockup-card--quote {
    background: linear-gradient(145deg, var(--color-bg), rgba(74, 20, 140, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(74, 20, 140, 0.15);
}

.mockup-card__quote-open,
.mockup-card__quote-close {
    display: block;
    font-size: 28px;
    color: var(--color-gold);
    opacity: 0.5;
    line-height: 1;
}

.mockup-card__quote-open { margin-bottom: 8px; }
.mockup-card__quote-close { margin-top: 8px; }

.mockup-card__quote-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.9;
}

.mockup-card__attribution {
    display: block;
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 12px;
}

/* ---- Knowledge Card ---- */
.mockup-card--knowledge {
    background: #0A0E14;
}

.mockup-card__glass {
    position: absolute;
    bottom: 16px;
    right: 12px;
    left: 12px;
    padding: 14px;
    background: rgba(10, 14, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    z-index: 1;
}

.mockup-card__glass .mockup-card__headline {
    font-size: 13px;
    margin-bottom: 2px;
}

.mockup-card__glass .mockup-card__body {
    font-size: 10px;
    line-height: 1.6;
}

/* ---- Phone footer (progress + dots) ---- */
.phone-mockup__footer {
    padding: 8px 16px 12px;
}

.phone-mockup__progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.phone-mockup__progress-fill {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
    transition: width 0.6s ease;
}

.phone-mockup__card-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-top: var(--space-sm);
}

.phone-mockup__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: var(--space-md);
}

.phone-mockup__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.phone-mockup__dot.is-active {
    background: var(--color-gold);
    width: 20px;
    border-radius: 3px;
}

/* ===========================
   STATS
   =========================== */
.stats {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.stats__item {
    text-align: center;
}

.stats__number {
    display: block;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stats__label {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.stats__divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
}

/* ===========================
   FEATURES
   =========================== */
.features {
    padding: var(--space-4xl) 0;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent, var(--color-gold)), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(212, 168, 71, 0.15);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 71, 0.08);
    border: 1px solid rgba(212, 168, 71, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--accent, var(--color-gold));
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-card__desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===========================
   REALMS
   =========================== */
.realms {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

.realms__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.realms__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.realm-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all 0.4s var(--ease-out);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.realm-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--realm);
    transition: height 0.4s var(--ease-out);
}

.realm-card:hover {
    transform: translateY(-4px);
    border-color: var(--realm);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.realm-card:hover::before {
    height: 100%;
    opacity: 0.08;
}

.realm-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 32px -8px var(--realm);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.realm-card__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.realm-card:hover .realm-card__icon {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 0 48px -4px var(--realm);
}

.realm-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

.realm-card__count {
    font-size: 13px;
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
    padding: var(--space-4xl) 0;
}

.how-it-works__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.step__number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-gold);
    background: rgba(212, 168, 71, 0.08);
    border: 1px solid rgba(212, 168, 71, 0.2);
    border-radius: var(--radius-md);
}

.step__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step__desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===========================
   CARD TYPES
   =========================== */
.card-types {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

.card-types__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.card-types__showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
}

.card-type-item {
    text-align: center;
    transition: transform 0.3s var(--ease-out);
}

.card-type-item:hover {
    transform: translateY(-4px);
}

.card-type-item__preview {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out);
}

.card-type-item__preview::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--ct-color);
}

.card-type-item:hover .card-type-item__preview {
    border-color: var(--ct-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-type-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0 24px -10px var(--ct-color);
}

.card-type-item__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card-type-item__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* ===========================
   AUDIO FEATURE
   =========================== */
.audio-feature {
    padding: var(--space-4xl) 0;
}

.audio-feature__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.audio-feature__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.3;
    margin: var(--space-md) 0 var(--space-md);
}

.audio-feature__desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.audio-feature__highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.audio-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 15px;
}

/* Audio Wave Visualization */
.audio-feature__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 200px;
    padding: var(--space-2xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.audio-wave__bar {
    width: 8px;
    background: linear-gradient(to top, var(--color-teal), var(--color-gold));
    border-radius: 4px;
    animation: audioBar 1.5s ease-in-out infinite;
}

.audio-wave__bar:nth-child(1)  { height: 30%; animation-delay: 0s; }
.audio-wave__bar:nth-child(2)  { height: 50%; animation-delay: 0.1s; }
.audio-wave__bar:nth-child(3)  { height: 70%; animation-delay: 0.2s; }
.audio-wave__bar:nth-child(4)  { height: 90%; animation-delay: 0.3s; }
.audio-wave__bar:nth-child(5)  { height: 60%; animation-delay: 0.4s; }
.audio-wave__bar:nth-child(6)  { height: 80%; animation-delay: 0.5s; }
.audio-wave__bar:nth-child(7)  { height: 40%; animation-delay: 0.6s; }
.audio-wave__bar:nth-child(8)  { height: 95%; animation-delay: 0.7s; }
.audio-wave__bar:nth-child(9)  { height: 55%; animation-delay: 0.8s; }
.audio-wave__bar:nth-child(10) { height: 75%; animation-delay: 0.9s; }
.audio-wave__bar:nth-child(11) { height: 45%; animation-delay: 1.0s; }
.audio-wave__bar:nth-child(12) { height: 85%; animation-delay: 1.1s; }
.audio-wave__bar:nth-child(13) { height: 35%; animation-delay: 1.2s; }
.audio-wave__bar:nth-child(14) { height: 65%; animation-delay: 1.3s; }
.audio-wave__bar:nth-child(15) { height: 50%; animation-delay: 1.4s; }

@keyframes audioBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* ===========================
   PRICING
   =========================== */
.pricing {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

.pricing__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.pricing__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.pricing-card--premium {
    border-color: rgba(212, 168, 71, 0.3);
    background: linear-gradient(145deg, var(--color-bg-card), rgba(212, 168, 71, 0.03));
    box-shadow: 0 8px 40px rgba(212, 168, 71, 0.08);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: #0A0E14;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.pricing-card__header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.pricing-card__amount {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--color-gold);
}

.pricing-card__currency {
    font-size: 18px;
    color: var(--color-text-secondary);
}

.pricing-card__currency .icon-saudi_riyal_bold_new::after,
.pricing-card__currency .icon-saudi_riyal_new::after {
    font-size: 24px;
    vertical-align: middle;
}

.pricing-card__annual .icon-saudi_riyal_new::after {
    font-size: 16px;
    vertical-align: middle;
}

.pricing-card__annual {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* ===========================
   DOWNLOAD CTA
   =========================== */
.download {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(ellipse at center, rgba(212, 168, 71, 0.06), transparent 70%);
    pointer-events: none;
}

.download__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.download__content {
    text-align: center;
}

.download__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.download__desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.download__badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.store-badge {
    display: block;
    transition: all 0.3s var(--ease-out);
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge__inner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    direction: ltr;
    text-align: left;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
}

.store-badge__small {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1;
}

.store-badge__big {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.download__waitlist {
    margin-top: var(--space-xl);
}

.download__waitlist-text {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.waitlist-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: var(--space-sm);
}

.waitlist-form__input {
    flex: 1;
    padding: 14px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form__input::placeholder {
    color: var(--color-text-muted);
}

.waitlist-form__input:focus {
    border-color: var(--color-gold);
}

.waitlist-form__btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #0A0E14;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.waitlist-form__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 168, 71, 0.3);
}

.waitlist-form__consent {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

.waitlist-form__consent a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.waitlist-form__success {
    font-size: 15px;
    color: #2ECC71;
    margin-top: var(--space-md);
}

/* ===========================
   FAQ
   =========================== */
.faq {
    padding: var(--space-4xl) 0;
}

.faq__container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(212, 168, 71, 0.15);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    transition: color 0.2s;
}

.faq-item__question:hover {
    color: var(--color-gold);
}

.faq-item__arrow {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out);
    color: var(--color-text-muted);
}

.faq-item.is-open .faq-item__arrow {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-item.is-open .faq-item__answer {
    max-height: 300px;
}

.faq-item__answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.footer__tagline {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.footer__links {
    display: flex;
    gap: var(--space-3xl);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.footer__col a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--color-gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.footer__copyright {
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer__location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===========================
   MOBILE RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin: 0 auto var(--space-xl);
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__logo-mark {
        display: flex;
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audio-feature__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .audio-feature__highlights {
        align-items: center;
    }

    .audio-feature__visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__menu-btn {
        display: flex;
    }

    /* Mobile menu */
    .nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: var(--space-2xl);
        gap: var(--space-lg);
        z-index: 999;
    }

    .nav__links.is-open a {
        font-size: 22px;
        font-family: var(--font-display);
        color: var(--color-text);
    }

    .hero {
        min-height: auto;
        padding: 100px 0 var(--space-3xl);
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 17px;
    }

    .phone-mockup {
        width: 240px;
    }

    .phone-mockup__screen {
        min-height: 400px;
    }

    .phone-mockup__cards {
        min-height: 270px;
    }

    .stats__container {
        gap: var(--space-lg);
    }

    .stats__divider {
        display: none;
    }

    .stats__item {
        flex: 1 1 40%;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .realms__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-types__showcase {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing__cards {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__top {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer__links {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .download__badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .realms__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .card-types__showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
