* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #07090f;
    --bg-alt: #0d1119;
    --card: #131826;
    --text: #e8ecf4;
    --muted: #8b93a7;
    --accent: #6c5ce7;
    --accent2: #00d2ff;
    --radius: 14px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(7, 9, 15, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.logo span {
    color: var(--accent2);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .95rem;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, .35), transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: var(--muted);
    max-width: 540px;
    margin: 20px auto 32px;
    font-size: 1.15rem;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    flex-wrap: wrap;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stats span {
    color: var(--muted);
    font-size: .9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #8e7cf3);
    color: #fff;
    padding: 12px 26px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: transform .15s, box-shadow .15s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, .4);
}

.btn-lg {
    padding: 15px 34px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: .9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
}

/* Sections */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 90px 24px;
}

.section-alt {
    background: var(--bg-alt);
    max-width: none;
}

.section-alt>* {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s, border-color .2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, .5);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: .95rem;
}

/* Pricing */
.price-card {
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(108, 92, 231, .2);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 3px 14px;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 700;
}

.price {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 14px 0;
}

.price span {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin: 0 0 24px;
    color: var(--muted);
}

.price-card li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

/* Chat */
.chat-box {
    max-width: 640px;
    margin: auto;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    overflow: hidden;
}

.chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 11px 16px;
    border-radius: 14px;
    font-size: .95rem;
}

.msg-ai {
    background: rgba(255, 255, 255, .07);
    align-self: flex-start;
}

.msg-user {
    background: var(--accent);
    align-self: flex-end;
}

.msg-typing {
    color: var(--muted);
    font-style: italic;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.chat-input input {
    flex: 1;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 99px;
    padding: 11px 18px;
    color: var(--text);
    outline: none;
}

/* Contact */
.contact-form {
    max-width: 520px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text);
    font-family: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.status {
    text-align: center;
    min-height: 1.4em;
    color: var(--accent2);
}

.footer {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-alt);
        padding: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}