@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --background: #090b14;
    --surface: #101423;
    --surface-light: #171d31;
    --purple: #9365ff;
    --purple-light: #b69aff;
    --text: #f5f4ff;
    --muted: #989bb4;
    --border: rgba(255, 255, 255, 0.09);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */

.header {
    width: 100%;
    min-height: 82px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 11, 20, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-icon,
.mini-logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: white;
    font-size: 21px;
    background: linear-gradient(135deg, #a77bff, #7040ed);
    box-shadow: 0 0 25px rgba(147, 101, 255, 0.3);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 38px;
}

.navigation a,
.login-link {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.navigation a:hover,
.login-link:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-button {
    background: #9365ff;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
}

.header-button:hover,
.primary-button:hover {
    background: #a984ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(147, 101, 255, 0.25);
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 680px;
    padding: 95px 10% 100px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 65px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    left: -300px;
    top: 80px;
    border-radius: 50%;
    background: rgba(116, 75, 255, 0.09);
    filter: blur(100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease both;
}

.announcement {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid rgba(147, 101, 255, 0.25);
    border-radius: 30px;
    color: #c7b4ff;
    background: rgba(147, 101, 255, 0.07);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a88aff;
    box-shadow: 0 0 12px #a88aff;
}

.hero h1 {
    margin-top: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(46px, 6vw, 75px);
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--purple-light);
    text-shadow: 0 0 35px rgba(147, 101, 255, 0.3);
}

.hero-description {
    max-width: 480px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 23px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 13px;
    transition: 0.25s ease;
}

.primary-button {
    background: var(--purple);
    color: white;
}

.secondary-button {
    border: 1px solid var(--border);
    color: #d2d0e5;
}

.secondary-button:hover {
    background: var(--surface-light);
    border-color: #8e72d8;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    color: #777b94;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.note-line {
    width: 30px;
    height: 1px;
    background: var(--purple);
}

/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
    animation: slideUp 1s ease both;
}

.visual-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(125, 83, 255, 0.18);
    filter: blur(95px);
}

.main-card {
    width: min(100%, 380px);
    min-height: 460px;
    padding: 23px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(186, 160, 255, 0.19);
    border-radius: 23px;
    background: linear-gradient(145deg, #171d32, #0d1120 75%);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.4),
        0 0 65px rgba(147, 101, 255, 0.09);
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.main-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #aaa9c3;
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
}

.mini-logo {
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 8px;
}

.card-menu {
    margin-left: auto;
    font-size: 17px;
}

.orb-container {
    height: 255px;
    display: grid;
    place-items: center;
    position: relative;
}

.orb {
    position: absolute;
    border: 1px solid rgba(172, 137, 255, 0.35);
    border-radius: 50%;
    animation: rotateOrb 14s linear infinite;
}

.orb-one {
    width: 205px;
    height: 205px;
    border-style: dashed;
}

.orb-two {
    width: 150px;
    height: 150px;
    border-color: rgba(140, 104, 255, 0.65);
    animation-direction: reverse;
    animation-duration: 10s;
}

.orb-center {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: white;
    background: linear-gradient(145deg, #b28cff, #6838e9);
    box-shadow:
        0 0 35px rgba(147, 101, 255, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.18);
    animation: float 4s ease-in-out infinite;
}

.visual-caption span {
    color: #a88aff;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.visual-caption h3 {
    margin-top: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: #8286a2;
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

/* INTRO */

.intro-section {
    padding: 105px 10%;
    background: #0d1020;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-label {
    color: #ad91ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.section-heading h2,
.community-section h2,
.join-section h2 {
    margin-top: 17px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 45px);
    letter-spacing: -1.5px;
}

.section-heading p,
.community-section p,
.join-section p {
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    min-height: 275px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #121729;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(169, 139, 255, 0.55);
    background: #171d34;
}

.feature-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 23px;
    margin-bottom: 23px;
}

.purple .feature-icon {
    background: rgba(147, 101, 255, 0.15);
    color: #b99dff;
}

.blue .feature-icon {
    background: rgba(80, 145, 255, 0.15);
    color: #80b5ff;
}

.pink .feature-icon {
    background: rgba(235, 104, 196, 0.14);
    color: #f09bd8;
}

.feature-number {
    color: #8589a5;
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 700;
}

.feature-card h3 {
    margin-top: 11px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
}

.feature-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.feature-card a {
    display: inline-block;
    margin-top: 22px;
    color: #b8a1ff;
    font-size: 12px;
    font-weight: 700;
}

.feature-card a span {
    margin-left: 5px;
}

/* COMMUNITY */

.community-section {
    margin: 90px 10%;
    padding: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(147, 101, 255, 0.2);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 85% 50%, rgba(110, 70, 220, 0.18), transparent 55%),
        #121729;
}

.community-section h2 {
    font-size: 36px;
}

.community-section .primary-button {
    flex-shrink: 0;
}

/* JOIN */

.join-section {
    padding: 95px 20px;
    text-align: center;
}

.join-section .primary-button {
    margin-top: 28px;
}

/* FOOTER */

.footer {
    min-height: 105px;
    padding: 25px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border);
    background: #080a12;
}

.footer p,
.footer > a:last-child {
    color: #777b94;
    font-size: 11px;
}

/* ANIMATIONS */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes rotateOrb {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 900px) {
    .header {
        padding: 0 5%;
    }

    .hero {
        padding: 75px 7%;
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-note {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .community-section {
        margin: 65px 7%;
    }
}

@media (max-width: 600px) {
    .header {
        min-height: 72px;
    }

    .navigation,
    .header-actions {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .navigation.active {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        padding: 25px;
        display: flex;
        flex-direction: column;
        gap: 22px;
        background: #101423;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 75px 6%;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .intro-section {
        padding: 80px 6%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .community-section {
        margin: 50px 6%;
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .community-section h2 {
        font-size: 30px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 35px 15px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* NEXORA SPARK — ORIGINAL DESIGN */

.spark-section {
    padding: 105px 10%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(115, 75, 220, 0.13),
            transparent 65%
        ),
        #090b14;
}

.spark-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 45px;
}

.spark-heading h2 {
    margin-top: 17px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 4vw, 46px);
    letter-spacing: -1.5px;
}

.spark-heading p {
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.spark-card {
    width: min(100%, 590px);
    margin: auto;
    padding: 42px;
    position: relative;
    border: 1px solid rgba(160, 125, 255, 0.25);
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        #171a30,
        #101321 75%
    );
    box-shadow: 0 25px 85px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.spark-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 23px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    font-size: 29px;
    color: white;
    background: linear-gradient(135deg, #ad89ff, #7042e9);
    box-shadow: 0 0 35px rgba(147, 101, 255, 0.35);
}

.spark-label {
    color: #b69aff;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.spark-card h3 {
    margin-top: 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
}

.spark-card > p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.spark-card label {
    display: block;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: left;
    color: #c9c6df;
    font-size: 12px;
    font-weight: 600;
}

.spark-select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    outline: none;
    color: white;
    background: #0d1120;
    font-family: inherit;
    font-size: 13px;
}

.spark-select:focus {
    border-color: #a98aff;
    box-shadow: 0 0 0 3px rgba(147, 101, 255, 0.12);
}

.spark-button {
    width: 100%;
    margin-top: 17px;
    padding: 16px;
    border: none;
    border-radius: 10px;
    color: white;
    background: linear-gradient(110deg, #8054ed, #a17aff);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.spark-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(147, 101, 255, 0.28);
}

.spark-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.spark-result {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid rgba(167, 135, 255, 0.18);
    border-radius: 13px;
    background: rgba(147, 101, 255, 0.07);
    text-align: left;
}

.spark-result span {
    color: #b69aff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.spark-result p {
    margin-top: 12px;
    color: #e7e2ff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .spark-section {
        padding: 75px 6%;
    }

    .spark-card {
        padding: 27px 20px;
    }

    .spark-card h3 {
        font-size: 21px;
    }
}
/* NEXORA SPARK — COPY IDEA BUTTON */

.copy-idea-button {
    margin-top: 15px;
    padding: 12px 19px;
    border: 1px solid rgba(174, 143, 255, 0.35);
    border-radius: 9px;
    background: rgba(147, 101, 255, 0.13);
    color: #c9b5ff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.copy-idea-button:hover:not(:disabled) {
    background: #8054ed;
    color: white;
    transform: translateY(-2px);
}

.copy-idea-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.copy-idea-status {
    min-height: 18px;
    margin-top: 10px;
    color: #b69aff;
    font-size: 11px;
}
/* NEXORA COLLECTIONS — SAVED IDEAS */

.save-idea-button {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(174, 143, 255, 0.3);
    border-radius: 10px;
    color: #d0bdff;
    background: rgba(147, 101, 255, 0.08);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.save-idea-button:hover:not(:disabled) {
    background: rgba(147, 101, 255, 0.2);
    transform: translateY(-2px);
}

.save-idea-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.save-idea-status {
    min-height: 18px;
    margin-top: 9px;
    color: #b69aff;
    font-size: 11px;
}

.saved-ideas-panel {
    margin-top: 30px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.saved-ideas-heading {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #b69aff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.saved-ideas-list {
    display: grid;
    gap: 12px;
    margin-top: 17px;
    list-style: none;
}

.saved-idea-item {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
}

.saved-idea-item p {
    color: #e7e2ff;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.remove-saved-idea {
    margin-top: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 120, 145, 0.25);
    border-radius: 7px;
    color: #ff9eaf;
    background: transparent;
    font-size: 11px;
    cursor: pointer;
}

.remove-saved-idea:hover {
    background: rgba(255, 100, 130, 0.1);
}

.empty-saved-ideas {
    color: #8589a5;
    font-size: 12px;
    line-height: 1.7;
}