@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --bg: #07070a;
    --card: rgba(255, 255, 255, 0.045);
    --card-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #f7f7f8;
    --muted: #9696a3;
    --muted-2: #666672;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --blue: #6366f1;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(124, 58, 237, 0.13),
            transparent 35%
        ),
        var(--bg);

    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}

body::before {
    content: '';

    position: fixed;
    inset: 0;

    pointer-events: none;
    opacity: 0.35;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.12) 0.7px,
            transparent 0.7px
        );

    background-size: 28px 28px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 65%
    );

    z-index: -2;
}

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

button,
input {
    font: inherit;
}

.ambient {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(130px);

    pointer-events: none;
    opacity: 0.09;

    z-index: -1;
}

.ambient-one {
    top: 100px;
    left: -250px;
    background: var(--purple);
}

.ambient-two {
    top: 600px;
    right: -300px;
    background: var(--blue);
}

.navbar {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    height: 78px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;

    flex-shrink: 0;
}

.brand-icon {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border-radius: 9px;
    overflow: hidden;

    box-shadow:
        0 0 25px rgba(139, 92, 246, 0.25);
}

.brand-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
    margin-right: 35px;
}

.nav-links a {
    color: var(--muted);
    font-size: 12px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 14px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.04);

    font-size: 11px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.hero {
    position: relative;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;

    padding: 120px 0 100px;

    text-align: center;
}

.hero-glow {
    position: absolute;

    width: 700px;
    height: 350px;

    top: 40px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(124, 58, 237, 0.2),
            transparent 70%
        );

    filter: blur(25px);
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 11px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.035);

    color: var(--muted);
    font-size: 10px;

    backdrop-filter: blur(10px);
}

.pulse {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow:
        0 0 10px rgba(139, 92, 246, 0.8);

    animation: pulse 2s infinite;
}

.badge-arrow {
    color: var(--muted-2);
}

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

    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

.hero h1 {
    max-width: 950px;

    margin: 30px auto 0;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: clamp(
        48px,
        7vw,
        82px
    );

    font-weight: 800;

    line-height: 1.04;
    letter-spacing: -4px;
}

.hero h1 span,
.features h2 span,
.docs-cta h2 span,
.invite-copy h2 span {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            #ffffff,
            #a78bfa 55%,
            #6366f1
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.hero-text {
    max-width: 650px;

    margin: 25px auto 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 17px;

    border-radius: 9px;

    font-size: 11px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.primary-button {
    background:
        linear-gradient(
            135deg,
            #9b75f7,
            #6d5ce7
        );

    color: white;

    box-shadow:
        0 8px 30px rgba(124, 58, 237, 0.2);
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(124, 58, 237, 0.3);
}

.secondary-button {
    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.035);

    color: var(--muted);
}

.secondary-button:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.06);

    color: var(--text);
}

.hero-preview {
    width: min(
        900px,
        100%
    );

    margin: 80px auto 0;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.02)
        );

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(124, 58, 237, 0.08);

    text-align: left;

    backdrop-filter: blur(20px);

    transform:
        perspective(1000px)
        rotateX(2deg);
}

.preview-top {
    height: 45px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    padding: 0 15px;

    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.025);
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);
}

.preview-title {
    text-align: center;

    color: var(--muted);
    font-size: 9px;
}

.preview-content {
    display: grid;
    grid-template-columns: 65px 1fr;

    min-height: 320px;
}

.preview-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;

    gap: 12px;

    padding: 18px 0;

    border-right: 1px solid var(--border);
}

.preview-sidebar-logo {
    width: 25px;
    height: 25px;

    overflow: hidden;

    margin-bottom: 10px;

    border-radius: 7px;
}

.preview-sidebar-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.preview-sidebar-line {
    width: 25px;
    height: 25px;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.045);
}

.preview-sidebar-line.active {
    background: rgba(139, 92, 246, 0.25);

    box-shadow:
        0 0 15px rgba(139, 92, 246, 0.1);
}

.preview-main {
    padding: 35px;
}

.preview-heading {
    display: flex;
    justify-content: space-between;

    margin-bottom: 25px;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: 15px;
    font-weight: 700;
}

.preview-heading small {
    color: var(--muted-2);

    font-family: 'DM Sans', sans-serif;

    font-size: 9px;
    font-weight: 400;
}

.preview-command {
    display: flex;
    justify-content: space-between;

    padding: 15px;

    margin-top: 9px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.preview-command:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--border-hover);
}

.preview-command div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.preview-command strong {
    font-size: 10px;
}

.preview-command span {
    color: var(--muted-2);
    font-size: 8px;
}

.invite-section {
    position: relative;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    overflow: hidden;

    margin: 0 auto 20px;

    padding: 38px 42px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            120deg,
            rgba(139, 92, 246, 0.09),
            rgba(255, 255, 255, 0.025) 55%,
            rgba(99, 102, 241, 0.07)
        );

    box-shadow:
        0 20px 70px rgba(0, 0, 0, 0.2);
}

.invite-glow {
    position: absolute;

    width: 300px;
    height: 180px;

    right: -100px;
    top: -100px;

    border-radius: 50%;

    background: var(--purple);

    filter: blur(90px);
    opacity: 0.18;

    pointer-events: none;
}

.invite-content {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.invite-copy {
    max-width: 700px;
}

.invite-copy h2 {
    margin-top: 8px;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: clamp(
        26px,
        4vw,
        42px
    );

    line-height: 1.1;
    letter-spacing: -1.8px;
}

.invite-copy p {
    max-width: 650px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.7;
}

.invite-action {
    min-width: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 9px;
}

.invite-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    padding: 13px 18px;

    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #9b75f7,
            #6d5ce7
        );

    color: white;

    font-size: 11px;
    font-weight: 600;

    box-shadow:
        0 10px 30px rgba(124, 58, 237, 0.22);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.invite-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(124, 58, 237, 0.32);
}

.invite-note {
    color: var(--muted-2);
    font-size: 8px;
}

.trusted-section {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;

    padding: 20px 0 80px;

    text-align: center;

    color: var(--muted-2);

    font-size: 9px;
    letter-spacing: 2px;
}

.features {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;

    padding: 80px 0;
}

.section-intro {
    max-width: 650px;
    margin-bottom: 45px;
}

.small-label {
    color: var(--purple-light);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.features h2 {
    margin-top: 12px;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: clamp(
        32px,
        4vw,
        46px
    );

    line-height: 1.1;
    letter-spacing: -2px;
}

.section-intro p {
    margin-top: 15px;

    color: var(--muted);
    font-size: 13px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.feature-card {
    position: relative;

    min-height: 230px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    border-color: var(--border-hover);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );
}

.feature-large {
    grid-column: span 2;
}

.feature-number {
    margin-bottom: auto;
    color: var(--muted-2);
    font-size: 9px;
}

.feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
}

.feature-card p {
    max-width: 450px;

    margin-top: 9px;

    color: var(--muted);
    font-size: 11px;
}

.feature-decoration {
    position: absolute;

    right: 30px;
    bottom: 30px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    opacity: 0.6;
}

.feature-decoration span {
    padding: 7px 10px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: rgba(139, 92, 246, 0.07);

    color: var(--purple-light);
    font-size: 9px;
}

.docs-cta {
    position: relative;

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    overflow: hidden;

    margin: 100px auto;

    padding: 80px 30px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(124, 58, 237, 0.14),
            transparent 50%
        ),
        rgba(255, 255, 255, 0.025);

    text-align: center;
}

.cta-glow {
    position: absolute;

    width: 400px;
    height: 200px;

    left: 50%;
    bottom: -150px;

    transform: translateX(-50%);

    background: var(--purple);

    filter: blur(100px);
    opacity: 0.2;
}

.docs-cta h2 {
    position: relative;

    margin-top: 12px;

    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: clamp(
        32px,
        5vw,
        55px
    );

    line-height: 1.05;
    letter-spacing: -2px;
}

.docs-cta p {
    position: relative;

    margin: 15px auto 25px;

    color: var(--muted);
    font-size: 12px;
}

.docs-cta .primary-button {
    position: relative;
}

footer {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: auto;

    padding: 28px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: var(--muted-2);
    font-size: 9px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--text);
}

.footer-brand .brand-icon {
    width: 24px;
    height: 24px;

    border-radius: 7px;
    overflow: hidden;
}

.footer-brand .brand-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.footer-description {
    color: var(--muted-2);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-links a {
    color: var(--muted-2);

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

@media (max-width: 850px) {

    .nav-links {
        margin-right: 0;
        gap: 20px;
    }

    .nav-button {
        display: none;
    }

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

    .feature-large {
        grid-column: span 2;
    }

    .invite-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .invite-action {
        width: 220px;
    }

    .footer-left {
        gap: 10px;
    }

    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 650px) {

    .navbar {
        width: min(
            calc(100% - 30px),
            var(--max-width)
        );
    }

    .nav-links {
        gap: 12px;
        margin-left: 15px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .nav-links a:first-child {
        display: none;
    }

    .hero {
        padding-top: 85px;
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

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

    .hero-actions a {
        width: 100%;
    }

    .hero-preview {
        margin-top: 55px;
    }

    .preview-main {
        padding: 20px;
    }

    .preview-content {
        grid-template-columns: 45px 1fr;
    }

    .invite-section {
        width: min(
            calc(100% - 30px),
            var(--max-width)
        );

        padding: 30px 24px;
    }

    .invite-action {
        width: 100%;
    }

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

    .feature-large {
        grid-column: auto;
    }

    .feature-decoration {
        display: none;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}
