:root {
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.25s;
    --duration-normal: 0.45s;
    --duration-slow: 0.75s;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --radius-card: clamp(20px, 2.5vw, 28px);
    --pad-card: clamp(1.5rem, 3vw, 2.25rem);
    --pad-section-x: clamp(1.25rem, 4vw, 2.5rem);
    --pad-section-y: clamp(2.5rem, 5vw, 4rem);
    --nav-scroll-gap: 20px;
    --nav-scroll-offset: 7rem;
    /* Dark Mode (Default) */
    --bg-color: #0a0a0a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #48d1a5;
    --primary-hover: #3ab892;
    --accent: #ff8b8b;
    --accent-amber: #ffb319;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --mockup-received-bg: rgba(255,255,255,0.1);
    --mockup-received-text: #f8fafc;
}

body.light-mode {
    background-image:
        radial-gradient(ellipse 90% 55% at 0% 0%, rgba(45, 106, 100, 0.12), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(72, 209, 165, 0.1), transparent 55%),
        radial-gradient(ellipse 70% 45% at 50% 45%, rgba(255, 179, 25, 0.05), transparent 50%);
    --bg-color: #f5f7f6;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #2d6a64;
    --primary-hover: #245a55;
    --accent: #48d1a5;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --mockup-received-bg: rgba(0,0,0,0.05);
    --mockup-received-text: #0f172a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-scroll-offset, 6.5rem);
    overflow-x: clip;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
.glass-card,
.icon-btn,
.site-nav a,
.why-card,
.submit-btn,
.sponsor-btn,
.arch-card,
.mockup,
.founder-avatar,
.step-badge {
    transition:
        background-color var(--duration-normal) ease,
        color var(--duration-normal) ease,
        border-color var(--duration-normal) ease,
        box-shadow var(--duration-normal) var(--ease-out-expo),
        transform var(--duration-normal) var(--ease-out-expo),
        opacity var(--duration-normal) ease;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(ellipse 90% 55% at 0% 0%, rgba(72, 209, 165, 0.14), transparent 55%),
        radial-gradient(ellipse 80% 50% at 100% 100%, rgba(255, 139, 139, 0.1), transparent 55%),
        radial-gradient(ellipse 70% 45% at 50% 45%, rgba(255, 179, 25, 0.06), transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    font-family: 'Outfit', 'Cairo', sans-serif;
    overflow-x: clip;
}

body[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

/* Background Blobs — oversized layer so scroll never reveals bare edges */
.bg-blobs {
    position: fixed;
    inset: -35vh -25vw;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 18s infinite alternate ease-in-out;
}

.blob-1 {
    width: min(70vw, 620px);
    height: min(70vw, 620px);
    background: var(--primary);
    top: 5%;
    left: 5%;
}

.blob-2 {
    width: min(60vw, 520px);
    height: min(60vw, 520px);
    background: var(--accent);
    bottom: 5%;
    right: 5%;
    animation-delay: -7s;
}

.blob-3 {
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    background: var(--accent-amber);
    top: 42%;
    left: 42%;
    opacity: 0.22;
    animation-delay: -12s;
    animation-duration: 22s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(24px, -18px) scale(1.05); }
    100% { transform: translate(36px, 28px) scale(1.08); }
}

/* Container */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-lg) var(--pad-section-x);
}

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 9999;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 12px rgba(72, 209, 165, 0.6);
    transition: width 0.08s linear;
}

body[dir="rtl"] .scroll-progress {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, var(--primary), var(--accent));
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    margin-bottom: var(--space-xl);
    position: sticky;
    top: 0.75rem;
    z-index: 100;
}

.site-header.is-scrolled {
    top: 0.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
    border-color: rgba(72, 209, 165, 0.2);
}

body.is-ready .site-header {
    animation: headerIn 0.85s var(--ease-out-expo) both;
}

@keyframes headerIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

body.light-mode .site-header.is-scrolled {
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.12);
}

.logo img {
    transition: transform var(--duration-normal) var(--ease-spring);
}

.logo:hover img {
    transform: rotate(-8deg) scale(1.05);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    position: relative;
    isolation: isolate;
}

.nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: calc(100% - 2px);
    border-radius: 10px;
    background: rgba(72, 209, 165, 0.14);
    border: 1px solid rgba(72, 209, 165, 0.32);
    box-shadow: 0 0 24px rgba(72, 209, 165, 0.18);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate3d(0, -50%, 0);
    will-change: transform, width;
}

.nav-indicator.is-visible {
    opacity: 1;
}

.nav-indicator.is-animating {
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: color 0.35s ease, opacity 0.35s ease;
}

.site-nav a::after {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .site-nav a:hover:not(.is-active) {
        color: var(--text-main);
        background: rgba(72, 209, 165, 0.08);
    }
}

.site-nav a.is-active {
    color: var(--primary);
    background: transparent;
}

.site-nav:not(.has-active-tab) a {
    color: var(--text-muted);
}

body.reduce-motion .nav-indicator.is-animating {
    transition: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.logo:hover {
    opacity: 0.92;
}

.controls {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(72, 209, 165, 0.15);
    color: var(--primary);
    transform: translateY(-1px);
}

.icon-btn.is-pressed,
.submit-btn.is-pressed,
.sponsor-btn.is-pressed {
    transform: scale(0.97);
}

/* Hero Section */
.hero,
#home {
    scroll-margin-top: var(--nav-scroll-offset);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    padding-bottom: var(--space-xl);
}

.hero-content h1 {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 70%, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 8s ease-in-out infinite;
}

body.reduce-motion .hero-content h1 {
    animation: none;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
    max-width: 36rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Download Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: var(--pad-card);
    box-shadow: var(--card-shadow);
}

.interactive-card {
    position: relative;
    overflow: hidden;
}

.interactive-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        125deg,
        transparent 40%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.interactive-card:hover::after {
    opacity: 1;
}

.interactive-card:hover {
    transform: translateY(-4px);
    border-color: rgba(72, 209, 165, 0.35);
    box-shadow:
        var(--card-shadow),
        0 0 0 1px rgba(72, 209, 165, 0.08),
        0 24px 48px -20px rgba(72, 209, 165, 0.25);
}

.version-info {
    margin-bottom: 2rem;
}

.version-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.release-notes {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 0.75rem;
}

.arch-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(72, 209, 165, 0.5);
    transition: all 0.3s ease;
}

.download-btn:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(72, 209, 165, 0.6);
}

.download-btn.disabled {
    background: #334155;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    display: none; /* Shown via JS */
}

.soon-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(72, 209, 165, 0.1);
    color: var(--primary);
    border: 1px solid rgba(72, 209, 165, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.soon-tag::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.glow-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(72, 209, 165, 0); }
    to { text-shadow: 0 0 20px rgba(72, 209, 165, 0.5); }
}

.register-form {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: left;
}

body[dir="rtl"] .register-form {
    text-align: right;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-status {
    font-size: 11px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.45;
    min-height: 1.45em;
}

.field-status.is-checking {
    color: var(--text-muted);
}

.field-status.is-checking::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-muted);
    border-top-color: transparent;
    border-radius: 50%;
    animation: field-spin 1s linear infinite;
    flex-shrink: 0;
}

@keyframes field-spin {
    to { transform: rotate(360deg); }
}

.field-status.is-available {
    color: #22c55e;
}

.field-status.is-available::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.field-status.is-taken {
    color: #f59e0b;
}

.field-status.is-taken::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.input-group input.field-registered {
    border-color: #f59e0b;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-left: 0.5rem;
}

.input-group input, .input-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 14px;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

/* Fix Date Icon Color */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8);
    cursor: pointer;
}

.input-group select option {
    background: var(--bg-color);
    color: var(--text-main);
}

body.light-mode .input-group input, body.light-mode .input-group select {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
}

body.light-mode input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
}

.pass-wrapper {
    position: relative;
    width: 100%;
}

.pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[dir="rtl"] .pass-toggle {
    right: auto;
    left: 12px;
}

.pass-toggle:hover {
    color: var(--primary);
}

.legal-checks {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.check-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.check-item a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(72, 209, 165, 0.4);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(72, 209, 165, 0.5);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mockup */
.mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    height: 550px;
    padding: 2rem;
    position: relative;
    transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
    box-shadow: var(--card-shadow);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease;
    cursor: pointer;
    animation: mockupFloat 6s ease-in-out infinite;
}

body.reduce-motion .mockup {
    animation: none;
}

@keyframes mockupFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-12deg) rotateX(3deg) translateY(-12px); }
}

.mockup:hover {
    animation: none;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(72, 209, 165, 0.2);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, var(--primary), #3ab892);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(72, 209, 165, 0.35);
}

.mockup-avatar {
    padding: 6px;
    overflow: hidden;
    transition:
        transform var(--duration-normal) var(--ease-spring),
        opacity var(--duration-normal) ease;
}

.mockup-avatar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

body[dir="rtl"] .mockup-avatar.is-switching {
    transform: scale(0.85);
    opacity: 0.6;
}

body:not([dir="rtl"]) .mockup-avatar.is-switching {
    transform: scale(0.85);
    opacity: 0.6;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 350px;
    justify-content: flex-end;
}

.msg {
    padding: 1rem;
    border-radius: 18px;
    max-width: 80%;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    animation: appear 0.5s forwards;
}

.msg.received {
    background: var(--mockup-received-bg);
    color: var(--mockup-received-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg.sent {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

@keyframes appear {
    to { opacity: 1; transform: translateY(0); }
}

/* Store + APK download grids */
.store-download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.store-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.store-card:hover {
    background: rgba(72, 209, 165, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -10px rgba(72, 209, 165, 0.5);
}

.store-name {
    display: block;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.store-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Download Options Grid */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.arch-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.arch-card:hover {
    background: rgba(72, 209, 165, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -10px rgba(72, 209, 165, 0.5);
}

.arch-card[hidden],
.store-card[hidden],
.store-download-options[hidden],
.download-options[hidden],
#download-card .arch-help[hidden] {
    display: none !important;
}

.arch-name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
}

.arch-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.arch-help {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(72, 209, 165, 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    border-left: 4px solid var(--primary);
    text-align: left;
}

body[dir="rtl"] .arch-help {
    border-left: none;
    border-right: 4px solid var(--primary);
    text-align: right;
}

.early-perk {
    margin: var(--space-md) 0 var(--space-sm);
    background: rgba(255, 179, 25, 0.08);
    border-left-color: var(--accent-amber);
}

body[dir="rtl"] .early-perk {
    border-right-color: var(--accent-amber);
}

.early-perk strong {
    color: var(--accent-amber);
}

.early-perk p {
    color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(22px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0s);
}

body.is-loading .reveal {
    opacity: 0;
}

body.reduce-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Story, Why, Vision Sections */
.page-section {
    margin-top: clamp(3.5rem, 9vw, 6rem);
    scroll-margin-top: var(--nav-scroll-offset);
}

.page-section.alt-section {
    padding: var(--pad-section-y) var(--pad-section-x);
    margin-top: clamp(2.5rem, 6vw, 4rem);
    border-radius: clamp(24px, 4vw, 40px);
    background: rgba(72, 209, 165, 0.03);
    border: 1px solid var(--glass-border);
}

.page-section.alt-section .why-grid,
.page-section.alt-section .roadmap {
    max-width: 960px;
    margin-inline: auto;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    padding-inline: var(--space-sm);
}

.section-tag {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    background: rgba(72, 209, 165, 0.12);
    color: var(--primary);
    border: 1px solid rgba(72, 209, 165, 0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.section-tag.accent-tag {
    background: rgba(255, 179, 25, 0.12);
    color: var(--accent-amber);
    border-color: rgba(255, 179, 25, 0.35);
}

.section-header h2 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-main) 20%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lead {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.75;
}

/* Founder & Timeline */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.founder-card {
    text-align: center;
    padding: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.founder-role {
    margin-bottom: var(--space-sm) !important;
}

.founder-portfolio-btn {
    margin-bottom: var(--space-md) !important;
}

.founder-bio {
    margin-bottom: var(--space-lg) !important;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    box-shadow: 0 12px 30px -8px rgba(72, 209, 165, 0.5);
    position: relative;
    border: 3px solid rgba(72, 209, 165, 0.45);
    text-decoration: none;
}

.founder-avatar-link:hover {
    transform: scale(1.04);
    border-color: var(--primary);
    box-shadow: 0 16px 36px -10px rgba(72, 209, 165, 0.55);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.founder-portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(72, 209, 165, 0.1);
    border: 1px solid rgba(72, 209, 165, 0.35);
    text-decoration: none;
    transition:
        transform var(--duration-normal) var(--ease-out-expo),
        background var(--duration-normal) ease,
        box-shadow var(--duration-normal) ease;
}

.founder-portfolio-btn:hover,
.founder-portfolio-btn.is-glow {
    background: rgba(72, 209, 165, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(72, 209, 165, 0.4);
}

.founder-portfolio-btn.is-glow {
    animation: portfolioGlow 2.5s ease-in-out 1;
}

@keyframes portfolioGlow {
    0%, 100% { box-shadow: 0 8px 20px -8px rgba(72, 209, 165, 0.4); }
    50% { box-shadow: 0 10px 28px -6px rgba(72, 209, 165, 0.55); }
}

body.reduce-motion .founder-portfolio-btn.is-glow {
    animation: none;
}

.founder-portfolio-btn::after {
    content: '↗';
    font-size: 0.85em;
    line-height: 1;
}

body[dir="rtl"] .founder-portfolio-btn::after {
    content: '↖';
}

.founder-card.is-visible .founder-avatar-link {
    animation: avatarPop 0.8s var(--ease-spring) both;
    animation-delay: 0.2s;
}

@keyframes avatarPop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.founder-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(72, 209, 165, 0.4);
    animation: ringPulse 2.5s ease-out infinite;
}

body.reduce-motion .founder-avatar::after {
    animation: none;
}

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.25); opacity: 0; }
}

.founder-card h3 {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.founder-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.founder-bio {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.98rem;
    text-align: start;
}

body[dir="rtl"] .founder-bio {
    text-align: right;
}

.founder-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0;
}

.founder-highlights li {
    background: rgba(72, 209, 165, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.highlight-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.founder-highlights li.is-visible .highlight-num {
    animation: countPop 0.6s var(--ease-spring) both;
}

.founder-highlights li span:last-child {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.35;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-inline-start: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    inset-inline-start: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.25;
    border-radius: 2px;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.2s var(--ease-out-expo);
}

.timeline.is-animated::before {
    transform: scaleY(1);
    opacity: 0.5;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 3px solid var(--primary);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-dot.active {
    background: var(--primary);
    box-shadow: 0 0 16px rgba(72, 209, 165, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(72, 209, 165, 0.4); }
    50% { box-shadow: 0 0 18px rgba(72, 209, 165, 0.65); }
}

.timeline-item.is-visible .timeline-dot {
    animation: dotIn 0.5s var(--ease-spring) both;
}

@keyframes dotIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.timeline-content {
    padding: var(--space-md) var(--space-lg) !important;
    text-align: start;
}

body[dir="rtl"] .timeline-content {
    text-align: right;
}

.timeline-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.why-card {
    padding: clamp(1.35rem, 3vw, 1.85rem) !important;
}

.why-icon, .calls-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(72, 209, 165, 0.08);
    border: 1px solid rgba(72, 209, 165, 0.2);
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: all var(--duration-normal) var(--ease-spring);
    box-shadow: 0 4px 12px rgba(72, 209, 165, 0.1);
}

.why-icon svg, .calls-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform var(--duration-normal) var(--ease-spring);
}

.why-card:hover .why-icon, .calls-feature:hover .calls-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(72, 209, 165, 0.35);
}

.why-card:hover .why-icon svg, .calls-feature:hover .calls-icon svg {
    transform: rotate(-6deg);
}

/* Light mode overrides */
body.light-mode .why-icon, body.light-mode .calls-icon {
    background: rgba(45, 106, 100, 0.06);
    border-color: rgba(45, 106, 100, 0.15);
    color: var(--primary);
}

body.light-mode .why-card:hover .why-icon, body.light-mode .calls-feature:hover .calls-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Help and reward title layouts */
.help-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.help-title svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.help-title.reward-title {
    color: var(--accent-amber);
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Encryption & Calls */
.encryption-steps {
    margin-bottom: var(--space-2xl);
}

.encryption-step .step-note {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px dashed var(--glass-border);
    font-size: 0.85rem;
    color: var(--primary);
    line-height: 1.6;
    font-weight: 600;
}

.encryption-step .step-note::before {
    content: '⚙ ';
    opacity: 0.85;
}

.calls-block {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.subsection-header {
    margin-bottom: var(--space-lg);
}

.calls-panel {
    padding: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.calls-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
}

.calls-feature h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
}

.calls-feature p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.calls-icon {
    display: inline-flex;
    margin-bottom: var(--space-sm);
}

.calls-footnote {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
    font-style: italic;
}

body[dir="rtl"] .calls-footnote {
    font-style: normal;
}

/* Founder quote & values */
.founder-quote {
    max-width: 720px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-lg) var(--space-xl) !important;
    border-inline-start: 4px solid var(--primary);
    text-align: start;
}

body[dir="rtl"] .founder-quote {
    border-inline-start: none;
    border-inline-end: 4px solid var(--primary);
    text-align: right;
}

.founder-quote p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-style: italic;
}

body[dir="rtl"] .founder-quote p {
    font-style: normal;
}

.values-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: 0;
}

.values-row li {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(72, 209, 165, 0.1);
    border: 1px solid rgba(72, 209, 165, 0.3);
}

/* Features showcase */
.features-grid {
    margin-bottom: var(--space-xl);
}

.privacy-social-grid {
    margin-bottom: var(--space-xl);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 900px;
    margin: 0 auto;
}

.phone-mock {
    padding: var(--space-md) !important;
    text-align: center;
}

.phone-screen {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: var(--space-md);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

body.light-mode .phone-screen {
    background: rgba(0, 0, 0, 0.06);
}

.phone-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.phone-ui-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    width: 85%;
}

.phone-ui-line.short {
    width: 55%;
}

.phone-ui-bubble {
    height: 28px;
    border-radius: 10px;
    max-width: 75%;
}

.phone-ui-bubble.sent {
    background: var(--primary);
    align-self: flex-end;
}

.phone-ui-bubble.received {
    background: rgba(255, 255, 255, 0.12);
    align-self: flex-start;
}

.phone-ui-card {
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.phone-ui-card.small {
    height: 32px;
    width: 70%;
}

/* Mission block (why + early access) */
.why-now-block {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.page-section[id] {
    scroll-margin-top: var(--nav-scroll-offset);
}

.faq-meta {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

/* Why now & early */
.why-now-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.why-now-card h2,
.early-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: var(--space-md) 0;
}

.why-now-card p,
.early-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.early-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-pill {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    padding: 0 !important;
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Meta strip */
.meta-strip-section {
    margin-top: clamp(2rem, 5vw, 3rem);
}

.meta-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.meta-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.highlight-register {
    box-shadow: 0 0 0 3px rgba(72, 209, 165, 0.45), var(--card-shadow) !important;
    transition: box-shadow 0.3s ease;
}

/* Roadmap (matches why-cards) */
.roadmap {
    margin-bottom: var(--space-lg);
}

.step-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(72, 209, 165, 0.12);
    color: var(--primary);
    border: 1px solid rgba(72, 209, 165, 0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.sponsor-cta {
    text-align: center;
    max-width: 640px;
    margin: var(--space-lg) auto 0;
    padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) !important;
}

.sponsor-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sponsor-cta p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sponsor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 20px -5px rgba(72, 209, 165, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(72, 209, 165, 0.5);
}

@keyframes countPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.section-tag {
    animation: none;
}

.section-header.is-visible .section-tag {
    animation: tagIn 0.6s var(--ease-out-expo) both;
}

@keyframes tagIn {
    from { opacity: 0; transform: translateY(12px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(72, 209, 165, 0.15);
    transform: translateY(-1px);
}

/* Footer */
footer {
    margin-top: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    border-top: 1px solid var(--glass-border);
}

footer.is-visible p {
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.footer-legal {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--primary);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-visitors {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-visitors svg {
    flex-shrink: 0;
    opacity: 0.85;
    color: var(--primary);
}

.footer-visitors strong {
    font-weight: 600;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .container {
        padding: var(--space-md) var(--space-sm);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: var(--space-lg);
        gap: var(--space-lg);
    }

    .hero-content h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
        line-height: 1.15;
    }

    .hero-content p {
        margin-inline: auto;
        font-size: 1rem;
    }

    .glow-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .mockup { display: none; }

    .site-header {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo controls"
            "nav nav";
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
        top: 0.35rem;
        margin-bottom: var(--space-lg);
    }

    .logo {
        grid-area: logo;
        font-size: 1.2rem;
        gap: 0.55rem;
        justify-self: start;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .controls {
        grid-area: controls;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-wrap: nowrap;
    }

    .web-app-link {
        font-size: 0.78rem !important;
        padding: 0.35rem 0.5rem !important;
        white-space: nowrap;
    }

    .icon-btn {
        padding: 0.4rem;
        min-width: 2.25rem;
        min-height: 2.25rem;
    }

    .site-nav {
        grid-area: nav;
        order: unset;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.15rem 0 0.35rem;
        gap: 0.3rem;
        mask-image: linear-gradient(to right, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(to right, #000 94%, transparent);
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        flex: 0 0 auto;
        font-size: 0.78rem;
        padding: 0.42rem 0.72rem;
        white-space: nowrap;
    }

    .nav-indicator {
        top: calc(50% + 0.08rem);
    }

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

    .story-grid,
    .why-grid,
    .calls-panel-grid,
    .why-now-grid,
    .showcase-grid,
    .meta-strip {
        grid-template-columns: 1fr;
    }

    .calls-block {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }

    .founder-highlights {
        grid-template-columns: 1fr;
    }

    .page-section {
        margin-top: var(--space-2xl);
    }

    .page-section.alt-section {
        padding: var(--space-lg) var(--space-md);
        margin-inline: 0;
        border-radius: 24px;
        overflow: hidden;
    }

    .glass-card {
        padding: var(--space-lg) var(--space-md);
    }

    .soon-tag::after {
        animation: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--space-sm) 0.65rem;
    }

    .site-header {
        padding: 0.55rem 0.65rem;
        border-radius: 18px;
    }

    .site-nav a {
        font-size: 0.72rem;
        padding: 0.38rem 0.62rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .register-form .submit-btn {
        width: 100%;
    }
}

body[dir="rtl"] .msg.received { border-bottom-left-radius: 18px; border-bottom-right-radius: 4px; }
body[dir="rtl"] .msg.sent { border-bottom-right-radius: 18px; border-bottom-left-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .blob,
    .mockup,
    .hero-content h1,
    .founder-avatar::after,
    .timeline-dot.active,
    .founder-portfolio-btn.is-glow {
        animation: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
