/* CryptixVault marketing site — shared design system (dark vault theme) */

:root {
    --primary: #C9A24B;
    --primary-soft: rgba(201, 162, 75, 0.14);
    --secondary: #8B6B23;
    --gradient: linear-gradient(135deg, #E4C077 0%, #C9A24B 45%, #8B6B23 100%);
    --dark-bg: #100D0A;
    --dark-surface: #1A1611;
    --dark-card: #221C15;
    --dark-elevated: #2B2319;
    --text-main: #F3ECDC;
    --text-dim: #AFA187;
    --text-faint: #756A56;
    --success: #6FA37D;
    --danger: #C2604A;
    --border-soft: rgba(243, 236, 220, 0.08);
    --border-brand: rgba(201, 162, 75, 0.35);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;
    --shadow-deep: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

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

html { scroll-behavior: smooth; }

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand-serif { font-family: var(--font-display); text-wrap: balance; font-weight: 600; }
.mono { font-family: var(--font-mono); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 110px 0; }
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--border-brand);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.section-header { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-header h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-header p { color: var(--text-dim); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
    background: var(--gradient);
    color: #1A1305;
    box-shadow: 0 14px 30px -10px rgba(201, 162, 75, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -8px rgba(201, 162, 75, 0.55); }
.btn-ghost { background: transparent; border: 1px solid rgba(243, 236, 220, 0.22); color: var(--text-main); }
.btn-ghost:hover { border-color: var(--primary); background: var(--primary-soft); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(16, 13, 10, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}
.nav-content { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--text-main); }
.logo img { height: 34px; width: auto; }
.logo span b { color: var(--primary); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text-main); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-soft); color: var(--text-dim); font-size: 0.88rem; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { border-color: var(--border-brand); color: var(--text-main); }
.lang-switch[open] summary { border-color: var(--primary); color: var(--text-main); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--dark-elevated); border: 1px solid var(--border-soft); border-radius: 12px; padding: 6px; min-width: 168px; box-shadow: var(--shadow-deep); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--text-dim); font-size: 0.9rem; }
.lang-menu a:hover { background: var(--primary-soft); color: var(--text-main); }
.lang-menu a[aria-current="true"] { color: var(--primary); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border-soft); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--text-main); }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 80px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: radial-gradient(circle, rgba(201, 162, 75, 0.18) 0%, transparent 68%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .section-eyebrow { margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: 22px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy p.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 540px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px; }
.stat-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-dim); }
.stat-item svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 480px; }
.phone-frame { position: relative; width: 260px; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-deep); border: 1px solid var(--border-soft); z-index: 2; }
.phone-frame img { width: 100%; display: block; }
.phone-frame.floating-back {
    position: absolute;
    width: 210px;
    z-index: 1;
    opacity: 0.88;
    filter: saturate(0.9);
}
.phone-frame.floating-back.left { left: -6%; top: 6%; transform: rotate(-9deg); }
.phone-frame.floating-back.right { right: -4%; bottom: 2%; transform: rotate(8deg); }
.hero-visual .spec-float {
    position: absolute;
    background: var(--dark-elevated);
    border: 1px solid var(--border-brand);
    padding: 10px 16px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-main);
    box-shadow: var(--shadow-deep);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}
.spec-float svg { width: 14px; height: 14px; color: var(--success); }
.spec-float.top { top: 4%; right: 2%; }
.spec-float.bottom { bottom: 8%; left: -2%; }

/* ---------- Trust strip ---------- */
.trust-strip { padding: 56px 0 100px; }
.trust-explainer { max-width: 740px; margin: 0 auto 36px; text-align: center; color: var(--text-dim); font-size: 1.05rem; }
.trust-explainer strong { color: var(--text-main); }
.spec-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.spec-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--dark-surface); border: 1px solid var(--border-brand); color: var(--text-main); padding: 10px 16px; border-radius: 10px; font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.01em; }
.spec-chip svg { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }

/* ---------- Feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card { background: var(--dark-surface); padding: 34px; border-radius: var(--radius-md); border: 1px solid var(--border-soft); transition: all 0.3s ease; position: relative; }
.feature-card:hover { border-color: var(--primary); background: var(--dark-card); transform: translateY(-4px); }
.feature-card.new::after { content: attr(data-new-label); position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-bg); background: var(--gradient); padding: 4px 9px; border-radius: 20px; font-weight: 700; }
.feature-icon { width: 52px; height: 52px; background: var(--primary-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--primary); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-dim); font-size: 0.98rem; }

.also-included { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.also-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: var(--dark-surface); border: 1px solid var(--border-soft); color: var(--text-dim); font-size: 0.85rem; }
.also-chip svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- Feature spotlight (alternating split) ---------- */
.spotlight-band { background: linear-gradient(to bottom, transparent, var(--dark-surface), transparent); }
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 130px; }
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }
.spotlight-copy .badge-inline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.spotlight-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.spotlight-copy p.desc { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; color: var(--text-main); font-size: 0.98rem; }
.check-list svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

.spotlight-visual { position: relative; display: flex; justify-content: center; }
.spotlight-visual .device-shot {
    width: 100%;
    max-width: 320px;
    border-radius: 30px;
    box-shadow: var(--shadow-deep);
    border: 1px solid var(--border-soft);
}
.spotlight-visual .glow-behind { position: absolute; inset: -40px; background: radial-gradient(circle at center, var(--primary-soft) 0%, transparent 65%); z-index: -1; }

/* ---------- Trio showcase ---------- */
.trio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.trio-card { background: var(--dark-surface); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 36px 30px; text-align: center; }
.trio-card img { border-radius: 22px; margin: 0 auto 24px; max-width: 220px; box-shadow: var(--shadow-deep); border: 1px solid var(--border-soft); }
.trio-card .trio-icon { width: 56px; height: 56px; margin: 0 auto 24px; background: var(--primary-soft); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.trio-card .trio-icon svg { width: 26px; height: 26px; }
.trio-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.trio-card p { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- Pricing ---------- */
.pro-section { background: var(--dark-surface); border-radius: var(--radius-lg); padding: 76px 40px; text-align: center; border: 1px solid var(--border-brand); position: relative; overflow: hidden; }
.pro-section::before { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%); z-index: 0; }
.pro-section > * { position: relative; z-index: 1; }
.pricing-table { width: 100%; max-width: 760px; margin: 44px auto 0; border-collapse: collapse; text-align: left; font-size: 0.98rem; }
.pricing-table th, .pricing-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.pricing-table thead th { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text-dim); }
.pricing-table thead th.col-pro { color: var(--primary); }
.pricing-table tbody th { font-weight: 500; color: var(--text-main); }
.pricing-table td { text-align: center; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.88rem; }
.pricing-table td.col-pro { color: var(--text-main); font-weight: 500; }
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: none; }
.pro-footnote { margin-top: 28px; color: var(--text-faint); font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--dark-surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); flex-shrink: 0; transition: transform 0.25s ease; font-family: var(--font-mono); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.98rem; }
.faq-item:hover { border-color: var(--border-brand); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); border-radius: var(--radius-lg); padding: 60px 32px; text-align: center; margin-top: 20px; }
.cta-band h2 { color: #1A1305; font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; }
.cta-band p { color: rgba(26, 19, 5, 0.78); margin-bottom: 30px; font-size: 1.05rem; }
.cta-band .btn-primary { background: var(--dark-bg); color: var(--text-main); box-shadow: none; }
.cta-band .btn-primary:hover { background: #050403; }

/* ---------- Privacy strip ---------- */
.privacy-strip { padding: 60px 0 0; }
.privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 920px; margin: 0 auto; }
.privacy-box { background: var(--dark-surface); padding: 18px; border-radius: 12px; text-decoration: none; color: var(--text-dim); text-align: center; transition: all 0.3s ease; border: 1px solid var(--border-soft); font-size: 0.85rem; }
.privacy-box:hover { border-color: var(--primary); transform: translateY(-3px); color: var(--text-main); }
.privacy-box.current { border: 1px solid var(--border-brand); color: var(--text-main); }
.flag { font-size: 1.3rem; display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 110px; border-top: 1px solid var(--border-soft); background: linear-gradient(to top, rgba(16, 13, 10, 0.6), transparent); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img { height: 34px; width: auto; }
.footer-logo span { font-weight: 700; font-size: 1.15rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-company { display: flex; align-items: center; gap: 8px; color: var(--text-dim); font-size: 0.92rem; }
.footer-company-logo { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255, 255, 255, 0.03); border-radius: 24px; border: 1px solid var(--border-soft); text-decoration: none; }
.footer-company-logo img { height: 26px; width: auto; border-radius: 4px; }
.footer-company-logo span { color: var(--text-main); font-weight: 600; font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 0.88rem; color: var(--text-dim); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text-main); }
.footer-copyright { color: var(--text-faint); font-size: 0.82rem; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-sticky-cta { display: none; }

/* ---------- Reveal animation ---------- */
[data-aos] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.aos-animate { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy .lead { margin-left: auto; margin-right: auto; }
    .hero-ctas, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .spotlight, .spotlight.reverse { grid-template-columns: 1fr; direction: ltr; text-align: center; gap: 40px; }
    .check-list li { text-align: left; }
    .nav-links { display: none; }
    .nav-links.nav-links-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--dark-surface);
        border-bottom: 1px solid var(--border-soft);
        padding: 20px 24px;
        gap: 18px;
    }
}

@media (max-width: 720px) {
    .container { padding: 0 18px; }
    .section-padding { padding: 76px 0; }
    header { }
    .nav-content { height: 68px; }
    .logo span { display: none; }
    .nav-toggle { display: flex; }
    .nav-right .btn-primary.btn-sm { display: none; }
    .hero { padding: 108px 0 60px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .phone-frame { width: 210px; }
    .phone-frame.floating-back { display: none; }
    .spec-float { display: none; }
    .pricing-table { font-size: 0.8rem; }
    .pricing-table th, .pricing-table td { padding: 12px 6px; }
    .pro-section { padding: 50px 20px; border-radius: 22px; }
    .cta-band { padding: 44px 22px; border-radius: 20px; }
    footer { padding-bottom: 100px; }

    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 999;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(16, 13, 10, 0.94);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--border-soft);
    }
    .mobile-sticky-cta .btn-primary { width: 100%; justify-content: center; }
}
