:root {
    --bg: #0a0f1f;
    --bg-soft: #121a33;
    --card: rgba(14, 23, 46, 0.78);
    --text: #edf3ff;
    --muted: #a6b6d8;
    --brand: #28f0ff;
    --brand-2: #5cff95;
    --brand-3: #ff4ad8;
    --line: rgba(64, 133, 255, 0.42);
    --shadow: 0 16px 36px rgba(2, 8, 22, 0.46);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Rajdhani", sans-serif;
    background:
        radial-gradient(1200px 700px at -10% -10%, rgba(40, 240, 255, 0.18) 0%, transparent 55%),
        radial-gradient(950px 620px at 110% 15%, rgba(255, 74, 216, 0.16) 0%, transparent 50%),
        radial-gradient(640px 440px at 50% 120%, rgba(92, 255, 149, 0.18) 0%, transparent 58%),
        linear-gradient(145deg, #060914 0%, #0a1022 42%, #111c38 100%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-image:
        linear-gradient(rgba(40, 240, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 240, 255, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
    opacity: 0.45;
}

.bg-shape {
    position: fixed;
    z-index: -1;
    filter: blur(6px);
}

.bg-shape-a {
    width: 360px;
    height: 360px;
    left: -80px;
    top: 35%;
    background: linear-gradient(135deg, rgba(40, 240, 255, 0.34), rgba(92, 255, 149, 0.12));
    border-radius: 54% 46% 45% 55% / 44% 52% 48% 56%;
    animation: drift 14s ease-in-out infinite alternate;
}

.bg-shape-b {
    width: 430px;
    height: 430px;
    right: -120px;
    top: 6%;
    background: linear-gradient(130deg, rgba(255, 74, 216, 0.3), rgba(75, 119, 255, 0.12));
    border-radius: 44% 56% 69% 31% / 48% 38% 62% 52%;
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

.site-header,
main,
.site-footer {
    width: min(1120px, calc(100% - 2.3rem));
    margin: 0 auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0 0.7rem;
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: linear-gradient(120deg, rgba(8, 14, 30, 0.82), rgba(11, 18, 38, 0.6));
    border-bottom: 1px solid rgba(40, 240, 255, 0.3);
    z-index: 50;
}

.brand {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
    font-size: clamp(1rem, 2.3vw, 1.24rem);
    text-transform: uppercase;
    color: #dff5ff;
    text-shadow: 0 0 12px rgba(40, 240, 255, 0.55);
}

.hero {
    padding: clamp(2.2rem, 4vw, 4rem) 0 1.6rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--brand);
    font-weight: 800;
    letter-spacing: 2.2px;
    font-size: 0.83rem;
    text-shadow: 0 0 10px rgba(40, 240, 255, 0.45);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
}

h1 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(2rem, 6vw, 4.8rem);
    max-width: 15ch;
    color: #f5f9ff;
    text-shadow:
        0 0 14px rgba(40, 240, 255, 0.35),
        0 0 28px rgba(255, 74, 216, 0.2);
}

h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.7rem);
}

.lead {
    margin-top: 1rem;
    max-width: 65ch;
    color: var(--muted);
    font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    border-radius: 14px;
    padding: 0.72rem 1.15rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(40, 240, 255, 0.4), 0 14px 24px rgba(1, 8, 22, 0.55);
}

.btn-primary {
    background: linear-gradient(130deg, var(--brand), #4b77ff);
    color: #021022;
    border-color: rgba(40, 240, 255, 0.65);
    box-shadow: 0 0 18px rgba(40, 240, 255, 0.34);
}

.btn-secondary {
    border-color: rgba(255, 74, 216, 0.55);
    background: rgba(255, 74, 216, 0.12);
}

.btn-outline {
    border-color: rgba(40, 240, 255, 0.48);
    background: rgba(40, 240, 255, 0.08);
}

.btn-large {
    font-size: 1.05rem;
    padding: 0.9rem 1.4rem;
}

.stats {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.8rem;
}

.stats article {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 0.8rem 0.95rem;
    backdrop-filter: blur(8px);
}

.stats strong {
    display: block;
    font-family: "Orbitron", sans-serif;
    color: var(--brand-2);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(92, 255, 149, 0.5);
}

.stats span {
    color: var(--muted);
    font-size: 0.95rem;
}

.section-head {
    margin-bottom: 1.2rem;
}

.section-head p {
    max-width: 64ch;
    color: var(--muted);
}

.components {
    padding: 3rem 0 1rem;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0.95rem;
}

.component-card {
    background: linear-gradient(160deg, rgba(18, 30, 56, 0.92), rgba(13, 22, 44, 0.88));
    border: 1px solid rgba(70, 134, 255, 0.45);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 250px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.component-card:hover {
    transform: translateY(-3px);
    border-color: rgba(40, 240, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(40, 240, 255, 0.32), 0 16px 32px rgba(0, 7, 20, 0.62);
}

.component-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    border: 1px solid rgba(40, 240, 255, 0.35);
    background: radial-gradient(circle at 50% 30%, rgba(40, 240, 255, 0.2), rgba(8, 16, 34, 0.94));
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.component-thumb {
    object-fit: fill;
    height: 100%;
    padding: 0.4rem;
}

.component-tag {
    width: fit-content;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #021021;
    background: linear-gradient(130deg, var(--brand-2), #9dffb4);
    border-radius: 999px;
    padding: 0.3rem 0.58rem;
    box-shadow: 0 0 12px rgba(92, 255, 149, 0.38);
}

.component-card h3 {
    font-size: 1.16rem;
}

.component-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.component-card .actions {
    margin-top: auto;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.component-link {
    padding: 0.62rem 0.9rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.component-link.visit {
    background: rgba(40, 240, 255, 0.16);
    border: 1px solid rgba(40, 240, 255, 0.45);
}

.component-link.buy {
    background: linear-gradient(130deg, #4b77ff, var(--brand-3));
    color: #f8fbff;
    border: 1px solid rgba(255, 74, 216, 0.5);
}

.why {
    padding: 3.1rem 0 1.3rem;
}

.why-grid {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0.9rem;
}

.why article {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(64, 133, 255, 0.42);
    background: rgba(12, 20, 40, 0.82);
    box-shadow: var(--shadow);
}

.why h3 {
    margin-bottom: 0.45rem;
}

.why p {
    margin: 0;
    color: var(--muted);
}

.cta {
    margin: 2.4rem 0 2.7rem;
    border: 1px solid rgba(40, 240, 255, 0.65);
    background: linear-gradient(140deg, rgba(18, 32, 60, 0.9) 0%, rgba(16, 26, 50, 0.92) 45%, rgba(34, 20, 64, 0.84) 100%);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 4vw, 2rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg, rgba(40, 240, 255, 0.18), rgba(255, 74, 216, 0.18), rgba(92, 255, 149, 0.18), rgba(40, 240, 255, 0.18));
    filter: blur(28px);
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

.cta>* {
    position: relative;
    z-index: 1;
}

.cta p {
    color: var(--muted);
    max-width: 60ch;
    margin: 0.7rem auto 1.1rem;
}

.site-footer {
    padding: 1.2rem 0 1.9rem;
    color: #90a2c8;
    font-size: 0.93rem;
}

.small-note {
    opacity: 0.85;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes drift {
    from {
        transform: translateY(-12px) rotate(-2deg);
    }

    to {
        transform: translateY(20px) rotate(3deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.07);
    }
}

@media (max-width: 980px) {

    .components-grid,
    .why-grid {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 680px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .stats,
    .components-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}