:root {
    /* Color Palette */
    --color-charcoal: #3C4042;
    --color-blue: #0088CC;
    --color-blue-light: #00a3f5;
    --color-navy: #00335A;
    --color-white: #FFFFFF;

    /* Backgrounds */
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #0D1117;

    /* Text */
    --color-text-light: #3C4042;
    --color-text-dark: #E6EDF3;

    /* Defaults (Light Mode) */
    --bg-color: var(--color-bg-light);
    --text-color: var(--color-text-light);
    --text-muted: rgba(60, 64, 66, 0.6);
    --nav-bg: rgba(248, 249, 250, 0.85);
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.06);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    --section-alt-bg: #FFFFFF;
    --badge-bg: rgba(0, 136, 204, 0.08);
    --badge-border: rgba(0, 136, 204, 0.2);
    --divider: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
    --bg-color: var(--color-bg-dark);
    --text-color: var(--color-text-dark);
    --text-muted: rgba(230, 237, 243, 0.5);
    --nav-bg: rgba(13, 17, 23, 0.85);
    --card-bg: #161B22;
    --card-border: rgba(255, 255, 255, 0.06);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.15);
    --section-alt-bg: #161B22;
    --badge-bg: rgba(0, 136, 204, 0.12);
    --badge-border: rgba(0, 136, 204, 0.3);
    --divider: rgba(255, 255, 255, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================
   Typography
   ============================ */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    font-weight: 400;
    max-width: 65ch;
}

strong {
    font-weight: 700;
    font-style: italic;
}

.brand-sent {
    font-weight: 700;
    font-style: italic;
}

.brand-xt {
    color: var(--color-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-color);
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0.5rem auto 0;
    max-width: 50ch;
}

/* ============================
   Navbar
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: background-color 0.4s ease;
    border-bottom: 1px solid var(--divider);
}

.nav-logo {
    height: 36px;
    opacity: 0;
    pointer-events: auto;
}

.nav-logo-svg {
    height: 100%;
    width: auto;
    overflow: visible;
}

/* Nav logo SENT text — light/dark mode switching */
.nav-sent-dark { display: none; }
.nav-sent-light { display: block; }
[data-theme="dark"] .nav-sent-dark { display: block; }
[data-theme="dark"] .nav-sent-light { display: none; }

/* TM symbol on logos — matches SENT text color per theme */
.logo-tm { fill: #3C4042; }
[data-theme="dark"] .logo-tm { fill: #FFFFFF; }

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.6rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    background-color: rgba(128, 128, 128, 0.12);
}

.theme-btn .sun-icon { display: none; }
.theme-btn .moon-icon { display: block; }
[data-theme="dark"] .theme-btn .sun-icon { display: block; }
[data-theme="dark"] .theme-btn .moon-icon { display: none; }

/* ============================
   Hero
   ============================ */
.hero-runway {
    height: 200vh;
    position: relative;
}

.hero {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background-color: var(--bg-color);
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.launch-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-blue);
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 100px;
    margin-bottom: 2.5rem;
}

.logo-container {
    width: 100%;
    max-width: 560px;
    margin-bottom: 2rem;
    overflow: visible;
}

#main-logo {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Logo animation states */
#anim-icon {
    opacity: 0;
    transform: scale(0.5);
    animation: iconPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
}

#anim-sent {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.8s;
}

#anim-xt {
    opacity: 0;
    animation: simpleFade 1.5s ease forwards 1.4s;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-blue);
    letter-spacing: 0.15em;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    max-width: none;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 48ch;
    margin: 0 auto;
}

/* Scroll Chevrons */
.scroll-chevrons {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: var(--text-muted);
}

.chevron {
    opacity: 0;
    animation: chevronPulse 3s infinite ease-in-out;
}

.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.15s; }
.chevron:nth-child(3) { animation-delay: 0.3s; }

/* ============================
   Features Grid
   ============================ */
.section-features {
    padding: 4rem 2rem;
    align-items: center;
}

.section-features .section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--badge-bg);
    border-radius: 12px;
    margin-bottom: 1.2rem;
    color: var(--color-blue);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================
   Crypto Section
   ============================ */
.section-crypto {
    padding: 4rem 2rem;
}

.crypto-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.crypto-text {
    flex: 1;
}

.crypto-text h2 {
    margin-bottom: 1.5rem;
}

.crypto-text > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.crypto-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 12px;
}

.crypto-badge svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--color-blue);
}

.badge-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.badge-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Process diagram */
.crypto-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.crypto-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.diagram-step {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    min-width: 220px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-blue);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.diagram-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    color: var(--color-blue);
    transform: rotate(90deg);
}

.diagram-arrow svg {
    width: 24px;
    height: 24px;
}

/* ============================
   Privacy Section
   ============================ */
.section-privacy {
    padding: 4rem 2rem;
    align-items: center;
}

.section-privacy .section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
}

.privacy-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.privacy-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-blue);
    margin-top: 0.2rem;
}

.privacy-icon svg {
    width: 28px;
    height: 28px;
}

.privacy-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================
   Platform Roadmap
   ============================ */
.section-platform {
    padding: 4rem 2rem;
    align-items: center;
}

.roadmap {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-phase {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
}

.phase-badge {
    flex-shrink: 0;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-top: 0.15rem;
}

.phase-launch {
    background: var(--color-blue);
    color: #fff;
}

.phase-next {
    background: var(--badge-bg);
    color: var(--color-blue);
    border: 1px solid var(--badge-border);
}

.phase-planned {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--divider);
}

.phase-content h3 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.phase-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================
   API Section
   ============================ */
.section-api {
    padding: 4rem 2rem;
}

.api-usecases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-usecase {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.api-usecase .feature-icon {
    flex-shrink: 0;
}

.api-usecase .badge-title {
    font-size: 0.95rem;
}

.api-usecase .badge-sub {
    font-size: 0.85rem;
}

.api-example-card {
    background: var(--card-bg);
    border: 1px solid var(--badge-border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    max-width: 380px;
}

.api-example-header {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.api-example-body {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================
   CTA Section
   ============================ */
.section-cta {
    padding: 4rem 2rem;
    text-align: center;
    align-items: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 0.75rem;
}

.cta-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0 auto 2rem;
}

.cta-subscribe {
    max-width: 460px;
    margin: 0 auto 1.5rem;
}

.cta-email-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.cta-email-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1.5px solid var(--card-border);
    border-radius: 100px;
    background: var(--card-bg);
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-email-input:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.12);
}

.cta-email-input::placeholder {
    color: var(--text-muted);
}

.cta-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    background-color: var(--color-blue);
    color: #fff;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
    background-color: var(--color-blue-light);
}

.cta-subscribe-msg {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.4em;
}

.cta-subscribe-msg.success {
    color: #10b981;
}

.cta-subscribe-msg.error {
    color: #ef4444;
}

.cta-social {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 1.5rem 0 0.75rem;
}

.cta-social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s ease;
}

.cta-social-link:hover {
    color: var(--color-blue);
}

.cta-promo {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0.5rem auto 1.5rem;
    max-width: 420px;
    line-height: 1.5;
}

.cta-promo strong {
    color: var(--color-blue);
    font-weight: 700;
}

.cta-divider {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 auto 1rem;
}

.cta-contact-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    background: transparent;
    color: var(--color-blue);
    border: 1.5px solid var(--color-blue);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: inherit;
}

.cta-contact-btn:hover {
    background-color: var(--color-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
}

.cta-note {
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================
   Contact Modal
   ============================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal__container {
    position: relative;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__container::-webkit-scrollbar {
    display: none;
}

.modal.is-open .modal__container {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
    z-index: 1;
}

.modal__close:hover {
    color: #ef4444;
}

.modal__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 6px 0;
}

.modal__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
}

.modal__view {
    display: none;
}

.modal__view.active {
    display: block;
}

.form__group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--card-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.12);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-muted);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group input.is-invalid,
.form__group textarea.is-invalid {
    border-color: #ef4444;
}

.form__honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.form__checkbox {
    margin-bottom: 1rem;
}

.form__checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
    width: auto;
    accent-color: var(--color-blue);
}

.required {
    color: #ef4444;
}

.form__error {
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    min-height: 0;
}

.form__error:empty {
    display: none;
}

.grecaptcha-badge { visibility: hidden !important; }

.form__recaptcha-notice {
    margin-top: 0.75rem;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}

.form__recaptcha-notice a {
    color: var(--text-muted);
    text-decoration: underline;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--color-blue);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-blue-light);
}

.btn--primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.btn--full {
    display: block;
    width: 100%;
}

.modal__view--success {
    text-align: center;
    padding: 1rem 0;
}

.success__icon {
    margin-bottom: 1rem;
}

.success__icon svg {
    display: inline-block;
}

.success__summary {
    background: var(--badge-bg);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

.success__summary dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.75rem;
}

.success__summary dt:first-child {
    margin-top: 0;
}

.success__summary dd {
    margin: 0.2rem 0 0 0;
    color: var(--text-color);
    word-wrap: break-word;
    white-space: pre-wrap;
}

.modal__loading {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 204, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal__loading.active {
    opacity: 1;
    visibility: visible;
}

.modal__loading-inner {
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
}

.modal__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--card-border);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ============================
   Footer
   ============================ */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--divider);
    background: var(--bg-primary);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ld-bug {
    width: 24px;
    height: 24px;
}

.footer-ld-bug {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.3rem;
    color: var(--text-primary);
}

.footer-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-blue);
}

/* ============================
   Keyframes
   ============================ */
@keyframes iconPop {
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes simpleFade {
    to { opacity: 1; }
}

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

@keyframes chevronPulse {
    0%, 100% { opacity: 0; transform: translateY(-5px); }
    50% { opacity: 0.6; transform: translateY(5px); }
}

/* ============================
   Apple-Style Scroll Scenes
   ============================ */
.scene {
    height: 350vh; /* scroll runway — user scrolls through this */
    position: relative;
}

.scene + .scene {
    margin-top: -100vh; /* overlap scenes so sticky ranges connect seamlessly */
}

/* First scene overlaps with hero runway */
.hero-runway + .scene {
    margin-top: -100vh;
}

.scene-short {
    height: 280vh; /* more time for CTA with overlap */
}

.scene-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.scene-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--bg-color);
    z-index: 0;
    opacity: var(--scene-bg-opacity, 1);
    pointer-events: none;
}

/* Ensure content sits above the pseudo-element */
.scene-content > * {
    position: relative;
    z-index: 1;
}

/* GPU-hint for individually animated elements */
.scroll-anim {
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Before the choreography engine is ready, hide scroll-anim elements
   so CSS .fade-in keyframes play first, then JS takes over */
body:not(.scroll-anim-ready) .scroll-anim {
    /* Let CSS keyframes play normally */
}

body.scroll-anim-ready .fade-in {
    animation: none !important;
    opacity: 1;
}

/* Alternate-bg sections need their own background */
.scene-content.section-crypto::before,
.scene-content.section-platform::before {
    background-color: var(--section-alt-bg);
}

/* Utilities */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-2 { animation-delay: 1.8s; }
.delay-3 { animation-delay: 2.2s; }

/* ============================
   Landscape Blocker
   ============================ */
.landscape-blocker {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
}

.landscape-blocker .rotate-icon {
    width: 64px;
    height: 64px;
    color: var(--color-blue);
    animation: rotatePhone 2s ease-in-out infinite;
}

.landscape-blocker p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 30ch;
}

@keyframes rotatePhone {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-90deg); }
    50%, 75% { transform: rotate(-90deg); }
}

@media (max-width: 932px) and (orientation: landscape) {
    .landscape-blocker { display: flex; }
}

@media (display-mode: standalone) {
    .landscape-blocker { display: none !important; }
}

/* ============================
   Mobile Responsive
   ============================ */
@media (max-width: 900px) {
    body { font-size: 16px; }
    h2 { font-size: 2rem; }

    .navbar { padding: 0.75rem 1.25rem; }
    .nav-logo { height: 28px; }

    .hero-runway { height: 180vh; }
    .hero { padding: 5rem 1.5rem 3rem; }
    .hero-content { max-width: 100%; }
    .logo-container { max-width: 360px; margin-bottom: 1.5rem; }
    .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.1em; }
    .hero-description { font-size: 0.95rem; }
    .launch-badge { margin-bottom: 1.5rem; font-size: 0.7rem; }

    .scene { height: 280vh; overflow: clip; }
    .scene + .scene { margin-top: -80vh; }
    .hero-runway + .scene { margin-top: -80vh; }
    .scene-short { height: 115vh; }

    /* On mobile, allow scene content to overflow for tall sections */
    .scene-content {
        overflow: visible;
        justify-content: flex-start;
        padding-top: 4.5rem;
    }

    .section-features,
    .section-privacy,
    .section-platform,
    .section-api,
    .section-cta { padding-inline: 1.5rem; padding-bottom: 2rem; }

    .section-crypto { padding-inline: 1.5rem; padding-bottom: 2rem; }

    .roadmap-phase { flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; }
    .api-example-card { max-width: 100%; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature-card { padding: 1rem; }
    .feature-card h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
    .feature-card p { font-size: 0.8rem; line-height: 1.5; }
    .feature-icon { width: 32px; height: 32px; margin-bottom: 0.6rem; border-radius: 8px; }
    .feature-icon svg { width: 16px; height: 16px; }

    .crypto-content {
        flex-direction: column;
        gap: 2rem;
    }

    .crypto-visual { width: 100%; }
    .crypto-diagram { flex-direction: row; align-items: stretch; }
    .diagram-step { min-width: 0; flex: 1; padding: 0.75rem 0.5rem; }
    .diagram-arrow { transform: rotate(0deg); padding: 0 0.25rem; }
    .diagram-arrow svg { width: 18px; height: 18px; }

    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .roadmap { gap: 1rem; }

    .cta-email-row { flex-direction: column; }
    .cta-btn { width: 100%; }
    .modal__container { padding: 2rem 1.5rem; }

    .footer-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .scroll-chevrons { bottom: 1.5rem; }
    .section-header { margin-bottom: 2rem; }
}

@media (max-width: 480px) {
    h2 { font-size: 1.75rem; }
    .logo-container { max-width: 280px; }
    .hero-subtitle { font-size: 0.75rem; }
}
