/* Dulltron Landing — Design System */
:root {
    --bg: #0a0a0c;
    --bg-elevated: #101013;
    --bg-alt: #0f0f12;
    --card: #101013;
    --card-hover: #141418;
    --accent: #eab308;
    --accent-dim: rgba(234, 179, 8, 0.12);
    --text: #f1f5f9;
    --text-muted: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(234, 179, 8, 0.28);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 24px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 80px -20px rgba(234, 179, 8, 0.15);
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 56px;
    --nav-float-gap: 10px;
    --nav-side-gap: 12px;
    --nav-radius: 16px;
    --nav-stack-height: calc(var(--safe-top) + var(--nav-float-gap) + var(--nav-height));
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    :root {
        --nav-height: 60px;
        --nav-float-gap: 12px;
        --nav-side-gap: 16px;
        --nav-radius: 18px;
    }
}

@media (min-width: 768px) {
    :root {
        --nav-height: 68px;
        --nav-float-gap: 14px;
        --nav-radius: 20px;
    }
}

@media (min-width: 1024px) {
    :root {
        --nav-height: 72px;
        --nav-float-gap: 16px;
        --nav-side-gap: 24px;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-stack-height) + 12px);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
    animation: filmGrain 0.9s steps(1) infinite;
}

@keyframes filmGrain {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-1px, -1px); }
    20% { transform: translate(1px, 1px); }
    30% { transform: translate(0, 0); }
    40% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    60% { transform: translate(0, 0); }
    70% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    90% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
}

::selection {
    background: rgba(234, 179, 8, 0.3);
    color: #fff;
}

.font-mono {
    font-family: var(--font-mono);
    font-feature-settings: "tnum";
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 10px 18px;
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
    outline: none;
}

/* Focus ring utility */
.focus-ring:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.navbar-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: calc(var(--safe-top) + var(--nav-float-gap));
    padding-left: max(var(--nav-side-gap), var(--safe-left));
    padding-right: max(var(--nav-side-gap), var(--safe-right));
    pointer-events: auto;
}

.navbar-shell,
.mobile-menu {
    background: rgba(10, 10, 12, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nav-radius);
    box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.55);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--nav-height);
    height: var(--nav-height);
    padding: 0 14px;
}

@media (min-width: 640px) {
    .navbar-bar {
        padding: 0 32px;
    }
}

@media (max-width: 380px) {
    .navbar-bar {
        padding: 0 14px;
        gap: 8px;
    }

    .navbar-title {
        font-size: 1rem;
    }
}

@media (max-width: 639px) {
    .navbar-bar {
        padding: 0 16px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.navbar-brand-text {
    min-width: 0;
}

.navbar-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .navbar-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .navbar-title {
        font-size: 1.5rem;
    }
}

.navbar-tagline {
    display: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(234, 179, 8, 0.7);
    margin-top: -1px;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .navbar-tagline {
        display: block;
    }
}

.navbar-desktop {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .navbar-desktop {
        display: flex;
    }
}

.nav-link {
    padding: 8px 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .navbar-actions {
        gap: 12px;
    }
}

.navbar-github {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
    min-height: 40px;
}

.navbar-github i {
    font-size: 15px;
}

.navbar-github span {
    display: none;
}

@media (min-width: 640px) {
    .navbar-github {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 16px;
        gap: 8px;
    }

    .navbar-github span {
        display: inline;
    }
}

.navbar-github:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.navbar-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background var(--transition);
}

@media (min-width: 640px) {
    .navbar-menu-btn {
        border-radius: 16px;
    }
}

@media (min-width: 1024px) {
    .navbar-menu-btn {
        display: none;
    }
}

.navbar-menu-btn:hover,
.navbar-menu-btn:active {
    background: rgba(255, 255, 255, 0.08);
}

.navbar-menu-btn i {
    font-size: 18px;
    pointer-events: none;
}

.navbar.scrolled .navbar-shell,
.navbar.menu-open .navbar-shell,
.navbar.scrolled .mobile-menu,
.navbar.menu-open .mobile-menu {
    background: rgba(10, 10, 12, 0.95);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.7);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--nav-stack-height) + 8px);
    left: max(var(--nav-side-gap), var(--safe-left));
    right: max(var(--nav-side-gap), var(--safe-right));
    z-index: 1001;
    max-height: calc(100dvh - var(--nav-stack-height) - 16px - var(--safe-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.mobile-menu.open {
    display: block;
    animation: menuSlideIn 0.22s ease;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color var(--transition), background var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-github {
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

.mobile-menu-backdrop {
    position: fixed;
    top: var(--nav-stack-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.mobile-menu-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
}

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

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    padding-top: calc(var(--nav-stack-height) + 1.25rem);
    padding-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero {
        padding-bottom: 2.5rem;
    }
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    bottom: 0;
    right: 10%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
    50% { transform: translateX(-50%) translateY(20px); opacity: 1; }
}

.hero-glow-2 {
    animation-name: floatGlow2;
}

@keyframes floatGlow2 {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-15px); opacity: 1; }
}

@keyframes heroRevealLTR {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, black 20%, transparent 85%);
    pointer-events: none;
    z-index: -1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Subtle grids for lower sections to reduce empty feel (like hero grid) */
.trust-bar,
.section,
.section-alt,
.dashboard-teaser,
.cta-section,
.donate-section {
    position: relative;
}

.trust-bar::before,
.section::before,
.section-alt::before,
.dashboard-teaser::before,
.cta-section::before,
.donate-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

/* Denser grid for features/strategies */
#features::before,
#strategies::before {
    background-size: 40px 40px;
    opacity: 1;
}

/* Extra decorative glows and accents to fill space */
#how::before {
    background: radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.03) 0%, transparent 60%);
}

.dashboard-teaser::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: -50px;
    width: 140px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle bottom accent line on donate */
.donate-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(transparent, rgba(234, 179, 8, 0.06), transparent);
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 640px) {
    .hero-content {
        padding: 0 32px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 639px) {
    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
        margin-bottom: 12px;
        letter-spacing: 0.1em;
    }
}

@media (min-width: 640px) {
    .hero-badge {
        padding: 7px 14px;
        margin-bottom: 24px;
        font-size: 11px;
        letter-spacing: 0.16em;
    }
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2rem, 9vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
}

@media (max-width: 639px) {
    .hero-title {
        font-size: clamp(3.1rem, 11.5vw, 4rem);
        line-height: 0.92;
        margin-bottom: 10px;
        letter-spacing: -0.015em;
    }
}

@media (min-width: 640px) {
    .hero-title {
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(3.5rem, 6vw, 6rem);
    }
}

.hero-desc {
    max-width: 34rem;
    margin: 0 auto 20px;
    font-size: 0.9375rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 639px) {
    .hero-desc {
        font-size: 15px;
        line-height: 1.48;
        margin-bottom: 18px;
        max-width: 100%;
    }
}

@media (min-width: 640px) {
    .hero-desc {
        margin-bottom: 32px;
        font-size: 1.125rem;
        line-height: 1.6;
    }
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        max-width: none;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition), gap var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (min-width: 640px) {
    .hero-btn {
        min-height: 48px;
        padding: 0 24px;
        border-radius: 16px;
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .hero-btn {
        min-height: 52px;
        padding: 0 28px;
        border-radius: 20px;
        font-size: 16px;
    }
}

.hero-btn i {
    font-size: 12px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .hero-btn i {
        font-size: 13px;
    }
}

.hero-btn-primary {
    color: #0a0a0c;
    background: linear-gradient(to right, #facc15, #eab308, #eab308);
    box-shadow: 0 12px 32px -12px rgba(234, 179, 8, 0.45);
}

.hero-btn-primary:hover {
    gap: 10px;
    box-shadow: 0 16px 40px -12px rgba(234, 179, 8, 0.55);
}

.hero-btn-primary:active {
    transform: scale(0.98);
}

.hero-btn-secondary {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-btn-secondary i {
    color: #eab308;
}

.hero-checks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
    .hero-checks {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px 32px;
        margin-top: 40px;
        font-size: 13px;
    }
}

.hero-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-check i {
    font-size: 9px;
    color: #34d399;
}

@media (min-width: 640px) {
    .hero-check i {
        font-size: 11px;
    }
}

.hero-btn-label--short {
    display: none;
}

/* Phone hero — stacked buttons + improved fonts/spacing */
@media (max-width: 639px) {
    .hero-content {
        text-align: left;
        padding: 0 20px;
    }

    .hero-title,
    .hero-desc {
        text-align: left;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 100%;
        width: 100%;
        margin: 0 0 4px;
    }

    .hero-btn {
        width: 100%;
        min-height: 48px;
        padding: 0 22px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 14px;
        gap: 10px;
    }

    /* Show full readable labels on phone (stacked) */
    .hero-btn-label--full {
        display: inline;
    }

    .hero-btn-label--short {
        display: none;
    }

    .hero-btn i {
        font-size: 13px;
    }

    .hero-checks {
        align-items: flex-start;
        margin-top: 14px;
        margin-bottom: 4px;
        font-size: 11px;
        gap: 8px;
    }

    .hero-check {
        gap: 7px;
    }

    .hero-check i {
        font-size: 10px;
    }
}

/* Hero Product Showcase - fills remaining mobile viewport */
.hero-showcase {
    margin-top: 1.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.showcase-card {
    background: #101013;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 12px 14px 14px;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(234, 179, 8, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(234, 179, 8, 0.08);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.showcase-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.showcase-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.55);
}

.showcase-mode {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    padding: 1px 5px;
    border-radius: 999px;
}

.showcase-live {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.live-dot {
    width: 5px;
    height: 5px;
    background: #34d399;
    border-radius: 999px;
    box-shadow: 0 0 4px #34d399;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.showcase-equity {
    margin-bottom: 6px;
}

.equity-label {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.equity-value {
    font-size: 1.35rem;
    line-height: 1.05;
    font-weight: 700;
    color: #fff;
    margin: 1px 0 0;
}

.equity-change {
    font-size: 11px;
    font-weight: 500;
    margin-top: -1px;
}

.showcase-chart {
    height: 46px;
    margin: 4px 0 8px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 8px;
    padding: 3px 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase-positions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.pos-chip {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    padding: 4px 6px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pos-side {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Mobile: expand showcase to fill viewport height */
@media (max-width: 639px) {
    .hero-showcase {
        margin-top: 0.75rem;
        max-width: 100%;
        min-height: 220px;
        padding-bottom: 0.5rem;
    }

    .showcase-card {
        padding: 14px 15px 15px;
        border-radius: 16px;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(234, 179, 8, 0.06);
    }

    .showcase-title {
        font-size: 10px;
    }

    .showcase-mode {
        font-size: 8px;
        padding: 1px 5px;
    }

    .showcase-live {
        font-size: 8px;
    }

    .showcase-equity {
        flex: 0 0 auto;
        margin-bottom: 6px;
    }

    .equity-value {
        font-size: 1.55rem;
    }

    .showcase-chart {
        flex: 1 1 auto;
        min-height: 52px;
        height: auto;
        margin: 6px 0 8px;
    }

    .showcase-positions {
        flex: 0 0 auto;
        gap: 6px;
    }

    .pos-chip {
        padding: 5px 7px;
        font-size: 9px;
    }
}

/* Desktop: keep compact */
@media (min-width: 640px) {
    .hero-showcase {
        margin-top: 1.25rem;
    }

    .showcase-card {
        padding: 10px 12px;
    }

    .showcase-chart {
        height: 38px;
    }

    .equity-value {
        font-size: 1.1rem;
    }
}

/* Phone trust bar — single row, left-to-right reveal */
@media (max-width: 767px) {
    .trust-bar-inner {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        scrollbar-width: none;
        mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    }

    .trust-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .trust-stat {
        flex: 0 0 auto;
        min-width: 88px;
        padding: 8px 10px;
        scroll-snap-align: start;
        text-align: center;
        opacity: 0;
        animation: heroRevealLTR 0.42s ease forwards;
    }

    .trust-bar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .trust-bar-inner .trust-stat:nth-child(1) {
        animation-delay: 0.08s;
    }

    .trust-bar-inner .trust-stat:nth-child(2) {
        animation-delay: 0.18s;
    }

    .trust-bar-inner .trust-stat:nth-child(3) {
        animation-delay: 0.28s;
    }

    .trust-bar-inner .trust-stat:nth-child(4) {
        animation-delay: 0.38s;
    }

    .trust-stat-value {
        font-size: 1.35rem;
    }

    .trust-stat-label--full {
        display: none !important;
    }

    .trust-stat-label--short {
        display: block !important;
        margin-top: 5px;
        font-size: 11px;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .trust-stat {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #fde047 0%, #eab308 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* Section typography */
.section-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

/* Trust bar */
.trust-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 12, 0.5);
    padding: 20px 0;
}

@media (min-width: 640px) {
    .trust-bar {
        padding: 32px 0;
    }
}

.trust-bar-inner {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 32px;
    text-align: center;
}

@media (min-width: 640px) {
    .trust-bar-inner {
        padding: 0 32px;
        gap: 32px;
    }
}

.trust-stat {
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.trust-stat:hover {
    background: rgba(255, 255, 255, 0.02);
}

.trust-stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #eab308;
    line-height: 1;
}

@media (min-width: 640px) {
    .trust-stat-value {
        font-size: 1.875rem;
    }
}

.trust-stat-label {
    margin-top: 6px;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

@media (min-width: 640px) {
    .trust-stat-label {
        margin-top: 8px;
        font-size: 0.875rem;
    }
}

.trust-stat-label--short {
    display: none;
}

/* Cards */
.feature-card,
.strategy-card,
.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible,
.strategy-card.visible,
.step.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--delay, 0) * 80ms);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    background: var(--card-hover);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background var(--transition), transform var(--transition);
}

@media (max-width: 640px) {
    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 14px;
    }
}

.feature-card:hover .card-icon {
    background: rgba(234, 179, 8, 0.18);
    transform: scale(1.05);
}

/* Strategy cards */
.strategy-card {
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.strategy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.strategy-card:hover::before,
.strategy-card-featured::before {
    opacity: 1;
}

.strategy-card:hover {
    border-color: var(--border-hover);
    background: var(--card-hover);
}

.strategy-card-featured {
    border-color: rgba(234, 179, 8, 0.2);
    background: linear-gradient(165deg, rgba(234, 179, 8, 0.04) 0%, var(--card) 40%);
}

.strategy-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.strategy-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Steps */
.steps-grid {
    position: relative;
}

.step {
    position: relative;
}

.step-number {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.35;
    letter-spacing: -0.02em;
}

.step:hover {
    border-color: rgba(234, 179, 8, 0.15);
}

.step:hover .step-number {
    opacity: 0.55;
}

/* Tags */
.tag-pill {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Algorithm Engine — spacious layout */
.modes-section {
    --modes-gap: 28px;
}

.modes-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--modes-gap);
}

@media (min-width: 1024px) {
    .modes-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 40px;
        align-items: start;
    }
}

.mode-cards-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .mode-cards-list {
        gap: 20px;
    }
}

.mode-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .mode-card {
        padding: 28px 32px;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .mode-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .mode-card-title {
        font-size: 1.15rem;
    }

    .mode-card-stats {
        gap: 8px;
    }

    .mode-stat {
        padding: 10px 12px;
    }

    .mode-card-header {
        gap: 12px;
    }

    .mode-card-badge {
        padding: 4px 10px;
        font-size: 9px;
    }
}

.mode-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.mode-card.active {
    border-color: var(--accent);
    background: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.15), var(--shadow-glow);
}

.mode-card:hover:not(.active) {
    border-color: rgba(234, 179, 8, 0.22);
    background: var(--card-hover);
}

.mode-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.mode-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mode-card-desc {
    color: rgba(234, 179, 8, 0.75);
    font-size: 0.875rem;
    margin-top: 6px;
    font-weight: 500;
}

.mode-card-badge {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    border-radius: 999px;
    border: 1px solid;
    flex-shrink: 0;
    white-space: nowrap;
}

.mode-card-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 480px) {
    .mode-card-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (min-width: 640px) {
    .mode-card-stats {
        gap: 16px;
    }
}

.mode-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mode-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.3px;
}

.mode-stat-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.mode-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.mode-select-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.mode-card[aria-selected="true"] .mode-select-hint {
    color: var(--accent);
}

.mode-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.mode-card.active .mode-radio {
    border-color: var(--accent);
    background: rgba(234, 179, 8, 0.15);
}

.mode-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}

.mode-card.active .mode-radio-dot {
    opacity: 1;
    transform: scale(1);
}

/* Preview panel */
.preview-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 28px 32px;
    transition: border-color 0.3s, opacity 0.15s;
}

@media (min-width: 768px) {
    .preview-panel {
        padding: 36px 40px 40px;
    }
}

@media (max-width: 640px) {
    .preview-panel {
        padding: 20px 18px 24px;
    }

    .preview-param {
        padding: 12px 0;
        font-size: 13px;
    }

    .preview-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .preview-panel {
        position: sticky;
        top: calc(var(--nav-stack-height) + 16px);
    }
}

.preview-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
    .preview-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.preview-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.preview-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.preview-badge {
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 999px;
    border: 1px solid;
}

.preview-params-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

@media (min-width: 640px) {
    .preview-params-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 48px;
    }
}

.preview-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 24px;
}

.preview-param-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.preview-param-value {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
}

.preview-panel.updating .preview-params-grid {
    opacity: 0.3;
}

/* Dashboard teaser */
.dashboard-teaser {
    position: relative;
}

.dashboard-teaser-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.dashboard-window {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.dashboard-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.goal-bar {
    animation: goalPulse 3s ease-in-out infinite;
}

@keyframes goalPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.position-chip {
    transition: background var(--transition), border-color var(--transition);
    border: 1px solid transparent;
}

.position-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border);
}

#chart-line-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawChart 2s ease forwards 0.5s;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

/* CTA */
.cta-glow {
    position: absolute;
    width: 600px;
    height: 200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(234, 179, 8, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Donate */
.donate-card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .donate-card {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 36px 40px;
    }
}

@media (max-width: 480px) {
    .donate-card {
        padding: 20px;
        gap: 20px;
    }

    .donate-qr-panel {
        max-width: 220px;
    }
}

.donate-info {
    flex: 1;
    min-width: 0;
}

.donate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.donate-code {
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.donate-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.donate-detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (min-width: 480px) {
    .donate-detail-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
}

@media (max-width: 479px) {
    .donate-copy-btn {
        width: 100%;
        justify-content: space-between;
        padding: 8px 12px;
    }
}

.donate-detail-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.donate-detail-value {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-all;
}

.donate-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 10px;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.donate-copy-btn:hover,
.donate-copy-btn:active {
    background: rgba(234, 179, 8, 0.08);
    border-color: var(--border-hover);
}

.donate-copy-btn .donate-detail-value {
    color: #eab308;
}

.donate-copy-icon {
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.donate-copy-btn:hover .donate-copy-icon,
.donate-copy-btn:active .donate-copy-icon {
    opacity: 1;
}

/* Copy success state */
.donate-copy-btn.copied {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.1);
}

.donate-copy-btn.copied .donate-detail-value {
    color: #34d399;
}

.donate-qr-panel {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .donate-qr-panel {
        margin: 0;
    }
}

.donate-qr-frame {
    position: relative;
    aspect-ratio: 1;
    padding: 16px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.45);
}

.donate-qr-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Buttons */
.download-btn {
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::after {
    left: 250%;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    right: max(24px, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    transition: all var(--transition);
    box-shadow: var(--shadow-card);
}

.back-to-top:hover {
    background: var(--accent-dim);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.back-to-top[hidden] {
    display: none;
}

/* Footer */
footer a {
    text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 640px) {
    .feature-card,
    .strategy-card,
    .step {
        padding: 22px 20px;
    }

    .dashboard-window {
        transform: none;
    }

    .dashboard-window:hover {
        transform: none;
    }

    .trust-bar-inner {
        padding: 0 18px;
    }

    .section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #features,
    #strategies,
    #how,
    #donate {
        padding-top: 3.5rem !important;
        padding-bottom: 3rem !important;
    }

    .modes-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .steps-grid {
        gap: 14px;
    }

    .dashboard-teaser {
        padding: 22px;
    }

    .dashboard-window .p-4 {
        padding: 14px;
    }

    .chart-area {
        padding: 10px !important;
    }

    .cta-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    /* Ensure trust bar shows short labels on phone */
    .trust-stat-label--full {
        display: none !important;
    }
    .trust-stat-label--short {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--nav-stack-height) + 0.75rem);
    }

    .hero-glow-1 {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 639px) {
    .hero {
        padding-top: calc(var(--nav-stack-height) + 1.25rem) !important;
        padding-bottom: 0.75rem !important;
        min-height: calc(100dvh - var(--nav-stack-height) - 10px);
    }

    .hero-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hero-showcase {
        margin-top: 0.75rem;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .hero-glow-1 {
        width: 220px;
        height: 220px;
        top: -80px;
    }
}

@media (max-width: 1023px) {
    .navbar-shell,
    .mobile-menu {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(10, 10, 12, 0.97);
    }
}

@media (min-width: 1024px) {
    .mobile-menu,
    .mobile-menu.open {
        display: none !important;
    }
}

main {
    overflow-x: clip;
}