:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #a1a1aa;
    --primary-gradient: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    --accent-glow: rgba(253, 29, 29, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

button {
    font: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1002;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 8px;
    flex-shrink: 0;
}

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

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

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

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.hero-visual {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.phone-mockup {
    width: 100%;
    max-width: 280px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.phone-mockup svg {
    width: 100%;
    height: auto;
    display: block;
}

.glow {
    position: absolute;
    width: 340px;
    height: 340px;
    background: var(--primary-gradient);
    filter: blur(90px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Value Bar */
.value-bar {
    position: relative;
    z-index: 5;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.value-bar-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Features */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(253, 29, 29, 0.3);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fd1d1d;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step {
    text-align: center;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: -2rem;
    display: block;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding-bottom: 1.5rem;
}

/* CTA */
.final-cta {
    text-align: center;
    background: radial-gradient(circle at center, var(--accent-glow), transparent);
}

.final-cta h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.875rem;
    gap: 1rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        min-height: auto;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 0.5rem 0;
        backdrop-filter: blur(18px);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.95rem 1.25rem;
        touch-action: manipulation;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }

    .final-cta h2 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .phone-mockup {
        max-width: 220px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1.05rem;
    }
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}