/* =========================================================
   SYNTAXORBIT AI
   PREMIUM GLOBAL STYLES
========================================================= */

:root {
    --bg: #000;
    --surface: rgba(255, 255, 255, .05);
    --surface-strong: rgba(15, 15, 18, .96);
    --border: rgba(255, 255, 255, .09);

    --text: #e7e7e7;
    --muted: #999;

    --purple: #7b61ff;
    --purple-light: #a855f7;
    --purple-soft: rgba(123, 97, 255, .16);

    --max-width: 1400px;

    /* EASY ROBOT CONTROLS */
    --robot-width-desktop: 1000px;
    --robot-height-desktop: 700px;

    --robot-width-tablet: 600px;
    --robot-height-tablet: 500px;

    --robot-width-mobile: 300px;
    --robot-height-mobile: 320px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        sans-serif;

    background: var(--bg);
    color: var(--text);

    min-height: 100vh;

    line-height: 1.6;

    overflow-x: hidden;
}

body::selection {
    background: rgba(123, 97, 255, .35);
    color: #fff;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}


/* =========================================================
   SUBTLE BACKGROUND
========================================================= */

.background-effects {
    position: fixed;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -10;
    
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(110, 70, 255, .16),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(0, 210, 255, .10),
            transparent 30%
        ),
        #050508;
}

.background-effects::before,
.background-effects::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    animation: floatingGlow 14s ease-in-out infinite alternate;
}

.background-effects::before {
    top: -250px;
    left: -180px;
    background: radial-gradient(circle, rgba(110, 75, 255, .7), transparent 65%);
}

.background-effects::after {
    right: -250px;
    bottom: -250px;
    background: radial-gradient(circle, rgba(0, 210, 255, .5), transparent 65%);
    animation-delay: -6s;
}

.image-gradient {
    position: absolute;

    top: -120px;
    right: -100px;

    width: min(700px, 70vw);

    opacity: .25;

    filter: blur(2px);

    animation:
        backgroundFloat 14s ease-in-out infinite;

    will-change: transform;
}

.layer-blur {
    position: absolute;

    top: 20%;
    right: -100px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(123, 97, 255, .04);

    box-shadow:
        0 0 150px 20px rgba(123, 97, 255, .12);

    animation:
        blurFloat 12s ease-in-out infinite;

    will-change: transform;
}

.background-orbit {
    position: absolute;

    width: 850px;
    height: 850px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) rotate(-20deg);

    border: 1px solid rgba(150, 120, 255, .08);

    border-radius: 50%;

    animation: orbitRotate 30s linear infinite;
}

.background-orbit::before {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 20%;
    left: 18%;

    border-radius: 50%;

    background: rgba(168, 85, 247, .7);

    box-shadow:
        0 0 20px rgba(168, 85, 247, .8);
}

.background-orbit.two {
    width: 1100px;
    height: 500px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(35deg);

    border-color: rgba(0, 210, 255, .06);

    opacity: .4;

    animation-duration: 40s;
    animation-direction: reverse;
}

.background-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.45), transparent),
        radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,.35), transparent),
        radial-gradient(1px 1px at 42% 35%, rgba(255,255,255,.30), transparent),
        radial-gradient(1px 1px at 62% 80%, rgba(255,255,255,.40), transparent),
        radial-gradient(1px 1px at 80% 25%, rgba(255,255,255,.35), transparent),
        radial-gradient(1px 1px at 92% 60%, rgba(255,255,255,.30), transparent);
    background-size:
        250px 250px,
        300px 300px,
        350px 350px,
        280px 280px,
        320px 320px,
        400px 400px;
    animation: starsMove 25s linear infinite;
    opacity: .7;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 0 2rem;

    position: relative;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;

    z-index: 100;
}

.logo {
    text-decoration: none;

    font-size: 1.8rem;
    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;
}

.logo span,
.site-footer strong span {
    color: var(--purple);
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;

    color: #d6d6d6;

    font-size: .95rem;

    letter-spacing: .06rem;

    position: relative;

    transition:
        color .3s ease,
        transform .3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--purple-light)
        );

    box-shadow:
        0 0 10px rgba(123, 97, 255, .6);

    transition: width .3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* =========================================================
   HEADER BUTTON
========================================================= */

.btn-signing {
    border: 1px solid rgba(255, 255, 255, .7);

    background: #fff;
    color: #000;

    padding: .75rem 1.7rem;

    border-radius: 50px;

    font-weight: 600;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.btn-signing:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 20px rgba(255, 255, 255, .12),
        0 10px 30px rgba(123, 97, 255, .15);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;

    border: 1px solid var(--border);

    background: var(--surface);

    color: white;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    transition: .3s ease;
}

.mobile-menu-btn:hover {
    border-color: rgba(123, 97, 255, .5);

    box-shadow:
        0 0 20px rgba(123, 97, 255, .12);
}

.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: calc(100vh - 90px);

    display: flex;
    align-items: center;

    position: relative;

    padding: 4rem 0 7rem;
}

.content {
    width: min(100%, 650px);

    margin-left: 7%;

    position: relative;

    z-index: 5;
}


/* =========================================================
   TAG
========================================================= */

.tag-box {
    width: fit-content;
    min-width: 190px;

    height: 42px;

    padding: 2px;

    margin-bottom: 2rem;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            #656565,
            #7f42a7,
            #6600c5,
            #5300a0,
            #757575
        );

    background-size: 250%;

    animation:
        gradientMove 6s linear infinite,
        revealUp .8s ease both;
}

.tag {
    height: 100%;

    padding: 0 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: inherit;

    background: #000;

    border: 1px solid rgba(255, 255, 255, .08);

    font-size: .85rem;
}


/* =========================================================
   HERO HEADING
========================================================= */

.content h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 1.12;

    letter-spacing: -.04em;

    margin-bottom: 1.8rem;

    font-weight: 700;

    text-shadow:
        0 0 30px rgba(128, 128, 128, .15);

    animation:
        revealUp .9s ease .1s both;
}

.content h1 span {
    background:
        linear-gradient(
            90deg,
            #fff,
            #7b61ff,
            #c084fc,
            #fff
        );

    background-size: 250%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: gradientMove 6s linear infinite;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    max-width: 38rem;

    color: var(--muted);

    font-size: 1.12rem;

    line-height: 1.8;

    margin-bottom: 2.2rem;

    animation:
        revealUp .9s ease .2s both;
}


/* =========================================================
   BUTTONS
========================================================= */

.buttons {
    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

    animation:
        revealUp .9s ease .3s both;
}

.btn-get-started,
.btn-signing-main {
    min-height: 52px;

    padding: .9rem 1.6rem;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 600;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.btn-get-started {
    background: #fff;

    color: #000;

    border: 1px solid #fff;
}

.btn-signing-main {
    background: rgba(255, 255, 255, .04);

    border: 1px solid var(--border);

    color: #fff;
}

.btn-get-started:hover,
.btn-signing-main:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(123, 97, 255, .18);
}

.btn-signing-main:hover {
    border-color: rgba(123, 97, 255, .7);
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 1rem 1.5rem;

    margin-top: 1.8rem;

    color: #777;

    font-size: .82rem;

    animation:
        revealUp .9s ease .4s both;
}


/* =========================================================
   ROBOT / SPLINE
========================================================= */

.robot-stage {
    position: absolute;

    top: 50%;
    right: -18%;

    width: var(--robot-width-desktop);
    height: var(--robot-height-desktop);

    transform: translateY(-50%);

    z-index: 1;

    pointer-events: none;
}

.robort-3d {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: auto;
}


/* =========================================================
   ROBOT GREETING
========================================================= */

.robot-greeting {
    position: absolute;

    top: 14%;
    right: 19%;

    width: 250px;

    padding: 14px 18px;

    border-radius: 16px;

    background:
        rgba(10, 10, 14, .82);

    border:
        1px solid rgba(123, 97, 255, .45);

    box-shadow:
        0 0 25px rgba(123, 97, 255, .12),
        inset 0 0 20px rgba(123, 97, 255, .03);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    color: #eee;

    font-size: .88rem;

    line-height: 1.5;

    z-index: 5;

    pointer-events: none;

    animation:
        greetingFloat 4s ease-in-out infinite;
}

.robot-greeting::after {
    content: "";

    position: absolute;

    bottom: -7px;
    left: 35px;

    width: 13px;
    height: 13px;

    background: rgba(10, 10, 14, .9);

    border-right:
        1px solid rgba(123, 97, 255, .45);

    border-bottom:
        1px solid rgba(123, 97, 255, .45);

    transform: rotate(45deg);
}

.robot-greeting .robot-name {
    display: block;

    color: #a995ff;

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    margin-bottom: 4px;
}

.robot-message {
    display: inline;

    border-right: 2px solid var(--purple);

    padding-right: 3px;

    animation:
        cursorBlink .8s step-end infinite;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.tools-section,
.features-section,
.pricing-section,
.about-section {
    position: relative;

    padding: 110px 0;

    scroll-margin-top: 70px;
}

.section-title {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 60px;

    overflow: visible;
}

.section-title h2 {
    display: block;

    font-size: clamp(2.3rem, 5vw, 4rem);

    line-height: 1.2;

    padding: .12em 0 .18em;

    margin-bottom: 15px;

    font-weight: 700;

    overflow: visible;

    background:
        linear-gradient(
            90deg,
            #fff,
            #7b61ff,
            #c084fc,
            #fff
        );

    background-size: 300%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: gradientMove 6s linear infinite;
}

.section-title p {
    color: #999;

    font-size: 1rem;
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TOOL GRID
========================================================= */

.tool-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.tool-card,
.feature-card,
.pricing-card {
    position: relative;

    overflow: hidden;

    background: var(--surface);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid var(--border);

    border-radius: 20px;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.tool-card {
    padding: 28px;
}

.tool-card:hover,
.feature-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);

    border-color: rgba(123, 97, 255, .7);

    box-shadow:
        0 0 20px rgba(123, 97, 255, .18),
        0 0 50px rgba(123, 97, 255, .08);
}

.tool-card::before,
.feature-card::before,
.pricing-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .12),
            transparent
        );

    transform: skewX(-25deg);

    transition: .8s;
}

.tool-card:hover::before,
.feature-card:hover::before,
.pricing-card:hover::before {
    left: 150%;
}

.tool-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(123, 97, 255, .18),
            rgba(168, 85, 247, .08)
        );

    border: 1px solid rgba(123, 97, 255, .2);

    font-size: 1.35rem;
}

.tool-card h3 {
    font-size: 1.25rem;

    margin-bottom: 10px;
}

.tool-card p {
    min-height: 75px;

    color: #999;

    font-size: .92rem;
}


/* =========================================================
   NEON TOOL BUTTONS
========================================================= */

.tool-card a {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 20px;

    padding: 10px 17px;

    color: #fff;

    text-decoration: none;

    font-size: .84rem;

    font-weight: 700;

    border-radius: 10px;

    border: 1px solid rgba(123, 97, 255, .65);

    background:
        linear-gradient(
            135deg,
            rgba(123, 97, 255, .12),
            rgba(168, 85, 247, .06)
        );

    box-shadow:
        inset 0 0 15px rgba(123, 97, 255, .05);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.tool-card a:hover {
    transform: translateY(-3px);

    border-color: #a995ff;

    background:
        linear-gradient(
            135deg,
            rgba(123, 97, 255, .3),
            rgba(168, 85, 247, .16)
        );

    box-shadow:
        0 0 15px rgba(123, 97, 255, .25),
        0 0 35px rgba(123, 97, 255, .1);
}


/* =========================================================
   FEATURES
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.feature-card {
    padding: 32px;
}

.feature-card span {
    color: var(--purple);

    font-size: .8rem;
    font-weight: 700;
}

.feature-card h3 {
    margin: 20px 0 10px;

    font-size: 1.35rem;
}

.feature-card p {
    color: #999;

    font-size: .95rem;
}


/* =========================================================
   PRICING
========================================================= */

.pricing-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.pricing-card {
    padding: 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: rgba(123, 97, 255, .6);

    box-shadow:
        0 0 30px rgba(123, 97, 255, .12);
}

.pricing-label {
    display: inline-block;

    color: #a995ff;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: .12em;
}

.pricing-card h3 {
    margin: 15px 0;

    font-size: 2.8rem;
}

.pricing-card h3 small {
    color: #888;

    font-size: .9rem;

    font-weight: 400;
}

.pricing-card > p {
    color: #999;

    min-height: 55px;
}

.pricing-card ul {
    list-style: none;

    margin: 25px 0;

    display: grid;

    gap: 10px;

    color: #ccc;

    font-size: .9rem;
    text-align: left;
}

.pricing-btn {
    width: 100%;

    padding: 13px;

    border: 1px solid rgba(123, 97, 255, .55);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(123, 97, 255, .12),
            rgba(168, 85, 247, .06)
        );

    color: white;

    text-decoration: none;

    text-align: center;

    transition: .3s ease;
}

.pricing-btn:hover {
    background: var(--purple);

    border-color: var(--purple);

    box-shadow:
        0 0 25px rgba(123, 97, 255, .3);
}

.pricing-btn.primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-color: var(--purple);
}

.pricing-btn.primary:hover {
    box-shadow: 0 0 35px rgba(123, 97, 255, .4);
    transform: translateY(-2px);
}


/* =========================================================
   ABOUT
========================================================= */

.about-content {
    max-width: 800px;

    margin: auto;

    padding: 35px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 20px;

    backdrop-filter: blur(20px);

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.about-content:hover {
    border-color: rgba(123, 97, 255, .35);

    box-shadow:
        0 0 35px rgba(123, 97, 255, .06);
}

.about-content p {
    color: #aaa;

    line-height: 1.9;

    margin-bottom: 15px;
}

.about-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 30px;

    border-top: 1px solid rgba(255, 255, 255, .06);

    color: #777;

    display: grid;

    gap: 30px;
}

.site-footer strong {
    color: #fff;

    font-size: 1.2rem;
}

.site-footer p {
    font-size: .85rem;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}

.footer-links a {
    color: #888;

    text-decoration: none;

    font-size: .85rem;

    transition: color .3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, .05);
}


/* =========================================================
   AUTH MODAL
========================================================= */

.overlay {
    position: fixed;

    inset: 0;

    background:
        radial-gradient(circle at 50% 35%, rgba(123, 97, 255, .10), transparent 42%),
        rgba(2, 2, 8, .52);

    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);

    opacity: 0;

    visibility: hidden;

    transition: .3s ease;

    z-index: 9990;
}

.overlay.active {
    opacity: 1;

    visibility: visible;
}

.auth-box {
    position: fixed;

    top: 50%;
    left: 50%;

    width: min(420px, calc(100vw - 30px));

    padding: 40px;

    background:
        linear-gradient(145deg, rgba(24, 24, 38, .92), rgba(7, 7, 14, .88));

    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .14);

    border-radius: 24px;

    box-shadow:
        0 35px 120px rgba(0, 0, 0, .72),
        0 0 70px rgba(110, 80, 255, .16),
        inset 0 1px 0 rgba(255, 255, 255, .08);

    transform: translate(-50%, -50%) scale(.92);

    opacity: 0;

    visibility: hidden;

    transition: .3s ease;

    z-index: 9999;
}

.auth-box.active {
    opacity: 1;

    visibility: visible;

    transform: translate(-50%, -50%) scale(1);
}

.auth-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 34px;
    height: 34px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .06);

    color: #aaa;

    font-size: 1.4rem;
}

.auth-close:hover {
    color: #fff;

    background: rgba(255, 255, 255, .12);
}

.form {
    display: none;

    animation: fade .35s ease;
}

.form.active {
    display: block;
}

.auth-box h2 {
    text-align: center;

    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;

    color: #777;

    font-size: .85rem;

    margin-bottom: 25px;
}

.input-box {
    position: relative;

    margin-bottom: 22px;
}

.input-box input {
    width: 100%;

    padding: 15px;

    background: rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .1);

    border-radius: 10px;

    color: #fff;

    outline: none;
}

.input-box input:focus {
    border-color: var(--purple);

    box-shadow:
        0 0 15px rgba(123, 97, 255, .1);
}

.input-box label {
    position: absolute;

    left: 15px;
    top: 15px;

    color: #888;

    pointer-events: none;

    transition: .2s ease;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -9px;
    left: 10px;

    padding: 0 6px;

    background: #121212;

    color: var(--purple);

    font-size: .75rem;
}

.login-btn {
    width: 100%;

    padding: 14px;

    border: 1px solid rgba(168, 85, 247, .5);

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--purple-light)
        );

    color: white;

    font-weight: 600;

    transition: .3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(123, 97, 255, .25);
}

.register-link {
    text-align: center;

    margin-top: 20px;

    color: #777;

    font-size: .85rem;
}

.register-link a {
    color: var(--purple);

    text-decoration: none;

    font-weight: 600;
}

.forgot-password {
    text-align: right;
    margin: -5px 0 18px;
}

.forgot-password a {
    color: #aaa8ff;
    font-size: 13px;
    text-decoration: none;
    transition: .25s;
}

.forgot-password a:hover {
    color: white;
    text-shadow: 0 0 15px rgba(140,120,255,.8);
}

.password-hint {
    color: #666;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 15px;
}

/* =========================================================
   SUCCESS OVERLAY
========================================================= */

.success-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10050;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.success-box {
    width: min(400px, calc(100vw - 40px));
    padding: 45px 35px 40px;
    text-align: center;
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.98), rgba(10, 10, 14, 0.98));
    border: 1px solid rgba(123, 97, 255, 0.4);
    border-radius: 28px;
    box-shadow: 0 0 40px rgba(123, 97, 255, 0.15), 0 0 80px rgba(123, 97, 255, 0.08);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.active .success-box {
    transform: translateY(0) scale(1);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 100px;
    height: 100px;
    overflow: visible;
}

.success-circle {
    fill: none;
    stroke: #7b61ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
}

.success-overlay.active .success-circle {
    animation: successCirclePurple 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.success-check {
    fill: none;
    stroke: #7b61ff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}

.success-overlay.active .success-check {
    animation: successCheckPurple 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.success-overlay.active .success-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.2), transparent 70%);
    animation: successGlowPurple 0.8s ease 0.3s forwards;
}

.success-box h2 {
    margin-bottom: 10px;
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #7b61ff, #c084fc);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 4s linear infinite;
}

.success-box p {
    color: #aaa;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
}

.success-overlay.active .success-box p {
    animation: fadeUp 0.5s ease 0.9s forwards;
}

@keyframes successCirclePurple {
    from {
        stroke-dashoffset: 157;
        transform: rotate(-90deg) scale(0.8);
        transform-origin: center;
        opacity: 0.5;
    }
    to {
        stroke-dashoffset: 0;
        transform: rotate(0deg) scale(1);
        transform-origin: center;
        opacity: 1;
    }
}

@keyframes successCheckPurple {
    from {
        stroke-dashoffset: 40;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes successGlowPurple {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   ERROR OVERLAY - RED CROSS VERSION
========================================================= */

.error-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10050;
}

.error-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.error-box {
    width: min(400px, calc(100vw - 40px));
    padding: 45px 35px 40px;
    text-align: center;
    background: linear-gradient(145deg, rgba(24, 18, 18, 0.98), rgba(14, 10, 10, 0.98));
    border: 1px solid rgba(255, 80, 80, 0.4);
    border-radius: 28px;
    box-shadow: 0 0 40px rgba(255, 80, 80, 0.15), 0 0 80px rgba(255, 80, 80, 0.08);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-overlay.active .error-box {
    transform: translateY(0) scale(1);
}

.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon svg {
    width: 100px;
    height: 100px;
    overflow: visible;
}

.error-circle {
    fill: none;
    stroke: #ff4444;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
}

.error-overlay.active .error-circle {
    animation: errorCircleRed 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.error-cross {
    fill: none;
    stroke: #ff4444;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
}

.error-overlay.active .error-cross {
    animation: errorCrossRed 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.error-overlay.active .error-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.2), transparent 70%);
    animation: errorGlowRed 0.8s ease 0.3s forwards;
}

.error-overlay.active .error-box {
    animation: errorShake 0.5s ease 0.2s;
}

.error-box h2 {
    margin-bottom: 10px;
    font-size: 1.9rem;
    font-weight: 700;
    color: #ff4444;
    text-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.error-box p {
    color: #ccc;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
}

.error-overlay.active .error-box p {
    animation: fadeUp 0.5s ease 0.9s forwards;
}

.error-close-btn {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

@keyframes errorCircleRed {
    from {
        stroke-dashoffset: 157;
        transform: rotate(-90deg) scale(0.8);
        transform-origin: center;
        opacity: 0.5;
    }
    to {
        stroke-dashoffset: 0;
        transform: rotate(0deg) scale(1);
        transform-origin: center;
        opacity: 1;
    }
}

@keyframes errorCrossRed {
    from {
        stroke-dashoffset: 40;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes errorGlowRed {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-20px, 15px, 0) scale(1.03);
    }
}

@keyframes blurFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(35px);
    }
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes starsMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-120px);
    }
}

@keyframes floatingGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(80px, 40px, 0) scale(1.12);
    }
    100% {
        transform: translate3d(-40px, 100px, 0) scale(.95);
    }
}

@keyframes greetingFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes cursorBlink {
    50% {
        border-color: transparent;
    }
}


/* =========================================================
   FANCY HEADER USER BUTTONS
========================================================= */

.user-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-welcome {
    color: #a995ff;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(123, 97, 255, 0.3);
}

.header-dashboard-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(123, 97, 255, 0.6);
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.15), rgba(168, 85, 247, 0.08));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(123, 97, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(123, 97, 255, 0.3), 0 0 50px rgba(123, 97, 255, 0.1);
    border-color: rgba(123, 97, 255, 0.9);
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.25), rgba(168, 85, 247, 0.15));
}

.header-logout-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 100, 100, 0.4);
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.1), rgba(200, 50, 50, 0.05));
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 100, 100, 0.2);
    border-color: rgba(255, 100, 100, 0.7);
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(200, 50, 50, 0.1));
}


/* =========================================================
   LOGOUT OVERLAY
========================================================= */

#logoutOverlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.14), transparent 45%), rgba(5, 6, 10, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: logoutOverlayIn 0.35s ease forwards;
}

.logout-card {
    width: min(420px, 100%);
    padding: 42px 34px;
    text-align: center;
    background: linear-gradient(145deg, rgba(25, 27, 38, 0.98), rgba(13, 15, 22, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 92, 246, 0.12);
    animation: logoutCardIn 0.45s cubic-bezier(.2, .8, .2, 1) forwards;
}

.logout-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logout-icon-circle {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.2);
    animation: logoutPulse 1.6s ease-in-out infinite;
}

.logout-icon-circle span {
    font-size: 34px;
    color: #a78bfa;
    transform: translateX(2px);
}

.logout-card h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.logout-message {
    margin: 0;
    color: #969baa;
    font-size: 14px;
    line-height: 1.6;
}

.logout-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
}

.logout-loader span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a78bfa;
    animation: logoutDot 1.2s ease-in-out infinite;
}

.logout-loader span:nth-child(2) {
    animation-delay: 0.15s;
}

.logout-loader span:nth-child(3) {
    animation-delay: 0.3s;
}

.logout-success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.10);
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.15);
    animation: logoutSuccess 0.55s cubic-bezier(.2, .8, .2, 1);
}

.logout-success-icon span {
    color: #4ade80;
    font-size: 38px;
    font-weight: 700;
}

.logout-progress {
    width: 100%;
    height: 3px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.logout-progress div {
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: #8b5cf6;
    animation: logoutProgress 1.7s linear forwards;
}

.logout-error-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.10);
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.logout-error-icon span {
    color: #f87171;
    font-size: 34px;
    font-weight: 700;
}

.logout-retry-btn {
    margin-top: 25px;
    padding: 11px 24px;
    border: 0;
    border-radius: 9px;
    background: #8b5cf6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logout-retry-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@keyframes logoutOverlayIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes logoutCardIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoutPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 45px rgba(139, 92, 246, 0.28);
    }
}

@keyframes logoutDot {
    0%,
    100% {
        opacity: 0.25;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@keyframes logoutSuccess {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoutProgress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}


/* =========================================================
   CONTACT SALES PAGE STYLES
========================================================= */

.contact-sales-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.contact-sales-container {
    max-width: 700px;
    width: 100%;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 50px 45px;
    position: relative;
    overflow: hidden;
}

.contact-sales-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--purple-light), transparent);
}

.contact-sales-container .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 30px;
    transition: 0.3s ease;
}

.contact-sales-container .back-link:hover {
    color: #fff;
    gap: 12px;
}

.contact-sales-container .page-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.contact-sales-container h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #fff, var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-sales-container .subtitle {
    color: #888;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Success State */
.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-state .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(123,97,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-state .success-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--purple-light);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-state h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.success-state .success-message {
    color: #aaa;
    font-size: 16px;
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto 15px;
}

.success-state .success-detail {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.success-state .success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-state .btn-return {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--purple);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
}

.success-state .btn-return:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123,97,255,0.3);
}

.success-state .btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
}

.success-state .btn-dashboard:hover {
    border-color: var(--purple);
    background: rgba(123,97,255,0.1);
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
    font-family: inherit;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(123,97,255,0.1);
    background: rgba(255,255,255,0.07);
}

.contact-form .form-control::placeholder {
    color: #555;
}

.contact-form .form-control.error {
    border-color: #ff4444;
    box-shadow: 0 0 0 4px rgba(255,68,68,0.1);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .plan-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 5px;
}

.contact-form .plan-option {
    padding: 12px 10px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #888;
    font-size: 13px;
    font-weight: 600;
}

.contact-form .plan-option:hover {
    border-color: rgba(123,97,255,0.3);
    background: rgba(123,97,255,0.05);
}

.contact-form .plan-option.selected {
    border-color: var(--purple);
    background: rgba(123,97,255,0.1);
    color: #fff;
}

.contact-form .plan-option .plan-emoji {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.contact-form .error-message {
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.contact-form .error-message.visible {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(123,97,255,0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-btn.loading .spinner {
    display: block;
}

.submit-btn.loading .btn-text {
    display: none;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-badges span {
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-badges .badge-icon {
    color: var(--purple-light);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 1.4rem;
    }

    .content {
        margin-left: 2%;
    }

    .robot-stage {
        width: var(--robot-width-tablet);
        height: var(--robot-height-tablet);

        right: -20%;
    }

    .robot-greeting {
        right: 15%;
    }

    .tool-grid,
    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}


@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .site-header {
        min-height: 75px;
    }

    .mobile-nav {
        position: absolute;

        top: 75px;
        left: 1rem;
        right: 1rem;

        padding: 15px;

        background: rgba(15, 15, 15, .96);

        border: 1px solid var(--border);

        border-radius: 16px;

        backdrop-filter: blur(20px);

        z-index: 200;

        display: none;

        flex-direction: column;

        gap: 5px;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        padding: 12px;

        border-radius: 10px;

        color: #ccc;

        text-decoration: none;
    }

    .mobile-nav a:hover {
        background: rgba(123, 97, 255, .1);

        color: white;
    }

    .hero-section {
        min-height: auto;

        padding-top: 2rem;
    }

    .content {
        width: 100%;

        margin: 380px auto 0;

        text-align: center;
    }

    .tag-box {
        margin-left: auto;
        margin-right: auto;
    }

    .description {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .robot-stage {
        width: 500px;
        height: 400px;

        top: 0;
        left: 50%;

        right: auto;

        transform: translateX(-50%);
    }

    .robot-greeting {
        top: 3%;
        right: 8%;
    }
    
    .contact-sales-container {
        padding: 30px 20px;
    }
    
    .contact-sales-container h1 {
        font-size: 26px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form .plan-selector {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .success-state .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-state .btn-return,
    .success-state .btn-dashboard {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 700px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}


@media (max-width: 650px) {

    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .btn-signing {
        display: none;
    }

    .content {
        margin-top: 320px;
    }

    .content h1 {
        font-size: 2.6rem;
    }

    .description {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .btn-get-started,
    .btn-signing-main {
        width: 100%;
    }

    .tool-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .tools-section,
    .features-section,
    .pricing-section,
    .about-section {
        padding: 80px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2.25rem;

        line-height: 1.2;

        padding-top: .15em;
        padding-bottom: .2em;
    }

    .robot-stage {
        width: var(--robot-width-mobile);
        height: var(--robot-height-mobile);
    }

    .robot-greeting {
        width: 190px;

        right: 0;

        padding: 10px 13px;

        font-size: .76rem;
    }

    .auth-box {
        padding: 30px 22px;
    }

    .background-orbit {
        opacity: .25;

        transform: scale(.7);
    }
    
    .contact-sales-container {
        padding: 25px 16px;
    }
    
    .contact-form .plan-selector {
        grid-template-columns: 1fr;
    }
    
    .contact-sales-container h1 {
        font-size: 22px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .user-header {
        gap: 8px;
    }
    .user-welcome {
        font-size: 0.75rem;
    }
    .header-dashboard-btn,
    .header-logout-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
}


@media (max-width: 480px) {
    .contact-sales-container {
        padding: 25px 16px;
    }
    
    .contact-form .plan-selector {
        grid-template-columns: 1fr;
    }
    
    .contact-sales-container h1 {
        font-size: 22px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* assets/css/markdown.css - Markdown styles for AI responses */

.markdown-body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    color: #d7d9e2;
}

.markdown-body h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 24px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.markdown-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 20px 0 10px;
}

.markdown-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #a78bfa;
    margin: 16px 0 8px;
}

.markdown-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #c4b5fd;
    margin: 14px 0 6px;
}

.markdown-body p {
    margin: 8px 0 12px;
    color: #d7d9e2;
}

.markdown-body strong {
    color: #f0f0f5;
    font-weight: 600;
}

.markdown-body ul,
.markdown-body ol {
    margin: 8px 0 12px 20px;
    padding-left: 8px;
}

.markdown-body ul li,
.markdown-body ol li {
    margin-bottom: 4px;
    color: #d7d9e2;
}

.markdown-body ul li::marker {
    color: #a78bfa;
}

.markdown-body ol li::marker {
    color: #a78bfa;
    font-weight: 600;
}

.markdown-body code {
    background: rgba(139,92,246,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    color: #c4b5fd;
}

.markdown-body pre {
    background: #080a10;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
    overflow-x: auto;
}

.markdown-body pre code {
    background: transparent;
    padding: 0;
    color: #d7d9e2;
    font-size: 0.9em;
    line-height: 1.6;
}

.markdown-body blockquote {
    border-left: 3px solid #a78bfa;
    padding: 8px 16px;
    margin: 12px 0;
    background: rgba(167,139,250,0.04);
    border-radius: 0 6px 6px 0;
    color: #b3b6c4;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.markdown-body table th {
    background: rgba(167,139,250,0.08);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
}

.markdown-body table td {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.06);
    color: #d7d9e2;
}

.markdown-body table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.markdown-body hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin: 20px 0;
}

.markdown-body .quiz-question {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 12px 0;
}

.markdown-body .quiz-question .q-number {
    color: #a78bfa;
    font-weight: 700;
}

.markdown-body .quiz-answer {
    color: #4ade80;
    font-weight: 600;
}

.markdown-body .highlight-box {
    background: rgba(167,139,250,0.04);
    border: 1px solid rgba(167,139,250,0.12);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
}

.markdown-body .highlight-box.info {
    border-color: rgba(96,165,250,0.2);
    background: rgba(96,165,250,0.04);
}

.markdown-body .highlight-box.warning {
    border-color: rgba(251,191,36,0.2);
    background: rgba(251,191,36,0.04);
}

.markdown-body .highlight-box.success {
    border-color: rgba(74,222,128,0.2);
    background: rgba(74,222,128,0.04);
}