/* Landing Page Theme */
:root {
    --bg: #05080f;
    --bg-soft: #0d111d;
    --bg-card: #11182a;
    --bg-card-alt: #101728;
    --text: #f8fbff;
    --text-muted: #a4b2cc;
    --accent: #7c5dff;
    --accent-2: #36e0c4;
    --accent-3: #ffb86c;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, #7c5dff 0%, #4bc2ff 48%, #36e0c4 100%);
    --shadow-soft: 0 20px 60px rgba(8, 11, 19, 0.5);
    --shadow-card: 0 25px 60px rgba(5, 8, 15, 0.4);
    font-family: "Inter", "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.landing-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(124, 93, 255, 0.15), transparent 60%), var(--bg);
    color: var(--text);
}

.orb {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
}

.orb-1 {
    background: #7c5dff;
    top: -100px;
    left: -60px;
}

.orb-2 {
    background: #36e0c4;
    bottom: 12%;
    right: 5%;
}

.orb-3 {
    background: #ffb86c;
    top: 20%;
    right: 25%;
}

main,
header,
footer {
    position: relative;
    z-index: 2;
}

.hero {
    padding: 2.5rem clamp(1rem, 3vw, 3.5rem);
    max-width: 1300px;
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 1.25rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 1.75rem;
    margin-bottom: 2.5rem;
    background: rgba(5, 8, 15, 0.8);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.nav__menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 2rem;
}

.nav__brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
    color: inherit;
}

.nav__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nav__tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav__links {
    display: flex;
    gap: 1.25rem;
}

.nav__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.2s ease;
    position: relative;
    padding-bottom: 0.15rem;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
    color: var(--text);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
    transform: scaleX(1);
}

.nav__cta {
    display: flex;
    gap: 0.75rem;
}

.nav__cta .btn {
    padding: 0.75rem 1.5rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: transparent;
    border: none;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.85rem 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background-image: var(--gradient);
    color: var(--bg);
    box-shadow: 0 12px 30px rgba(70, 140, 255, 0.4);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

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

.hero__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
    padding-bottom: 4rem;
}

.hero__text h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.metric {
    font-size: 2rem;
    font-weight: 700;
    background-image: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__panel {
    background: rgba(14, 18, 33, 0.8);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.panel__header {
    display: flex;
    gap: 0.4rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot--green {
    background: #4ade80;
}

.dot--yellow {
    background: #facc15;
}

.dot--red {
    background: #fb7185;
}

.panel__body {
    padding: 1.5rem;
}

.flow-preview {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.flow-step {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(124, 93, 255, 0.08);
    border: 1px solid rgba(124, 93, 255, 0.3);
}

.flow-step + .flow-step {
    margin-top: 1rem;
}

.flow-connector {
    width: 2px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem auto;
}

.statuses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.hero__avatars {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.brands {
    padding: 1rem clamp(1rem, 3vw, 3.5rem) 2.5rem;
    text-align: center;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.section {
    padding: 4rem clamp(1rem, 3vw, 3.5rem);
    max-width: 1300px;
    margin: 0 auto;
}

.section--alt {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    margin-bottom: 3rem;
}

.section--gradient {
    background: linear-gradient(145deg, rgba(124, 93, 255, 0.15), rgba(54, 224, 196, 0.08));
    border-radius: 40px;
}

.section__header {
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.card {
    background: rgba(13, 17, 29, 0.8);
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-top: 0;
}

.card ul {
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.timeline__item {
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(8, 11, 19, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.campaign {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.campaign__chart {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.chart-ring {
    width: 80%;
    height: 80%;
    border-radius: 999px;
    border: 16px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-2);
    border-bottom-color: var(--accent);
    animation: rotate 18s linear infinite;
}

.chart-metric {
    position: absolute;
    text-align: center;
}

.chart-metric span {
    font-size: 2.75rem;
    font-weight: 700;
}

.campaign__details {
    display: grid;
    gap: 1.5rem;
}

.section--gradient .flow-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.flow-node {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(8, 11, 19, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.flow-node span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(124, 93, 255, 0.2);
    margin-bottom: 0.75rem;
}

.flow-node.active {
    border-color: rgba(54, 224, 196, 0.7);
    box-shadow: 0 20px 40px rgba(54, 224, 196, 0.25);
}

.flow__footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.review-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.review {
    min-width: 280px;
    flex: 1;
    background: rgba(14, 18, 33, 0.85);
    padding: 1.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: start;
}

.faq {
    display: grid;
    gap: 1rem;
}

.faq__item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 11, 19, 0.8);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq__answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq__answer.open {
    display: block;
}

.cta {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 3rem;
    border-radius: 32px;
    background: linear-gradient(120deg, rgba(124, 93, 255, 0.3), rgba(54, 224, 196, 0.2));
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer {
    padding: 2.5rem clamp(1rem, 3vw, 3.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--text-muted);
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

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

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    .nav {
        padding: 0.75rem 1.25rem;
        border-radius: 32px;
    }

    .nav__menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        background: rgba(5, 8, 15, 0.95);
        padding: 1.5rem;
        border-radius: 24px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-card);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav__menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav__links,
    .nav__cta {
        flex-direction: column;
        width: 100%;
    }

    .nav__links a,
    .nav__cta .btn {
        width: 100%;
        text-align: center;
    }

    .nav__cta .btn {
        justify-content: center;
    }

    .nav__toggle {
        display: flex;
        margin-left: auto;
    }

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

    .cta {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1.5rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

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

