/* ===================================================================
   THEME TOKENS
   =================================================================== */
:root {
    --c-bg: #ffffff;
    /* page bg */
    --c-bg-elev: #ffffff;
    /* elevated surface */
    --c-text: #0f172a;
    /* main text */
    --c-sub: #475569;
    /* muted text */
    --c-divider: rgba(15, 23, 42, .10);
    --c-card-border: rgba(15, 23, 42, .08);
    --c-card-shadow: 0 8px 24px rgba(15, 23, 42, .06);

    /* brand accents */
    --brand-1: #6E59F0;
    --brand-2: #F55F8D;
    --brand-3: #5bd6ff;
}

.dark {
    --c-bg: #06080e;
    /* obsidian */
    --c-bg-elev: #0b0f17;
    /* glossy panel */
    --c-text: #dce3f8;
    /* luxury cool white */
    --c-sub: #8a93a8;
    /* muted soft */
    --c-divider: rgba(255, 255, 255, .08);
    --c-card-border: rgba(255, 255, 255, .07);
    --c-card-shadow: 0 20px 40px rgba(0, 0, 0, .55);

    /* luxury hues */
    --brand-1: #7c8aff;
    --brand-2: #ff6fa3;
    --brand-3: #72e3ff;
}

/* ===================================================================
   BASE
   =================================================================== */
html,
body {
    background: var(--c-bg);
    color: var(--c-text)
}

html {
    transition: background-color .15s ease, color .15s ease
}

/* token bridges */
.text-gray-600 {
    color: var(--c-sub) !important
}

.text-gray-800 {
    color: var(--c-text) !important
}

.dark .text-gray-500 {
    color: #9aa4b2 !important
}

.dark .text-gray-600 {
    color: var(--c-sub) !important
}

.dark .text-gray-700 {
    color: #e2e8f0 !important
}

.dark .text-gray-800 {
    color: var(--c-text) !important
}

.border,
.border-t,
.border-b,
.border-l,
.border-r {
    border-color: var(--c-divider) !important;
}

/* ===================================================================
   HEADER / NAV (smart sticky)
   =================================================================== */
#siteHeader {
    position: sticky;
    top: 0;
    z-index: 30;
    transform: translateY(0);
    transition: transform .25s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
    will-change: transform;
}

.header--hidden {
    transform: translateY(-100%)
}

.header--float {
    backdrop-filter: blur(14px) saturate(1.25);
    background: rgba(255, 255, 255, .62);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.dark .header--float {
    background: rgba(8, 12, 20, .78);
    border-bottom-color: rgba(255, 255, 255, .10);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

/* optional top glow bar */
#glowBar {
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    opacity: 0;
    transition: opacity .2s ease
}

/* Mobile overlay/menu (dark tune) */
.dark #mobileOverlay {
    background: rgba(0, 0, 0, .6) !important
}

.dark #mobileMenu {
    background: var(--c-bg-elev) !important;
    border-left-color: var(--c-divider) !important
}

.dark #mobileMenu a {
    color: var(--c-text)
}

.dark #mobileMenu a:hover {
    background: rgba(255, 255, 255, .06) !important
}

/* ===================================================================
   SURFACES & UTILITIES
   =================================================================== */
.card {
    border: 1px solid var(--c-card-border);
    box-shadow: var(--c-card-shadow);
    background: var(--c-bg-elev);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .14)
}

.dark .card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35)
}

.pill {
    border: 1px solid var(--c-divider);
    background: transparent;
    color: var(--c-text)
}

.btn-ghost {
    border: 1px solid var(--c-divider);
    color: var(--c-text)
}

.console-card {
    background: #0f172a;
    border: 1px solid var(--c-card-border);
    color: #dbeafe
}

.dark .console-card {
    background: #0b1324
}

.dark .bg-gray-50 {
    background: #0f1729 !important
}

.dark .bg-gray-100 {
    background: #121a2a !important
}

.dark .bg-gray-200 {
    background: #171f33 !important
}

.dark .bg-gray-300 {
    background: #212a41 !important
}

.bg-white,
footer.bg-white {
    background: var(--c-bg-elev) !important
}

input[type="text"],
input[type="search"],
.field {
    background: var(--c-bg-elev);
    color: var(--c-text);
    border: 1px solid var(--c-divider)
}

input::placeholder {
    color: var(--c-sub)
}

.dark a:hover {
    color: #fff
}

/* invertable logos */
.dark .logo-can-invert {
    filter: brightness(0) invert(1)
}

/* ===================================================================
   TYPOGRAPHY & LAYOUT
   =================================================================== */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem
}

.section {
    padding: 3.5rem 0
}

@media (min-width:768px) {
    .section {
        padding: 5rem 0
    }
}

.h1 {
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-size: 2rem
}

@media (min-width:768px) {
    .h1 {
        font-size: 3rem
    }
}

@media (min-width:1280px) {
    .h1 {
        font-size: 3.75rem
    }
}

.h2 {
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
    font-size: 1.5rem
}

@media (min-width:768px) {
    .h2 {
        font-size: 2rem
    }
}

@media (min-width:1280px) {
    .h2 {
        font-size: 2.25rem
    }
}

.lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--c-sub)
}

/* kicker */
.kicker {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--c-sub);
    background: rgba(0, 0, 0, .04);
    padding: .35rem .6rem;
    border: 1px solid var(--c-divider);
    border-radius: .75rem
}

.dark .kicker {
    background: rgba(255, 255, 255, .06)
}

/* ===================================================================
   HERO GRADIENT BACKDROP
   =================================================================== */
.grad-hero {
    background-image:
        radial-gradient(1200px 600px at 10% 0%, rgba(110, 89, 240, .25), transparent 60%),
        radial-gradient(1200px 600px at 90% -10%, rgba(245, 95, 141, .25), transparent 60%),
        linear-gradient(180deg, #fff 0%, #fbf7ff 50%, #f8fbff 100%);
}

.dark .grad-hero {
    background-image:
        radial-gradient(1200px 600px at 10% 0%, rgba(124, 138, 255, .20), transparent 60%),
        radial-gradient(1200px 600px at 90% -10%, rgba(255, 111, 163, .18), transparent 60%),
        linear-gradient(180deg, #06080e 0%, #0b0f17 50%, #06080e 100%);
}

/* ===================================================================
   HERO TEXT MARK — FINAL (tipis, bukan blok)
   =================================================================== */
.HeroMark {
    position: relative;
    background-image: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.HeroMark::after {
    content: "";
    position: absolute;
    left: .15em;
    right: .15em;
    bottom: .08em;
    height: .18em;
    border-radius: .22em;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    opacity: .35;
    pointer-events: none;
    z-index: -1;
}

.dark .HeroMark::after {
    opacity: .28
}

/* sequential hero badges */
.hero-badges span {
    opacity: 0;
    transform: translateY(8px);
    animation: hb .6s forwards
}

.hero-badges span:nth-child(1) {
    animation-delay: .05s
}

.hero-badges span:nth-child(2) {
    animation-delay: .12s
}

.hero-badges span:nth-child(3) {
    animation-delay: .19s
}

.hero-badges span:nth-child(4) {
    animation-delay: .26s
}

@keyframes hb {
    to {
        opacity: 1;
        transform: none
    }
}

/* cursor blink */
.cursor-blink {
    transition: opacity .2s
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn-primary {
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    color: #fff;
    font-weight: 600;
    border-radius: .9rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .07);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
    opacity: .95
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06)
}

.btn-primary:focus-visible {
    outline: 2px solid var(--brand-1);
    outline-offset: 2px
}

.btn-ghost {
    background: var(--c-bg-elev);
    border: 1px solid rgba(0, 0, 0, .08);
    font-weight: 600;
    border-radius: .9rem;
    transition: all .25s cubic-bezier(.4, 0, .2, 1)
}

.dark .btn-ghost {
    border-color: rgba(255, 255, 255, .12)
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, .05)
}

.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, .08)
}

.btn-outline {
    border: 1px solid rgba(0, 0, 0, .15);
    background: transparent;
    font-weight: 600;
    border-radius: .9rem;
    transition: all .25s cubic-bezier(.4, 0, .2, 1)
}

.dark .btn-outline {
    border-color: rgba(255, 255, 255, .18)
}

.btn-outline:hover {
    background: rgba(0, 0, 0, .05)
}

.dark .btn-outline:hover {
    background: rgba(255, 255, 255, .1)
}

[class*="btn-"]:hover:not(.no-anim) {
    transform: translateY(-2px)
}

[class*="btn-"]:focus-visible {
    outline: 2px solid var(--brand-1);
    outline-offset: 2px
}

/* ===================================================================
   FEATURE / PRICING CARDS (lift + glow rim)
   =================================================================== */
.feature-card,
.pricing-card {
    position: relative;
    border-radius: 1rem;
    background: var(--c-bg-elev);
    border: 1px solid var(--c-card-border);
    box-shadow: var(--c-card-shadow);
    padding: 1.25rem 1.25rem 1.4rem;
    transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s, border-color .22s;
    overflow: hidden;
}

.feature-card::before,
.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .22s;
}

.feature-card:hover,
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .12)
}

.dark .feature-card:hover,
.dark .pricing-card:hover {
    box-shadow: 0 18px 36px rgba(0, 0, 0, .4), 0 0 18px rgba(124, 138, 255, .12), 0 0 28px rgba(255, 111, 163, .08)
}

.feature-card:hover::before,
.pricing-card:hover::before {
    opacity: .7
}

/* icon badges */
.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: 0 10px 22px rgba(110, 89, 240, .22);
    margin-bottom: .9rem
}

.feat-icon.feat-green {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    box-shadow: 0 10px 22px rgba(74, 222, 128, .22)
}

.feat-icon.feat-purple {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    box-shadow: 0 10px 22px rgba(168, 85, 247, .22)
}

.feat-icon.feat-orange {
    background: linear-gradient(135deg, #fbbf24, #f472b6);
    box-shadow: 0 10px 22px rgba(251, 191, 36, .22)
}

.feat-icon.feat-blue {
    background: linear-gradient(135deg, #5bd6ff, #7c8aff);
    box-shadow: 0 10px 22px rgba(91, 214, 255, .20)
}

.feat-icon.feat-amber {
    background: linear-gradient(135deg, #ffb86c, #ff6fa3);
    box-shadow: 0 10px 22px rgba(255, 184, 108, .22)
}

.feat-title {
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    font-size: 1.05rem;
    color: var(--c-text);
    margin: 0 0 .35rem
}

.feat-desc {
    font-size: .92rem;
    line-height: 1.6;
    color: var(--c-sub);
    margin: 0
}

/* ===================================================================
   CTA STRIP
   =================================================================== */
.cta-strip {
    background: #fff
}

.cta-strip .cta-box {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06)
}

.cta-strip h3 {
    color: #0f172a
}

.cta-strip p {
    color: #475569
}

.dark .cta-strip {
    background: #06080e;
    border-color: rgba(255, 255, 255, .08)
}

.dark .cta-strip .cta-box {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25)
}

.dark .cta-strip h3 {
    color: #fff
}

.dark .cta-strip p {
    color: rgba(255, 255, 255, .7)
}

.cta-strip .btn-outline {
    color: #0f172a;
    border-color: rgba(15, 23, 42, .18)
}

.cta-strip .btn-outline:hover {
    background: rgba(15, 23, 42, .04);
    border-color: rgba(15, 23, 42, .28);
    transform: translateY(-1px)
}

.cta-strip .btn-outline:focus-visible {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(110, 89, 240, .35)
}

.dark .cta-strip .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .22)
}

.dark .cta-strip .btn-outline:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .35)
}

.dark .cta-strip .btn-outline:focus-visible {
    box-shadow: 0 0 0 3px rgba(110, 89, 240, .45)
}

/* ===================================================================
   ANIMS / REVEAL
   =================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s, transform .6s
}

.reveal.is-in {
    opacity: 1;
    transform: none
}

.reveal-x {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .6s, transform .6s
}

.reveal-x.is-in {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion:reduce) {

    .btn-grad,
    .card {
        transition: none
    }
}

/* ===================================================================
   DARK-LUXURY LAYERS (spotlight & blobs) — safe z-index
   =================================================================== */
/* page aura */
.dark body {
    background:
        radial-gradient(1800px 1200px at 50% -20%, rgba(124, 138, 255, .12), transparent 60%),
        radial-gradient(1200px 900px at 80% 120%, rgba(255, 111, 163, .10), transparent 60%),
        #05070c;
}

/* background layers container */
#luxLayer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: lighten;
    opacity: .65;
    overflow: hidden
}

.dark #luxLayer {
    mix-blend-mode: screen;
    opacity: .85
}

.lux-blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(110, 89, 240, .55) 0%, rgba(245, 95, 141, .45) 45%, transparent 70%);
    filter: blur(90px);
    animation: luxFloat 14s linear infinite alternate;
}

.lux-blob.b2 {
    background: radial-gradient(circle at center, rgba(91, 214, 255, .5) 0%, rgba(110, 89, 240, .5) 50%, transparent 70%);
    animation-duration: 18s
}

@keyframes luxFloat {
    0% {
        transform: translate(-10%, -5%) scale(1)
    }

    100% {
        transform: translate(15%, 10%) scale(1.25)
    }
}

/* spotlight cursor */
#luxSpot {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 320px;
    pointer-events: none;
    border-radius: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .15) 25%, rgba(255, 255, 255, 0) 70%);
    opacity: .45;
    mix-blend-mode: overlay;
}

.dark #luxSpot {
    background: radial-gradient(circle, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, 0) 85%);
    opacity: .38
}

/* firefox fallback */
@-moz-document url-prefix() {
    #luxSpot {
        mix-blend-mode: normal;
        opacity: .28
    }
}

/* ensure content sits above bg layers */
#appRoot,
header,
main,
.grad-hero,
.surface,
footer {
    position: relative;
    z-index: 1
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: translateX(-100%);
}

.btn-primary:hover::after {
    transform: translateX(100%);
    transition: transform .7s ease;
}

.HeroLine { position: relative; }
.hero-underline {
  position: absolute;
  left: 0; right: 0; bottom: 0.1em;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  opacity: .65;
}


.elevated {
    background: var(--c-bg-elev) !important;
    border: 1px solid var(--c-card-border) !important;
    box-shadow: var(--c-card-shadow) !important;
}

/* ===== Spacing presets (hero, pricing, footer gap) ===== */
.hero-hosting {
    padding-top: clamp(72px, 8vw, 120px);
    /* jarak dari navbar ke hero */
    padding-bottom: clamp(24px, 4vw, 48px);
    /* jarak hero ke bawah */
}

.badge-row {
    margin-top: 18px;
}

.pricing-section {
    padding-top: clamp(28px, 5vw, 64px);
    /* jarak dari hero ke pricing */
    padding-bottom: clamp(72px, 10vw, 140px);
    /* jarak aman dari footer */
}

/* switch billing punya ruang sendiri, bukan nempel hero */
.billing-switch {
    margin: 0 auto clamp(28px, 4vw, 48px);
}

/* optional garis pemisah lembut */
.divider-soft {
    height: 1px;
    background: var(--c-divider);
    margin: clamp(16px, 3vw, 32px) 0;
}
/* --- injected utilities & polish --- */
.hidden{display:none!important;}
.translate-x-full{transform:translateX(100%);}
.transition-opacity{transition:opacity .25s ease;}
.transition-transform{transition:transform .25s ease;}
.pointer-events-none{pointer-events:none;}
.inset-0{top:0;right:0;bottom:0;left:0;}
.inset-y-0{top:0;bottom:0;}
.right-0{right:0;}
.z-40{z-index:40;}
.z-50{z-index:50;}
@media (min-width:768px){.md\:flex{display:flex!important;}.md\:block{display:block!important;}.md\:hidden{display:none!important;}}
@media (min-width:1024px){.lg\:hidden{display:none!important;}}
#mobileOverlay{position:fixed!important;inset:0!important;background:rgba(0,0,0,.45)!important;-webkit-backdrop-filter:blur(2px) saturate(120%);backdrop-filter:blur(2px) saturate(120%);}
#mobileMenu{position:fixed!important;top:0!important;right:0!important;height:100vh!important;max-height:100dvh!important;overflow:auto!important;will-change:transform;}
#mobileOverlay.hidden{display:none!important;pointer-events:none!important;opacity:0!important;}


/* Sorabit Launchboard hero card */
#tiltCard {
    background: #ffffff !important;
    /* terang di light mode */
    color: var(--c-text);
}

.dark #tiltCard {
    background: #020617 !important;
    /* panel gelap di dark mode */
    color: var(--c-text);
}