/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --pink: #ec4899;
    --pink-dark: #be185d;
    --cyan: #06b6d4;
    --dark: #0f172a;
    --darker: #060d1a;
    --card-bg: #0c1220;
    --card-border: rgba(255, 255, 255, 0.07);
    --text: #e2e8f0;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --nav-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(79, 70, 229, 0.4);
    color: #fff;
}

img,
svg {
    max-width: 100%;
}

/* =============================================
   NAVBAR
============================================= */
#mainNav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
    background: transparent;
}

#mainNav.nav-scrolled {
    height: 62px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.08);
}

#mainNav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* --- Brand / Logo --- */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand-icon:hover {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.nav-brand-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.nav-brand-text {
    line-height: 1;
}

.nav-brand-text .brand-aion {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    transition: color 0.4s;
}

.nav-brand-text .brand-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.5px;
    transition: color 0.4s;
}

#mainNav.nav-scrolled .brand-aion {
    color: var(--primary);
}

#mainNav.nav-scrolled .brand-sub {
    color: var(--muted);
}

/* --- Nav Links --- */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-links .nav-item a {
    display: block;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    transition: color 0.3s, background 0.3s;
}

.nav-links .nav-item a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--pink));
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links .nav-item a:hover::after {
    transform: scaleX(1);
}

.nav-links .nav-item a:hover {
    color: #fff;
}

#mainNav.nav-scrolled .nav-links .nav-item a {
    color: #334155;
}

#mainNav.nav-scrolled .nav-links .nav-item a:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.06);
}

/* --- Login Button --- */
.btn-nav-login {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    text-decoration: none;
    overflow: hidden;
    transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.35);
}

.btn-nav-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-nav-login:hover {
    background-position: 100% 0%;
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

.btn-nav-login:hover::before {
    left: 150%;
}

/* --- Hamburger --- */
.nav-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s;
    flex-shrink: 0;
}

#mainNav.nav-scrolled .nav-toggler {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.15);
}

.nav-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
}

#mainNav.nav-scrolled .nav-toggler span {
    background: var(--primary);
}

.nav-toggler.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggler.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggler.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 24px 28px;
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.nav-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

#mainNav.nav-scrolled~.nav-mobile-menu {
    background: rgba(255, 255, 255, 0.97);
}

.nav-mobile-menu ul {
    list-style: none;
    margin-bottom: 20px;
}

.nav-mobile-menu ul li a {
    display: block;
    padding: 12px 4px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, padding-left 0.2s;
}

#mainNav.nav-scrolled~.nav-mobile-menu ul li a {
    color: #334155;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-mobile-menu ul li a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.nav-mobile-menu .btn-nav-login {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

@media (max-width: 991px) {

    .nav-links,
    .nav-desktop-cta {
        display: none !important;
    }

    .nav-toggler {
        display: flex;
    }

    .nav-mobile-menu {
        display: block;
    }
}


/* =============================================
   PLACEHOLDER SECTIONS (diisi bertahap)
============================================= */
.section-placeholder {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e1b4b 45%,
            #2d1f6e 75%,
            #1a0a3d 100%);
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* ---- Particle Canvas ---- */
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Gradient Orbs ---- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Orb 1 — pink/rose, top-right */
.hero-orb-1 {
    width: 700px;
    height: 700px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle at center,
            rgba(236, 72, 153, 0.30) 0%,
            rgba(190, 24, 93, 0.12) 40%,
            transparent 68%);
    filter: blur(60px);
    animation: orbDrift1 20s ease-in-out infinite alternate;
}

/* Orb 2 — cyan/teal, bottom-left */
.hero-orb-2 {
    width: 550px;
    height: 550px;
    bottom: -120px;
    left: -100px;
    background: radial-gradient(circle at center,
            rgba(6, 182, 212, 0.22) 0%,
            rgba(8, 145, 178, 0.10) 40%,
            transparent 68%);
    filter: blur(70px);
    animation: orbDrift2 25s ease-in-out infinite alternate;
}

/* Orb 3 — indigo accent, mid-screen */
.hero-orb-3 {
    width: 350px;
    height: 350px;
    top: 35%;
    left: 28%;
    background: radial-gradient(circle at center,
            rgba(99, 102, 241, 0.20) 0%,
            transparent 65%);
    filter: blur(50px);
    animation: orbDrift3 17s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-50px, 70px) scale(1.12);
    }
}

@keyframes orbDrift2 {
    from {
        transform: translate(0, 0) scale(1.05);
    }

    to {
        transform: translate(60px, -50px) scale(0.92);
    }
}

@keyframes orbDrift3 {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    to {
        transform: translate(-35px, 35px) scale(1.2);
        opacity: 0.8;
    }
}

/* Subtle noise grain overlay untuk depth */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

/* ---- Hero Content Layer ---- */
.hero-content-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 100px;
}

@media (max-width: 991px) {
    .hero-content-layer {
        padding: 60px 0 80px;
    }

    .hero-section {
        align-items: flex-start;
        padding-top: calc(var(--nav-h) + 20px);
    }
}

@media (max-width: 576px) {
    .hero-content-layer {
        padding: 40px 0 60px;
    }
}

/* =============================================
   HERO — BADGE
============================================= */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(79, 70, 229, 0.18);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a5b4fc;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
    animation: heroFadeUp 0.6s ease 0.15s both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #818cf8;
    border-radius: 50%;
    flex-shrink: 0;
    animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(129, 140, 248, 0);
    }
}

/* =============================================
   HERO — HEADLINE
============================================= */
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 20px;
    animation: heroFadeUp 0.7s ease 0.3s both;
}

.hero-title-line2 {
    display: block;
    background: linear-gradient(90deg, #e0e7ff 0%, #a5f3fc 55%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   HERO — TYPEWRITER SUBTITLE
============================================= */
.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.70);
    margin-bottom: 36px;
    min-height: 2.8rem;
    animation: heroFadeUp 0.7s ease 0.45s both;
}

.tw-static {
    color: rgba(226, 232, 240, 0.70);
}

.tw-text {
    color: #67e8f9;
    font-weight: 600;
}

.tw-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #67e8f9;
    margin-left: 1px;
    vertical-align: middle;
    border-radius: 1px;
    animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* =============================================
   HERO — CTA BUTTONS
============================================= */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
    animation: heroFadeUp 0.7s ease 0.60s both;
}

/* Primary — gradient pink shimmer */
.btn-hero-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #f43f5e 0%, var(--pink) 50%, var(--pink-dark) 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.40);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background-position 0.4s ease;
    white-space: nowrap;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(236, 72, 153, 0.55);
    background-position: 100% 0%;
    color: #fff;
}

.btn-hero-primary:hover::before {
    left: 160%;
}

/* Secondary — frosted glass */
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s, border-color 0.3s, transform 0.25s, box-shadow 0.3s;
    white-space: nowrap;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* =============================================
   HERO — MINI STATS
============================================= */
.hero-mini-stats {
    display: flex;
    align-items: center;
    gap: 0;
    animation: heroFadeUp 0.7s ease 0.75s both;
}

.mini-stat {
    padding: 0 22px;
    text-align: center;
}

.mini-stat:first-child {
    padding-left: 0;
}

.mini-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 5px;
}

.mini-stat span {
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.4px;
}

.mini-stat-sep {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* ---- shared hero entry animation ---- */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive hero text ---- */
@media (max-width: 576px) {
    .hero-title {
        letter-spacing: -1px;
    }

    .hero-cta-group {
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .mini-stat {
        padding: 0 14px;
    }

    .mini-stat strong {
        font-size: 1.05rem;
    }
}

/* =============================================
   HERO — MOCKUP SCENE & WRAPPER
============================================= */
.mockup-scene {
    position: relative;
    padding: 30px 30px 30px 10px;
    animation: heroFadeUp 0.8s ease 0.5s both;
}

.mockup-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.70),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 100px rgba(79, 70, 229, 0.18),
        0 0 200px rgba(79, 70, 229, 0.06);
    transition: transform 0.12s linear;
    will-change: transform;
}

/* =============================================
   HERO — FLOATING BADGES
============================================= */
.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(8, 16, 34, 0.90);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.fb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fb-green {
    border-color: rgba(34, 197, 94, 0.28);
}

.fb-green .fb-dot {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.fb-amber {
    border-color: rgba(245, 158, 11, 0.28);
}

.fb-amber .fb-dot {
    background: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
}

.fb-blue {
    border-color: rgba(129, 140, 248, 0.28);
}

.fb-blue .fb-dot {
    background: #818cf8;
    box-shadow: 0 0 6px #818cf8;
}

/* Positions */
.badge-1 {
    top: 6%;
    left: -8px;
    animation: float1 4.2s ease-in-out infinite;
}

.badge-2 {
    top: 48%;
    right: 5px;
    animation: float2 5.0s ease-in-out infinite 1.3s;
}

.badge-3 {
    bottom: 10%;
    left: 6%;
    animation: float3 4.6s ease-in-out infinite 0.7s;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-11px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* Hide badges below lg, soften perspective on md */
@media (max-width: 1199px) {
    .floating-badge {
        display: none;
    }
}

@media (max-width: 991px) {
    .mockup-scene {
        padding: 20px 0 0;
    }

    .mockup-wrapper {
        transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) !important;
    }
}

@media (max-width: 575px) {
    .mockup-wrapper {
        transform: none !important;
        border-radius: 10px;
    }
}

/* =============================================
   STATS SECTION
============================================= */
.stats-section {
    background: #fff;
    position: relative;
    z-index: 10;
    margin-top: -40px;
    border-radius: 28px 28px 0 0;
    padding: 3rem 0 2.75rem;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.18);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 1px;
    height: 60%;
    background: #e2e8f0;
}

.stat-icon-wrap {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.stat-underline {
    height: 3px;
    width: 44px;
    background: #e2e8f0;
    border-radius: 99px;
    margin: 0 auto 10px;
    overflow: hidden;
}

.stat-underline-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--pink));
    border-radius: 99px;
    transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.stat-item.counted .stat-underline-fill {
    width: 100%;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

@media (max-width: 767px) {
    .stats-section {
        margin-top: -20px;
        border-radius: 20px 20px 0 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid #e2e8f0;
    }
}

/* =============================================
   FEATURES SECTION — BENTO GRID
============================================= */
.features-section {
    background: #030712;
    padding: 6rem 0 5rem;
}

/* Section header shared styles */
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.30);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #818cf8;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #fff;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-light);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 3rem;
}

/* --- Bento Layout --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

/* Explicit grid placement */
.bento-c1 {
    grid-column: 1 / 3;
    grid-row: 1;
}

.bento-c2 {
    grid-column: 3;
    grid-row: 1;
}

.bento-c3 {
    grid-column: 1;
    grid-row: 2 / 4;
}

.bento-c4 {
    grid-column: 2;
    grid-row: 2;
}

.bento-c5 {
    grid-column: 2 / 4;
    grid-row: 3;
}

.bento-c6 {
    grid-column: 3;
    grid-row: 2;
}

/* --- Bento Card Base --- */
.bento-card {
    background: #0c1220;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(79, 70, 229, 0.12);
}

/* Subtle radial glow behind card on hover */
.bento-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.bento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.bento-card>p {
    font-size: 0.86rem;
    color: var(--muted-light);
    line-height: 1.65;
    margin-bottom: 0;
}

.bento-illustration {
    margin-top: auto;
    padding-top: 22px;
}

/* ---- C1: RFID ---- */
.rfid-demo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rfid-card-mockup {
    position: relative;
    width: 170px;
    height: 100px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid rgba(129, 140, 248, 0.25);
    padding: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.rfid-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, #818cf8 35%, #c4b5fd 50%, #818cf8 65%, transparent 95%);
    box-shadow: 0 0 14px 3px rgba(129, 140, 248, 0.55);
    animation: rfidScan 2.8s ease-in-out infinite;
}

@keyframes rfidScan {
    0% {
        top: 8px;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        top: 88px;
        opacity: 0;
    }
}

.rfid-card-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rfid-card-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 3px 0 2px;
}

.rfid-card-kelas {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.rfid-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 26px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    opacity: 0.85;
}

.rfid-reader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rfid-reader-body {
    width: 44px;
    height: 60px;
    border-radius: 8px;
    background: #161d2e;
    border: 1px solid rgba(129, 140, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rfid-led {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: ledBlink 1.4s ease-in-out infinite;
}

@keyframes ledBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 3px #22c55e;
    }
}

.rfid-reader-lbl {
    font-size: 0.6rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rfid-ok {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    padding: 5px 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
}

/* ---- C2: QR Code ---- */
.qr-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-ring-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-icon {
    font-size: 3rem;
    color: #22c55e;
    position: relative;
    z-index: 1;
}

.qr-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.7);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    animation: qrPulse 2.6s ease-out infinite;
}

.qr-ring-2 {
    animation-delay: 1s;
}

@keyframes qrPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

.qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
}

/* ---- C3: WhatsApp (tall) ---- */
.wa-phone {
    flex: 1;
    background: #0d1117;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.wa-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #128C7E;
}

.wa-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.wa-head-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.wa-head-status {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
}

.wa-body {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    background: #0b1217;
}

.wa-bubble {
    max-width: 88%;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.wa-in {
    background: #1e2d3d;
    border-radius: 2px 10px 10px 10px;
    align-self: flex-start;
}

.wa-out {
    background: #005c4b;
    border-radius: 10px 2px 10px 10px;
    align-self: flex-end;
}

.wa-ts {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    text-align: right;
    margin-top: 2px;
}

.wa-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    margin: 0 1.5px;
    animation: waDot 1.3s ease infinite;
}

.wa-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.wa-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes waDot {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* ---- C4: Laporan ---- */
.report-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.report-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.report-file:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(79, 70, 229, 0.2);
}

.report-file .rf-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rf-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.2;
}

.rf-meta {
    font-size: 0.67rem;
    color: var(--muted);
}

.rf-dl {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.8rem;
    transition: color 0.2s;
}

.report-file:hover .rf-dl {
    color: var(--primary-light);
}

/* ---- C5: Multi-Sekolah (wide) ---- */
.ms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.ms-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
    transition: background 0.25s, border-color 0.25s;
}

.ms-item:hover {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
}

.ms-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 7px;
}

.ms-bar-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 5px;
}

.ms-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.ms-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.67rem;
    color: var(--muted);
}

.ms-pct {
    color: var(--primary-light);
    font-weight: 600;
}

/* ---- C6: Real-time Dashboard ---- */
.rt-demo {
    margin-top: 16px;
}

.rt-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #f87171;
    margin-bottom: 12px;
}

.rt-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: rtPulse 1.5s ease infinite;
}

@keyframes rtPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
    }
}

.rt-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9px;
}

.rt-lbl {
    font-size: 0.77rem;
    color: var(--muted-light);
}

.rt-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #818cf8;
}

/* ---- Bento Responsive ---- */
@media (max-width: 1023px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-c1 {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-c2 {
        grid-column: auto;
        grid-row: auto;
    }

    .bento-c3 {
        grid-column: auto;
        grid-row: auto;
    }

    .bento-c4 {
        grid-column: auto;
        grid-row: auto;
    }

    .bento-c5 {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-c6 {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-c1,
    .bento-c5 {
        grid-column: auto;
    }

    .rfid-demo {
        justify-content: center;
    }

    .ms-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   TIMELINE — CARA KERJA
============================================= */
.timeline-section {
    padding: 6rem 0 5rem;
    background: #050c18;
}

/* Track + fill */
.tl-container {
    position: relative;
}

.tl-track {
    position: absolute;
    top: 32px;
    /* center of 64px circle */
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.07);
    z-index: 0;
    border-radius: 99px;
}

.tl-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--pink) 100%);
    border-radius: 99px;
    transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.5);
}

/* Steps grid */
.tl-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.tl-step {
    text-align: center;
}

/* Number circle */
.tl-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.10), 0 8px 24px rgba(79, 70, 229, 0.30);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tl-step:hover .tl-num {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(79, 70, 229, 0.15), 0 12px 32px rgba(79, 70, 229, 0.45);
}

/* Step connector glow dot */
.tl-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(79, 70, 229, 0.3);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: scale(0.85);
}

.tl-step:hover .tl-num::after {
    opacity: 1;
    transform: scale(1);
}

.tl-icon {
    font-size: 1.7rem;
    margin-bottom: 12px;
    line-height: 1;
}

.tl-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.tl-step p {
    font-size: 0.86rem;
    color: var(--muted-light);
    line-height: 1.65;
    margin: 0;
}

/* Step tag (opsional) */
.tl-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
}

/* --- Mobile: vertical timeline --- */
@media (max-width: 767px) {
    .tl-track {
        display: none;
    }

    .tl-steps {
        grid-template-columns: 1fr;
        padding-left: 52px;
        gap: 2rem;
    }

    /* Vertical line */
    .tl-steps::before {
        content: '';
        position: absolute;
        left: 31px;
        /* center of 64px num */
        top: 32px;
        bottom: 32px;
        width: 2px;
        background: linear-gradient(to bottom, var(--primary), var(--pink));
        z-index: 0;
        border-radius: 99px;
    }

    .tl-step {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        text-align: left;
        position: relative;
    }

    .tl-num {
        flex-shrink: 0;
        margin: 0;
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        position: relative;
        z-index: 2;
    }

    .tl-step-body {
        flex: 1;
    }

    .tl-icon {
        margin-bottom: 8px;
        font-size: 1.4rem;
    }
}

/* =============================================
   QUOTE SECTION
============================================= */
.quote-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 55%, #1a0a3d 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Large decorative quote mark */
.quote-section::before {
    content: '\201C';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22rem;
    line-height: 1;
    color: rgba(79, 70, 229, 0.055);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

.quote-inner {
    position: relative;
    z-index: 1;
}

/* Word-by-word spans */
.q-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s ease calc(var(--i, 0) * 55ms),
        transform 0.55s ease calc(var(--i, 0) * 55ms);
}

.q-revealed .q-word {
    opacity: 1;
    transform: translateY(0);
}

.quote-mark {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: rgba(79, 70, 229, 0.4);
    line-height: 1;
    display: block;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.5px;
    color: #fff;
    max-width: 820px;
    margin: 0 auto 28px;
    font-style: italic;
}

.quote-attr {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.45);
    letter-spacing: 0.4px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

.q-revealed~.quote-attr,
.quote-section.q-revealed .quote-attr {
    opacity: 1;
    transform: translateY(0);
}

.quote-attr .q-brand {
    color: var(--primary-light);
    font-style: italic;
    font-weight: 600;
}

/* Decorative side lines */
.quote-deco {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.quote-deco-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.4));
}

.quote-deco-line.right {
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.4), transparent);
}

.quote-deco-gem {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 10px var(--primary-light);
}

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Warna dasar statis — animasi dikerjakan pseudo-element terpisah */
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 35%, #7c3aed 65%, #be185d 100%);
    /* Isolasi repaint ke dalam section ini */
    contain: paint layout;
}

/* Animated mesh overlay via transform — GPU composited, tidak memicu repaint */
.cta-section::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 30% 40%,
        rgba(79,70,229,.35) 0deg,
        rgba(124,58,237,.25) 90deg,
        rgba(190,24,93,.2) 180deg,
        rgba(6,182,212,.15) 270deg,
        rgba(79,70,229,.35) 360deg
    );
    animation: ctaMesh 12s linear infinite;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

@keyframes ctaMesh {
    0%   { transform: rotate(0deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

/* Radial depth glows — digabung ke ::after karena ::before dipakai animasi */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 15% 85%, rgba(255,255,255,.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(255,255,255,.05) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,255,255,.03) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

/* White pill button */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

/* WhatsApp green button */
.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.40);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn-cta-wa:hover {
    transform: translateY(-3px);
    background: #1ebe5c;
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* Trust signals */
.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.cta-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* =============================================
   FOOTER
============================================= */
.footer {
    background-color: #060d1a;
    color: #94a3b8;
    position: relative;
}

/* Subtle grid pattern */
.footer .footer-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    z-index: 0;
}

/* Animated gradient top border — transform-based untuk GPU compositing */
.footer-border-top {
    height: 3px;
    position: relative;
    overflow: hidden;
}

.footer-border-top::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 300%;
    background: linear-gradient(90deg,
        #4f46e5, #818cf8, #ec4899, #06b6d4,
        #4f46e5, #818cf8, #ec4899, #06b6d4, #4f46e5);
    animation: ftBorder 5s linear infinite;
    will-change: transform;
}

@keyframes ftBorder {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

/* Brand */
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-brand-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.footer-brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.footer-brand-name span {
    font-weight: 300;
    opacity: 0.7;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 380px;
    margin-bottom: 24px;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.soc-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}

.soc-btn:hover {
    transform: translateY(-3px);
}

.soc-btn.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.soc-btn.ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #fff;
}

.soc-btn.yt:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

/* Footer nav headings */
.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Footer links */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-nav a .fn-icon {
    font-size: 0.6rem;
    color: var(--primary);
    transition: color 0.25s;
}

.footer-nav a:hover {
    color: #e2e8f0;
    padding-left: 4px;
}

.footer-nav a:hover .fn-icon {
    color: var(--pink);
}

/* Contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-contact .fc-icon {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: #334155;
}

.footer-bottom strong {
    color: #475569;
}

.footer-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #475569;
    white-space: nowrap;
}

.footer-dev-badge .dev-icon {
    color: var(--pink);
}

@media (max-width: 767px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .cta-title {
        letter-spacing: -0.8px;
    }
}

/* =============================================
   SCROLL REVEAL — base state
============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   QUOTE — accent words & responsive
============================================= */
.q-accent {
    background: linear-gradient(110deg, #a5f3fc 10%, #c4b5fd 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
    font-weight: 800;
}

.quote-text {
    font-size: clamp(1.8rem, 3.8vw, 3rem);
}

@media (max-width: 768px) {
    .quote-section {
        padding: 5rem 0;
    }

    .quote-text {
        font-size: clamp(1.55rem, 5.5vw, 2.2rem);
        padding: 0;
    }

    .quote-section::before {
        font-size: 11rem;
        top: -15px;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 3.5rem 0;
    }

    .quote-section::before {
        display: none;
    }

    .quote-deco-line {
        width: 36px;
    }

    .quote-text {
        letter-spacing: -0.3px;
        line-height: 1.5;
    }
}

/* =============================================
   Respect reduced-motion
============================================= */
@media (prefers-reduced-motion: reduce) {

    .floating-badge,
    .hero-orb,
    .hero-badge-dot,
    .cta-section::before,
    .footer-border-top::before {
        animation: none !important;
    }

    .mockup-wrapper {
        animation: none !important;
        transform: perspective(1200px) rotateY(-12deg) rotateX(4deg);
    }

    .btn-hero-primary::before {
        display: none;
    }
}

/* =============================================
   MOBILE PERFORMANCE — mencegah scroll lag
   Dinonaktifkan: filter:blur berat, backdrop-filter,
   animasi background-position, SVG noise.
   Diganti: warna solid / animasi transform saja.
============================================= */
@media (max-width: 768px) {

    /* Orb hero — matikan animasi & kurangi blur agar tidak
       membuat compositing layer berat saat di-scroll */
    .hero-orb {
        animation: none !important;
        filter: blur(30px) !important;
        will-change: auto !important;
    }

    /* CTA — matikan rotasi conic, fallback gradient statis */
    .cta-section::before {
        animation: none !important;
        display: none !important;
    }

    /* Footer border — tetap animasi tapi turunkan durasi */
    .footer-border-top::before {
        animation-duration: 3s !important;
    }

    /* Navbar backdrop-filter sangat berat di mobile */
    #mainNav.nav-scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(10, 8, 30, 0.97) !important;
    }

    /* Mobile nav menu backdrop */
    #navMobileMenu {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Kurangi stagger q-word — terlalu banyak transition
       berjalan bersamaan memperlambat rendering */
    .q-word {
        transition-duration: 0.35s !important;
        /* Batasi max-delay ke 400ms agar selesai lebih cepat */
        transition-delay: min(calc(var(--i, 0) * 40ms), 400ms) !important;
    }

    /* Scroll reveal — GPU composited (opacity+transform sudah baik),
       tambahkan will-change agar browser siapkan layer lebih awal */
    [data-reveal] {
        will-change: opacity, transform;
    }

    [data-reveal].revealed {
        /* Bebaskan layer setelah selesai */
        will-change: auto;
        transition: none !important; /* stop tracking transition setelah revealed */
    }

    /* Isolasi repaint per section */
    .quote-section,
    .cta-section,
    .footer {
        contain: paint layout;
    }
}
