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

:root {
    --navy: #141624;
    --blue: #4345C4;
    --blue-hover: #3638b0;
    --blue-m: #6f72ff;
    --blue-l: #E9E9F6;
    --coral: #ff6b4a;

    /* Cross-compatibility aliases */
    --crimson: var(--blue);
    --crimson-hover: var(--blue-hover);
    --crimson-m: var(--blue-m);
    --crimson-l: var(--blue-l);

    --white: #ffffff;
    --off: #f5f6fb;
    --gray: #f0f1f8;
    --ink: #141624;
    --ink-2: #3a3c58;
    --ink-3: #7c7e99;
    --border: rgba(67, 69, 196, 0.08);
    --r: 14px;
    --rl: 22px;
    --rp: 999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Garet', sans-serif;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 66px;
    display: flex;
    align-items: center;
    transition: background 0.3s, border-color 0.3s;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    padding: 0.55rem 1.5rem;
    border-radius: var(--rp);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(67, 69, 196, 0.15);
    position: relative;
    overflow: hidden;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60px;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: nav-shine 3.2s ease-in-out 6;
    pointer-events: none;
}

@keyframes nav-shine {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.nav-cta:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 69, 196, 0.25);
}

/* ── NAV TOGGLE ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2rem 2.5rem;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 10px 30px rgba(20, 22, 36, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
    color: var(--blue);
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0 -1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-menu-links a {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--blue);
    background: rgba(67, 69, 196, 0.06);
}

.mobile-menu-footer {
    margin-top: 1rem;
    width: 100%;
}

.mobile-menu-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--blue);
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(67, 69, 196, 0.2);
}

.mobile-menu-cta:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 69, 196, 0.35);
}

/* ── HERO ── */
#hero {
    width: calc(100% - 4rem);
    max-width: 1200px;
    margin: 90px auto 0;
    border-radius: 24px;
    padding: 7rem 4rem 6rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-m) 100%);
    /* Blue-to-purple gradient */
    position: relative;
    overflow: hidden;
    text-align: center;
}

#hero .hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

#hero .badge-dot {
    background: #d0f8f1;
}

#hero .hero-title .hl {
    color: #ffffff;
    text-shadow: none;
    border-bottom: 3.5px solid rgba(255, 255, 255, 0.85);
    padding-bottom: 2px;
}

#hero .btn-p {
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

#hero .btn-p:hover {
    background: var(--blue-l);
    color: var(--blue-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#hero .btn-s {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

#hero .btn-s:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#hero .floating-shape {
    color: rgba(255, 255, 255, 0.12);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Large overlapping background circles from screenshot */
.hero-bg-shapes::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.015);
    pointer-events: none;
}

.hero-bg-shapes::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.01);
    pointer-events: none;
}

/* Floating Code Elements */
.floating-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    color: rgba(111, 114, 255, 0.12);
    /* Soft glowing blue-purple color */
    filter: drop-shadow(0 0 10px rgba(111, 114, 255, 0.2));
    user-select: none;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s;
}

.floating-shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

.shape-1 {
    width: 75px;
    height: 75px;
    top: 15%;
    left: 8%;
    transform: rotate(-15deg);
    animation: floatShape1 10s ease-in-out infinite;
}

.shape-2 {
    width: 50px;
    height: 50px;
    top: 62%;
    left: 12%;
    transform: rotate(20deg);
    animation: floatShape2 12s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.06);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.shape-3 {
    width: 65px;
    height: 65px;
    top: 12%;
    right: 12%;
    transform: rotate(15deg);
    animation: floatShape3 9s ease-in-out infinite;
}

.shape-4 {
    width: 65px;
    height: 65px;
    top: 55%;
    right: 8%;
    transform: rotate(-25deg);
    animation: floatShape1 11s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.06);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.shape-5 {
    width: 55px;
    height: 55px;
    top: 38%;
    left: 20%;
    transform: rotate(10deg);
    animation: floatShape3 8s ease-in-out infinite;
}

.shape-6 {
    width: 60px;
    height: 60px;
    top: 75%;
    right: 18%;
    transform: rotate(-10deg);
    animation: floatShape2 13s ease-in-out infinite;
}

/* Floating Animation Keyframes */
@keyframes floatShape1 {

    0%,
    100% {
        transform: translateY(0) rotate(-15deg);
    }

    50% {
        transform: translateY(-15px) rotate(-12deg);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translateY(0) rotate(20deg);
    }

    50% {
        transform: translateY(-25px) rotate(15deg);
    }
}

@keyframes floatShape3 {

    0%,
    100% {
        transform: translateY(0) rotate(15deg);
    }

    50% {
        transform: translateY(-12px) rotate(22deg);
    }
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 18px;
    border-radius: var(--rp);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue-m);
    margin-bottom: 1.6rem;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
}

.badge-dot {
    display: inline-block;
    vertical-align: middle;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-m);
    animation: pulse 2s infinite;
    margin-right: 8px;
    margin-top: -2px;
}

@keyframes pulse {

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

    50% {
        opacity: .4;
        transform: scale(.75);
    }
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hero-title .hl {
    color: var(--blue-m);
    text-shadow: 0 0 20px rgba(111, 114, 255, 0.3);
}

.hero-desc {
    font-size: .97rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 2.2rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn-p {
    background: var(--blue);
    color: #fff;
    padding: .85rem 2.2rem;
    border-radius: var(--rp);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 18px rgba(67, 69, 196, .3);
}

.btn-p:hover {
    background: var(--blue-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(67, 69, 196, .45);
}

.btn-s {
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy);
    padding: .85rem 2.2rem;
    border-radius: var(--rp);
    border: 1.5px solid rgba(67, 69, 196, .3);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    backdrop-filter: blur(8px);
}

.btn-s:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 18px rgba(67, 69, 196, 0.1);
}

/* Stats row cards */
.hero-stats-wrap {
    margin-top: 0;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(67, 69, 196, 0.05);
    overflow: hidden;
}

.stat-item {
    padding: 0.9rem 1rem;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}

.stat-item:hover {
    background: rgba(67, 69, 196, 0.015);
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(67, 69, 196, 0.08);
}

.stat-n {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.stat-l {
    font-size: 0.82rem;
    color: rgba(67, 69, 196, 0.75);
    line-height: 1.45;
    font-weight: 500;
}

/* ── SECTION COMMON ── */
section {
    padding: 6rem 2rem;
}

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

.s-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .75rem;
}

.s-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: .85rem;
}

.s-desc {
    font-size: .95rem;
    color: var(--ink-2);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.sec-head-centered {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.sec-head-centered .s-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

/* ── WHY ── */
#why {
    background: var(--off) !important;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-info {
    text-align: left;
}

.why-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.why-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.why-title .hl {
    color: var(--blue);
}

.why-desc {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.why-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(67, 69, 196, 0.06), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(67, 69, 196, 0.25);
    box-shadow: 0 16px 40px rgba(67, 69, 196, 0.08);
}

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

.why-card * {
    position: relative;
    z-index: 1;
}

/* Featured Card: Solid Blue background */
.why-card.dark {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
    box-shadow: 0 12px 30px rgba(67, 69, 196, 0.15);
}

.why-card.dark::before {
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.12), transparent 80%);
}

.why-card.dark:hover {
    box-shadow: 0 18px 45px rgba(67, 69, 196, 0.3);
}

.why-card.dark h3 {
    color: #ffffff;
}

.why-card.dark p {
    color: rgba(255, 255, 255, 0.85);
}

.why-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.why-ico svg {
    width: 20px;
    height: 20px;
    display: block;
}

.why-card.dark .why-ico {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.84rem;
    color: var(--ink-2);
    line-height: 1.65;
}

/* ── LAYANAN ── */
#layanan {
    width: calc(100% - 4rem);
    max-width: 1200px;
    margin: 4rem auto;
    border-radius: 24px;
    background: var(--blue);
    padding: 6rem 4rem;
}

#layanan .s-label {
    color: rgba(255, 255, 255, 0.85);
}

#layanan .s-title {
    color: #ffffff;
}

#layanan .s-title strong {
    color: #ffffff;
}

#layanan .s-desc {
    color: rgba(255, 255, 255, 0.75);
}

#layanan .lay-head-centered {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

#layanan .lay-head-centered .s-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}


.layanan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
    align-items: stretch;
}

.lay-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(20, 22, 36, 0.08);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(20, 22, 36, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    overflow: visible;
}

.lay-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(67, 69, 196, 0.05), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 24px;
}

.lay-card:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 48px rgba(17, 19, 34, 0.24);
}

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

.lay-card * {
    position: relative;
    z-index: 1;
}

/* Featured Card: Dark navy, elevated */
.lay-card.dark {
    background: #1a1f35;
    border: none;
    box-shadow: 0 12px 36px rgba(17, 19, 34, 0.15);
    padding: 2rem 1.75rem;
    z-index: 2;
    overflow: visible;
}

/* Subtle dot grid overlay on dark card */
.lay-card.dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
    border-radius: 24px;
}

.lay-card.dark::before {
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(67, 69, 196, 0.15), transparent 70%);
}

.lay-card.dark:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 28px 65px rgba(17, 19, 34, 0.4);
}

/* Layanan Lain — dashed border */
.lay-card-other {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.lay-card-other:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 20px 48px rgba(17, 19, 34, 0.3);
}

.lay-card-other .lay-name {
    color: #ffffff;
}

.lay-card-other .lay-sub {
    color: rgba(255, 255, 255, 0.6);
}

.lay-card-other .lay-feat li {
    color: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.lay-card-other .lay-feat li::before {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.lay-card-other .lay-dur {
    color: rgba(255, 255, 255, 0.65);
}

/* Badge "Paling Populer" — di atas card */
.lay-pop-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffd700, #c5a059);
    /* Gold gradient */
    color: #1a1f35;
    /* Dark navy for high contrast and premium feel */
    font-size: 0.65rem;
    font-weight: 900;
    padding: 6px 18px;
    border-radius: var(--rp);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: inline-block;
}

/* Card Header Row */
.lay-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.lay-title-wrap {
    flex: 1;
}

/* Card Name/Title */
.lay-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lay-card.dark .lay-name {
    color: #ffffff;
}

/* Card Subtitle */
.lay-sub {
    font-size: 0.85rem;
    color: var(--ink-3);
    margin-bottom: 0;
    line-height: 1.4;
    white-space: nowrap;
}

.lay-card.dark .lay-sub {
    color: rgba(255, 255, 255, 0.5);
}

/* Card Icon Box */
.lay-card-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--blue-l);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.lay-card-ico svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Hover effects */
.lay-card:hover .lay-card-ico {
    transform: scale(1.1) rotate(6deg);
}

/* Dark featured card icon box */
.lay-card.dark .lay-card-ico {
    background: rgba(255, 255, 255, 0.08);
    color: var(--blue-m);
}

/* Transparent card icon box */
.lay-card-other .lay-card-ico {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Feature list */
.lay-feat {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.lay-feat li {
    font-size: 0.84rem;
    color: var(--ink-2);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(20, 22, 36, 0.06);
}

.lay-feat li:last-child {
    border-bottom: none;
}

.lay-feat li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: rgba(67, 69, 196, 0.07);
    color: var(--blue);
    font-size: 0.6rem;
    font-weight: 900;
    flex-shrink: 0;
}

.lay-card.dark .lay-feat li {
    color: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.lay-card.dark .lay-feat li::before {
    background: rgba(67, 69, 196, 0.35);
    color: #a8aaff;
}

/* Duration row */
.lay-dur {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.79rem;
    font-weight: 500;
    color: var(--ink-3);
    margin-top: 1.25rem;
    margin-bottom: 1.1rem;
}

.lay-dur svg {
    width: 13px;
    height: 13px;
    stroke-width: 2px;
    flex-shrink: 0;
}

.lay-card.dark .lay-dur {
    color: rgba(255, 255, 255, 0.45);
}

/* Full-width button at bottom */
.lay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    background: transparent;
    border: 1.5px solid rgba(20, 22, 36, 0.15);
    color: var(--navy);
    margin-top: auto;
}

.lay-btn:hover {
    background: rgba(20, 22, 36, 0.04);
    border-color: rgba(20, 22, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lay-card.dark .lay-btn {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(67, 69, 196, 0.4);
}

.lay-card.dark .lay-btn:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 69, 196, 0.55);
}

.lay-card-other .lay-btn {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.lay-card-other .lay-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}



/* ── PROSES ── */
#proses {
    background-color: var(--off);
    background-image: linear-gradient(rgba(67, 69, 196, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 69, 196, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    padding-top: 3.5rem;
}

.proses-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "info  list"
        "cards list";
    gap: 0 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.proses-info {
    grid-area: info;
}

.proses-cards {
    grid-area: cards;
    margin-top: 0;
}

.proses-list {
    grid-area: list;
}

/* ── PAYMENT & CONFIRM CARDS ── */
.payment-card {
    background: linear-gradient(135deg, #141624 0%, #4345C4 55%, #6f72ff 100%);
    border-radius: 16px;
    padding: 1.25rem;
    color: #ffffff;
    margin-top: 1.5rem;
    max-width: 390px;
    box-shadow: 0 10px 28px rgba(67, 69, 196, 0.3);
    border: 1px solid rgba(111, 114, 255, 0.25);
    text-align: left;
}

.payment-card-hdr {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
}

/* ── PAYMENT LOGOS GRID ── */
.payment-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-top: 0;
}

.pay-logo-item {
    background: #ffffff;
    border: 1px solid rgba(67, 69, 196, 0.08);
    border-radius: 10px;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pay-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pay-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.btn-req-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.55rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-req-payment:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
}

.proses-list {
    width: 100%;
}



.confirm-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-top: 0.85rem;
    max-width: 390px;
    box-shadow: 0 6px 18px rgba(67, 69, 196, 0.04);
    text-align: left;
}

.confirm-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.confirm-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
}

.confirm-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.confirm-desc {
    font-size: 0.84rem;
    color: var(--ink-2);
    margin-bottom: 1rem;
}

.btn-confirm-wa {
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-confirm-wa:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-confirm-wa svg {
    width: 16px;
    height: 16px;
}

.proses-list {
    width: 100%;
}

.proses-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(67, 69, 196, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.proses-item:hover {
    border-bottom-color: rgba(67, 69, 196, 0.3);
}

.proses-item:last-child {
    border-bottom: none;
}

.proses-num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--ink-3);
    opacity: 0.35;
    line-height: 1;
    font-family: 'Garet', sans-serif;
    min-width: 70px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.proses-item:hover .proses-num {
    color: var(--blue);
    opacity: 0.8;
}

.proses-content {
    flex: 1;
    transition: transform 0.3s ease;
}

.proses-item:hover .proses-content {
    transform: translateX(6px);
}

.proses-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.proses-item-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.01em;
}

.proses-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--rp);
    letter-spacing: 0.05em;
}

.proses-badge.payment {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.proses-item-desc {
    font-size: 0.95rem;
    color: var(--ink-2);
    line-height: 1.7;
    margin: 0;
}

/* ── HARGA ── */
#harga {
    background: var(--off);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    align-items: center;
}

.price-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(20, 22, 36, 0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem 2.2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20, 22, 36, 0.06);
}

.price-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(67, 69, 196, 0.05), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 69, 196, 0.18);
    box-shadow: 0 12px 36px rgba(67, 69, 196, 0.07);
}

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

.price-card * {
    position: relative;
    z-index: 1;
}

/* Featured Price Card: Dark Navy background, elevated center */
.price-card.pop {
    background: #1a1f35;
    border: none;
    box-shadow: 0 28px 70px rgba(17, 19, 34, 0.4);
    margin: -2rem -1px;
    padding: 3.5rem 2rem 3rem;
    z-index: 2;
    border-radius: 24px;
}

/* Dot-grid overlay on featured card */
.price-card.pop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
    border-radius: 24px;
}

.price-card.pop::before {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 107, 74, 0.1), transparent 70%);
}

.price-card.pop:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 80px rgba(17, 19, 34, 0.5);
}

/* Badge "Terpopuler" — small pill centered at the top of the featured card */
.price-card.pop .price-badge {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: var(--coral);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--rp);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.4);
    z-index: 3;
    white-space: nowrap;
}

.price-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.1rem;
}

.price-card.pop .price-header {
    margin-top: 1.5rem;
}

/* Rounded Square Icon Container */
.p-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.price-card:not(.pop) .p-ico {
    background: var(--gray);
    border: 1px solid rgba(20, 22, 36, 0.06);
    color: var(--ink-2);
}

.price-card.pop .p-ico {
    background: var(--coral);
    color: #ffffff;
}

.p-ico svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.pname {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.025em;
}

.price-card.pop .pname {
    color: #ffffff;
}

.ptag {
    font-size: 0.875rem;
    color: var(--ink-3);
    line-height: 1.4;
}

.price-card.pop .ptag {
    color: rgba(255, 255, 255, 0.5);
}

.price-amount-wrap {
    margin-bottom: 1.1rem;
    margin-top: 0.6rem;
}

.pamount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    letter-spacing: -0.04em;
}

.price-card.pop .pamount {
    color: #ffffff;
}

.pstrike {
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: line-through;
    color: rgba(20, 22, 36, 0.28);
    letter-spacing: -0.01em;
}

.price-card.pop .pstrike {
    color: rgba(255, 255, 255, 0.28);
}

/* Full-width CTA Button */
.btn-price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.005em;
}

.price-card:not(.pop) .btn-price {
    background: transparent;
    border: 1.5px solid rgba(20, 22, 36, 0.18);
    color: var(--navy);
}

.price-card:not(.pop) .btn-price:hover {
    background: rgba(20, 22, 36, 0.04);
    border-color: rgba(20, 22, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.price-card.pop .btn-price {
    background: var(--coral);
    border: 1.5px solid var(--coral);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 107, 74, 0.4);
}

.price-card.pop .btn-price:hover {
    background: #ff7a5a;
    border-color: #ff7a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 74, 0.55);
}

/* Duration Metadata */
.pdur {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.7rem auto 1.4rem;
    width: 100%;
}

.price-card:not(.pop) .pdur {
    color: var(--ink-3);
}

.price-card.pop .pdur {
    color: rgba(255, 255, 255, 0.5);
}

.pdur svg {
    width: 14px;
    height: 14px;
    stroke-width: 2px;
}

/* Dashed Divider */
.p-divider {
    width: 100%;
    height: 0;
    border-top: 1.5px dashed rgba(20, 22, 36, 0.1);
    margin-bottom: 1.1rem;
}

.price-card.pop .p-divider {
    border-top: 1.5px dashed rgba(255, 255, 255, 0.1);
}

/* Feature checklist — dotted separator between items + circle checkmark icon */
.pfeats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
}

.pfeats li {
    font-size: 0.84rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0.6rem 0;
    border-bottom: 1.5px dotted rgba(20, 22, 36, 0.08);
}

.pfeats li:last-child {
    border-bottom: none;
}

/* Standard cards: circle check + underlined text */
.price-card:not(.pop) .pfeats li {
    color: var(--ink-2);
}

.price-card:not(.pop) .pfeats li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: rgba(67, 69, 196, 0.07);
    color: var(--blue);
    font-size: 0.62rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Featured card: coral circle check + underlined text */
.price-card.pop .pfeats li {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.price-card.pop .pfeats li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: rgba(255, 107, 74, 0.2);
    color: var(--coral);
    font-size: 0.62rem;
    font-weight: 900;
    flex-shrink: 0;
}

.price-custom {
    background: var(--off);
    border: 1.5px dashed rgba(67, 69, 196, .25);
    border-radius: var(--rl);
    padding: 2.2rem;
    text-align: center;
    margin-top: 2rem;
}

.price-custom h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: .5rem;
}

.price-custom p {
    font-size: .86rem;
    color: var(--ink-2);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

/* ── PORTFOLIO ── */
#portfolio {
    background: var(--white);
}

.portfolio-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.portfolio-head .s-desc {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

/* Filter tabs */
.portfolio-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.pf-btn {
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: var(--ink-2);
    padding: 0.5rem 1.2rem;
    border-radius: var(--rp);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Garet', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(67, 69, 196, 0.04);
}

.pf-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(67, 69, 196, 0.25);
}

/* Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Card */
.port-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.port-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(67, 69, 196, 0.1);
    border-color: rgba(67, 69, 196, 0.2);
}

/* Hidden state for filter */
.port-card.hidden {
    display: none;
}

/* Browser Mockup */
.port-browser {
    background: #e8e9f4;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

.port-browser-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #dcddf0;
}

.pbb-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pbb-dot.red {
    background: #ff5f57;
}

.pbb-dot.yellow {
    background: #febc2e;
}

.pbb-dot.green {
    background: #28c840;
}

.pbb-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    font-size: 0.68rem;
    color: var(--ink-3);
    padding: 3px 10px;
    margin-left: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Screen area */
.port-browser-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.port-browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.port-card:hover .port-browser-screen img {
    transform: scale(1.04);
}

/* Hover overlay */
.port-overlay {
    position: absolute;
    inset: 0;
    background: rgba(67, 69, 196, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(3px);
}

.port-card:hover .port-overlay {
    opacity: 1;
}

.port-overlay-btn {
    background: #ffffff;
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: var(--rp);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(8px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.port-card:hover .port-overlay-btn {
    transform: translateY(0);
}

.port-overlay-btn:hover {
    background: var(--blue-l);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Card info */
.port-info {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.port-cat-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.port-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.45rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.port-desc {
    font-size: 0.82rem;
    color: var(--ink-3);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

/* Tech tags */
.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.port-tags span {
    background: var(--blue-l);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--rp);
    letter-spacing: 0.02em;
}

/* Bottom CTA strip */
.portfolio-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 3.5rem;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
}

.portfolio-cta p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

/* ── TESTIMONI ── */
#testi {
    background: var(--off);
    overflow: hidden;
}

/* Header row: title left + nav buttons right */
.testi-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.testi-header-left .s-title {
    margin-bottom: 0;
}

.testi-nav-btns {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

.testi-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(67, 69, 196, 0.18);
    background: #ffffff;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(67, 69, 196, 0.1);
}

.testi-btn svg {
    width: 16px;
    height: 16px;
}

.testi-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(67, 69, 196, 0.25);
}

/* Big container — blue gradient like hero */
.testi-carousel-wrap {
    position: relative;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-m) 100%);
    border-radius: 28px;
    padding: 3.5rem 3rem 2.5rem;
    box-shadow: 0 12px 48px rgba(67, 69, 196, 0.3);
    border: none;
    overflow: hidden;
}

/* Huge decorative opening quote in top-left */
.testi-bg-quote {
    position: absolute;
    top: -0.5rem;
    left: 2.5rem;
    font-size: 14rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Horizontal scroll track */
.testi-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
    z-index: 1;
}

/* Each card — glassmorphism on blue bg */
.testi-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.4s ease,
        background 0.4s ease;
    cursor: default;
    opacity: 0.65;
    transform: scale(0.96);
}

.testi-card:hover {
    transform: translateY(-4px) scale(0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Active / center card */
.testi-card--active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: scale(1.03);
}

.testi-card--active:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.25);
}

/* Avatar */
.t-avatar-wrap {
    margin-bottom: 0.9rem;
}

.t-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.02em;
}

.t-name {
    font-size: .95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.t-role {
    font-size: .75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.t-stars {
    color: #fde68a;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
}

.t-quote {
    font-size: .84rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-style: italic;
}

/* Dot indicators */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testi-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}

.testi-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.55);
}

/* ── FAQ ── */
#faq {
    background: var(--white);
}

.faq-wrap {
    margin-top: 3rem;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.faq-item {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open {
    border-color: rgba(67, 69, 196, 0.2);
    box-shadow: 0 4px 16px rgba(67, 69, 196, 0.04);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Garet', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
}

.faq-ic {
    font-size: .9rem;
    color: var(--blue);
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item.open .faq-ic {
    transform: rotate(180deg);
}

.faq-a {
    font-size: .84rem;
    color: var(--ink-2);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.4rem;
    transition: max-height .35s ease, padding .3s;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 1.4rem 1.15rem;
}

/* ── FINAL CTA ── */
.cta-outer {
    background: var(--off);
    overflow: hidden;
}

#cta {
    width: calc(100% - 4rem);
    max-width: 1200px;
    margin: 4rem auto;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-m) 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* ── CTA BG SHAPES ── */
.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

#cta .floating-shape {
    color: rgba(255, 255, 255, 0.08);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

.cta-shape-1 {
    width: 65px;
    height: 65px;
    top: 15%;
    left: 8%;
    transform: rotate(-15deg);
    animation: floatShape1 10s ease-in-out infinite;
}

.cta-shape-2 {
    width: 48px;
    height: 48px;
    bottom: 15%;
    left: 10%;
    transform: rotate(20deg);
    animation: floatShape2 12s ease-in-out infinite;
}

.cta-shape-3 {
    width: 55px;
    height: 55px;
    top: 15%;
    right: 8%;
    transform: rotate(15deg);
    animation: floatShape3 9s ease-in-out infinite;
}

.cta-shape-4 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    right: 10%;
    transform: rotate(-10deg);
    animation: floatShape1 11s ease-in-out infinite;
}

#cta::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

#cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 150px;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: cta-shine 3.6s ease-in-out 6;
    pointer-events: none;
}

@keyframes cta-shine {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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


#cta .s-title {
    color: #fff;
    margin-bottom: .75rem;
}

#cta .s-title span {
    color: #ffffff !important;
    border-bottom: 3.5px solid rgba(255, 255, 255, 0.85);
    padding-bottom: 2px;
}

#cta p {
    color: rgba(255, 255, 255, .75);
    font-size: .97rem;
    margin-bottom: 1.75rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.btn-wa {
    background: #ffffff;
    color: var(--blue);
    padding: 1rem 2.5rem;
    border-radius: var(--rp);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.btn-wa:hover {
    background: var(--blue-l);
    color: var(--blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ── FOOTER ── */
footer {
    background: var(--white);
    color: var(--ink-2);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.ft-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ft-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.ft-addr {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.ft-brand p {
    font-size: .8rem;
    max-width: 480px;
    line-height: 1.65;
    color: var(--ink-3);
}

.ft-socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.ft-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--off);
    color: var(--ink-2);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.ft-socials a svg {
    width: 15px;
    height: 15px;
}

.ft-socials a:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2.5px);
    box-shadow: 0 4px 12px rgba(67, 69, 196, 0.2);
}

.ft-nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.ft-col h4 {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: .65rem;
}

.ft-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ft-col a {
    font-size: .82rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .2s;
}

.ft-col a:hover {
    color: var(--blue);
}

.ft-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .76rem;
    color: var(--ink-3);
}

.ft-bottom a {
    color: var(--ink-3);
    text-decoration: none;
}

.ft-bottom a:hover {
    color: var(--blue);
}

/* ── SCROLL REVEAL ── */
.rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
}

.rv.in {
    opacity: 1;
    transform: translateY(0);
}

.rv.d1 {
    transition-delay: .1s;
}

.rv.d2 {
    transition-delay: .18s;
}

.rv.d3 {
    transition-delay: .26s;
}

.rv.d4 {
    transition-delay: .34s;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    nav {
        padding: 0 1.2rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    section {
        padding: 4rem 1.25rem;
    }

    #hero {
        width: calc(100% - 2rem);
        margin: 80px auto 0;
        border-radius: 16px;
        padding: 5rem 1.5rem 3.5rem;
    }

    #cta {
        width: calc(100% - 2rem);
        margin: 3rem auto;
        border-radius: 16px;
        padding: 5rem 1.5rem 5rem;
    }

    #cta .floating-shape {
        opacity: 0.35;
    }

    .cta-shape-1 {
        left: 4%;
        top: 8%;
        width: 45px;
        height: 45px;
    }

    .cta-shape-2 {
        left: 6%;
        bottom: 8%;
        width: 35px;
        height: 35px;
    }

    .cta-shape-3 {
        right: 4%;
        top: 8%;
        width: 40px;
        height: 40px;
    }

    .cta-shape-4 {
        right: 6%;
        bottom: 8%;
        width: 38px;
        height: 38px;
    }

    #layanan {
        width: calc(100% - 2rem);
        margin: 3rem auto;
        border-radius: 16px;
        padding: 4rem 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 1.1rem 1.5rem;
    }

    .stat-item+.stat-item::before {
        content: '';
        position: absolute;
        left: 10%;
        right: 10%;
        top: 0;
        height: 1px;
        width: 80%;
        background: rgba(67, 69, 196, 0.08);
    }

    .proses-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "info"
            "list"
            "cards";
        gap: 2.5rem 0;
    }

    .proses-info {
        position: static;
    }

    .proses-cards {
        margin-top: 0;
    }

    .payment-card,
    .confirm-card {
        max-width: 100%;
    }

    .proses-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.75rem 0;
    }

    .proses-num {
        font-size: 2.2rem;
        min-width: auto;
    }

    .proses-item-title {
        font-size: 1.15rem;
    }

    .proses-item-desc {
        font-size: 0.88rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .price-card.pop {
        margin: 0;
        padding: 2.5rem 2rem 2.2rem;
    }

    .layanan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .lay-card.dark {
        margin: 0;
        padding: 2.5rem 1.75rem 2rem;
    }

    .why-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Testimonial carousel — mobile: show 1 card, display-based */
    .testi-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .testi-carousel-wrap {
        padding: 2rem 1.25rem 2rem;
        overflow: hidden;
    }

    .testi-bg-quote {
        font-size: 8rem;
        left: 1rem;
    }

    .testi-track {
        display: block;
        width: 100%;
        transform: none !important;
    }

    .testi-card {
        display: none;
        width: 100%;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: none;
    }

    .testi-card--active {
        display: flex;
        opacity: 1;
        transform: none;
        animation: fadeInCard 0.35s ease;
    }

    .testi-card:hover,
    .testi-card--active:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    /* Portfolio — mobile: 1 column */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .portfolio-filters {
        gap: 0.4rem;
    }

    .port-card {
        border-radius: 16px;
    }

    .port-info {
        padding: 1rem 1.1rem 1.25rem;
    }

    .port-title {
        font-size: 0.95rem;
    }

    .port-desc {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .port-cat-tag {
        font-size: 0.65rem;
    }

    .portfolio-cta {
        padding: 1.5rem 1.25rem;
        margin-top: 2.5rem;
    }

    /* FAQ — mobile: 1 column */
    .faq-wrap {
        grid-template-columns: 1fr;
    }

    br {
        display: none;
    }

    #layanan .lay-head-centered,
    .sec-head-centered {
        margin-bottom: 2.25rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 1.2rem;
    }
}

/* ── TABLET ── */
@media (max-width: 1100px) {
    .layanan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lay-card.dark {
        margin: 0;
        padding: 2.5rem 1.75rem 2rem;
    }

    /* Testimonial carousel — tablet: show 2 cards */
    .testi-card {
        flex: 0 0 calc(50% - 0.75rem);
    }

    /* Portfolio — tablet: handled by ranged query below */
}

/* ── SMALL MOBILE LAYOUTS ── */
@media (max-width: 580px) {
    .layanan-grid {
        grid-template-columns: 1fr;
    }
}

/* ── PORTFOLIO TABLET (2 col only between 769px and 1100px) ── */
@media (min-width: 769px) and (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}