@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   RESET & VARIABLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #ff4757;
    --gold: #ffd93d;
    --dark-red: #ee5a6f;
    --dark-gold: #feca57;
    --navy: #1e272e;
    --navy-dark: #151a1e;
    --navy-darkest: #0a0e12;
    --surface: rgba(30, 39, 46, 0.5);
    --surface-light: rgba(30, 39, 46, 0.8);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #ffffff;
    --text-2: #a4b0be;
    --text-3: #636e72;
    --blue: #6c5ce7;
    --green: #00b894;
    --discord: #5865f2;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--navy-darkest);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(165deg, var(--navy-darkest) 0%, #0d1117 40%, var(--navy-dark) 100%);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.2), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 217, 61, 0.15), transparent 70%);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.12), transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 7rem 0;
}

.section-alt {
    background: rgba(10, 14, 18, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    background: rgba(10, 14, 18, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 14, 18, 0.92);
    border-bottom-color: rgba(255, 71, 87, 0.15);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-wordmark {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-wordmark .accent {
    background: linear-gradient(135deg, var(--red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-2);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 18, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--text);
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid rgba(0, 184, 148, 0.25);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 184, 148, 0); }
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--red) 0%, var(--gold) 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 480px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-3);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Hero scroll-down arrow */
.hero-scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--text-3);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: color 0.3s ease;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-scroll-down:hover {
    color: var(--gold);
}

.hero-scroll-down-text {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-scroll-down-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 217, 61, 0.35);
    background: rgba(255, 217, 61, 0.06);
    color: var(--gold);
    animation: scrollDownBounce 2s ease-in-out infinite;
}

.hero-scroll-down:hover .hero-scroll-down-arrow {
    border-color: rgba(255, 217, 61, 0.6);
    background: rgba(255, 217, 61, 0.12);
}

@keyframes scrollDownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 400px;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

.bot-preview-stack {
    position: relative;
    width: 320px;
    height: 380px;
    margin: 0 auto;
}

.bot-preview-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(16px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    cursor: default;
    width: 260px;
}

.bot-preview-card img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.bpc-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.bpc-role {
    font-size: 0.8125rem;
    color: var(--text-3);
    font-weight: 500;
}

.bpc-1 {
    top: 0;
    left: 0;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
    border-color: rgba(255, 71, 87, 0.2);
}

.bpc-2 {
    top: 100px;
    left: 40px;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(255, 217, 61, 0.12);
    border-color: rgba(255, 217, 61, 0.2);
}

.bpc-3 {
    top: 200px;
    left: 10px;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.2);
}

.bot-preview-card:hover {
    transform: translateY(-4px) scale(1.02);
    z-index: 10;
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.25);
}

@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { flex: none; }
    .bot-preview-stack { width: 280px; height: 320px; }
    .bot-preview-card { width: 240px; }
    .bpc-1 { left: 20px; }
    .bpc-2 { left: 40px; top: 85px; }
    .bpc-3 { left: 10px; top: 170px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), #e84357);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 71, 87, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 71, 87, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--red);
    background: rgba(255, 71, 87, 0.08);
    color: var(--red);
}

.btn-discord {
    background: var(--discord);
    color: #fff;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

/* ============================================
   BOT SHOWCASE
   ============================================ */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.showcase:last-child {
    margin-bottom: 0;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse > * {
    direction: ltr;
}

.showcase-card {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(16px);
}

.showcase-card-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.showcase-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.showcase-card-header h4 {
    font-size: 1rem;
    font-weight: 700;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--green);
    font-weight: 600;
}

.online-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Demo */
.showcase-demo {
    font-size: 0.875rem;
}

.demo-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
}

.demo-cmd {
    background: rgba(88, 101, 242, 0.2);
    color: #7289da;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    font-size: 0.8125rem;
}

.demo-user {
    color: #5865f2;
    font-weight: 600;
}

.demo-arg {
    color: var(--text-2);
}

.demo-text {
    color: var(--text-3);
    font-size: 0.8125rem;
}

.demo-btn-tag {
    background: rgba(88, 101, 242, 0.15);
    color: #7289da;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.demo-response {
    margin-top: 0.75rem;
}

.demo-embed {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(10, 14, 18, 0.5);
}

.demo-embed-bar {
    width: 4px;
    background: var(--red);
    flex-shrink: 0;
}

.bar-gold { background: var(--gold); }
.bar-blue { background: var(--blue); }

.demo-embed-content {
    padding: 0.75rem 1rem;
}

.demo-embed-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.demo-embed-content p {
    color: var(--text-2);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Showcase Info */
.showcase-info {
    position: relative;
}

.showcase-popular {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: var(--navy-darkest);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.showcase-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 71, 87, 0.1);
    color: var(--red);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.showcase-label-gold {
    background: rgba(255, 217, 61, 0.1);
    color: var(--gold);
}

.showcase-label-blue {
    background: rgba(108, 92, 231, 0.1);
    color: var(--blue);
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.showcase-desc {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-features {
    list-style: none;
    margin-bottom: 2rem;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-2);
}

.showcase-features li svg {
    flex-shrink: 0;
}

.showcase-actions {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 860px) {
    .showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .showcase-reverse { direction: ltr; }
    .showcase-title { font-size: 2rem; }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 12px;
    color: var(--red);
    margin-bottom: 1.25rem;
}

.feature-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-2);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STATUS
   ============================================ */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.status-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.status-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.status-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid currentColor;
    opacity: 0.5;
    animation: pulse 2.4s ease-out infinite;
}

.status-dot-green {
    background: #00b894;
    color: #00b894;
}

.status-dot-amber {
    background: #ffd93d;
    color: #ffd93d;
}

.status-dot-blue {
    background: #6c5ce7;
    color: #6c5ce7;
}

.status-pill {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-2);
    border: 1px solid var(--border);
}

.status-pill-gold {
    border-color: rgba(255, 217, 61, 0.4);
    color: var(--gold);
}

.status-pill-blue {
    border-color: rgba(108, 92, 231, 0.4);
    color: var(--blue);
}

.status-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.status-metrics .metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-3);
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.status-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-3);
}

.status-meta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-3);
}

.status-meta-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    position: relative;
}

.status-live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid var(--green);
    opacity: 0.5;
    animation: pulse 2s ease-out infinite;
}

.status-updated {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRICING
   ============================================ */
/* Bundle */
.bundle-highlight {
    position: relative;
    margin-bottom: 3rem;
    border-radius: var(--radius-xl);
    cursor: pointer;
    overflow: hidden;
}

.bundle-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 217, 61, 0.1));
    z-index: 0;
}

.bundle-inner {
    position: relative;
    z-index: 1;
    background: var(--surface-light);
    border: 2px solid rgba(255, 217, 61, 0.25);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.bundle-highlight:hover .bundle-inner {
    border-color: rgba(255, 217, 61, 0.5);
    box-shadow: 0 16px 48px rgba(255, 217, 61, 0.12);
}

.bundle-badge-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: var(--navy-darkest);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.bundle-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.bundle-avatars {
    display: flex;
}

.bundle-avatars img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 3px solid var(--navy-darkest);
    margin-left: -12px;
    transition: var(--transition);
}

.bundle-avatars img:first-child {
    margin-left: 0;
}

.bundle-highlight:hover .bundle-avatars img {
    transform: scale(1.08);
}

.bundle-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.bundle-info p {
    color: var(--text-2);
    font-size: 0.9375rem;
}

.bundle-price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bundle-price {
    display: flex;
    align-items: baseline;
}

.price-dollar {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.price-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -2px;
}

.price-per {
    font-size: 1rem;
    color: var(--text-3);
    font-weight: 500;
    margin-left: 0.25rem;
}

.price-strike {
    font-size: 1.25rem;
    color: var(--text-3);
    text-decoration: line-through;
    opacity: 0.6;
}

.bundle-includes {
    list-style: none;
    margin-bottom: 2rem;
}

.bundle-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-2);
    font-size: 0.9375rem;
}

.bundle-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.bundle-actions {
    max-width: 320px;
}

.bundle-below {
    margin-top: 2.5rem;
}

/* Individual Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.price-card-featured {
    border-color: rgba(255, 217, 61, 0.3);
    box-shadow: 0 0 40px rgba(255, 217, 61, 0.08);
}

.price-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--red), var(--gold));
    color: var(--navy-darkest);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-card-top {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.price-card-top h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.price-tag {
    font-size: 0.8125rem;
    color: var(--text-3);
    font-weight: 500;
}

.price-card-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-2);
    font-size: 0.9375rem;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .bundle-top { flex-direction: column; text-align: center; }
    .bundle-actions { max-width: none; }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--surface-light);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.col-premium {
    background: rgba(255, 71, 87, 0.05) !important;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr {
    background: var(--surface);
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: rgba(30, 39, 46, 0.7);
}

.check {
    color: var(--green);
    font-size: 1.125rem;
    font-weight: 700;
}

.premium-check {
    color: var(--gold);
}

.cross {
    color: var(--text-3);
    font-size: 1.125rem;
    opacity: 0.5;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--border-hover);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-chevron {
    color: var(--text-3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--red);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-2);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-content a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 5rem 0;
}

.cta-inner {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 217, 61, 0.05));
    border: 1px solid rgba(255, 71, 87, 0.15);
    border-radius: var(--radius-xl);
}

.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-inner p {
    color: var(--text-2);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-3);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.75rem;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.125rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col h5 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-3);
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-3);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--navy-dark);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 800px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-sm {
    max-width: 520px;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.1);
    border: none;
    color: var(--text-2);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--red);
}

/* Modal content (bot details) */
.modal-bot-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-bot-avatar {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-bot-name {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.modal-bot-desc {
    color: var(--text-2);
    margin-top: 0.25rem;
}

.modal-bot-price-display {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
}

.modal-features-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.modal-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(10, 14, 18, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.modal-feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-feature-item strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.modal-feature-item p {
    color: var(--text-2);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.modal-actions-row {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .modal-features-list {
        grid-template-columns: 1fr;
    }
    .modal-bot-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   PURCHASE MODAL
   ============================================ */
.purchase-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.purchase-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.purchase-header p {
    color: var(--text-2);
    font-size: 0.9375rem;
}

.purchase-bot-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 14, 18, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.purchase-bot-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.purchase-bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-bot-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.purchase-bot-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 18, 0.6);
    border: 1.5px solid var(--border-hover);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
}

.form-input.valid {
    border-color: var(--green);
}

.form-input.invalid {
    border-color: var(--red);
}

.discord-oauth-section {
    margin-bottom: 1rem;
}

.oauth-hint {
    color: var(--text-3);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.oauth-divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--text-3);
    font-size: 0.8125rem;
}

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

.oauth-divider span {
    padding: 0 1rem;
}

.validation-msg {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.validation-msg.valid { color: var(--green); }
.validation-msg.invalid { color: var(--red); }

.help-text {
    color: var(--text-3);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.help-steps {
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.75rem;
}

.help-steps h4 {
    color: var(--discord);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.help-steps ol {
    padding-left: 1.25rem;
    color: var(--text-2);
    font-size: 0.8125rem;
}

.help-steps li {
    margin-bottom: 0.375rem;
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.error-msg {
    display: none;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.25);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--red);
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 18, 0.95);
    border-radius: var(--radius-xl);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay p {
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.9375rem;
}

.server-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    min-height: 100px;
}
.server-loading-state .loading-spinner {
    width: 32px;
    height: 32px;
}
.server-loading-state p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.9375rem;
    font-weight: 500;
}
.server-selection-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-1);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Selection */
::selection {
    background: rgba(255, 71, 87, 0.3);
    color: var(--text);
}
