/* ── ARISEE landing — v3 ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #06080f;
    --bg-elevated: #0c101c;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.055);
    --border: rgba(122, 214, 255, 0.14);
    --border-strong: rgba(167, 139, 250, 0.35);
    --text: #e8edf7;
    --muted: #94a3b8;
    --muted-dim: #64748b;
    --accent-a: #5eead4;
    --accent-b: #a78bfa;
    --accent-c: #fb7185;
    --glow-a: rgba(94, 234, 212, 0.12);
    --glow-b: rgba(167, 139, 250, 0.14);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

body > * { position: relative; z-index: 1; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
    background: linear-gradient(125deg, var(--accent-a) 0%, var(--accent-b) 45%, var(--accent-c) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Rebrand lockup ── */
.nav-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-brand-retired {
    position: relative;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-dim);
}

.nav-brand-retired .strike-word {
    position: relative;
    display: inline-block;
}

.nav-brand-retired .strike-word::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-c), transparent);
    transform: translateY(-50%) rotate(-10deg);
    border-radius: 2px;
    opacity: 0.95;
}

.nav-brand-main {
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, #fff 30%, #c4f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 8px;
}

.hero-retired-name {
    position: relative;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 5vw, 42px);
    color: rgba(148, 163, 184, 0.55);
    letter-spacing: 0.02em;
}

.hero-retired-name span {
    position: relative;
    display: inline-block;
}

.hero-retired-name span::before {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    top: 52%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-c), var(--accent-b), transparent);
    transform: translateY(-50%) rotate(-7deg);
    box-shadow: 0 0 16px rgba(251, 113, 133, 0.35);
}

.hero-brand-arrow {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(36px, 8vw, 56px);
    line-height: 1;
    background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: risePulse 2.8s ease-in-out infinite;
}

@keyframes risePulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-6px); opacity: 0.85; }
}

.hero-brand-new {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(52px, 11vw, 92px);
    line-height: 1;
    letter-spacing: -0.04em;
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(6, 8, 15, 0.72);
    backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.25), rgba(167, 139, 250, 0.35));
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(94, 234, 212, 0.15), 0 4px 24px rgba(167, 139, 250, 0.2);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    padding-top: 112px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 100% 80% at 15% 20%, var(--glow-b), transparent 55%),
        radial-gradient(ellipse 80% 60% at 85% 70%, var(--glow-a), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(251, 113, 133, 0.06), transparent),
        var(--bg-deep);
}

.hero::before {
    content: "";
    position: absolute;
    width: 140%;
    height: 60%;
    top: -10%;
    left: -20%;
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.07) 0%, transparent 65%);
    pointer-events: none;
    animation: meshShift 20s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

@keyframes meshShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-3%, 4%) scale(1.03); }
}

.hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.hero-text { flex: 1; min-width: 0; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-a);
    border: 1px solid rgba(94, 234, 212, 0.35);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
    background: rgba(94, 234, 212, 0.06);
}

.hero-tag .tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-a);
    box-shadow: 0 0 12px var(--accent-a);
    animation: tagBlink 2s ease-in-out infinite;
}

@keyframes tagBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.hero-title-block {
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

.hero-text .hero-lead {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 18px;
    color: #b8c5d9;
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.btn-appstore {
    display: inline-block;
    transition: transform 0.25s, box-shadow 0.25s;
    border-radius: 14px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.btn-appstore:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(94, 234, 212, 0.12);
}

.btn-appstore img { display: block; border-radius: 10px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 22px;
}

.stat { text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    color: #fff;
    font-weight: 700;
}

.stat small { font-size: 12px; color: var(--muted-dim); text-transform: uppercase; letter-spacing: 0.06em; }

.stat-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.35), transparent);
}

/* ── Phone ── */
.hero-device {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    filter:
        drop-shadow(0 40px 80px rgba(94, 234, 212, 0.12))
        drop-shadow(0 24px 48px rgba(167, 139, 250, 0.15))
        drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
    animation: phoneFloat 7s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

.phone-bezel {
    width: 280px;
    height: 560px;
    background: linear-gradient(165deg, #2d323f 0%, #12151f 50%, #0a0c12 100%);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        var(--shadow-soft);
    position: relative;
    padding: 14px;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 26px;
    background: var(--bg-deep);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 26px;
    left: 14px;
    right: 14px;
    bottom: 34px;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-home {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

/* ── Features ── */
.features {
    padding: 128px 0;
    background:
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(167, 139, 250, 0.06), transparent),
        var(--bg-elevated);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 17px;
    max-width: 540px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

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

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(94, 234, 212, 0.35), transparent 40%, rgba(167, 139, 250, 0.25));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(167, 139, 250, 0.08);
}

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

.card-icon {
    font-size: 30px;
    margin-bottom: 18px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(167, 139, 250, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.card,
.contact-card,
.cta-card {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.75s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.11s; }
.card:nth-child(3) { animation-delay: 0.17s; }
.card:nth-child(4) { animation-delay: 0.23s; }
.card:nth-child(5) { animation-delay: 0.29s; }
.card:nth-child(6) { animation-delay: 0.35s; }

.cta-card { animation-delay: 0.15s; }

.contact-card:nth-child(1) { animation-delay: 0.05s; }
.contact-card:nth-child(2) { animation-delay: 0.11s; }
.contact-card:nth-child(3) { animation-delay: 0.17s; }

.hero-text {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.85s ease forwards 0.08s;
}

.hero-device {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.9s ease forwards 0.22s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── CTA ── */
.cta { padding: 48px 0 112px; }

.cta-card {
    text-align: center;
    padding: 80px 44px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 90% 80% at 50% 120%, rgba(94, 234, 212, 0.12), transparent),
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(167, 139, 250, 0.1), transparent),
        var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.cta-card p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 40px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.btn-appstore-lg { display: inline-block; }

/* ── Contact ── */
.contact {
    padding: 108px 0;
    border-top: 1px solid var(--border);
}

.contact .section-heading { margin-bottom: 16px; }
.contact .section-sub { margin-bottom: 52px; }

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 40px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-icon { font-size: 30px; margin-bottom: 16px; }

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.contact-card p { font-size: 14px; color: var(--muted); }

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

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-links a {
    color: var(--muted-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-copy { font-size: 13px; color: var(--muted-dim); }

.footer .nav-brand-retired { font-size: 10px; }
.footer .nav-brand-main { font-size: 20px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 48px;
    }

    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { align-items: center; }
    .hero-stats { justify-content: center; }

    .hero-brand-row {
        justify-content: center;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .nav-links a:not(.nav-cta) { display: none; }

    .hero-text .hero-lead { font-size: 32px; }

    .hero-brand-new {
        font-size: clamp(48px, 14vw, 72px);
    }

    .phone-bezel {
        width: 230px;
        height: 460px;
    }

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

    .cta-card { padding: 56px 24px; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
