/* =========================================================
   AUTHFORGE LANDING PAGE
   ========================================================= */

:root {
    --bg: #070810;
    --bg-soft: #0c0e19;
    --card: rgba(255, 255, 255, 0.045);
    --card-hover: rgba(255, 255, 255, 0.07);

    --text: #f7f7fb;
    --text-soft: #a7a9b8;
    --text-muted: #727587;

    --border: rgba(255, 255, 255, 0.09);

    --primary: #7567ff;
    --primary-light: #9d93ff;
    --cyan: #49d9ff;
    --pink: #e966ff;

    --max-width: 1180px;
    --radius: 22px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(117, 103, 255, 0.11),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(73, 217, 255, 0.07),
            transparent 25%
        ),
        var(--bg);

    color: var(--text);
    line-height: 1.6;

    overflow-x: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.section-label {
    display: inline-block;

    margin-bottom: 18px;

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

    letter-spacing: 0.16em;

    color: var(--primary-light);
}

.section-heading {
    max-width: 680px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;

    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--text-soft);

    font-size: 17px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;

    background: rgba(7, 8, 16, 0.72);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-content {
    min-height: 74px;

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

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

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

    letter-spacing: -0.02em;
}

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

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--cyan),
            var(--primary),
            var(--pink)
        );

    color: white;

    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 0 30px rgba(117, 103, 255, 0.25);
}

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

    gap: 30px;
}

.nav-links > a {
    color: var(--text-soft);

    font-size: 14px;

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

.nav-links > a:hover {
    color: white;
}

.nav-buy {
    padding: 10px 17px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

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

    color: white !important;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 850px;

    display: flex;
    align-items: center;

    padding: 150px 0 100px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    top: 74px;
    left: 50%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            transparent,
            rgba(255, 255, 255, 0.07),
            transparent
        );
}

.hero::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.055),
            transparent
        );
}

.hero-content {
    position: relative;

    z-index: 5;

    text-align: center;
}

.hero-glow {
    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.14;

    pointer-events: none;
}

.glow-one {
    top: 50px;
    left: -200px;

    background: var(--primary);
}

.glow-two {
    right: -180px;
    bottom: 20px;

    background: var(--cyan);
}

.badge {
    display: inline-flex;

    padding: 8px 13px;

    margin-bottom: 30px;

    border: 1px solid rgba(157, 147, 255, 0.22);
    border-radius: 100px;

    background: rgba(117, 103, 255, 0.07);

    color: var(--primary-light);

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

    letter-spacing: 0.13em;
}

.hero h1 {
    max-width: 970px;

    margin: 0 auto;

    font-size: clamp(52px, 7vw, 90px);
    line-height: 0.98;

    letter-spacing: -0.065em;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #a9a4ff,
            #67d9ff
        );

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

    color: transparent;
}

.hero-description {
    max-width: 700px;

    margin: 32px auto 0;

    color: var(--text-soft);

    font-size: clamp(16px, 2vw, 19px);
}

.hero-buttons {
    margin-top: 40px;

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

    gap: 12px;

    flex-wrap: wrap;
}

.button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 650;

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

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

.button-primary {
    background:
        linear-gradient(
            135deg,
            #7869ff,
            #6254eb
        );

    box-shadow:
        0 14px 40px rgba(117, 103, 255, 0.25);

    color: white;
}

.button-primary:hover {
    box-shadow:
        0 18px 50px rgba(117, 103, 255, 0.36);
}

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

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

    color: var(--text-soft);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.07);

    color: white;
}

.tech-list {
    margin-top: 48px;

    display: flex;
    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.tech-list span {
    padding: 6px 11px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 7px;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   PRODUCT PREVIEW
   ========================================================= */

.preview-section {
    position: relative;

    padding: 120px 0;
}

.main-preview {
    position: relative;

    padding: 10px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.35);
}

.main-preview::before {
    content: "";

    position: absolute;

    z-index: -1;

    inset: 15%;

    background: var(--primary);

    filter: blur(100px);

    opacity: 0.12;
}

.preview-placeholder {
    min-height: 560px;

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

    gap: 10px;

    border-radius: 19px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(117, 103, 255, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(73, 217, 255, 0.11),
            transparent 30%
        ),
        #0b0d18;

    color: var(--text-soft);
}

.preview-placeholder span {
    color: var(--primary-light);

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

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.preview-placeholder strong {
    color: white;

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

.preview-placeholder small {
    color: var(--text-muted);
}


/* =========================================================
   FEATURES
   ========================================================= */

.features-section {
    padding: 120px 0;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.feature-card {
    position: relative;

    min-height: 245px;

    padding: 30px;

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

    background: var(--card);

    overflow: hidden;

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

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

    background: var(--card-hover);

    border-color: rgba(157, 147, 255, 0.22);
}

.feature-card::after {
    content: "";

    position: absolute;

    right: -60px;
    bottom: -60px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: var(--primary);

    filter: blur(60px);

    opacity: 0;

    transition: opacity 0.25s ease;
}

.feature-card:hover::after {
    opacity: 0.12;
}

.feature-number {
    display: block;

    margin-bottom: 50px;

    color: var(--primary-light);

    font-family: monospace;
    font-size: 12px;
}

.feature-card h3 {
    margin-bottom: 9px;

    font-size: 19px;
}

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

    font-size: 14px;
}


/* =========================================================
   INCLUDED
   ========================================================= */

.included-section {
    padding: 120px 0;
}

.included-list {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.included-list span {
    padding: 22px 18px;

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

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

    color: var(--text-soft);

    text-align: center;

    font-size: 14px;

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

.included-list span:hover {
    color: white;

    background: rgba(117, 103, 255, 0.07);

    border-color: rgba(117, 103, 255, 0.22);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 140px 0;
}

.about-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.about-grid h2 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;

    letter-spacing: -0.05em;
}

.about-copy > p {
    max-width: 600px;

    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 18px;
}

.integration-tags {
    display: flex;

    gap: 9px;

    flex-wrap: wrap;

    margin-bottom: 28px;
}

.integration-tags span {
    padding: 8px 12px;

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

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

    color: #c9cad3;

    font-size: 12px;
}

.about-copy small {
    display: block;

    max-width: 580px;

    color: var(--text-muted);

    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 80px 0 140px;
}

.cta-card {
    position: relative;

    padding: 90px 40px;

    border: 1px solid rgba(157, 147, 255, 0.16);
    border-radius: 30px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(117, 103, 255, 0.18),
            transparent 45%
        ),
        rgba(255, 255, 255, 0.025);

    text-align: center;

    overflow: hidden;
}

.cta-card h2 {
    max-width: 720px;

    margin: 0 auto 18px;

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.03;

    letter-spacing: -0.05em;
}

.cta-card p {
    max-width: 600px;

    margin: 0 auto 32px;

    color: var(--text-soft);
}

.cta-card small {
    display: block;

    margin-top: 18px;

    color: var(--text-muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);

    padding: 35px 0;
}

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

    gap: 30px;
}

.footer-content p {
    color: var(--text-muted);

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nav-links > a:not(.nav-buy) {
        display: none;
    }

    .hero {
        min-height: 760px;

        padding-top: 130px;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .included-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .preview-placeholder {
        min-height: 430px;
    }
}


@media (max-width: 600px) {

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

    .navbar {
        background: rgba(7, 8, 16, 0.88);
    }

    .nav-content {
        min-height: 66px;
    }

    .brand {
        font-size: 16px;
    }

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

    .nav-buy {
        padding: 8px 12px !important;

        font-size: 12px !important;
    }

    .hero {
        min-height: auto;

        padding: 140px 0 90px;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 64px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .tech-list {
        margin-top: 35px;
    }

    .preview-section,
    .features-section,
    .included-section {
        padding: 90px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

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

    .feature-card {
        min-height: 220px;
    }

    .included-list {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 100px 0;
    }

    .preview-placeholder {
        min-height: 300px;

        padding: 25px;

        text-align: center;
    }

    .cta-section {
        padding-bottom: 100px;
    }

    .cta-card {
        padding: 65px 22px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   PRODUCT SCREENSHOTS
   ========================================================= */

.preview-image {
    display: block;
    width: 100%;
    height: auto;

    border-radius: 19px;
}


/* SECONDARY SHOWCASE */

.secondary-preview {
    margin-top: 80px;

    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;

    align-items: center;
}

.secondary-preview-text h3 {
    margin-bottom: 18px;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;

    letter-spacing: -0.04em;
}

.secondary-preview-text p {
    color: var(--text-soft);

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

.secondary-preview-image {
    padding: 8px;

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

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

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}

.secondary-preview-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 17px;
}


/* RESPONSIVE SCREENSHOTS */

@media (max-width: 800px) {

    .secondary-preview {
        margin-top: 55px;

        grid-template-columns: 1fr;
        gap: 30px;
    }
}
