/* ============================================================
   Revva — main.css
   Dark fintech theme
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-0: #0d0d0d;
    --bg-1: #121820;
    --bg-2: #1a1f2e;
    --bg-card: #1e2535;
    --bg-card-h: #242b3d;
    --accent-p: #a78bfa;
    --accent-p-d: #7c3aed;
    --accent-g: #4ade80;
    --accent-r: #f87171;
    --text-0: #f9fafb;
    --text-1: #9ca3af;
    --text-2: #6b7280;
    --border: rgba(167, 139, 250, 0.15);
    --border-h: rgba(167, 139, 250, 0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.18);
    --font: "Inter", system-ui, sans-serif;
    --nav-h: 68px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: var(--accent-p);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: #c4b5fd;
}

img,
svg {
    display: block;
}
ul {
    list-style: none;
}

/* ── Utility ───────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--accent-p) 0%,
        #60a5fa 50%,
        var(--accent-g) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        opacity var(--transition);
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-p), var(--accent-p-d));
    color: #fff;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.35);
}
.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(167, 139, 250, 0.55);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-0);
    border: 1.5px solid var(--border-h);
}
.btn-secondary:hover {
    background: rgba(167, 139, 250, 0.08);
    border-color: var(--accent-p);
    color: var(--accent-p);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--accent-p);
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-p);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-1);
    max-width: 560px;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(13, 13, 13, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-0);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.nav-logo:hover {
    color: var(--text-0);
}
.nav-logo svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-1);
    transition:
        color var(--transition),
        background var(--transition);
}
.nav-links a:hover {
    color: var(--text-0);
    background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active {
    color: var(--accent-p);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.hamburger:hover {
    background: rgba(255, 255, 255, 0.06);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-0);
    border-radius: 2px;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    z-index: 999;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-1);
}
.mobile-menu a:hover {
    color: var(--text-0);
    background: rgba(255, 255, 255, 0.05);
}
.mobile-menu .btn {
    margin-top: 8px;
    justify-content: center;
    width: 100%;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-h);
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            ellipse 60% 50% at 20% 60%,
            rgba(167, 139, 250, 0.1) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 50% 40% at 80% 20%,
            rgba(74, 222, 128, 0.07) 0%,
            transparent 70%
        ),
        var(--bg-0);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 580px;
}

.hero-tag {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-1);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Phone mockup */
.phone-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(
        ellipse at center,
        rgba(167, 139, 250, 0.2) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.phone {
    width: 220px;
    height: 440px;
    background: linear-gradient(160deg, #1e2535 0%, #141924 100%);
    border-radius: 36px;
    border: 1.5px solid rgba(167, 139, 250, 0.3);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: var(--bg-0);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-status {
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-top: 10px;
}
.phone-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-g);
}
.phone-status-bars {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}
.phone-status-bars span {
    display: block;
    width: 3px;
    background: var(--text-1);
    border-radius: 1px;
}
.phone-status-bars span:nth-child(1) {
    height: 4px;
}
.phone-status-bars span:nth-child(2) {
    height: 7px;
}
.phone-status-bars span:nth-child(3) {
    height: 10px;
}

.phone-balance-card {
    background: linear-gradient(
        135deg,
        rgba(167, 139, 250, 0.2),
        rgba(167, 139, 250, 0.06)
    );
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 14px;
    padding: 14px;
}
.pbc-label {
    font-size: 9px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}
.pbc-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-0);
}
.pbc-sub {
    font-size: 8px;
    color: var(--accent-g);
    margin-top: 2px;
}

.phone-row {
    display: flex;
    gap: 8px;
}
.phone-mini-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
}
.pmc-icon {
    font-size: 14px;
    margin-bottom: 4px;
}
.pmc-label {
    font-size: 7px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pmc-val {
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}
.pmc-val.green {
    color: var(--accent-g);
}
.pmc-val.red {
    color: var(--accent-r);
}

.phone-txn-label {
    font-size: 8px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 2px;
}

.phone-txn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
}
.phone-txn-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.phone-txn-info {
    flex: 1;
    min-width: 0;
}
.phone-txn-name {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.phone-txn-cat {
    font-size: 7px;
    color: var(--text-2);
}
.phone-txn-amt {
    font-size: 10px;
    font-weight: 700;
}
.phone-txn-amt.debit {
    color: var(--accent-r);
}
.phone-txn-amt.credit {
    color: var(--accent-g);
}

/* ── Features section ──────────────────────────────────────── */
#features {
    padding: 100px 0;
    background:
        radial-gradient(
            ellipse 50% 60% at 80% 50%,
            rgba(74, 222, 128, 0.05) 0%,
            transparent 65%
        ),
        var(--bg-1);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}
.features-header .section-sub {
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}
.feature-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.18);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-0);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-1);
    line-height: 1.65;
}

/* ── Screenshots section ───────────────────────────────────── */
#screenshots {
    padding: 100px 0;
    background: var(--bg-0);
    text-align: center;
}

.screenshots-header {
    margin-bottom: 60px;
}
.screenshots-header .section-sub {
    margin: 0 auto;
}

.screenshots-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.screenshot-phone {
    width: 160px;
    height: 300px;
    border-radius: 24px;
    border: 1.5px solid rgba(167, 139, 250, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.screenshot-phone.dashboard {
    background: linear-gradient(160deg, #1e2535 0%, #0d1117 100%);
    height: 320px;
}
.screenshot-phone.transactions {
    background: linear-gradient(160deg, #141a26 0%, #0d1117 100%);
}
.screenshot-phone.analytics {
    background: linear-gradient(160deg, #1a1f2e 0%, #0a0f1a 100%);
}

.screenshot-phone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.025) 0px,
        rgba(255, 255, 255, 0.025) 1px,
        transparent 1px,
        transparent 28px
    );
}

.screenshot-inner {
    position: absolute;
    inset: 0;
    padding: 20px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
}

.si-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(167, 139, 250, 0.2);
}
.si-bar.w60 {
    width: 60%;
}
.si-bar.w80 {
    width: 80%;
}
.si-bar.w45 {
    width: 45%;
}
.si-bar-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 6px;
}

.si-chart {
    margin-top: 10px;
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 0 4px;
}
.si-chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    opacity: 0.7;
}
.si-chart-bar:nth-child(odd) {
    background: var(--accent-p);
}
.si-chart-bar:nth-child(even) {
    background: var(--accent-g);
}

.si-pie {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(
        var(--accent-p) 0% 40%,
        var(--accent-g) 40% 65%,
        #60a5fa 65% 80%,
        var(--accent-r) 80% 100%
    );
    margin: 8px auto;
    box-shadow: 0 0 16px rgba(167, 139, 250, 0.3);
}

.screenshot-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: 0.02em;
}

/* ── FAQ section ───────────────────────────────────────────── */
#faq {
    padding: 100px 0;
    background: var(--bg-1);
}

.faq-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.faq-header .section-sub {
    margin-top: 12px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:hover {
    border-color: var(--border-h);
}
.faq-item.open {
    border-color: rgba(167, 139, 250, 0.4);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-0);
    transition: color var(--transition);
}
.faq-q:hover {
    color: var(--accent-p);
}
.faq-item.open .faq-q {
    color: var(--accent-p);
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--text-2);
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-p);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-a-inner {
    padding: 14px 20px 18px;
    font-size: 0.9rem;
    color: var(--text-1);
    line-height: 1.7;
    border-top: 1px solid var(--border);
}
.faq-item.open .faq-a {
    max-height: 200px;
}

/* ── CTA / Download banner ─────────────────────────────────── */
.cta-section {
    padding: 100px 0;
    background:
        radial-gradient(
            ellipse 70% 70% at 50% 50%,
            rgba(167, 139, 250, 0.12) 0%,
            transparent 70%
        ),
        var(--bg-0);
    text-align: center;
}

.cta-section .section-title {
    margin-bottom: 14px;
}
.cta-section .section-sub {
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-android {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1.5px solid var(--border-h);
    color: var(--text-0);
    font-size: 0.9rem;
    font-weight: 600;
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}
.badge-android:hover {
    border-color: var(--accent-p);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.2);
    color: var(--text-0);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 12px;
}
.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-2);
    max-width: 240px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-2);
    margin-bottom: 14px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col a {
    font-size: 0.88rem;
    color: var(--text-1);
    transition: color var(--transition);
}
.footer-col a:hover {
    color: var(--accent-p);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-2);
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-1);
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}
.footer-social-link:hover {
    color: var(--text-0);
    background: rgba(167, 139, 250, 0.1);
    border-color: var(--border-h);
}

/* ── Inner page hero ───────────────────────────────────────── */
.page-hero {
    padding: calc(var(--nav-h) + 60px) 0 60px;
    background:
        radial-gradient(
            ellipse 60% 60% at 50% 0%,
            rgba(167, 139, 250, 0.1) 0%,
            transparent 65%
        ),
        var(--bg-0);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 0.95rem;
    color: var(--text-1);
}

/* ── Markdown content ──────────────────────────────────────── */
.content-wrap {
    padding: 72px 0 100px;
}

.md-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--text-1);
}

.md-content h1,
.md-content h2,
.md-content h3,
.md-content h4,
.md-content h5 {
    color: var(--text-0);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.25;
}
.md-content h1 {
    font-size: 1.9rem;
}
.md-content h2 {
    font-size: 1.45rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}
.md-content h3 {
    font-size: 1.15rem;
}

.md-content p {
    margin-bottom: 1em;
}

.md-content ul,
.md-content ol {
    padding-left: 1.4em;
    margin-bottom: 1em;
}
.md-content ul {
    list-style: disc;
}
.md-content ol {
    list-style: decimal;
}
.md-content li {
    margin-bottom: 0.4em;
}

.md-content a {
    color: var(--accent-p);
}
.md-content a:hover {
    text-decoration: underline;
}

.md-content strong {
    color: var(--text-0);
    font-weight: 700;
}
.md-content em {
    font-style: italic;
}

.md-content code {
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.85em;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-p);
}

.md-content pre {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    overflow-x: auto;
    margin-bottom: 1em;
}
.md-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-0);
    font-size: 0.88em;
}

.md-content blockquote {
    border-left: 3px solid var(--accent-p);
    padding-left: 16px;
    margin: 1em 0;
    color: var(--text-2);
    font-style: italic;
}

.md-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}

.md-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 0.9rem;
}
.md-content th,
.md-content td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.md-content th {
    background: var(--bg-2);
    color: var(--text-0);
    font-weight: 700;
}
.md-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.md-loading {
    text-align: center;
    padding: 48px 0;
    color: var(--text-2);
    font-size: 0.9rem;
}

/* ── Contact page ──────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 48px auto 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition:
        border-color var(--transition),
        transform var(--transition);
}
.contact-card:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
}

.contact-card-icon {
    font-size: 28px;
    margin-bottom: 14px;
}
.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-0);
}
.contact-card p {
    font-size: 0.88rem;
    color: var(--text-1);
    line-height: 1.6;
    margin-bottom: 14px;
}
.contact-card a.link-arrow {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-p);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.contact-card a.link-arrow::after {
    content: " \2192";
}
.contact-card a.link-arrow:hover {
    text-decoration: underline;
}

.contact-note {
    max-width: 560px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
    background: rgba(167, 139, 250, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.contact-note a {
    color: var(--accent-p);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.animate-fadeup {
    animation: fadeUp 0.7s ease both;
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.1s;
}
.delay-2 {
    animation-delay: 0.2s;
}
.delay-3 {
    animation-delay: 0.3s;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding-top: 48px;
        padding-bottom: 60px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }

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

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .screenshots-grid {
        flex-direction: column;
        align-items: center;
    }
}
