:root {
    --bg-base: #030303;
    --bg-surface: rgba(255, 255, 255, 0.015);
    --bg-surface-elevated: rgba(255, 255, 255, 0.03);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(58, 77, 133, 0.6);

    --text-main: #FAFAFA;
    --text-muted: #8A8F98;
    --text-inverse: #000000;

    --brand-blue: #3A4D85;
    --brand-blue-hover: #4a62a8;
    --brand-blue-light: rgba(58, 77, 133, 0.2);
    --brand-glow: #8BA4F9;

    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-head: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

.content-wrapper {
    flex: 1 0 auto;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* Deep black base with smooth, pronounced left and right glows using Amla brand blue (#3A4D85) */
    background-color: #050505;
    background-image: 
        radial-gradient(circle 800px at -10% 50%, rgba(58, 77, 133, 0.35), transparent 100%),
        radial-gradient(circle 800px at 110% 50%, rgba(58, 77, 133, 0.3), transparent 100%),
        radial-gradient(ellipse 60% 60% at 50% -10%, rgba(58, 77, 133, 0.15), transparent 100%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    /* Soft, glowing points of light to act like real stars rather than hard dots */
    background-image: 
        radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2.5px 2.5px at 25% 10%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 15% 50%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 45% 35%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 55% 60%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2.5px 2.5px at 12% 80%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 35% 90%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 65% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2.5px 2.5px at 75% 70%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 85% 10%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 90% 45%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(3px 3px at 80% 85%, rgba(255, 255, 255, 0.7), transparent);
    background-repeat: repeat;
    background-size: 800px 600px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 500;
    letter-spacing: -0.03em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.page {
    display: none;
    padding-bottom: 100px;
}

.page.active {
    display: block;
    animation: smoothFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smoothFade {
    from {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: transparent;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: -0.02em;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-glow);
    box-shadow: 0 0 16px var(--brand-glow);
}

/* Bot profile picture — used in the navbar, footer, and section headers */
.bot-pfp {
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.bot-pfp-nav {
    width: 26px;
    height: 26px;
    margin-right: 10px;
}

.bot-pfp-footer {
    width: 26px;
    height: 26px;
    margin-right: 10px;
}

.section-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.bot-pfp-section {
    width: 56px;
    height: 56px;
}

.nav-menu {
    display: none;
    gap: 24px;
}

@media (min-width: 820px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn-primary {
    display: none;
    background: var(--text-main);
    color: var(--text-inverse);
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

@media (min-width: 640px) {
    .action-btn-primary {
        display: inline-flex;
    }
}

.action-btn-primary:hover {
    background: #E0E0E0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 10px;
}

@media (min-width: 820px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    inset: 80px 0 0 0;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(24px);
    z-index: 99;
    padding: 40px 24px;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-link {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}

.mobile-link.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.mobile-action {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    background: var(--text-main);
    color: var(--text-inverse);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 16px;
}

.hero-section {
    padding: 220px 0 100px;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.hero-grid > * {
    min-width: 0;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    text-align: left;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
}

.hero-title em {
    font-style: normal;
    color: var(--brand-glow);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 100%;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-main,
.btn-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    min-height: 1.2em;
    transition: var(--transition-smooth);
    text-align: center;
}

/* Self-contained dark variant used on the hero buttons */
.btn-dark {
    background: #1a1b1e !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark i,
.btn-dark svg,
.btn-dark span {
    color: #ffffff !important;
}

.btn-main {
    background: var(--text-main);
    color: var(--text-inverse);
}

.btn-main:hover {
    background: #E0E0E0;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.15);
}

.btn-alt {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-alt:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--bg-surface-elevated);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 899px) {
    .hero-visual {
        height: auto;
        min-height: 300px;
    }
}

.floating-pill {
    position: absolute;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 12px 24px 12px 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    animation: float 6s ease-in-out infinite;
    transition: var(--transition-smooth);
}

.floating-pill:hover {
    border-color: rgba(139, 164, 249, 0.4);
    transform: scale(1.05);
}

.floating-pill .pill-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.floating-pill .pill-icon svg {
    width: 18px;
    height: 18px;
}

.floating-pill span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-main);
}

.pill-1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.pill-2 {
    top: 45%;
    right: 5%;
    animation-delay: 1.5s;
}

.pill-3 {
    top: 75%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section-wrapper {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
}

.section-title em {
    font-style: normal;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.bento-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .bento-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.feat-header {
    margin-bottom: 24px;
}

.feat-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.feat-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.feat-graphic {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    color: var(--text-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.step-card {
    padding: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--bg-surface);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}

.cta-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at bottom, rgba(58, 77, 133, 0.4), transparent 70%);
    pointer-events: none;
}

.cta-kicker {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 600;
}

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
    margin-top: 100px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 40px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--text-main);
}

.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    z-index: 90;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
    }
}

.commands-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.commands-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.commands-title-row h2 {
    font-size: 2rem;
    font-weight: 500;
}

.commands-search {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.commands-search:hover {
    color: var(--text-main);
}

.search-label {
    font-size: 0.95rem;
}

.cmd-tabs-bar {
    display: flex;
    align-items: center;
    background: #0d0d0f;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 48px;
    border: 1px solid var(--border-subtle);
    overflow-x: auto;
    width: fit-content;
}

.cmd-back {
    padding: 16px 20px;
    color: var(--text-muted);
    border-right: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    background: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cmd-back:hover {
    color: var(--text-main);
}

.cmd-tab {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 16px 24px;
    color: var(--text-muted);
    background: transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
}

.cmd-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.cmd-tab.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.cmd-count {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.cmd-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .cmd-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cmd-cards-grid {
        grid-template-columns: 1fr;
    }
}

.cmd-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition-smooth);
}

.cmd-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.cmd-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cmd-card-name {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: lowercase;
}

.cmd-card-copy {
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 4px;
    background: transparent;
    border: none;
}

.cmd-card-copy:hover {
    color: var(--text-main);
}

.cmd-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cmd-card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.cmd-card-label {
    font-size: 0.9rem;
    color: #8A8F98;
    text-transform: lowercase;
}

.cmd-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cmd-card-tag {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-style: italic;
}

.cmd-card-none {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-main);
}

.pricing-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.price-card.premium {
    border-color: rgba(139, 164, 249, 0.3);
    background: linear-gradient(180deg, rgba(139, 164, 249, 0.05) 0%, rgba(3, 3, 3, 0) 100%);
}

.tier-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.tier-head h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

.tier-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--brand-glow);
    background: rgba(139, 164, 249, 0.1);
    padding: 6px 14px;
    border-radius: 99px;
    text-transform: uppercase;
    font-weight: 600;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-head);
    letter-spacing: -0.04em;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 400;
    letter-spacing: 0;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    gap: 16px;
    font-size: 1.05rem;
    color: var(--text-muted);
    align-items: center;
}

.price-features li svg {
    color: var(--text-main);
    flex-shrink: 0;
    stroke-width: 2px;
}

.price-btn {
    width: 100%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding: 28px 0;
    cursor: pointer;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-main);
    font-family: var(--font-head);
    letter-spacing: -0.02em;
}

.faq-q svg {
    transition: var(--transition-smooth);
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item.open .faq-q svg {
    transform: rotate(45deg);
    color: var(--text-main);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-a {
    max-height: 250px;
}

.faq-a p {
    padding-top: 16px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.faq-a code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-card code {
    display: block;
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-main);
}

.partner-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
}

.partner-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.partner-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.partner-link {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
}

.partner-link:hover {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .partner-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 20px;
    }

    .partner-avatar {
        margin: 0 auto;
    }

    .partner-info h3 {
        justify-content: center;
    }
}
/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.team-avatar-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
}

.team-info h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.team-role {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-role.bot-dev {
    background: rgba(139, 164, 249, 0.1);
    color: #8ba4f9;
}

.team-role.web-dev {
    background: rgba(255, 65, 108, 0.1);
    color: #ff416c;
}

.team-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.team-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.team-social a {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.team-social a[aria-label="Discord"]:hover {
    color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.2);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats Ticker & Marquee */
.stats-ticker-wrapper {
    margin: 80px 0;
    text-align: center;
    overflow: hidden;
}

.stats-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.stats-text strong {
    color: var(--text-main);
}

.server-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 24px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    gap: 24px;
    animation: scroll 30s linear infinite;
}

.server-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: transparent;
    border-radius: 99px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.server-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.server-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.si-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.si-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    font-family: var(--font-sans);
}

.si-mem {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 24px)); }
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    width: 150px;
    outline: none;
}
.search-input::placeholder {
    color: var(--text-muted);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}


.social-btn {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.social-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}
.social-btn[aria-label="Discord"]:hover {
    color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.2);
}



/* ===== Stats & Platform Cards ===== */
.stat-card,
.platform-card {
    background: #0a0a0c;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-heading {
    color: #8ba4f9;
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.stats-container {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-icon {
    margin-bottom: 12px;
    background: rgba(139, 164, 249, 0.1);
    padding: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: #8ba4f9;
    width: 32px;
    height: 32px;
}

/* Enhanced, Cleaner Gradient Font for Stats */
.stat-number-text {
    font-size: 3.5rem; 
    font-weight: 700;
    font-family: var(--font-sans); 
    background: linear-gradient(180deg, #FFFFFF 20%, #8BA4F9 100%); 
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    color: transparent; 
    letter-spacing: -1px; 
    margin-right: 1px; /* Offsets the negative letter-spacing for perfect centering */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover .stat-number-text {
    transform: scale(1.08);
}

.stat-label { 
    color: var(--text-muted); 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-right: -1px; /* Offsets the positive letter-spacing for perfect centering */
    margin-top: 4px; 
}


/* ===== Platform Pills (no glow) ===== */
.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 32px;
}

.platform-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: default;
    transition: border-color 0.3s ease;
}

.platform-pill:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.platform-pill img {
    width: 22px;
    height: 22px;
}

.platform-pill span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

/* ===== Comprehensive Mobile Breakpoints ===== */

@media (max-width: 900px) {
    .hero-section {
        padding: 160px 0 80px;
    }
    .hero-grid {
        gap: 40px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .section-wrapper {
        padding: 80px 0;
    }
    .bento-card {
        padding: 28px;
    }
    .pricing-matrix {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 140px 0 60px;
    }
    .hero-title {
        font-size: 2.4rem !important;
    }
    .hero-description {
        font-size: 1.05rem;
    }
    .btn-main,
    .btn-alt {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-head {
        margin: 0 auto 48px;
    }
    .section-wrapper {
        padding: 60px 0;
    }
    .content-wrapper {
        padding: 0 16px;
    }
    .bento-card {
        padding: 20px;
    }
    .card-heading {
        font-size: 1.3rem;
    }
    .card-desc {
        font-size: 0.95rem;
    }
    .stats-container {
        gap: 24px;
    }
    .stat-number-text {
        font-size: 2.2rem;
    }
    .stat-icon {
        padding: 12px;
    }
    .stat-icon i {
        width: 24px;
        height: 24px;
    }
    .platform-pill {
        padding: 8px 16px;
        gap: 8px;
    }
    .platform-pill img {
        width: 18px;
        height: 18px;
    }
    .platform-pill span {
        font-size: 0.85rem;
    }
    .footer-grid {
        gap: 24px;
        padding: 0 16px;
    }
    .price-card {
        padding: 28px 20px;
    }
    .price-amount {
        font-size: 2rem;
    }
    .partner-card {
        padding: 24px 16px;
    }
    .nav-container {
        padding: 0 16px;
    }
    .commands-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .commands-search {
        width: 100%;
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        padding: 10px 14px;
        background: var(--bg-surface);
    }
    .search-input {
        width: 100%;
        flex: 1;
    }
    .cmd-tabs-bar {
        width: 100%;
    }
    /* Guard against inline-styled grids (partner cards, team cards) forcing
       a minimum column width wider than very narrow phone viewports. */
    .partner-grid,
    .team-grid,
    .pricing-matrix,
    .steps-grid,
    .bento-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem !important;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .stat-number-text {
        font-size: 1.8rem;
    }
    .nav-brand span {
        font-size: 1rem;
    }
}

/* ===== Extra mobile-only fixes (desktop layout is untouched) ===== */

@media (max-width: 900px) {
    /* Floating pills are positioned absolutely for the desktop hero visual;
       on tablets/phones that overlaps the hero copy, so they're laid out
       inline instead. */
    .hero-visual {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
    .floating-pill {
        position: static;
        animation: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cmd-card {
        padding: 24px;
    }
    .price-card {
        padding: 24px 18px;
    }
    .cta-box {
        padding: 48px 24px;
    }
    .stats-text {
        font-size: 0.95rem;
        padding: 0 8px;
    }
}

/* ===== Mobile navbar hardening ===== */
/* Guards against the logo/wordmark or hamburger toggle getting squeezed
   off-screen on narrow phones, and adds safe-area padding for devices with
   a notch/status-bar overlay. Desktop (>820px) is untouched. */
@media (max-width: 820px) {
    .navbar {
        padding-top: env(safe-area-inset-top, 0px);
    }
    .nav-container {
        flex-wrap: nowrap;
    }
    .nav-brand {
        min-width: 0;
        flex-shrink: 1;
    }
    .nav-brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nav-actions,
    .mobile-toggle {
        flex-shrink: 0;
    }
}

/* ===== Grid/flex overflow safety net (mobile) ===== */
/* Grid and flex children default to min-width: auto, meaning they refuse
   to shrink below their content's natural (max-content) width. On desktop
   the viewport is always wide enough that this never shows up, but on a
   narrow phone it silently pushes content past the right edge — and since
   body has overflow-x: hidden, that content just gets clipped instead of
   wrapping, which is what caused text to look cut off / cards to look
   misaligned on mobile while desktop rendered "perfectly". This forces
   every grid/flex container's direct children to be allowed to shrink to
   the container width so text wraps normally instead of overflowing. */
@media (max-width: 900px) {
    .bento-grid-2 > *,
    .footer-grid > *,
    .stats-container > *,
    .platforms-grid > *,
    .steps-grid > *,
    .pricing-matrix > *,
    .hero-buttons > *,
    .commands-header > * {
        min-width: 0;
    }
}