/* =========================================================================
   Mura landing — dark, premium, built around the brand spark-shield gradient
   ========================================================================= */

:root {
    /* Brand gradient stops (from the logo mark) */
    --c-pink:   #FF6E9C;
    --c-coral:  #FF8E72;
    --c-violet: #C892F5;
    --c-blue:   #6E9DF5;
    --c-teal:   #46D6C4;

    --grad: linear-gradient(115deg, var(--c-pink) 0%, var(--c-coral) 26%, var(--c-violet) 54%, var(--c-blue) 78%, var(--c-teal) 100%);
    --grad-soft: linear-gradient(135deg, rgba(255,110,156,.16), rgba(110,157,245,.16) 60%, rgba(70,214,196,.16));

    /* Surfaces */
    --bg:        #07070C;
    --bg-2:      #0B0B12;
    --ink:       #F4F4F8;
    --muted:     #9C9DB0;
    --muted-2:   #6E6F84;
    --hairline:  rgba(255, 255, 255, .08);
    --card:      rgba(255, 255, 255, .035);
    --card-hi:   rgba(255, 255, 255, .06);

    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;

    --maxw: 1120px;
    --font: -apple-system, "SF Pro Rounded", "SF Pro Display", BlinkMacSystemFont,
            "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- Ambient aurora backdrop ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% -10%, #14111f 0%, var(--bg) 55%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    will-change: transform;
}
.blob-1 {
    width: 620px; height: 620px;
    top: -200px; left: -120px;
    background: radial-gradient(circle, var(--c-pink), transparent 65%);
    animation: drift1 22s ease-in-out infinite;
}
.blob-2 {
    width: 560px; height: 560px;
    top: -120px; right: -140px;
    background: radial-gradient(circle, var(--c-blue), transparent 65%);
    animation: drift2 26s ease-in-out infinite;
}
.blob-3 {
    width: 520px; height: 520px;
    top: 280px; left: 40%;
    background: radial-gradient(circle, var(--c-violet), transparent 65%);
    opacity: .35;
    animation: drift3 30s ease-in-out infinite;
}
.grain {
    position: absolute;
    inset: 0;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-70px, 50px) scale(1.05); } }
@keyframes drift3 { 50% { transform: translate(-40px, -50px) scale(1.12); } }

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 28px;
    backdrop-filter: blur(12px);
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}
.brand-mark {
    height: 50px;
    width: 50px;
    filter: drop-shadow(0 4px 16px rgba(200, 146, 245, .4));
}
.brand-name {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--ink);
    line-height: 1;
}
.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 15px;
    color: var(--muted);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-size: 14px; padding: 9px 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 26px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
    white-space: nowrap;
}
.btn-primary {
    color: #0B0B12;
    background: #fff;
    box-shadow: 0 10px 30px rgba(200, 146, 245, .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(200, 146, 245, .4); }
.btn-ghost {
    color: var(--ink);
    border: 1px solid var(--hairline);
    background: var(--card);
}
.btn-ghost:hover { background: var(--card-hi); border-color: rgba(255,255,255,.18); }

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 60px 28px 90px;
}
h1 {
    font-size: clamp(40px, 6.2vw, 76px);
    line-height: 1.02;
    letter-spacing: -.03em;
    font-weight: 800;
    margin-bottom: 22px;
}
.lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--muted);
    max-width: 30em;
    margin-bottom: 34px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
    font-size: 14px;
    color: var(--muted-2);
}
.hero-trust li { font-weight: 500; }

/* ---------- Phone mock ---------- */
.hero-device {
    position: relative;
    display: flex;
    justify-content: center;
}
.device-glow {
    position: absolute;
    inset: -10% -5%;
    background: var(--grad);
    filter: blur(70px);
    opacity: .28;
    border-radius: 50%;
    z-index: 0;
}
.phone {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 612px;
    border-radius: 52px;
    padding: 12px;
    background: linear-gradient(160deg, #1b1b27, #0c0c14);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 1px 1px rgba(255,255,255,.12);
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.phone-notch {
    position: absolute;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 30px;
    background: #000;
    border-radius: 999px;
    z-index: 3;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 42px;
    background: radial-gradient(120% 60% at 50% 0%, #15131f, #0a0a10 60%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 54px 16px 16px;
}
.chat-top { display: flex; justify-content: center; margin-bottom: 16px; }
.chat-model {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--hairline);
}
.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
}
.bubble {
    font-size: 13.5px;
    line-height: 1.45;
    max-width: 84%;
    padding: 11px 14px;
    border-radius: 18px;
}
.bubble.user {
    align-self: flex-end;
    color: #0B0B12;
    background: var(--grad);
    border-bottom-right-radius: 6px;
    font-weight: 500;
}
.bubble.bot {
    align-self: flex-start;
    display: flex;
    gap: 9px;
    color: var(--ink);
    background: rgba(255,255,255,.06);
    border: 1px solid var(--hairline);
    border-bottom-left-radius: 6px;
}
.bot-avatar {
    flex: 0 0 auto;
    width: 24px; height: 24px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
}
.bot-text .line {
    display: block;
    height: 9px;
    border-radius: 5px;
    margin-top: 8px;
    background: rgba(255,255,255,.1);
}
.bot-text .l1 { width: 90%; }
.bot-text .l2 { width: 64%; }
.bubble.typing { padding: 12px 14px; }
.dots { display: inline-flex; align-items: center; gap: 5px; height: 24px; }
.dots i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--c-violet);
    animation: blink 1.4s infinite both;
}
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 6px 6px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--hairline);
}
.chat-input { flex: 1; font-size: 13px; color: var(--muted-2); }
.chat-send {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--grad);
    flex: 0 0 auto;
}

/* ---------- Sections ---------- */
.section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 80px 28px;
}
.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -.025em;
    text-align: center;
    margin-bottom: 14px;
}
.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    max-width: 36em;
    margin: 0 auto 48px;
}

/* ---------- Bento grid ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    position: relative;
    padding: 28px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--hairline);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.16);
    background: var(--card-hi);
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-lg {
    grid-column: span 2;
    grid-row: span 1;
}
.card-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 8px 22px rgba(200,146,245,.28);
}
.card h3 {
    position: relative;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}
.card p {
    position: relative;
    color: var(--muted);
    font-size: 15px;
}
.card-lg h3 { font-size: 24px; }
.card-lg p { font-size: 16px; max-width: 38em; }

/* ---------- Models ---------- */
.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}
.model-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: var(--card);
    border: 1px solid var(--hairline);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.model-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .18);
    background: var(--card-hi);
}
.model-logo {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .05);
}
.model-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.model-logo--bleed { padding: 0; }
.model-logo--bleed img { object-fit: cover; }
.model-info { display: flex; flex-direction: column; min-width: 0; }
.model-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
    line-height: 1.2;
}
.model-maker {
    font-size: 13px;
    color: var(--muted-2);
    margin-top: 2px;
}
.model-foot {
    text-align: center;
    color: var(--muted-2);
    font-size: 13px;
    margin-top: 26px;
}

/* ---------- Privacy band ---------- */
.privacy-band {
    position: relative;
    margin: 40px auto 0;
    max-width: var(--maxw);
    padding: 0 28px;
}
.privacy-inner {
    text-align: center;
    padding: 76px 32px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(200,146,245,.16), transparent 60%),
        var(--bg-2);
    border: 1px solid var(--hairline);
    overflow: hidden;
}
.privacy-kicker {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-violet);
    margin-bottom: 22px;
}
.privacy-statement {
    font-size: clamp(28px, 4.4vw, 50px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin-bottom: 22px;
}
.privacy-note {
    color: var(--muted);
    font-size: 17px;
    max-width: 40em;
    margin: 0 auto;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    background: var(--card);
    transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] {
    background: var(--card-hi);
    border-color: rgba(255, 255, 255, .16);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-chevron {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    transition: transform .28s ease;
}
.faq-chevron::before,
.faq-chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-violet);
    transition: transform .28s ease, opacity .28s ease;
}
.faq-chevron::before { left: 1px; transform: translateY(-50%) rotate(45deg); }
.faq-chevron::after  { right: 1px; transform: translateY(-50%) rotate(-45deg); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    padding: 0 24px 22px;
    color: var(--muted);
}
.faq-answer p { font-size: 15.5px; line-height: 1.65; }
.faq-answer a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.faq-answer a:hover { color: #9bbcff; }

/* ---------- Footer ---------- */
.footer {
    max-width: var(--maxw);
    margin: 90px auto 0;
    padding: 56px 28px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    border-top: 1px solid var(--hairline);
}
.footer-mark { opacity: .95; }
.footer-mark .brand-mark { height: 40px; width: 40px; }
.footer-mark .brand-name { font-size: 30px; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--ink); }
.footer-sep { color: var(--muted-2); opacity: .6; }
.footer-copy {
    color: var(--muted-2);
    font-size: 13.5px;
}
.footer-copy .footer-sep { margin: 0 4px; }
.footer-heart {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: normal;
}

/* ---------- Legal pages (terms / privacy) ---------- */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 28px 40px;
}
.legal-head { margin-bottom: 40px; }
.legal-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-violet);
    margin-bottom: 14px;
}
.legal-head h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.05;
    margin-bottom: 14px;
}
.legal-updated {
    color: var(--muted-2);
    font-size: 14px;
}
.legal-intro {
    color: var(--muted);
    font-size: 17px;
    margin: 22px 0 0;
}
.legal-body { color: var(--muted); }
.legal-body section { margin-top: 38px; }
.legal-body h2 {
    color: var(--ink);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 12px;
    scroll-margin-top: 90px;
}
.legal-body h2 .num {
    color: var(--c-violet);
    font-variant-numeric: tabular-nums;
    margin-right: 10px;
}
.legal-body h3 {
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    margin: 22px 0 8px;
}
.legal-body p { font-size: 15.5px; line-height: 1.65; margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.legal-body a {
    color: var(--c-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(110, 157, 245, .4);
}
.legal-body a:hover { text-decoration-color: var(--c-blue); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-callout {
    margin: 18px 0;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: var(--grad-soft);
    border: 1px solid var(--hairline);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.6;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 48px;
    font-size: 15px;
    color: var(--muted);
}
.legal-back:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 30px;
        gap: 56px;
    }
    .lede { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .card-lg { grid-column: span 2; }
    .model-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .nav-links { display: none; }
    h1 { font-size: clamp(24px, 6.7vw, 42px); }
    .bento { grid-template-columns: 1fr; }
    .card-lg { grid-column: span 1; }
    .section { padding: 60px 22px; }
    .privacy-inner { padding: 56px 22px; }
}
@media (max-width: 460px) {
    .model-grid { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blob, .phone, .dots i { animation: none; }
    html { scroll-behavior: auto; }
}
