:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
}

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

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

/* Background elements */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 100;
}

.blob-glow {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

/* Navbar */
.navbar {
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: distance;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--text-main);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #fff;
}

.cta-button-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.store-icon {
    width: 20px;
    height: 20px;
}

.cta-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border: 8px solid #222;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.card-1 {
    top: 20%;
    right: -20px;
    animation: float 5s ease-in-out infinite;
}

.card-2 {
    bottom: 30%;
    left: -40px;
    animation: float 7s ease-in-out infinite;
}

.card-3 {
    top: 50%;
    right: -40px;
    animation: float 6s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.link-group a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        margin: 0 auto 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2rem;
    }
}