/* ─── DESIGN SYSTEM ─── */


.logo-img {
    width: 32px;
    height: 32px;
    border-radius:0;
    object-fit: cover;
    box-shadow:none;
}

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

html { scroll-behavior: smooth; }

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

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

.orb {
    position: fixed;
    border-radius:0;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--glass); top: -200px; left: -150px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--glass); top: 30%; right: -200px; animation-delay: 3s; }
.orb-3 { width: 400px; height: 400px; background: var(--glass); bottom: 10%; left: 20%; animation-delay: 6s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
    font-family:var(--font);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--logo-primary); }

.nav-cta {
    background: var(--logo-primary);
    color: var(--fg) !important;
    padding: 0.65rem 1.6rem;
    border-radius:0;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.nav-cta:hover { background: var(--fg) !important; transform: translateY(-2px); box-shadow:none; }

/* ─── SECTIONS ─── */
.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size:14px;
    font-weight: 700;
    color: var(--logo-secondary);
    text-transform:none;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-family:var(--font);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 4rem;
}

/* ─── COMPONENTS ─── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--logo-primary);
    font-size:14px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius:0;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    text-transform:none;
}

.waitlist-form {
    display: flex;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius:0;
    padding: 0.4rem 0.4rem 0.4rem 1.75rem;
    width: 100%;
    max-width: 480px;
    transition: all 0.3s;
}
.waitlist-form:focus-within { border-color: var(--logo-primary); background: var(--glass); box-shadow:none; }

.waitlist-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family:var(--font);
    font-size: 1rem;
}

.waitlist-btn {
    background: var(--logo-primary);
    color: var(--fg);
    border: none;
    border-radius:0;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.waitlist-btn:hover { background: var(--fg); transform: scale(1.02); }

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.85rem 1.75rem;
    border-radius:0;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 999;
    box-shadow:none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── FOOTER ─── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    background: var(--glass);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--logo-primary); }

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

/* [FEAT CARD] */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feat-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius:0;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feat-card:hover { border-color: var(--border); transform: translateY(-5px); box-shadow:none; }

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius:0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feat-title {
    font-family:var(--font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feat-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* [TESTI CARD] */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testi-card {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius:0;
    padding: 1.75rem;
    transition: all 0.3s;
}
.testi-card:hover { border-color: var(--border); }

/* [PHONE MOCKUP] */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: var(--fg);
    border: 8px solid var(--fg);
    border-radius:0;
    box-shadow:none;
    overflow: hidden;
    margin: 0 auto;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--fg);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    padding: 2.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.phone-screen::-webkit-scrollbar { display: none; }

.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.phone-app-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius:0;
    padding: 1rem;
}

/* [SCROLL ANIMATIONS] */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Only hide if JS is confirmed to be working */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(40px);
}

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

@media (max-width: 992px) {
    .features-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid, .testi-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; align-items: center; }
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .steps-wrapper { flex-direction: column-reverse; gap: 3rem !important; }
    .hero-wrapper { flex-direction: column; text-align: center !important; gap: 4rem !important; }
    .hero-text-content { max-width: 100% !important; }
}
