/* ============================
   Variables & Reset
   ============================ */
:root {
    --purple: #8a3ffc;
    --purple-mid: #9d57fc;
    --purple-light: #b67dfe;
    --purple-pale: #f0e8ff;
    --white: #ffffff;
    --bg: #ffffff;
    --text: #1a1028;
    --text-mid: #5a4a72;
    --text-light: #8c7aa8;
    --border: #e8dff8;
    --card-bg: #faf7ff;
    --shadow: 0 4px 24px rgba(138, 63, 252, 0.10);
    --shadow-lg: 0 12px 48px rgba(138, 63, 252, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --font: 'Poppins', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================
   Blob / Wave backgrounds
   ============================ */
.blob {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(0px);
}

/* Top-right large blob */
.blob-tr {
    width: 680px;
    height: 620px;
    top: -180px;
    right: -160px;
    background: var(--purple);
    border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%;
    animation: morphBlob1 12s ease-in-out infinite;
}

/* Bottom-left blob */
.blob-bl {
    width: 420px;
    height: 380px;
    bottom: -120px;
    left: -100px;
    background: var(--purple);
    border-radius: 55% 45% 40% 60% / 60% 45% 55% 40%;
    animation: morphBlob2 14s ease-in-out infinite;
}

/* Mid-right small accent blob */
.blob-mr {
    width: 220px;
    height: 200px;
    top: 55%;
    right: -60px;
    background: var(--purple-mid);
    opacity: 0.6;
    border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
    animation: morphBlob3 10s ease-in-out infinite;
}

@keyframes morphBlob1 {

    0%,
    100% {
        border-radius: 40% 60% 55% 45% / 45% 50% 50% 55%;
    }

    33% {
        border-radius: 55% 45% 40% 60% / 50% 60% 40% 50%;
    }

    66% {
        border-radius: 45% 55% 60% 40% / 60% 40% 60% 40%;
    }
}

@keyframes morphBlob2 {

    0%,
    100% {
        border-radius: 55% 45% 40% 60% / 60% 45% 55% 40%;
    }

    33% {
        border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
    }

    66% {
        border-radius: 60% 40% 45% 55% / 50% 60% 40% 50%;
    }
}

@keyframes morphBlob3 {

    0%,
    100% {
        border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
    }

    50% {
        border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
    }
}

/* ============================
   Utility
   ============================ */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.purple {
    color: var(--purple);
}

.purple-w {
    color: #e8ccff;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   NAV
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
}

.nav-inner {
    width: 100%;
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.nav.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 60px;
}

/* Hamburger: white border when transparent, subtle when scrolled */
.hamburger {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav.scrolled .hamburger {
    background: white;
    border-color: var(--border);
    backdrop-filter: none;
}

/* Dashboard button: white when transparent nav, purple when scrolled */
.btn-nav-dashboard {
    background: white;
    color: var(--purple);
}

.nav.scrolled .btn-nav-dashboard {
    background: var(--purple);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -0.4px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: filter 0.15s, transform 0.15s, background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.btn-nav-dashboard:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Hamburger button — always visible */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 12px;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(138, 63, 252, 0.08);
    /* No transition on the button itself — prevents hover lag */
}

.hamburger:hover {
    border-color: var(--purple-light);
    box-shadow: 0 4px 16px rgba(138, 63, 252, 0.15);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s, background 0.2s;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--purple);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--purple);
}

/* ============================
   Slide-in Menu Panel
   ============================ */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 16, 40, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.menu-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 360px;
    background: white;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 60px rgba(138, 63, 252, 0.15);
}

.menu-panel.open {
    transform: translateX(0);
}

.menu-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1.5px solid var(--border);
}

.menu-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-mid);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.menu-close:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-pale);
}

.menu-links {
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    gap: 4px;
    flex: 1;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    opacity: 0;
    transform: translateX(24px);
}

.menu-panel.open .menu-link {
    opacity: 1;
    transform: translateX(0);
}

.menu-panel.open .menu-link:nth-child(1) {
    transition-delay: 0.08s;
}

.menu-panel.open .menu-link:nth-child(2) {
    transition-delay: 0.14s;
}

.menu-panel.open .menu-link:nth-child(3) {
    transition-delay: 0.20s;
}

.menu-link {
    transition: background 0.2s, color 0.2s, transform 0.35s ease, opacity 0.35s ease;
}

.menu-link:hover {
    background: var(--purple-pale);
    color: var(--purple);
}

.menu-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--purple-pale);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.menu-link:hover .menu-link-icon {
    background: var(--purple);
    color: white;
}

.menu-link-arrow {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.2s;
}

.menu-link:hover .menu-link-arrow {
    transform: translateX(3px);
    color: var(--purple);
}

.menu-bottom {
    padding: 20px 28px 32px;
    border-top: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.25s, transform 0.35s ease 0.25s;
}

.menu-panel.open .menu-bottom {
    opacity: 1;
    transform: translateY(0);
}

.menu-cta {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    border-radius: 12px;
}

.menu-socials {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.menu-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    font-size: 16px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.menu-social:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-pale);
}

/* Hide old nav-links (not used anymore) */
.nav-links {
    display: none;
}

.btn-nav {
    display: none;
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    padding: 120px 60px 80px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-left {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-pale);
    color: var(--purple);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 26px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.hero h1 {
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple);
    color: white;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 24px rgba(138, 63, 252, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(138, 63, 252, 0.40);
    filter: brightness(1.05);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-mid);
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid var(--border);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--purple-light);
    color: var(--purple);
    background: var(--purple-pale);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hstat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 2px 12px rgba(138, 63, 252, 0.07);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hstat:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.hstat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hstat-info strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hstat-info strong .ctr {
    color: var(--purple);
}

.hstat-info strong .suffix {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0;
}

.hstat-info span {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ctr {
    color: var(--purple);
}

/* ============================
   Hero notification cards
   ============================ */
.hero-right {
    position: relative;
    flex: 0 0 480px;
    height: 560px;
}

/* ============================
   Discord-style Embeds
   ============================ */
.discord-embed {
    position: absolute;
    display: flex;
    background: #f2f3f5;
    border-radius: 4px;
    overflow: hidden;
    width: 360px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.embed-sidebar {
    width: 4px;
    flex-shrink: 0;
    background: #9147ff;
    border-radius: 4px 0 0 4px;
}

.yt-bar {
    background: #ff0000;
}

.tw-bar {
    background: #1da1f2;
}

.embed-content {
    padding: 10px 12px 10px 10px;
    flex: 1;
    min-width: 0;
}

.embed-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4e5058;
    margin-bottom: 6px;
}

.embed-author-icon {
    font-size: 13px;
}

.twitch-icon {
    color: #9147ff;
}

.yt-icon {
    color: #ff0000;
}

.tw-icon {
    color: #1da1f2;
}

.embed-title {
    font-size: 14px;
    font-weight: 700;
    color: #060607;
    margin-bottom: 4px;
    line-height: 1.4;
}

.embed-desc {
    font-size: 13px;
    color: #4e5058;
    line-height: 1.5;
    margin-bottom: 8px;
}

.embed-fields {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.embed-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.field-name {
    font-size: 11px;
    font-weight: 700;
    color: #060607;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-name i {
    font-size: 10px;
    color: var(--purple);
}

.field-val {
    font-size: 13px;
    color: #4e5058;
}

.embed-image {
    margin-bottom: 8px;
}

.embed-thumb {
    background: linear-gradient(135deg, #9147ff 0%, #6441a5 100%);
    border-radius: 4px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: 800;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.embed-thumb i {
    font-size: 28px;
    opacity: 0.9;
}

.embed-thumb span {
    background: #eb0400;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.embed-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #87888c;
    margin-top: 4px;
}

.embed-footer i {
    font-size: 11px;
}

/* Card positions */
.nc-1 {
    top: 0px;
    left: 0;
    z-index: 3;
}

.nc-2 {
    top: 200px;
    right: -20px;
    z-index: 2;
}

.nc-3 {
    bottom: 0px;
    left: 30px;
    z-index: 1;
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.float-a {
    animation: floatA 5s ease-in-out infinite;
}

.float-b {
    animation: floatB 6s ease-in-out infinite 0.8s;
}

.float-c {
    animation: floatC 4.5s ease-in-out infinite 1.6s;
}

/* ============================
   Sections
   ============================ */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.sec-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-pale);
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

.sec-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text);
}

.sec-sub {
    font-size: 16px;
    color: var(--text-mid);
    margin-bottom: 56px;
}

/* ============================
   Features Grid
   ============================ */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.feat-card {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    cursor: default;
}

.feat-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feat-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feat-ico i {
    font-size: 20px;
    color: white;
}

.feat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feat-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
}

.feat-card code {
    background: var(--purple-pale);
    color: var(--purple);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 13px;
    font-family: monospace;
}

/* ============================
   How It Works
   ============================ */
.how-sec {
    background: var(--purple-pale);
    overflow: hidden;
    position: relative;
}

.how-header {
    margin-bottom: 56px;
}

.steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.step {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(138, 63, 252, 0.08);
    border: 1.5px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--purple-light);
}

.step-icon-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.step-icon-wrap>i {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--purple) 0%, #a855f7 100%);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-num-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text);
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step-body p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.65;
}

.step-body code {
    background: var(--purple-pale);
    color: var(--purple);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 12px;
    font-family: monospace;
    font-weight: 600;
}

.step-connector {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-light), transparent);
    border-radius: 2px;
}

.connector-arrow {
    color: var(--purple-light);
    font-size: 14px;
    position: absolute;
    right: 8px;
}

/* ============================
   Platforms
   ============================ */
.plat-sec {}

.plat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 48px;
}

.live-dot {
    color: #eb0400;
    font-size: 10px;
    vertical-align: middle;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}

.pill i {
    font-size: 16px;
}

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

.pill-twitch {
    background: #f3eeff;
    border-color: #d4b0ff;
    color: #7c3aed;
}

.pill-twitch:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.18);
}

.pill-yt {
    background: #fff2f2;
    border-color: #ffbcbc;
    color: #dc2626;
}

.pill-yt:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.15);
}

.pill-tw {
    background: #eff8ff;
    border-color: #bae6fd;
    color: #0284c7;
}

.pill-tw:hover {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

.pill-tk {
    background: #fff1f4;
    border-color: #fda4af;
    color: #e11d48;
}

.pill-tk:hover {
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.13);
}

.pill-ig {
    background: #fff0f8;
    border-color: #f9a8d4;
    color: #db2777;
}

.pill-ig:hover {
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.13);
}

/* ============================
   Pricing
   ============================ */
.price-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
    align-items: stretch;
}

.price-card {
    flex: 1;
    max-width: 320px;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.price-hot {
    border-color: var(--purple-light);
    background: white;
    box-shadow: var(--shadow-lg);
}

.hot-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.plan-amt {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: var(--text);
}

.plan-amt span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0;
}

.plan-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-list li {
    font-size: 14px;
    padding-left: 22px;
    position: relative;
}

.plan-list li::before {
    position: absolute;
    left: 0;
    font-size: 13px;
}

.plan-list li.y {
    color: var(--text);
}

.plan-list li.y::before {
    content: '✓';
    color: var(--purple);
    font-weight: 700;
}

.plan-list li.n {
    color: var(--text-light);
}

.plan-list li.n::before {
    content: '✗';
    color: #d1c5e0;
}

.btn-outline-p {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 12px 24px;
    border: 1.5px solid var(--purple-light);
    border-radius: 11px;
    font-weight: 700;
    font-size: 15px;
    color: var(--purple);
    transition: background 0.2s, transform 0.2s;
}

.btn-outline-p:hover {
    background: var(--purple-pale);
    transform: translateY(-1px);
}

/* ============================
   CTA Band
   ============================ */
.cta-band {
    position: relative;
    z-index: 1;
    background: var(--purple);
    padding: 80px 32px;
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: white;
    margin-bottom: 14px;
}

.cta-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--purple);
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

/* ============================
   Footer
   ============================ */
.footer {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border-top: 1.5px solid var(--border);
    padding: 36px 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.foot-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.foot-links a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.foot-links a:hover {
    color: var(--purple);
}

.copy {
    font-size: 12px;
    color: var(--text-light);
    width: 100%;
    text-align: center;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 130px;
        text-align: center;
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-right {
        width: 100%;
        max-width: 480px;
        height: 520px;
    }

    .hero-sub br {
        display: none;
    }

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

    .container {
        padding: 0 32px;
    }

    .nav-inner {
        padding: 0 32px;
    }

    .steps {
        flex-direction: column;
    }

    .step-connector {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .step-connector {
        display: none;
    }

    .hero-right {
        display: none;
    }

    .price-row {
        flex-direction: column;
        align-items: center;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .copy {
        text-align: left;
    }

    .container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .hero {
        padding: 110px 16px 60px;
    }

    .section {
        padding: 70px 0;
    }

    .discord-embed {
        width: 300px;
    }
}


/* ============================
   Dashboard — Shared Styles
   ============================ */

/* ── Layout ── */
.dash-root {
    display: flex;
    min-height: 100vh;
    background: #f7f5ff;
}

/* ── Sidebar ── */
.sidebar {
    width: 252px;
    flex-shrink: 0;
    background: white;
    border-right: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    border-bottom: 1.5px solid var(--border);
    text-decoration: none;
}

/* Server switcher in sidebar */
.sidebar-guild {
    padding: 12px 14px;
    border-bottom: 1.5px solid var(--border);
}

.sidebar-guild-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
    padding: 0 2px;
}

.sidebar-guild-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.sidebar-guild-btn:hover {
    border-color: var(--purple-light);
}

.guild-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
}

.guild-ico-lg {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    font-weight: 700;
    overflow: hidden;
}

.guild-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}

/* Nav items */
.sidebar-nav {
    flex: 1;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    padding: 8px 12px 4px;
    margin-top: 6px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.sidebar-nav-item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
}

.sidebar-nav-item:hover {
    background: var(--purple-pale);
    color: var(--purple);
}

.sidebar-nav-item.active {
    background: var(--purple-pale);
    color: var(--purple);
    font-weight: 600;
}

/* User footer in sidebar */
.sidebar-user {
    padding: 12px 14px;
    border-top: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #5865f2, #7289da);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
}

.sidebar-username {
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-logout {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    transition: color 0.2s;
}

.sidebar-logout:hover {
    color: #ef4444;
}

/* ── Main area ── */
.dash-main {
    margin-left: 252px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dash-topbar {
    background: white;
    border-bottom: 1.5px solid var(--border);
    padding: 0 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.dash-topbar-title {
    font-size: 16px;
    font-weight: 700;
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-body {
    padding: 24px 28px 48px;
    flex: 1;
}

/* ── Buttons (dash scale) ── */
.btn-dash-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: filter 0.15s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(138, 63, 252, 0.25);
}

.btn-dash-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-dash-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    color: var(--text-mid);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-dash-ghost:hover {
    border-color: var(--purple-light);
    color: var(--purple);
    background: var(--purple-pale);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    color: #ef4444;
    border: 1.5px solid #fecaca;
    border-radius: 9px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.btn-danger:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

/* ── Stat cards ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow);
}

.stat-ico {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-ico.pu {
    background: var(--purple-pale);
    color: var(--purple);
}

.stat-ico.gr {
    background: #dcfce7;
    color: #22c55e;
}

.stat-ico.ye {
    background: #fef3c7;
    color: #f59e0b;
}

.stat-ico.bl {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-num {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 3px;
}

/* ── Section header ── */
.sec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sec-row-title {
    font-size: 15px;
    font-weight: 700;
}

.sec-row-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ── Cards ── */
.card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}

/* ── Platform icon ── */
.plat-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.plat-ico.twitch {
    background: #f3e8ff;
    color: #9147ff;
}

.plat-ico.youtube {
    background: #fee2e2;
    color: #ff0000;
}

.plat-ico.twitter {
    background: #dbeafe;
    color: #1d9bf0;
}

.plat-ico.tiktok {
    background: #f0fdf4;
    color: #16a34a;
}

.plat-ico.instagram {
    background: #fdf2f8;
    color: #ec4899;
}

/* ── Status pill ── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
    white-space: nowrap;
}

.status-pill .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.status-pill.live {
    background: #dcfce7;
    color: #22c55e;
}

.status-pill.offline {
    background: #f1f5f9;
    color: var(--text-light);
}

.status-pill.sent {
    background: #dcfce7;
    color: #22c55e;
}

.status-pill.failed {
    background: #fee2e2;
    color: #ef4444;
}

.status-pill.pending {
    background: #fef3c7;
    color: #f59e0b;
}

/* ── Icon button ── */
.icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 1.5px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-light);
    transition: all 0.15s;
}

.icon-btn:hover {
    border-color: var(--purple-light);
    color: var(--purple);
    background: var(--purple-pale);
}

.icon-btn.del:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fee2e2;
}

/* ── Form inputs ── */
.f-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.f-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
}

.f-input,
.f-select {
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    color: var(--text);
    background: var(--card-bg);
    outline: none;
    transition: border-color 0.2s;
}

.f-input:focus,
.f-select:focus {
    border-color: var(--purple);
}

/* ── Toggle switch ── */
.toggle {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tog-track {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
}

.tog-track::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.toggle input:checked+.tog-track {
    background: var(--purple);
}

.toggle input:checked+.tog-track::after {
    transform: translateX(18px);
}

/* ── Loading / empty ── */
.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px;
    color: var(--text-light);
    font-size: 14px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: _spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes _spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 32px;
    color: var(--border);
    display: block;
    margin-bottom: 10px;
}

.empty-arrow {
    position: absolute;
    top: -50px;
    right: -90px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 10;
    overflow: visible;
    filter: drop-shadow(0 4px 6px rgba(119, 79, 219, 0.2));
}

.empty-arrow path.arrow-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: _drawArrLine 1s forwards ease-in-out 0.2s;
}

.empty-arrow path.arrow-head {
    opacity: 0;
    animation: _fadeUp 0.3s forwards ease 1.0s;
}

@keyframes _drawArrLine {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .empty-arrow {
        display: none;
    }
}

/* ── Login page (full screen) ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
    position: relative;
}

.login-card {
    position: relative;
    z-index: 1;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 44px 40px;
    text-align: center;
    width: 400px;
    box-shadow: var(--shadow-lg);
    animation: _fadeUp 0.5s ease both;
}

@keyframes _fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card .logo {
    justify-content: center;
    margin-bottom: 28px;
}

.login-h {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-sub {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background: #5865f2;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
    transition: transform 0.15s, filter 0.15s;
}

.btn-discord:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.login-foot {
    margin-top: 18px;
    font-size: 12px;
    color: var(--text-light);
}

.login-foot a {
    color: var(--purple);
    text-decoration: none;
}

.login-foot a:hover {
    text-decoration: underline;
}

/* ── Servers page ── */
.servers-page {
    min-height: 100vh;
    background: #f7f5ff;
}

.servers-topbar {
    background: white;
    border-bottom: 1.5px solid var(--border);
    padding: 0 32px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.servers-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.server-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    text-decoration: none;
}

.server-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.server-card.no-bot {
    opacity: 0.7;
    cursor: default;
}

.server-card.no-bot:hover {
    border-color: var(--border);
    box-shadow: none;
    transform: none;
}

.srv-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: 700;
    overflow: hidden;
}

.srv-icon-lg img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.srv-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.srv-card-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

.srv-card-badge.active {
    background: #dcfce7;
    color: #22c55e;
}

.srv-card-badge.inactive {
    background: #f1f5f9;
    color: var(--text-light);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}