/* ===========================================================================
   IconForge · TB Tech
   Dark modern tech aesthetic — inspired by Linear, Raycast, Arc Browser.
   =========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------- Design tokens -------- */
:root {
    /* Background layers */
    --bg: #0a0a0f;
    --bg-raised: #12121a;
    --bg-surface: #15151f;
    --bg-elevated: #1a1a25;

    /* Text */
    --text: #f5f5fa;
    --text-secondary: #a8a8bc;
    --text-tertiary: #66667a;
    --text-muted: #44445a;

    /* Brand gradient (from the AppIcon) */
    --brand-a: #a47cd4;   /* lavender */
    --brand-b: #d67bc8;   /* pink */
    --brand-c: #7b6fd9;   /* indigo */

    /* Accent colors for tints */
    --tint-purple: #a47cd4;
    --tint-blue:   #6db4ff;
    --tint-pink:   #ff7bc8;
    --tint-green:  #5ee0a8;
    --tint-orange: #ffaa5a;
    --tint-mint:   #5fe8d8;

    /* Borders & surfaces */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --surface-hover: rgba(255, 255, 255, 0.04);

    /* Layout */
    --max-width: 1180px;
    --gutter: 28px;

    /* Type */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
                 system-ui, -apple-system, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, "Cascadia Code",
                 "JetBrains Mono", Consolas, monospace;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -------- Base -------- */
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    font-size: 16px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font-size: inherit;
}

/* ===========================================================================
   BACKGROUND EFFECTS
   =========================================================================== */

.gradient-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    will-change: transform;
    animation: float 24s var(--ease-in-out) infinite;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--brand-a), transparent 70%);
    top: -100px;
    left: -80px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-b), transparent 70%);
    top: 120px;
    right: -180px;
    animation-delay: -8s;
}

.orb-3 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--brand-c), transparent 70%);
    top: 700px;
    left: 40%;
    animation-delay: -16s;
    opacity: 0.25;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 20px) scale(0.95); }
}

/* All page content above the background effects */
.nav, header, section, footer {
    position: relative;
    z-index: 1;
}

/* ===========================================================================
   NAV
   =========================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(150%) blur(20px);
    -webkit-backdrop-filter: saturate(150%) blur(20px);
    background: rgba(10, 10, 15, 0.72);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px var(--gutter);
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(164, 124, 212, 0.35);
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: 24px;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    transition: all 0.2s var(--ease-out);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

/* ===========================================================================
   HERO
   =========================================================================== */

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px var(--gutter) 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.hero-inner {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 28px;
    animation: fade-up 0.8s var(--ease-out) both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tint-green);
    box-shadow: 0 0 12px var(--tint-green);
    animation: pulse 2.2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    animation: fade-up 0.9s var(--ease-out) 0.1s both;
}

.gradient-text {
    background: linear-gradient(120deg, var(--brand-a) 0%, var(--brand-b) 50%, var(--brand-c) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s ease-in-out infinite;
    display: inline-block;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 36px;
    animation: fade-up 1s var(--ease-out) 0.2s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    animation: fade-up 1.1s var(--ease-out) 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn svg {
    transition: transform 0.25s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
    color: white;
    box-shadow:
        0 4px 20px rgba(164, 124, 212, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 32px rgba(164, 124, 212, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.hero-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    animation: fade-up 1.2s var(--ease-out) 0.4s both;
}

.hero-meta strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-meta a {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s;
}

.hero-meta a:hover {
    border-bottom-color: var(--brand-a);
    color: var(--brand-a);
}

.meta-divider {
    margin: 0 10px;
    opacity: 0.5;
}

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

/* ---- Hero Visual: floating glass panel mockup ---- */

.hero-visual {
    position: relative;
    animation: fade-up 1.2s var(--ease-out) 0.5s both, hero-float 9s ease-in-out infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

.glass-panel {
    background: linear-gradient(155deg, rgba(30, 28, 44, 0.85), rgba(15, 14, 24, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 22px;
    box-shadow:
        0 60px 120px -20px rgba(0, 0, 0, 0.6),
        0 30px 60px -20px rgba(164, 124, 212, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.glass-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 14px;
}

.glass-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 14px;
}

.glass-brand img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.glass-tabs {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 11px;
}

.tab {
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.tab.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.glass-preview {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px 14px;
    margin-bottom: 16px;
}

.preview-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}

.preview-row svg {
    color: var(--text-tertiary);
}

.preview-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.preview-icon.original {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 8px),
        #e8e8f0;
    color: #2b5bd7;
}

.preview-icon.themed {
    background: linear-gradient(145deg, #1a1a24, #0f0f17);
    color: #5a8bff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.preview-icon.themed::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.preview-labels {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    text-align: center;
    font-size: 10px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.glass-theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.theme-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s var(--ease-out);
}

.theme-card.active {
    border-color: rgba(164, 124, 212, 0.5);
    background: rgba(164, 124, 212, 0.08);
}

.theme-swatch {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
}

.theme-swatch.dark {
    background: linear-gradient(135deg, #1e1e28, #13131a);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-swatch.dark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    clip-path: polygon(100% 0, 50% 50%, 100% 100%, 0 100%, 0 0);
    opacity: 0.9;
}

.theme-swatch.black {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-swatch.black::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    background: #666;
    border-radius: 50%;
}

/* ===========================================================================
   SECTIONS (shared)
   =========================================================================== */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px var(--gutter);
}

.section-header {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-a);
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(164, 124, 212, 0.1);
    border: 1px solid rgba(164, 124, 212, 0.2);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-title .muted {
    color: var(--text-tertiary);
    font-weight: 800;
}

/* ===========================================================================
   FEATURES
   =========================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.feature-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 26px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(164, 124, 212, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    pointer-events: none;
}

.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    background: var(--bg-surface);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--tint-purple);
    transition: all 0.3s var(--ease-out);
}

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

.feature-icon[data-tint="purple"] { color: var(--tint-purple); background: rgba(164, 124, 212, 0.1); border-color: rgba(164, 124, 212, 0.2); }
.feature-icon[data-tint="blue"]   { color: var(--tint-blue);   background: rgba(109, 180, 255, 0.1); border-color: rgba(109, 180, 255, 0.2); }
.feature-icon[data-tint="pink"]   { color: var(--tint-pink);   background: rgba(255, 123, 200, 0.1); border-color: rgba(255, 123, 200, 0.2); }
.feature-icon[data-tint="green"]  { color: var(--tint-green);  background: rgba(94, 224, 168, 0.1); border-color: rgba(94, 224, 168, 0.2); }
.feature-icon[data-tint="orange"] { color: var(--tint-orange); background: rgba(255, 170, 90, 0.1); border-color: rgba(255, 170, 90, 0.2); }
.feature-icon[data-tint="mint"]   { color: var(--tint-mint);   background: rgba(95, 232, 216, 0.1); border-color: rgba(95, 232, 216, 0.2); }

.feature-card:hover .feature-icon {
    transform: scale(1.06);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================================================================
   HOW IT WORKS
   =========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.step {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 30px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.step:hover {
    border-color: var(--border-strong);
    background: var(--bg-surface);
    transform: translateY(-3px);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-a);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===========================================================================
   COMPATIBILITY
   =========================================================================== */

.compat-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.compat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.compat-text .eyebrow {
    display: inline-block;
    margin-bottom: 20px;
}

.compat-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.compat-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 500px;
}

.compat-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.spec {
    padding: 22px 24px;
    background: var(--bg-raised);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.2s var(--ease-out);
}

.spec:hover {
    background: var(--bg-surface);
}

.spec-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* ===========================================================================
   WAITLIST
   =========================================================================== */

.waitlist-section {
    padding: 60px var(--gutter);
}

.waitlist-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 48px;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(164, 124, 212, 0.12), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(214, 123, 200, 0.1), transparent 50%),
        var(--bg-raised);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-a), transparent);
}

.waitlist-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 14px 0 14px;
}

.waitlist-sub {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 32px;
}

.waitlist-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

/* Honeypot — bots autofill every input, real users never see it */
.waitlist-form .hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s var(--ease-out);
}

.waitlist-form input::placeholder {
    color: var(--text-tertiary);
}

.waitlist-form input:focus {
    border-color: rgba(164, 124, 212, 0.6);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(164, 124, 212, 0.15);
}

.waitlist-form button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 22px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand-a), var(--brand-b));
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s var(--ease-out);
    box-shadow:
        0 4px 18px rgba(164, 124, 212, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    white-space: nowrap;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(164, 124, 212, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.waitlist-form button:active {
    transform: translateY(0);
}

.waitlist-form button svg {
    transition: transform 0.2s var(--ease-out);
}

.waitlist-form button:hover svg {
    transform: translateX(2px);
}

.waitlist-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--tint-green);
    min-height: 19px;
    font-weight: 500;
}

.waitlist-note.error {
    color: #ff6b6b;
}

/* ===========================================================================
   FAQ
   =========================================================================== */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-strong);
}

.faq-item[open] {
    border-color: rgba(164, 124, 212, 0.35);
    background: var(--bg-surface);
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    letter-spacing: -0.005em;
}

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

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--text-tertiary);
    transition: transform 0.3s var(--ease-out), color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--brand-a);
}

.faq-item p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item a {
    color: var(--brand-a);
    border-bottom: 1px solid rgba(164, 124, 212, 0.4);
}

.faq-item a:hover {
    border-bottom-color: var(--brand-a);
}

/* ===========================================================================
   FOOTER
   =========================================================================== */

.footer {
    margin-top: 100px;
    padding: 60px var(--gutter) 50px;
    border-top: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.5);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(164, 124, 212, 0.3);
}

.footer-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.footer-sub {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.tb-brand {
    background: linear-gradient(120deg, var(--brand-a), var(--brand-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s var(--ease-out);
}

a.tb-brand:hover {
    opacity: 0.85;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-meta {
    text-align: right;
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer-dot {
    margin: 0 8px;
    opacity: 0.5;
}

/* ===========================================================================
   REVEAL ON SCROLL
   =========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 80px;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .compat-text .section-title {
        text-align: center;
    }

    .compat-text p {
        margin: 0 auto;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-meta {
        text-align: center;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: 70px var(--gutter);
    }

    .section-header {
        margin-bottom: 42px;
    }

    .hero {
        padding: 80px var(--gutter) 60px;
    }

    .waitlist-card {
        padding: 40px 28px;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .compat-specs {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }
}

/* ===========================================================================
   REDUCED MOTION
   =========================================================================== */

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .orb,
    .hero-visual,
    .gradient-text {
        animation: none !important;
    }
}

/* ===========================================================================
   SELECTION
   =========================================================================== */

::selection {
    background: rgba(164, 124, 212, 0.35);
    color: white;
}
