:root {
    --background: #1d1230;
    --foreground: #ebe7f1;
    --card: #25183a;
    --primary: #9f6be0;
    --highlight: #bb76e8;
    --muted: #8a7d9f;
    --border: #3b2b56;
    --surface: rgba(37, 24, 58, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}

h1, h2, h3 {
    margin: 0;
    font-family: "Space Grotesk", Inter, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 100% - 48px);
    margin-inline: auto;
}

.section-spacing {
    padding: 96px 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    background: var(--surface);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    height: 48px;
    width: auto;
    max-height: 48px;
    display: block;
}

.logo-text {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    color: var(--muted);
    transition: color .2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: var(--primary);
}

.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 14px 26px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: .2s ease;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    color: #fff;
}

.desktop-nav .btn-primary,
.mobile-nav .btn-primary,
a.btn-primary {
    color: #fff !important;
}

.btn-primary:hover {
    opacity: .9;
}

.btn-outline {
    border-color: var(--border);
}

.btn-outline:hover {
    background: #2d1e47;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: .2s ease;
}

.mobile-nav {
    display: none;
    padding: 0 24px 18px;
    border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 18, 48, .6) 0%, rgba(29, 18, 48, .4) 50%, var(--background) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 130px 0 64px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-content h1 {
    max-width: 900px;
    margin: 0 auto 18px;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    max-width: 760px;
    margin: 0 auto 36px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat strong {
    display: block;
    color: var(--primary);
    font-size: clamp(28px, 3.2vw, 44px);
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(30px, 4vw, 56px);
    margin-bottom: 10px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

.products-section {
    background: linear-gradient(180deg, var(--background) 0%, rgba(49, 34, 74, .4) 50%, var(--background) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.product-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin: 0 0 8px;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(159, 107, 224, .18);
    color: var(--primary);
    margin-bottom: 16px;
}

.icon-box svg {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    display: block;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-box-highlight {
    background: rgba(187, 118, 232, .2);
    color: var(--highlight);
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 30px;
}

.product-card p {
    color: #c9bfda;
}

.product-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.product-card li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
    color: #dcd3e9;
    font-size: 15px;
}

.product-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.product-card-featured {
    box-shadow: 0 0 26px -10px rgba(159, 107, 224, .55);
}

.product-badge {
    position: absolute;
    top: -12px;
    left: 28px;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: var(--highlight);
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.process-item {
    border-radius: 12px;
    padding: 20px;
    border: 1px solid transparent;
    transition: .2s ease;
}

.process-item:hover {
    border-color: var(--border);
    background: rgba(59, 43, 86, .24);
}

.process-item > span {
    display: inline-block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-left: .5rem;
}

.process-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: rgba(159, 107, 224, .14);
    color: var(--primary);
}

.process-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: block;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.process-item h3 {
    margin: 4px 0 6px;
    font-size: 22px;
}

.process-item p {
    margin: 0;
    color: var(--muted);
}

.cta-box {
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 72px 20px;
    background: radial-gradient(circle at 10% 20%, rgba(159, 107, 224, .18), transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(187, 118, 232, .14), transparent 40%),
                var(--surface);
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(30px, 4vw, 56px);
    margin-bottom: 16px;
}

.cta-box p {
    max-width: 680px;
    margin: 0 auto 30px;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 32px;
}

.footer-links {
    display: flex;
    gap: 18px;
    color: var(--muted);
}

.footer-wrap p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .products-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-stats,
    .products-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .section-spacing {
        padding: 76px 0;
    }
}
