/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e2e8f0;
    background: #0b0f1a;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ── */
.gradient-text {
    background: linear-gradient(135deg, #7c6cf0 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124, 108, 240, 0.12);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
    height: 64px;
}
.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700; font-size: 20px;
    color: #fff; text-decoration: none;
}
.nav-logo span { color: #c084fc; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
    color: #94a3b8; 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, #7c6cf0, #c084fc);
    color: #fff !important; padding: 8px 20px;
    border-radius: 999px; font-weight: 600 !important; font-size: 13px !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124, 108, 240, 0.4);
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    padding-top: 96px; /* clear fixed nav */
    display: flex;
    align-items: center;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(124, 108, 240, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 40%, rgba(192, 132, 252, 0.08), transparent),
        #0b0f1a;
    overflow: hidden;
}

/* extra floating glow orbs in hero */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: heroGlowDrift 18s linear infinite;
}

.hero::before {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(124, 108, 240, 0.7), transparent 70%);
    top: 10%;
    left: -6%;
}

.hero::after {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.7), transparent 70%);
    bottom: -8%;
    right: -4%;
    animation-delay: -9s;
}

@keyframes heroGlowDrift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(20px, -20px, 0) scale(1.06); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
    width: 100%;
}
.hero-text { flex: 1; min-width: 0; }
.hero-tag {
    display: inline-block;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.12em; color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.3);
    padding: 6px 14px; border-radius: 999px;
    margin-bottom: 24px;
}
.hero-text h1 {
    font-size: clamp(44px, 6.2vw, 68px);
    font-weight: 700; line-height: 1.08;
    color: #fff; margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-desc {
    font-size: 18px;
    color: #cbd5f5;
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.btn-appstore {
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
}
.btn-appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.btn-appstore img { display: block; border-radius: 8px; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 18px; color: #fff; font-weight: 700; }
.stat small { font-size: 12px; color: #64748b; }
.stat-divider { width: 1px; height: 32px; background: rgba(148, 163, 184, 0.2); }

/* ── Phone ── */
.hero-device {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}
.phone {
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(124, 108, 240, 0.18))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
    animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.phone-bezel {
    width: 270px;
    height: 540px;
    background: linear-gradient(160deg, #2a2a2e, #111113);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    padding: 12px;
}
.phone-notch {
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 22px;
    background: #0b0f1a; border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone-screen {
    position: absolute;
    top: 22px;
    left: 12px;
    right: 12px;
    bottom: 32px;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
}
.phone-screen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.phone-home {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

/* ── Features ── */
.features {
    padding: 120px 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 108, 240, 0.06), transparent),
        #0b0f1a;
}
.section-heading {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700; color: #fff;
    text-align: center; margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: #9ca3af;
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 108, 240, 0.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 108, 240, 0.3);
    box-shadow: 0 12px 40px rgba(124, 108, 240, 0.1);
}
.card-icon {
    font-size: 32px; margin-bottom: 16px;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(124, 108, 240, 0.08);
    border-radius: 14px;
}
.card h3 {
    font-size: 17px; font-weight: 600; color: #fff;
    margin-bottom: 8px;
}
.card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
/* subtle card entrance */
.card,
.contact-card,
.cta-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
}
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }
.card:nth-child(4) { animation-delay: 0.26s; }
.card:nth-child(5) { animation-delay: 0.33s; }
.card:nth-child(6) { animation-delay: 0.40s; }
.cta-card { animation-delay: 0.15s; }
.contact-card:nth-child(1) { animation-delay: 0.05s; }
.contact-card:nth-child(2) { animation-delay: 0.12s; }
.contact-card:nth-child(3) { animation-delay: 0.19s; }

/* hero entrance */
.hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.1s;
}
.hero-device {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s ease forwards 0.25s;
}

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

/* ── CTA ── */
.cta { padding: 40px 0 100px; }
.cta-card {
    text-align: center;
    padding: 72px 40px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 80% 70% at 50% 100%, rgba(124, 108, 240, 0.15), transparent),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 108, 240, 0.15);
}
.cta-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700; color: #fff; margin-bottom: 12px;
}
.cta-card p {
    color: #94a3b8; font-size: 16px; margin-bottom: 36px;
    max-width: 420px; margin-left: auto; margin-right: auto;
}
.btn-appstore-lg { display: inline-block; }

/* ── Contact ── */
.contact {
    padding: 100px 0;
    border-top: 1px solid rgba(124, 108, 240, 0.08);
}
.contact .section-heading { margin-bottom: 12px; }
.contact .section-sub { margin-bottom: 48px; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.contact-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; text-decoration: none; color: inherit;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(124, 108, 240, 0.1);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 108, 240, 0.3);
    box-shadow: 0 12px 40px rgba(124, 108, 240, 0.1);
}
.contact-icon { font-size: 28px; margin-bottom: 14px; }
.contact-card h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: #94a3b8; }

/* ── Footer ── */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(124, 108, 240, 0.08);
}
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: #64748b; text-decoration: none; font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #e2e8f0; }
.footer-copy { font-size: 13px; color: #475569; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions {
        align-items: center;
    }
    .hero-stats { 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 h1 { font-size: 34px; }
    .phone-bezel { width: 220px; height: 440px; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-card { padding: 48px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
