:root {
    --primary-start: #1e3a8a;
    --primary-end: #3b82f6;
    --accent-start: #06b6d4;
    --neon: #00d4ff;
    --bg-deep: #0a0a0f;
    --bg-surface: rgba(30, 41, 59, 0.5);
    --bg-card: rgba(15, 23, 42, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.5);
    --font-display: 'Onest', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Onest', 'Plus Jakarta Sans', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: auto;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin-bottom: 50px;
}

::selection {
    background: rgba(59, 130, 246, 0.4);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-end), var(--accent-start));
    border-radius: 4px;
}

html {
    -ms-overflow-style: auto;
    scrollbar-width: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-deep);
    transform: translateZ(0);
}

.bg-effects::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 12, 0.46);
}

.orb {
    position: absolute;
    border-radius: 50%;

    opacity: 0.18;
    transform: translateZ(0);
    will-change: transform;
}

.orb-1 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.65) 0%, rgba(30, 58, 138, 0.18) 42%, transparent 70%);
    top: -260px;
    right: -160px;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.55) 0%, rgba(6, 182, 212, 0.14) 44%, transparent 72%);
    bottom: -240px;
    left: -230px;
    animation-delay: -8s;
    opacity: 0.14;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.42) 0%, rgba(0, 212, 255, 0.12) 42%, transparent 72%);
    top: 48%;
    left: 50%;
    opacity: 0.08;
    animation-delay: -15s;
}

.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f172a 50%, #0a0a0f 100%);
}

.stars {
    position: absolute;
    inset: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: var(--opacity);
        transform: scale(1.2);
    }
}

.shooting-star-wrapper {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.shooting-star-inner {
    height: 2px;
    background: linear-gradient(-45deg, rgba(0, 212, 255, 1), rgba(0, 0, 0, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.8));
    animation: tail 3.5s ease-in-out forwards, shooting 3.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes shooting {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    30% {
        transform: translateX(350px);
        opacity: 0;
    }

    100% {
        transform: translateX(350px);
        opacity: 0;
    }
}

.glow-pulse {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
}

.glow-pulse-1 {
    width: 600px;
    height: 600px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.glow-pulse-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.nav,
.nav *,
.nav *::before,
.nav *::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;justify-content:space-between;padding:1.5rem 2rem;max-width:1200px;margin:0 auto}
.nav-container{position:relative;display:inline-flex;align-items:center;gap:6px;padding:8px 8px;background:transparent;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid transparent;border-radius:9999px;max-width:calc(100% - 2rem);isolation:isolate;transition:background .35s,border-color .35s,box-shadow .35s,backdrop-filter .35s,-webkit-backdrop-filter .35s}
.nav-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0;padding:6px 18px 6px 6px;background:transparent;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid transparent;border-radius:9999px;transition:background .35s,border-color .35s,box-shadow .35s,backdrop-filter .35s,-webkit-backdrop-filter .35s}
.nav-logo-icon{width:44px;height:44px;border-radius:12px;object-fit:cover;box-shadow:0 6px 20px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);}
.nav-logo-text{font-family:var(--font-display);font-size:1.15rem;font-weight:800;letter-spacing:-0.03em;color:#fff;line-height:1;}
.nav-logo-accent{background:linear-gradient(135deg,#60a5fa,#22d3ee);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.nav-divider{width:1px;height:1.2rem;background:rgba(255,255,255,0.1);margin:0 .25rem}
.nav-link{padding:.5rem 1rem;font-size:0.95rem;font-weight:500;color:rgba(255,255,255,0.6);background:transparent;border:none;border-radius:9999px;cursor:pointer;transition:all .2s;white-space:nowrap;text-decoration:none}
.nav-link:hover{color:#fff;background:rgba(255,255,255,0.05)}
.nav-link.active{color:#fff;background:rgba(255,255,255,0.04)}
.nav-btn{padding:.5rem 1.2rem;font-size:0.95rem;font-weight:600;background:linear-gradient(90deg,var(--primary),#60a5fa,var(--primary));color:#fff;border:none;border-radius:9999px;cursor:pointer;white-space:nowrap;text-decoration:none;transition:opacity .2s;display:flex;align-items:center;gap:6px}
.nav-btn:hover{opacity:.9}
.nav-ham-btn{background:rgba(255,255,255,0.08);border:none;border-radius:9999px;cursor:pointer;padding:.5rem .75rem;color:#fff;flex-shrink:0}
@media(min-width:769px){.nav-ham-btn{display:none!important}}
.nav-ham-btn svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none}
.nav-mobile-menu{display:none;position:absolute;top:calc(100% + 8px);left:8px;right:8px;background:rgba(15,15,25,0.98);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:1rem;padding:1rem;flex-direction:column;gap:.5rem;z-index:99}
.nav-mobile-menu.show{display:flex!important;animation:slideDown .3s cubic-bezier(0.175, 0.885, 0.32, 1.275)}
.nav-mobile-menu .nav-link{display:block;text-align:center;padding:.75rem}
.nav-container > .nav-link{display:inline-block}
.nav-mobile-btn{display:block;text-align:center;padding:.75rem;background:linear-gradient(90deg,var(--primary),#60a5fa,var(--primary));color:#fff;font-weight:600;border-radius:9999px;text-decoration:none;margin-top:.5rem}
@media(max-width:768px){
  .navbar{justify-content:space-between;padding:.75rem 1rem}
  .nav-container{display:flex;width:fit-content;max-width:calc(100% - 50px);padding:.5rem .6rem;overflow:visible;background:transparent;border-color:transparent;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);gap:.15rem}
  .nav-logo{width:auto;height:auto;flex-shrink:0;padding:.25rem .5rem .25rem .25rem;border-radius:14px;background:transparent;border-color:transparent;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);gap:8px}
  .nav-logo-icon{width:38px;height:38px;border-radius:10px}
  .nav-logo-text{font-size:1rem}
  .nav-divider{display:none!important}
  .nav-container > .nav-link{display:none!important}
  .nav-btn{display:inline-flex!important;font-size:.82rem;padding:.4rem .85rem}
  .nav-ham-btn{display:flex!important;align-items:center;justify-content:center;padding:.5rem;flex-shrink:0}
  .nav-mobile-menu{left:auto;right:1rem;width:150px;top:calc(100% + 10px);background:rgba(15,15,25,0.95);border-radius:1rem;padding:.5rem;border:1px solid rgba(255,255,255,0.1);box-shadow:0 15px 35px rgba(0,0,0,0.5)}
  .nav-mobile-menu.show{display:flex!important;animation:slideDown .3s cubic-bezier(0.175, 0.885, 0.32, 1.275)}
  .nav-mobile-menu .nav-link{display:block!important;width:100%;text-align:left;color:rgba(255,255,255,0.6);padding:.6rem .8rem;font-weight:500;border-radius:.5rem}
  .nav-mobile-menu .nav-link:hover{color:#fff;background:rgba(255,255,255,0.1)}
  .nav-mobile-btn{display:none!important}
}
@keyframes slideDown{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    margin-bottom: 0px;
    min-height: 100vh;
    min-height: 100svh;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 1.1s var(--ease-out) forwards;
    opacity: 0;
}

.hero-badge span {
    background: linear-gradient(135deg, var(--neon), var(--accent-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    padding-bottom: 0.12em;
    animation: fadeInUp 1.1s var(--ease-out) 0.15s forwards;
    opacity: 0;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.08em 0.12em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 48px;
    animation: fadeInUp 1.1s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.1s var(--ease-out) 0.45s forwards;
    opacity: 0;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    border: 2px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--neon);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    display: none;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    flex-shrink: 0;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }

    50% {
        opacity: .3;
        transform: translateX(-50%) translateY(8px)
    }
}

@keyframes bounce {

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

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

.services {
    padding: 72px 0 120px;
    position: relative;
    z-index: 2;
    scroll-margin-top: 88px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-surface);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    align-items: start;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: visible;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease, opacity 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

.service-card.featured::before {
    opacity: 0.65;
}

.service-card.featured {
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.05);
}

.service-card.featured:hover::before {
    opacity: 1;
}

.badge-hot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 78, 80, 0.4);
    letter-spacing: 0.8px;
    z-index: 10;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
}

.service-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
}

.service-features li svg {
    width: 18px;
    height: 18px;
    color: var(--neon);
    flex-shrink: 0;
}

.service-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    position: relative;
}

.service-price .price-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.service-price .price-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-price .price-old {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.6;
    margin-top: 2px;
}

.service-price .price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ff3d6e, #ff8a3d);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(255, 61, 110, 0.35);
}

.service-price .price-badge svg {
    width: 12px;
    height: 12px;
}

.service-cta {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    border: 1px solid transparent;
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.45);
}

.service-cta.outline {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: var(--neon);
}

.service-cta.outline:hover {
    background: rgba(0, 212, 255, 0.14);
    border-color: var(--neon);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.25);
}

.features {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.teams {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.teams-grid,
.teams-grid-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flex basis keeps ~3 cards per row (like the old grid) but lets a lone
   4th/5th card center on its row instead of sticking to the left. */
.teams-grid > .team-card,
.teams-grid > .team-item,
.teams-grid-list > .team-card,
.teams-grid-list > .team-item {
    flex: 1 1 300px;
    max-width: 360px;
}

.team-item,
.team-card {
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px 24px;
    transition: opacity 1s var(--ease-out),
                transform 1s var(--ease-out),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-item.visible,
.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-item:hover,
.team-card:hover {
    border-color: var(--neon);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
    /* Keep the hover lift snappy even though the entrance is slow & smooth. */
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.team-avatar {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease;
}

.team-item:hover .avatar-img,
.team-card:hover .avatar-img {
    border-color: var(--neon);
}

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

.avatar-decoration {
    position: absolute;
    top: -8%;
    left: -8%;
    width: 116%;
    height: 116%;
    pointer-events: none;
    z-index: 1;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #08080c;
    z-index: 2;
}

/* Discord-accurate status glyphs — the cutout color matches the dot's
   border (#08080c) so idle/dnd/offline read like the real client. */
.status-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #08080c;
}

.status-dot.online {
    background-color: #23a55a;
    color: #23a55a;
    animation: statusPulse 2s ease-out infinite;
}
.status-dot.online::after { display: none; }

/* Idle — crescent moon drawn with a radial-gradient: a dark disc offset to
   the top-right carves the crescent out of the yellow, clipped automatically
   to the dot's border-radius (no pseudo-element, no overflow needed). */
.status-dot.idle {
    background:
        radial-gradient(circle 6px at 28% 28%, #08080c 5px, transparent 5.5px),
        #f0b232;
}
.status-dot.idle::after { display: none; }

/* Do Not Disturb — a horizontal bar through the middle. */
.status-dot.dnd { background-color: #f23f43; }
.status-dot.dnd::after {
    width: 9px;
    height: 3px;
    border-radius: 2px;
}

/* Offline — a hollow ring: a dark dot in the center. */
.status-dot.offline { background-color: #80848e; }
.status-dot.offline::after {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.team-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.team-tag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #60a5fa;
    vertical-align: middle;
}

.team-badge {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.team-activities {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.team-activity {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.act-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
    flex-shrink: 0;
}

.act-icon svg {
    width: 16px;
    height: 16px;
}

.act-art {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.act-text {
    flex-grow: 1;
    line-height: 1.4;
    word-break: break-word;
}

.act-text b, .act-link {
    color: var(--text-primary);
    text-decoration: none;
}

.act-link:hover {
    text-decoration: underline;
}

.act-by {
    color: var(--text-muted);
}

.act-small-art {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.5);
}

.team-social {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.team-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-chat-btn:hover {
    background: var(--neon);
    border-color: transparent;
    color: #0a0a0f;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;

}

.feature-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--primary-end), transparent);
    opacity: 0.5;
    transition: opacity 0.35s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3), 0 0 28px rgba(0, 212, 255, 0.35);
}

.feature-item:hover::before {
    opacity: 0.45;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.feature-item:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.55);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.35s ease;
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.35s ease;
}

.feature-item:hover .feature-title {
    color: var(--neon);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.server-marquee-section {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.server-marquee-section .container {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.server-community {
    text-align: center;
}

.server-community-header {
    margin-bottom: 16px;
}

.server-community-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.server-community-title .glow-text {
    font-weight: 600;
    background: linear-gradient(135deg, var(--neon), var(--primary-end), var(--accent-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-marquee-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    overflow: hidden;
    position: relative;
    min-height: 162px;
}

.server-marquee-wrapper::before,
.server-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}

.server-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(10, 10, 15, 1), transparent);
}

.server-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(10, 10, 15, 1), transparent);
}

.server-track-wrapper {
    overflow: hidden;
    margin-top: 14px;
    padding: 6px 0;
    transform: translate3d(0, 0, 0);
}

.server-track-wrapper:first-child {
    margin-top: 0;
}

.server-track {
    display: flex;
    gap: 14px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.server-track.row1 {
    animation: scrollLeft 12s linear forwards;
    animation-fill-mode: both;
}

.server-track.row2 {
    animation: scrollRight 12s linear forwards;
    animation-fill-mode: both;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.server-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(20, 24, 38, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.server-card:hover {
    border-color: var(--neon);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
    z-index: 10;
}

.server-card img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.server-card span {
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.server-track-wrapper:hover .server-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .server-marquee-section .container {
        max-width: 100%;
    }

    .server-marquee-section {
        padding: 16px 0;
    }

    .server-community-title {
        font-size: 0.95rem;
    }

    .server-marquee-wrapper {
        padding: 8px;
        min-height: 114px;
    }

    .server-card {
        padding: 4px 10px;
    }

    .server-card img {
        width: 20px;
        height: 20px;
    }

    .server-card span {
        font-size: 0.7rem;
    }

    .server-track {
        gap: 8px;
    }
}

.stats {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.stat-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;

}

.stat-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--primary-end), transparent);
    opacity: 0.6;
    transition: opacity 0.35s ease;
}

.stat-item:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.2) inset;
}

.stat-item:hover::before {
    opacity: 0.45;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.25));
    transition: filter 0.35s ease, transform 0.35s ease;
}

.stat-item:hover .stat-number {
    filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.55));
    transform: scale(1.05);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

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

.stats-marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.stats-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: marquee 20s linear infinite;
    padding: 0 24px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.stat-number-inline {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label-inline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.marquee-separator {
    color: var(--neon);
    font-size: 1.5rem;
    opacity: 0.5;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-section {
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 64px 48px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0 60px;
    }

    .cta-container {
        padding: 40px 24px;
    }
}

.footer {
    padding: 80px 0 40px;
    background: #08080c;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.footer-waves-container {
    position: absolute;
    top: -99px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.footer-waves {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: -1px;
    min-height: 100px;
    max-height: 150px;
}

.parallax>use {
    animation: move-wave 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-wave {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .footer-waves-container {
        top: -49px;
        height: 50px;
    }

    .footer-waves {
        height: 50px;
        min-height: 50px;
    }
}

.footer-glow {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center bottom;
    width: 300px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo .logo-text {
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-logo:hover .logo-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.footer-logo:hover .logo-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 4px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--neon), var(--primary-end));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    z-index: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.glow-text {
    font-weight: 600;
    background: linear-gradient(135deg, var(--neon), var(--primary-end), var(--accent-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.5));
    }

    to {
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.9));
    }
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}

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

.service-card,
.feature-item,
.pricing-card,
.faq-item {
    opacity: 0;
    transform: translateY(36px);
    transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out);
}

.service-card.visible,
.feature-item.visible,
.pricing-card.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-64px);
    transition: transform 1.05s var(--ease-out), opacity 1.05s var(--ease-out);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(64px);
    transition: transform 1.05s var(--ease-out), opacity 1.05s var(--ease-out);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

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

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 104px 20px 40px;
    }

    .services {
        padding: 56px 0 80px;
    }

    .features,
    .cta-section {
        padding: 80px 0;
    }

    .service-card {
        padding: 32px;
    }

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

    .cta-container {
        padding: 48px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .orb {

    }

    .orb-1 {
        width: 250px;
        height: 250px;
        top: -140px;
        right: -110px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
        bottom: -130px;
        left: -120px;
    }

    .orb-3 {
        width: 150px;
        height: 150px;
    }
}

#aurora-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--dark-gradient), var(--aurora);
    background-size: 200% 100%;
    mix-blend-mode: overlay;
    opacity: 0.25;
}

.hero-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
    flex-wrap: nowrap;
}
.hero-split .hero-content {
    flex: 0 1 50%;
    text-align: left;
    max-width: 550px;
    margin: 0;
}
.hero-split .hero-cta-group {
    justify-content: flex-start;
}
.hero-split .hero-visual {
    flex: 0 1 50%;
    max-width: 550px;
    width: 100%;
    position: relative;
}

@media(max-width: 992px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .hero-split .hero-content {
        flex: 1 1 100%;
        text-align: center;
        max-width: 100%;
    }
    .hero-split .hero-cta-group {
        justify-content: center;
    }
    .hero-split .hero-visual {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

#aurora-container {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    /* Deep-space base: near-black with a faint blue nebula glow bleeding down
       from the top so the stars read crisply against it. */
    background:
        radial-gradient(ellipse 120% 80% at 50% -10%, rgba(30, 58, 138, 0.55) 0%, rgba(15, 23, 42, 0.25) 40%, transparent 70%),
        linear-gradient(to bottom, #06070f 0%, #080a16 40%, #05060d 70%, #000 100%);
    pointer-events: none;
}
#aurora-bg {
    position: absolute;
    inset: -10px;
    z-index: 1;
    opacity: 0.16;
    filter: blur(14px);
    pointer-events: none;
    --aurora-black: #0a0a0a;
    --aurora-transparent: transparent;
    --blue-500: #2563eb;
    --indigo-300: #60a5fa;
    --blue-300: #1d4ed8;
    --violet-200: #bfdbfe;
    --blue-400: #3b82f6;
    --dark-gradient: repeating-linear-gradient(100deg, var(--aurora-black) 0%, var(--aurora-black) 7%, var(--aurora-transparent) 10%, var(--aurora-transparent) 12%, var(--aurora-black) 16%);
    --aurora: repeating-linear-gradient(100deg, var(--blue-500) 10%, var(--indigo-300) 15%, var(--blue-300) 20%, var(--violet-200) 25%, var(--blue-400) 30%);
    background-image: var(--dark-gradient), var(--aurora);
    background-size: 300% 200%;
    background-position: 50% 50%, 50% 50%;
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
}
#aurora-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--dark-gradient), var(--aurora);
    background-size: 200% 100%;
    mix-blend-mode: overlay;
    opacity: 0.25;
}

/* --- Starfield --------------------------------------------------------
   A fixed field of twinkling stars generated by JS (see main.js). Each
   star gets its own size, position, colour, twinkle duration and delay
   via inline CSS vars, so no two blink together. Sits above the nebula
   (#aurora-bg z-index:1) but still behind all page content. */
.starfield {
    position: absolute;
    inset: -4%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    /* Whole field drifts very slowly so the sky is unmistakably alive even
       before you notice individual stars twinkling. */
    animation: sfDrift 90s linear infinite alternate;
    will-change: transform;
}
@keyframes sfDrift {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-1.5%, 2.5%, 0); }
}
.starfield .sf-star {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--color, #fff);
    opacity: 0;
    box-shadow: 0 0 var(--glow, 4px) var(--color, #fff);
    animation: sfTwinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
    will-change: opacity, transform;
}
/* Bigger swing than before (near-invisible → full bright, 0.55×→1.25×) so
   the blink is obvious, not a barely-there flicker. */
@keyframes sfTwinkle {
    0%, 100% { opacity: 0.05; transform: scale(0.55); }
    50%      { opacity: var(--peak, 0.95); transform: scale(1.25); }
}
/* Shooting star: a thin comet streak that flies across occasionally. */
.starfield .sf-shooter {
    position: absolute;
    top: var(--sy);
    left: var(--sx);
    width: 90px;
    height: 2px;
    background: linear-gradient(-45deg, rgba(0, 212, 255, 0.9), rgba(0, 212, 255, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.7));
    opacity: 0;
    transform: rotate(18deg);
    animation: sfShoot 1.4s ease-out forwards;
}
@keyframes sfShoot {
    0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(18deg); }
    12%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(340px, 110px, 0) rotate(18deg); }
}

.video-dashboard-frame {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.frame-header {
    display: flex;
    padding: 4px 8px 12px;
}

.frame-header .dots {
    display: flex;
    gap: 8px;
}

.frame-header .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.frame-header .dots span:nth-child(1) { background: #ff5f56; }
.frame-header .dots span:nth-child(2) { background: #ffbd2e; }
.frame-header .dots span:nth-child(3) { background: #27c93f; }

.frame-body {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid transparent;
}

.hero-video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: rgba(20, 24, 38, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10;
    white-space: nowrap;
}

.fc-icon, .fc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.fc-icon.green { background: rgba(39, 201, 63, 0.15); color: #27c93f; border: 1px solid rgba(39, 201, 63, 0.2); }
.fc-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.fc-avatar.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; border-radius: 50%; border: 1px solid rgba(168, 85, 247, 0.2); }

.fc-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-title {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fc-status {
    text-transform: none;
    font-size: 0.7rem;
    font-weight: 500;
}
.fc-status.green { color: #27c93f; }

.fc-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.floating-card.revenue { top: -20px; right: -30px; }
.floating-card.order { bottom: 20px; left: -30px; }
.floating-card.order-new { bottom: -30px; right: 20px; }

.floating-1 { animation: float-1 6s ease-in-out infinite; }
.floating-2 { animation: float-2 7s ease-in-out infinite 1s; }
.floating-3 { animation: float-1 8s ease-in-out infinite 2s; }

@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

.services-showcase {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
}

.services-list {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list-item {
    padding: 20px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.service-list-item.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.service-list-item.active .sli-icon {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-list-item.active .sli-text p {
    color: rgba(255, 255, 255, 0.9);
}

.sli-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.sli-text h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
}

.sli-text p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.services-content-area {
    flex: 1;
    background: rgba(20, 24, 38, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 40px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-panel {
    display: none;
    animation: fadeSlideUp 0.4s ease forwards;
}

.service-panel.active {
    display: block;
}

.panel-header h3 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.panel-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.panel-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 12px;
}

.panel-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.panel-features li i {
    color: #27c93f;
    flex-shrink: 0;
    margin-top: 2px;
}

.panel-cta {
    display: flex;
    align-items: center;
}

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

@media(max-width: 992px) {
    .services-showcase {
        flex-direction: column;
    }
    .services-list {
        flex: auto;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .service-list-item {
        flex: 0 0 280px;
    }
    .services-content-area {
        padding: 30px 20px;
    }
    .panel-header h3 {
        font-size: 1.8rem;
    }
}

@media(min-width: 993px) {
    .footer-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .footer-links {
        display: flex !important;
        flex-direction: row !important;
        gap: 32px !important;
    }
}

.nav-btn-buy {
    padding: .5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    color: #fff;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}
.nav-btn-buy::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary-end), var(--accent-start));
    opacity: 0;
    filter: blur(14px);
    z-index: -1;
    transition: opacity .3s;
    background-size: 200% auto;
    animation: pGrad 3s linear infinite;
}
.nav-btn-buy:hover { opacity: .9; }
.nav-btn-buy:hover::before { opacity: .6; }
@media (max-width: 768px) {
    .nav-mobile-menu .nav-btn-buy {
        display: block;
        text-align: center;
        padding: .75rem;
        margin-top: .5rem;
    }
}
@keyframes pGrad {
    0% { background-position: 0%; }
    100% { background-position: 300%; }
}

.hero-title,
.section-title,
.cta-title,
.alt-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.section-title {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-title {
    font-weight: 900;
    letter-spacing: -0.045em;
}

.hero-subtitle,
.section-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: -0.005em;
}

body {
    letter-spacing: -0.005em;
}

.alt-services {
    display: flex;
    flex-direction: column;
    gap: 140px;
    margin-top: 80px;
}

.alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.alt-row.reversed .alt-visual { order: 2; }
.alt-row.reversed .alt-content { order: 1; }

.alt-content { max-width: 520px; }

.alt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}
.alt-eyebrow svg { width: 14px; height: 14px; }

.alt-title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    color: #fff;
    margin-bottom: 18px;
}
.alt-title-accent {
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.alt-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin-bottom: 26px;
    max-width: 460px;
}

.alt-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 6px;
}
.alt-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}
.alt-price-old {
    color: rgba(255,255,255,.4);
    text-decoration: line-through;
    font-size: 1.05rem;
    font-weight: 500;
}
.alt-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

.alt-maintain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ade80;
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 26px;
}
.alt-maintain svg { width: 14px; height: 14px; }

.alt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.alt-features li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 14px;
    transition: transform 0.3s ease;
}
.alt-features li:hover {
    transform: translateY(-3px);
}
.alt-fi {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.alt-fi svg { width: 22px; height: 22px; }
.alt-features li:hover .alt-fi {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

@media (max-width: 560px) {
    .alt-features { gap: 10px; }
    .alt-fi { width: 44px; height: 44px; }
    .alt-fi svg { width: 20px; height: 20px; }
}
.alt-fi.blue   { background: rgba(59,130,246,.18);  color: #60a5fa; border: 1px solid rgba(59,130,246,.28); }
.alt-fi.purple { background: rgba(168,85,247,.18);  color: #c084fc; border: 1px solid rgba(168,85,247,.28); }
.alt-fi.green  { background: rgba(34,197,94,.16);   color: #4ade80; border: 1px solid rgba(34,197,94,.26); }

.alt-trial {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.22);
    color: #67e8f9;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 24px;
}
.alt-trial svg { width: 16px; height: 16px; }

.alt-cta .btn-primary {
    padding: 14px 32px;
    font-size: .95rem;
}

.mock-card {
    background: rgba(16, 20, 32, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.06);
    max-width: 480px;
    margin: 0 auto;
}
.mock-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(96,165,250,.35), transparent 45%);
    z-index: -1;
    filter: blur(20px);
    opacity: .55;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.mock-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}
.mock-title { font-weight: 700; color: #fff; font-size: 1rem; }
.mock-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.5);
    font-size: .82rem;
}
.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mock-dot.online { background: #23a55a; box-shadow: 0 0 8px rgba(35,165,90,.6); }

.mock-embed {
    background: rgba(30,34,48,.65);
    border-left: 4px solid #5865f2;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.mock-embed-title {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 10px;
}
.mock-embed-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: .85rem;
}
.mock-embed-row span { color: rgba(255,255,255,.5); }
.mock-embed-row b { color: #e2e8f0; font-weight: 600; }
.mock-embed-row b.green { color: #4ade80; }

.mock-bill {
    background: rgba(255,255,255,.03);
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}
.mock-bill-title {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.mock-bill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    max-width: 120px;
    margin: 0 auto;
}
.mock-bill-grid span {
    aspect-ratio: 1;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.6) 0 2px, transparent 2px 4px);
    border-radius: 2px;
}
.mock-bill-grid span:nth-child(3n) {
    background: repeating-linear-gradient(-45deg, rgba(96,165,250,.7) 0 2px, transparent 2px 4px);
}

.mock-code { padding: 0; overflow: hidden; }
.mock-code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0,0,0,.35);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span {
    width: 11px; height: 11px; border-radius: 50%;
}
.mock-dots span:nth-child(1) { background: #ff5f56; }
.mock-dots span:nth-child(2) { background: #ffbd2e; }
.mock-dots span:nth-child(3) { background: #27c93f; }
.mock-code-file { color: rgba(255,255,255,.5); font-size: .82rem; margin-left: auto; }
.mock-code-body {
    font-family: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
    font-size: .82rem;
    line-height: 1.65;
    color: #cbd5e1;
    padding: 20px 22px;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}
.c-kw   { color: #c084fc; }
.c-fn   { color: #60a5fa; }
.c-var  { color: #f8fafc; }
.c-prop { color: #67e8f9; }
.c-str  { color: #86efac; }
.c-cmt  { color: rgba(255,255,255,.35); font-style: italic; }

.mock-music-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.mock-music-art {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(0,0,0,.35), transparent),
        linear-gradient(45deg, #f59e0b 0%, #f59e0b 50%, #7c2d12 50%, #7c2d12 100%);
    background-size: 100% 100%, 20px 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.mock-music-info { flex: 1; min-width: 0; }
.mock-music-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.mock-music-track {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.mm-time { font-size: .75rem; color: rgba(255,255,255,.5); }
.mm-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
}
.mm-bar-fill {
    width: 32%;
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    border-radius: 999px;
}
.mock-music-controls {
    display: flex;
    gap: 14px;
    color: #fff;
}
.mock-music-controls svg { width: 18px; height: 18px; }
.mock-music-controls svg:nth-child(2) {
    width: 26px; height: 26px;
    padding: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
}
.mock-music-lyrics {
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ml-line { color: rgba(255,255,255,.35); font-size: .9rem; }
.ml-line svg { width: 16px; height: 16px; color: rgba(255,255,255,.4); }
.ml-line.dim { color: rgba(255,255,255,.28); }
.ml-line.active {
    color: rgba(255,255,255,.4);
    font-weight: 500;
}

.mock-shield-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.mock-shield-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(34,197,94,.35);
}
.mock-shield-icon svg { width: 22px; height: 22px; }
.mock-shield-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.mss-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
}
.mss-val {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.mss-val.green { color: #4ade80; }
.mss-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
}
.mock-shield-log {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.msl-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.02);
}
.msl-row svg { width: 15px; height: 15px; flex-shrink: 0; }
.msl-row.ok   { color: #4ade80; }
.msl-row.warn { color: #f59e0b; }
.msl-row.ok svg   { color: #22c55e; }
.msl-row.warn svg { color: #f59e0b; }

@media (max-width: 992px) {
    .alt-services { gap: 90px; margin-top: 60px; }
    .alt-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .alt-row.reversed .alt-visual { order: 1; }
    .alt-row.reversed .alt-content { order: 2; }
    .alt-content { max-width: 100%; }
    .alt-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
}
@media (max-width: 560px) {
    .alt-services { gap: 70px; }
    .mock-card { padding: 16px; }
    .mock-music-art { width: 64px; height: 64px; }
    .alt-price { font-size: 1.7rem; }
}

.services-showcase { display: none !important; }

.alt-image-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(16, 20, 32, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.alt-image-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(96,165,250,.4), transparent 45%, rgba(34,211,238,.25));
    z-index: -1;
    filter: blur(24px);
    opacity: .5;
    transition: opacity 0.4s ease;
}
.alt-row:hover .alt-image-frame {
    transform: translateY(-6px);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(96, 165, 250, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.alt-row:hover .alt-image-frame::before { opacity: .8; }

.alt-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}
.alt-row:hover .alt-image {
    transform: scale(1.03);
}

.alt-image-empty {
    display: none;
    position: absolute;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(34, 211, 238, 0.04)),
        rgba(16, 20, 32, 0.6);
}
.alt-image-empty i {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    color: rgba(96, 165, 250, 0.7);
}
.alt-image-empty span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
}
.alt-image-empty code {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.8rem;
    color: #93c5fd;
}
.alt-image-frame.is-empty .alt-image { display: none; }
.alt-image-frame.is-empty .alt-image-empty { display: flex; }

.server-marquee-section {
    padding: 100px 0 60px;
}
.server-marquee-section.server-marquee-top {
    padding: 40px 0 60px;
}
.server-marquee-section.server-marquee-top .server-community-header {
    margin-bottom: 28px;
}
.server-community-header {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.server-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}
.server-eyebrow svg { width: 14px; height: 14px; }
.server-community-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}
.server-community-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
}
.server-marquee-wrapper {
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.06), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px 20px;
    min-height: 200px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.server-marquee-wrapper::before {
    background: linear-gradient(90deg, rgba(15, 23, 42, 1), transparent);
    width: 80px;
}
.server-marquee-wrapper::after {
    background: linear-gradient(-90deg, rgba(15, 23, 42, 1), transparent);
    width: 80px;
}
.server-track {
    animation-duration: 40s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
}
.server-track.row1 { animation-name: scrollLeft; }
.server-track.row2 { animation-name: scrollRight; }
.server-card {
    padding: 10px 16px 10px 10px;
    background: rgba(20, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.server-card img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
}
.server-card span {
    font-weight: 600;
    font-size: 0.92rem;
    color: #e2e8f0;
    letter-spacing: -0.005em;
}
.server-card:hover {
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.discord-demo {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #313338; 
    border-radius: 16px;
    overflow: hidden;
    font-family: 'gg sans', 'Onest', 'Segoe UI', system-ui, sans-serif;
    color: #dbdee1;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    position: relative;
}
.discord-demo::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), transparent 50%);
    z-index: -1;
    filter: blur(24px);
    opacity: 0.6;
}

.dd-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #2b2d31;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1px 2px rgba(4, 4, 5, 0.05);
}
.dd-channel {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dd-hash {
    color: #80848e;
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: 2px;
}
.dd-channel-name {
    color: #f2f3f5;
    font-weight: 600;
    font-size: 0.98rem;
}
.dd-rating {
    display: flex;
    gap: 2px;
    color: #f0b232;
}
.dd-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    stroke: currentColor;
}

.dd-messages {
    padding: 14px 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
}
.dd-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.dd-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    flex-shrink: 0;
    overflow: hidden;
}
.dd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dd-bot-avatar {
    background: #5865f2;
}
.dd-body {
    flex: 1;
    min-width: 0;
}
.dd-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    line-height: 1.2;
}
.dd-meta b {
    color: #f2f3f5;
    font-weight: 600;
    font-size: 0.98rem;
}
.dd-bot-name { color: #fff !important; }
.dd-bot-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 5px;
    background: #5865f2;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
    line-height: 1.3;
    height: 15px;
    position: relative;
    top: -1px;
}
.dd-bot-tag::before {
    content: '✓ ';
    font-size: 0.6rem;
    margin-right: 2px;
}
.dd-time {
    color: #949ba4;
    font-size: 0.72rem;
    margin-left: 4px;
}
.dd-content {
    color: #dbdee1;
    font-size: 0.94rem;
    line-height: 1.4;
    word-wrap: break-word;
}
.dd-content b { color: #fff; font-weight: 700; }
.dd-content .dd-green { color: #23a55a; }
.dd-content .dd-blue  { color: #00a8fc; text-decoration: none; }
.dd-slash {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: rgba(88, 101, 242, 0.15);
    color: #c9cdfb;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease;
}
.dd-slash:hover { background: rgba(88, 101, 242, 0.3); color: #fff; }

.dd-typing {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0 8px;
}
.dd-typing-avatar { width: 24px; height: 24px; }
.dd-typing-avatar img { border-radius: 50%; }
.dd-typing-body {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 14px;
    border-radius: 12px;
    color: #949ba4;
    font-size: 0.82rem;
}
.dd-typing-body b { color: #f2f3f5; font-weight: 600; }
.dd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #949ba4;
    display: inline-block;
    animation: ddBounce 1.2s infinite ease-in-out;
}
.dd-dot:nth-child(1) { animation-delay: 0s; }
.dd-dot:nth-child(2) { animation-delay: 0.2s; }
.dd-dot:nth-child(3) { animation-delay: 0.4s; }
.dd-typing-text { margin-left: 8px; }

@keyframes ddBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.dd-anim {
    opacity: 0;
    transform: translateY(6px);
    animation: ddSlideIn 0.35s ease forwards;
    animation-delay: var(--d, 0s);
}
@keyframes ddSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

.dd-hidden { display: none !important; }

.dd-typed {
    animation: ddPopIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes ddPopIn {
    from { opacity: 0; transform: translateY(4px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}

.dd-fade-in {
    animation: ddSlideIn 0.35s ease both;
}
.dd-fade-out {
    animation: ddFadeOut 0.18s ease forwards;
}
@keyframes ddFadeOut {
    to { opacity: 0; transform: translateY(-2px); }
}

/* Msg / cmd-ref grows smoothly instead of snapping full-height when it appears.
   - `cubic-bezier(0.4, 0, 0.2, 1)` (Material standard) instead of a heavy
     ease-out, so the max-height growth stays time-proportional and doesn't
     "finish in the first 100ms and idle".
   - `max-height` cap tuned to real content (~440px for the booking bot with
     invoice + room select) so the animation spends its duration on the actual
     reveal, not on animating past empty space.
   - Opacity fades over the WHOLE duration in sync with the wipe. */
.dd-msg.dd-fade-in,
.dd-cmd-ref.dd-fade-in {
    animation: ddMsgGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    overflow: hidden;
    transform-origin: top center;
    will-change: opacity;
}
@keyframes ddMsgGrow {
    0% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    100% {
        opacity: 1;
        max-height: 520px;
        /* padding intentionally omitted so it eases back to the element's
           natural padding instead of being locked at a fixed value */
    }
}

/* Embed fades in *inside* the growing message; no separate translate/scale so
   it doesn't fight the parent's max-height wipe. */
.dd-msg.dd-fade-in .dd-embed {
    animation: ddEmbedIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}
@keyframes ddEmbedIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.dd-cmd-popup {
    margin: 0 12px;
    background: #2b2d31;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 8px 8px 0 0;
    padding: 8px 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
.dd-cmd-popup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}
.dd-cmd-name {
    color: #00a8fc;
    font-weight: 600;
    font-size: 0.9rem;
}
.dd-cmd-desc {
    color: #949ba4;
    font-size: 0.82rem;
}

.dd-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 12px 14px;
    padding: 10px 12px;
    background: #383a40;
    border-radius: 8px;
    flex-wrap: wrap;
    position: relative; /* anchor for .dd-plus-menu */
}
.dd-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #b5bac1;
    border: none;
    color: #313338;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}
.dd-plus svg { width: 16px; height: 16px; stroke-width: 3; transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1); }
.dd-plus:hover { background: #dbdee1; }
.dd-plus.dd-open { background: #ffffff; }
.dd-plus.dd-open svg { transform: rotate(45deg); }

/* Discord-style popup that appears above the + button */
.dd-plus-menu {
    position: absolute;
    left: 8px;
    bottom: calc(100% + 6px);
    min-width: 220px;
    background: #111214;
    border-radius: 8px;
    padding: 8px;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform-origin: bottom left;
    animation: ddPlusMenuOpen 0.16s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.dd-plus-menu.dd-hidden { display: none; }
@keyframes ddPlusMenuOpen {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.dd-plus-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: #dbdee1;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    line-height: 1;
    transition: background 0.1s ease, color 0.1s ease;
}
.dd-plus-menu-item:hover,
.dd-plus-menu-item:focus-visible {
    background: #4752c4;
    color: #ffffff;
    outline: none;
}
.dd-plus-menu-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #b5bac1;
    transition: color 0.1s ease;
}
.dd-plus-menu-item:hover svg,
.dd-plus-menu-item:focus-visible svg { color: #ffffff; }
.dd-slashline {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}
.dd-slashline .dd-slash {
    font-size: 0.94rem;
    background: transparent;
    padding: 0 2px;
    color: #00a8fc;
    font-weight: 500;
}
.dd-slashline .dd-slash:hover {
    background: transparent;
    color: #00a8fc;
}
.dd-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px 2px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.06);
    color: #dbdee1;
}
.dd-pill b {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.dd-pill-blue   b { background: #3d5cbe; }
.dd-pill-purple b { background: #6a4dbb; }
.dd-pill-red    b { background: #b04a5a; }
.dd-caret {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #dbdee1;
    animation: ddCaret 1s steps(2) infinite;
    margin-left: 2px;
}
@keyframes ddCaret {
    50% { opacity: 0; }
}

@media (max-width: 560px) {
    .discord-demo { border-radius: 14px; }
    .dd-messages { padding: 10px 12px 4px; min-height: 260px; }
    .dd-avatar { width: 30px; height: 30px; font-size: 0.85rem; }
    .dd-meta b { font-size: 0.9rem; }
    .dd-content { font-size: 0.88rem; }
    .dd-cmd-popup, .dd-input { margin-left: 8px; margin-right: 8px; }
    .dd-pill { font-size: 0.76rem; }
    .dd-slashline .dd-slash { font-size: 0.88rem; }
}

@media (max-width: 768px) {
    .server-marquee-section { padding: 60px 0 30px; }
    .server-marquee-wrapper { padding: 18px 12px; min-height: 150px; border-radius: 18px; }
    .server-card { padding: 6px 12px 6px 6px; }
    .server-card img { width: 26px; height: 26px; }
    .server-card span { font-size: 0.78rem; }
    .server-community-header { margin-bottom: 24px; gap: 10px; }
    .server-community-title { font-size: 1.5rem; }
    .server-community-sub { font-size: 0.9rem; }
}

.hero-centered {
    padding: 140px 24px 100px;
}
.hero-center-wrap {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}
.hero-center-wrap .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    letter-spacing: 0.01em;
}
.hero-center-wrap .hero-badge span {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #23a55a;
    box-shadow: 0 0 0 3px rgba(35, 165, 90, 0.22), 0 0 12px rgba(35, 165, 90, 0.7);
    animation: heroDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes heroDotPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(35, 165, 90, 0.22), 0 0 12px rgba(35, 165, 90, 0.7); }
    50%      { box-shadow: 0 0 0 6px rgba(35, 165, 90, 0.08), 0 0 20px rgba(35, 165, 90, 0.9); }
}

.hero-title-center {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.6vw, 5.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 6px 0 0;
    color: #fff;
    max-width: 14ch;
}
.hero-title-accent {
    background: linear-gradient(135deg, #a5b4fc 0%, #60a5fa 45%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.hero-subtitle-center {
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
    max-width: 620px;
    margin: 0;
    font-weight: 400;
}
.hero-cta-center {
    justify-content: center;
    margin-top: 14px;
    animation: none;
    opacity: 1;
    /* Kill the initial slide-right entrance but keep child buttons animatable
       — scoping the reset to the wrapper (not `!important` blanket) so
       .btn-primary/.btn-secondary hover transitions still apply. */
    transform: none;
    transition: none;
}
.hero-cta-center > .btn-primary,
.hero-cta-center > .btn-secondary {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease;
}

.hero-split,
.hero-visual,
.video-dashboard-frame,
.hero-video,
.floating-card,
.floating-card.revenue,
.floating-card.order,
.floating-card.order-new { display: none !important; }

@media (max-width: 768px) {
    .hero-centered { padding: 120px 18px 80px; }
    .hero-center-wrap { gap: 18px; }
    .hero-title-center { letter-spacing: -0.028em; }
    .hero-cta-center { flex-direction: column; width: 100%; }
    .hero-cta-center .btn-primary,
    .hero-cta-center .btn-secondary { width: 100%; justify-content: center; }
}

.dd-cmd-ref {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 4px;
    font-size: 0.78rem;
    color: #949ba4;
    line-height: 1.3;
    flex-wrap: wrap;
}
.dd-cmd-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.dd-cmd-user {
    color: #f2f3f5;
    font-weight: 500;
    font-size: 0.82rem;
}
.dd-cmd-bot-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px 1px 3px;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 999px;
    color: #c9cdfb;
    font-size: 0.78rem;
    font-weight: 500;
}
.dd-cmd-bot-chip img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    object-fit: cover;
}
.dd-cmd-txt { color: #949ba4; }
.dd-cmd-slash {
    color: #c9cdfb;
    background: rgba(88, 101, 242, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.82rem;
}

.discord-demo .dd-cmd-ref + .dd-msg {
    padding: 6px 16px 16px;
    margin: 0;
    min-height: 0;
}
.discord-demo .dd-cmd-ref + .dd-msg .dd-avatar { width: 40px; height: 40px; }

.dd-embed {
    margin-top: 6px;
    max-width: 340px;
    background: #2b2d31;
    border-left: none;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 14px 16px;
}
.dd-embed-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.dd-embed-emoji { font-size: 1rem; line-height: 1; }

.dd-embed-image {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    line-height: 0;
    max-width: 260px;
    /* Reserve space up-front so the box doesn't jump when the WebP finishes
       decoding. Default matches the invoice thumbnails (bill/refund ~0.82). */
    aspect-ratio: 693 / 847;
}
.dd-embed-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.15s ease;
}
.dd-embed-image:hover img { opacity: 0.94; }

.dd-invoice {
    position: relative;
    border-radius: 14px;
    padding: 14px 16px 16px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(94, 234, 212, 0.14) 0%, transparent 50%),
        radial-gradient(120% 100% at 0% 100%, rgba(244, 114, 182, 0.10) 0%, transparent 55%),
        linear-gradient(160deg, #0e1a3a 0%, #0a1230 60%, #060b22 100%);
    color: #e6edff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-family: 'Onest', 'gg sans', 'Segoe UI', system-ui, sans-serif;
}
.dd-inv-shine {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.14) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(4px);
}
.dd-inv-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.dd-inv-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.dd-inv-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(94, 234, 212, 0.10);
    border: 1px solid rgba(94, 234, 212, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dd-inv-logo svg { width: 24px; height: 24px; }
.dd-inv-brand-text { min-width: 0; }
.dd-inv-server {
    font-size: 0.62rem;
    font-weight: 700;
    color: #5eead4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}
.dd-inv-sub {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.dd-inv-date {
    text-align: right;
    font-size: 0.66rem;
    color: rgba(230, 237, 255, 0.6);
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.dd-inv-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(94, 234, 212, 0.25) 50%, transparent 100%);
    margin: 12px 0;
    position: relative;
    z-index: 1;
}
.dd-inv-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}
.dd-inv-meta-col.right { text-align: right; }
.dd-inv-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(230, 237, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.dd-inv-value {
    font-size: 0.86rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}
.dd-inv-table {
    position: relative;
    z-index: 1;
    background: rgba(6, 11, 34, 0.55);
    border: 1px solid rgba(94, 234, 212, 0.12);
    border-radius: 8px;
    overflow: hidden;
}
.dd-inv-thead,
.dd-inv-trow {
    display: grid;
    grid-template-columns: 1fr 60px 90px;
    gap: 8px;
    padding: 8px 12px;
    align-items: center;
}
.dd-inv-thead {
    background: rgba(94, 234, 212, 0.08);
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(230, 237, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dd-inv-thead span:nth-child(2),
.dd-inv-thead span:nth-child(3),
.dd-inv-trow span:nth-child(2),
.dd-inv-trow span:nth-child(3) {
    text-align: right;
}
.dd-inv-trow {
    font-size: 0.8rem;
    color: #e6edff;
}
.dd-inv-money {
    color: #5eead4;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.dd-inv-spacer { height: 12px; }
.dd-inv-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.dd-inv-bank {
    display: inline-block;
    color: #5eead4;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.dd-inv-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.dd-inv-total-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(230, 237, 255, 0.5);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.dd-inv-total-value {
    font-family: var(--font-display), 'Onest', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.dd-inv-total-value span {
    font-size: 0.7rem;
    color: rgba(230, 237, 255, 0.55);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.dd-cmd-popup-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #5865f2;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dd-cmd-popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dd-mention {
    background: rgba(88, 101, 242, 0.35) !important;
    color: #dee0fc !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    font-size: 0.82rem !important;
}

.discord-demo .dd-cmd-popup {
    margin-top: 6px;
    margin-bottom: 0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.discord-demo .dd-cmd-popup + .dd-input {
    margin-top: 0;
    border-radius: 0 0 8px 8px;
}

.dd-room-select {
    margin-top: 8px;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #1e1f22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #b5bac1;
    font-size: 0.82rem;
    cursor: pointer;
}
.dd-room-select svg { width: 18px; height: 18px; color: #b5bac1; }

.discord-demo.dd-flow {
    display: flex;
    flex-direction: column;
    min-height: 620px;
    padding: 14px 0 0;
    max-width: 460px;
    position: relative;
}
.discord-demo.dd-flow .dd-scene {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
}
.discord-demo.dd-flow .dd-cmd-ref,
.discord-demo.dd-flow .dd-msg {
    padding-left: 16px;
    padding-right: 16px;
}
.discord-demo.dd-flow .dd-msg { padding-top: 8px; padding-bottom: 8px; }
.discord-demo.dd-flow .dd-cmd-popup { margin-top: auto; }
.discord-demo.dd-flow .dd-input { margin-top: 0; }

.discord-demo.dd-flow .dd-cmd-popup.dd-hidden + .dd-input,
.discord-demo.dd-flow .dd-scene + .dd-input {
    margin-top: auto;
}

.dd-textline {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
    font-size: 0.94rem;
    color: #dbdee1;
    line-height: 1.3;
}
.dd-typed-text {
    color: #dbdee1;
    font-weight: 500;
    white-space: pre;
}

.dd-prefix-cmd {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(88, 101, 242, 0.15);
    color: #c9cdfb;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'JetBrains Mono', 'Consolas', ui-monospace, monospace;
    font-size: 0.9rem;
}

.dd-embed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #dbdee1;
    display: inline-block;
    flex-shrink: 0;
}

.dd-embed-image-tall {
    max-width: 300px;
    aspect-ratio: 791 / 887;
}
.dd-embed-image-tall img {
    max-height: 380px;
}

@media (max-width: 560px) {
    .dd-embed { max-width: 100%; }
    .dd-invoice { padding: 12px 12px 14px; }
    .dd-inv-thead,
    .dd-inv-trow { grid-template-columns: 1fr 46px 70px; padding: 6px 10px; }
    .dd-inv-total-value { font-size: 1.25rem; }
    .dd-room-select { max-width: 100%; }
}

.discord-demo.dd-flow.dd-static {
    min-height: 0;
    padding-bottom: 14px;
}
.discord-demo.dd-flow.dd-static .dd-msg:last-child { padding-bottom: 14px; }

.dd-embed-pet {
    max-width: 380px;
    padding: 8px;
    margin-top: 4px;
}
.dd-embed-pet .dd-embed-image {
    max-width: 100%;
    border-radius: 6px;
    aspect-ratio: 1331 / 887;
}
.dd-embed-pet .dd-embed-image img {
    max-height: none;
    width: 100%;
    height: 100%;
}

.antinuke-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 8px;
}
.antinuke-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.antinuke-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--plat-glow, transparent), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.antinuke-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.antinuke-item:hover::before { opacity: 0.6; }
.antinuke-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--plat-glow-solid, #fff);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}
.antinuke-icon i {
    width: 28px;
    height: 28px;
}
.antinuke-name {
    color: #e6e8eb;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: .2px;
}
.antinuke-item-red    { --plat-glow: rgba(239,68,68,.28);  --plat-glow-solid: #f87171; }
.antinuke-item-orange { --plat-glow: rgba(245,158,11,.28); --plat-glow-solid: #fbbf24; }
.antinuke-item-blue   { --plat-glow: rgba(59,130,246,.28); --plat-glow-solid: #60a5fa; }
.antinuke-item-green  { --plat-glow: rgba(34,197,94,.28);  --plat-glow-solid: #4ade80; }

@media (max-width: 560px) {
    .antinuke-grid { gap: 12px; padding: 4px; }
    .antinuke-item { padding: 22px 14px; gap: 10px; border-radius: 14px; }
    .antinuke-icon { width: 44px; height: 44px; border-radius: 12px; }
    .antinuke-icon i { width: 22px; height: 22px; }
    .antinuke-name { font-size: 0.85rem; }
}

.music-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 8px;
}
.music-plat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.music-plat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--plat-glow, transparent), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: -1;
}
.music-plat:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.music-plat:hover::before { opacity: 0.5; }

.music-plat-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}
.music-plat-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}
.music-plat-name {
    color: #e6e8eb;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: .2px;
}

.music-plat-spotify   { --plat-glow: rgba(29,185,84,.25); }
.music-plat-soundcloud{ --plat-glow: rgba(255,85,0,.25); }
.music-plat-ytmusic   { --plat-glow: rgba(255,0,0,.22); }
.music-plat-apple     { --plat-glow: rgba(250,35,59,.22); }

@media (max-width: 560px) {
    .music-platforms { gap: 12px; padding: 4px; }
    .music-plat { padding: 22px 14px; gap: 10px; border-radius: 14px; }
    .music-plat-logo { width: 44px; height: 44px; }
    .music-plat-name { font-size: 0.85rem; }
}


/* =====================================================================
   ANIMATION LAYER — smooth-everywhere pass (v43)
   Adds keyframes, reveal-family classes with stagger support, hover
   polish, focus-visible policy, reduced-motion guard, and micro-
   interactions across the whole site. Additive; overrides via cascade.
   ===================================================================== */

/* --- new keyframes --------------------------------------------------- */
@keyframes revealUp   { from { opacity: 0; transform: translate3d(0, 24px, 0); }
                        to   { opacity: 1; transform: translate3d(0, 0, 0);  } }
@keyframes revealScaleKf { from { opacity: 0; transform: scale(0.9); }
                           to   { opacity: 1; transform: scale(1);    } }
@keyframes revealLeftKf  { from { opacity: 0; transform: translate3d(-24px, 0, 0); }
                           to   { opacity: 1; transform: translate3d(0, 0, 0);     } }
@keyframes revealPop {
    0%   { opacity: 0; transform: scale(0.4) rotate(-8deg); }
    60%  { opacity: 1; transform: scale(1.08) rotate(2deg); }
    100% { opacity: 1; transform: scale(1)    rotate(0);    }
}
@keyframes revealBlurKf {
    from { opacity: 0; filter: blur(10px); transform: translate3d(0, 12px, 0); }
    to   { opacity: 1; filter: blur(0);    transform: translate3d(0, 0, 0);   }
}
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shimmerSweep {
    0%       { transform: translateX(-120%) skewX(-20deg); }
    60%,100% { transform: translateX(220%)  skewX(-20deg); }
}
@keyframes gradientShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}
@keyframes statusPulse {
    0%   { box-shadow: 0 0 0 0    currentColor; }
    70%  { box-shadow: 0 0 0 8px  transparent;  }
    100% { box-shadow: 0 0 0 0    transparent;  }
}
@keyframes floatSoft {
    0%, 100% { transform: translate3d(0, 0, 0);  }
    50%      { transform: translate3d(0, -4px, 0); }
}
@keyframes iconWiggle {
    0%, 100% { transform: rotate(0);     }
    25%      { transform: rotate(-6deg); }
    75%      { transform: rotate(6deg);  }
}
@keyframes twinkleSpark {
    0%, 100% { transform: scale(1)    rotate(0);    opacity: 1;   }
    50%      { transform: scale(1.15) rotate(15deg); opacity: .85; }
}
@keyframes glowBreath {
    0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
    50%      { opacity: .9; transform: translateX(-50%) scale(1.06); }
}
@keyframes underlineSlide { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- reveal-family classes with --stagger support --------------------
   These use `animation` (one-shot with fill:forwards) instead of
   `transition` so that when an element ALSO has its own transition list
   (e.g. .btn-primary, .footer-links a), the animation doesn't clobber
   it — the element's own hover transitions stay intact after reveal. */
.reveal-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
}
.reveal-up.visible {
    animation: revealUp 1s var(--ease-out) forwards;
    animation-delay: var(--stagger, 0ms);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}
.reveal-scale.visible {
    animation: revealScaleKf 1.05s cubic-bezier(0.34, 1.4, 0.5, 1) forwards;
    animation-delay: var(--stagger, 0ms);
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
}
.reveal-left.visible {
    animation: revealLeftKf 1.05s var(--ease-out) forwards;
    animation-delay: var(--stagger, 0ms);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(0, 14px, 0);
}
.reveal-blur.visible {
    animation: revealBlurKf 1.2s ease-out forwards;
    animation-delay: var(--stagger, 0ms);
}

.reveal-pop { opacity: 0; transform: scale(0.4); }
.reveal-pop.visible {
    animation: revealPop 1s cubic-bezier(0.34, 1.4, 0.5, 1) forwards;
    animation-delay: var(--stagger, 0ms);
}

.reveal-line {
    transform: scaleX(0);
    transform-origin: left center;
}
.reveal-line.visible {
    animation: drawLine 0.9s var(--ease-out) forwards;
    animation-delay: var(--stagger, 0ms);
}

/* Let existing reveal classes participate in stagger when --stagger is set */
.reveal, .slide-left, .slide-right, .scale-in {
    transition-delay: var(--stagger, 0ms);
}

/* --- stagger utility ------------------------------------------------- */
.stagger-1  { --stagger: 100ms; }
.stagger-2  { --stagger: 200ms; }
.stagger-3  { --stagger: 300ms; }
.stagger-4  { --stagger: 400ms; }
.stagger-5  { --stagger: 500ms; }
.stagger-6  { --stagger: 600ms; }
.stagger-7  { --stagger: 700ms; }
.stagger-8  { --stagger: 800ms; }
.stagger-9  { --stagger: 900ms; }
.stagger-10 { --stagger: 1000ms; }

/* --- Nav shrink on scroll -------------------------------------------
   NOTE: #nav is the full-width bar; the visible glass pill is
   .nav-container. Apply the condensed background to the PILL, never to
   the bar (that paints a floating rectangle). */
#nav {
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
#nav.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#nav.scrolled .nav-container {
    background: rgba(10, 12, 22, 0.72);
    border-color: rgba(0, 212, 255, 0.14);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* Nav logo hover */
.nav-logo {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.45));
}

/* Nav-link underline slide */
.nav-container > .nav-link { position: relative; }
.nav-container > .nav-link::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #b967ff);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.nav-container > .nav-link:hover::after,
.nav-container > .nav-link.active::after { transform: scaleX(1); }

/* Nav CTA button — lift + shimmer + press */
.nav-btn-buy {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                background 0.25s ease;
}
.nav-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.35);
}
.nav-btn-buy:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}
.nav-btn-buy::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
    transform: translateX(-120%) skewX(-20deg);
    pointer-events: none;
}
.nav-btn-buy:hover::after {
    animation: shimmerSweep 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero CTAs — press feedback + shimmer + icon nudge */
.btn-primary, .btn-secondary { position: relative; overflow: hidden; }
.btn-primary:active, .btn-secondary:active {
    transform: translateY(-1px) scale(0.97);
}
.btn-primary::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
    transform: translateX(-120%) skewX(-20deg);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}
.btn-primary:hover::after {
    opacity: 1;
    animation: shimmerSweep 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary > *, .btn-secondary > * { position: relative; z-index: 2; }
.btn-primary svg, .btn-primary i,
.btn-secondary svg, .btn-secondary i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover svg, .btn-primary:hover i,
.btn-secondary:hover svg, .btn-secondary:hover i {
    transform: translateX(3px);
}

/* Hero scroll indicator fade-out */
.hero-scroll-indicator { transition: opacity 0.4s ease; }
.hero-scroll-indicator.fade-out { opacity: 0; pointer-events: none; }

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% 100%;
    animation: gradientShift 6s ease-in-out infinite;
}
.glow-text {
    background-size: 200% 100%;
}

/* ---- Glowing blue text + floating particles ------------------------
   Blue gradient text gets a soft, breathing neon glow (drop-shadow so
   it hugs the clipped glyphs). Big headings also get drifting sparkle
   particles injected by JS (.gt-fx wrapper + .gt-particles layer). */
@keyframes textGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.30)); }
    50%      { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6)); }
}

/* Static neon glow on ALL blue text — painted once, essentially free. */
.gt-glow {
    filter: drop-shadow(0 0 7px rgba(0, 212, 255, 0.38));
}
/* Only the hero headline "breathes" — an animated filter is expensive,
   so we keep the pulse to the 1–2 focal elements per page. The hero
   gradient text also keeps its moving gradient. */
.hero-title .gradient-text.gt-glow {
    animation: gradientShift 6s ease-in-out infinite,
               textGlowPulse 4s ease-in-out infinite;
}
.hero-title-accent.gt-glow {
    animation: textGlowPulse 4s ease-in-out infinite;
}

/* Particle host — positioning context on the text span */
.gt-fx {
    position: relative;
    display: inline-block;
}
.gt-particles {
    position: absolute;
    inset: -55% -10% -25% -10%;   /* extends above/around the glyphs */
    pointer-events: none;
    overflow: visible;
    z-index: 2;                    /* sparkles ride just above the text */
}
.gt-particle {
    position: absolute;
    left: var(--p-x, 50%);
    top: var(--p-y, 50%);
    width: var(--p-size, 3px);
    height: var(--p-size, 3px);
    border-radius: 50%;
    background: radial-gradient(circle,
                #d6f7ff 0%, #67e8f9 45%, rgba(34, 211, 238, 0) 100%);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.7);
    opacity: 0;
    /* NOTE: no will-change — permanent GPU layers on many particles was
       the lag cause. transform/opacity animation composites fine on its own. */
    animation: gtFloat var(--p-dur, 5s) ease-in-out var(--p-delay, 0s) infinite;
}
/* Particles only run while their heading is on screen (JS toggles
   .gt-inview). Off-screen headings then cost nothing. */
.gt-fx:not(.gt-inview) .gt-particle { animation-play-state: paused; }
@keyframes gtFloat {
    0%   { transform: translate3d(0, 0, 0) scale(0.35); opacity: 0; }
    18%  { opacity: var(--p-op, 0.9); }
    82%  { opacity: var(--p-op, 0.9); }
    100% { transform: translate3d(var(--p-dx, 0), var(--p-dy, -34px), 0) scale(1);
           opacity: 0; }
}

/* No sparkles / no pulsing glow when the user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gt-particles { display: none !important; }
    .gt-glow { filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.35)) !important; }
}
.no-anim .gt-particles { display: none !important; }

/* Pricing / plan card hover (was static) */
.pricing-card, .plan-card {
    position: relative;
    transition: transform 0.4s var(--ease-out),
                box-shadow 0.4s ease,
                border-color 0.4s ease,
                opacity 0.4s ease;
}
.pricing-card:hover, .plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3),
                0 0 28px rgba(0, 212, 255, 0.35);
}

/* Team card polish */
.team-item, .team-card {
    transition: transform 0.35s var(--ease-out),
                border-color 0.3s ease,
                box-shadow 0.35s ease,
                opacity 0.5s var(--ease-out);
}
.team-avatar { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.team-card:hover .team-avatar,
.team-item:hover .team-avatar {
    transform: scale(1.06) rotate(-2deg);
}
.team-chat-btn svg,
.team-chat-btn i {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-chat-btn:hover svg,
.team-chat-btn:hover i {
    transform: scale(1.15) rotate(-6deg);
}

/* Music platforms — idle float + logo scale on hover */
.music-plat img, .music-plat svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.music-plat:hover img,
.music-plat:hover svg { transform: scale(1.12); }
.music-plat {
    animation: floatSoft 6s ease-in-out infinite;
}
.music-plat:nth-child(2) { animation-delay: 1.2s; }
.music-plat:nth-child(3) { animation-delay: 2.4s; }
.music-plat:nth-child(4) { animation-delay: 3.6s; }
.music-plat:hover { animation-play-state: paused; }

/* Antinuke icons wiggle on hover */
.antinuke-item i, .antinuke-item svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.antinuke-item:hover i,
.antinuke-item:hover svg {
    animation: iconWiggle 0.6s ease-in-out;
}

/* Alt-features icon polish */
.alt-fi i, .alt-fi svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.alt-features li:hover .alt-fi i,
.alt-features li:hover .alt-fi svg {
    transform: rotate(-8deg) scale(1.1);
}

/* Sparkles twinkle in trial banner */
.alt-trial i[data-lucide='sparkles'],
.alt-trial svg.lucide-sparkles {
    animation: twinkleSpark 3.2s ease-in-out infinite;
    transform-origin: center;
    display: inline-block;
}

/* Footer glow breath (preserves translateX-50% inside the keyframe) */
.footer-glow {
    animation: glowBreath 10s ease-in-out infinite;
}

/* Footer link translateX + smooth transitions */
.footer-links a {
    transition: color 0.3s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                text-shadow 0.3s ease;
    display: inline-block;
}
.footer-links a:hover { transform: translateX(4px); }

/* Social link scale + brand-color glow */
.social-link {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}
.social-link:hover { transform: scale(1.12) rotate(-6deg); }
.social-link[href*='discord']:hover  { box-shadow: 0 0 22px rgba(88, 101, 242, 0.55); }
.social-link[href*='facebook']:hover { box-shadow: 0 0 22px rgba(24, 119, 242, 0.55); }
.social-link[href*='github']:hover   { box-shadow: 0 0 22px rgba(200, 200, 200, 0.35); }

/* Terms — card hover + block icon polish */
.terms-card {
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.terms-card:hover {
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}
.terms-block h3 i,
.terms-block h3 svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.35s ease;
}
.terms-block:hover h3 i,
.terms-block:hover h3 svg {
    transform: scale(1.1) rotate(-6deg);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

/* Neon underline emphasis (.hl) for key phrases in terms */
.hl { position: relative; color: inherit; }
.hl::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,212,255,0.9), rgba(185,103,255,0.9));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--stagger, 0ms) + 200ms);
}
.visible .hl::after, .hl.visible::after { transform: scaleX(1); }

/* Hamburger morph */
#mobileMenuBtn .mb-line {
    display: block;
    width: 22px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    margin: 4px auto;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                opacity 0.2s ease;
}
#mobileMenuBtn.is-open .mb-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#mobileMenuBtn.is-open .mb-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#mobileMenuBtn.is-open .mb-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu stagger children when visible */
.nav-mobile-menu .nav-link {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-menu.show .nav-link {
    opacity: 1;
    transform: translateY(0);
}
.nav-mobile-menu.show .nav-link:nth-child(1) { transition-delay: 80ms;  }
.nav-mobile-menu.show .nav-link:nth-child(2) { transition-delay: 140ms; }
.nav-mobile-menu.show .nav-link:nth-child(3) { transition-delay: 200ms; }
.nav-mobile-menu.show .nav-link:nth-child(4) { transition-delay: 260ms; }
.nav-mobile-menu.show .nav-link:nth-child(5) { transition-delay: 320ms; }
.nav-mobile-menu:not(.show) .nav-link { transition-delay: 0ms !important; }

/* Cursor-follow spotlight for pricing/plan/terms/alt-row (no existing ::after) */
.pricing-card, .plan-card, .terms-card, .alt-row {
    --mx: 50%; --my: 50%;
}
.pricing-card::before,
.plan-card::before,
.terms-card::before,
.alt-row.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx) var(--my),
                                rgba(0, 212, 255, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.pricing-card:hover::before,
.plan-card:hover::before,
.terms-card:hover::before,
.alt-row.spotlight-card:hover::before { opacity: 1; }
.pricing-card > *, .plan-card > *, .terms-card > * { position: relative; z-index: 1; }

/* Global focus-visible policy — keyboard users see the same care as mouse */
:is(a, button, [role='button'],
    .btn-primary, .btn-secondary, .nav-link, .nav-btn-buy,
    .service-card, .team-card, .team-item, .team-chat-btn,
    .pricing-card, .footer-links a, .social-link,
    .service-list-item, .dd-plus, .dd-plus-menu-item):focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.55),
                0 0 0 5px rgba(185, 103, 255, 0.25);
    border-radius: 8px;
}

/* Reduced-motion guard --------------------------------------------------
   Users who requested reduce get near-instant transitions, no infinite
   loops, and instant reveal (so the site is still fully usable). */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto !important; }
    .marquee-content, .server-track,
    .parallax > use, .parallax,
    .floating-1, .floating-2, .floating-3,
    .glow-text, .glow-pulse, .star,
    .hero-badge-dot, .status-dot.online,
    #aurora-bg, .footer-glow, .music-plat,
    .alt-trial i[data-lucide='sparkles'],
    .alt-trial svg.lucide-sparkles { animation: none !important; }
    .reveal, .reveal-up, .reveal-scale, .reveal-blur,
    .reveal-left, .reveal-line, .reveal-pop,
    .slide-left, .slide-right, .scale-in {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* JS-toggled root class variant (matches window.__prefersReducedMotion) */
.no-anim, .no-anim *, .no-anim *::before, .no-anim *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}
