/* ============================================================
   HOSHIYOMI — Main Stylesheet
   Jasa Pembuatan Website Profesional Batam
   ============================================================ */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --void: #08080F;
    --surface: #12121A;
    --surface-2: #1A1A28;
    --surface-3: #22222F;
    --teal: #00D4AA;
    --teal-dim: #00A888;
    --teal-glow: rgba(0, 212, 170, 0.15);
    --gold: #C8A960;
    --gold-dim: #A68B45;
    --white: #E8E4DF;
    --white-full: #FFFFFF;
    --gray: #8A8A9A;
    --gray-dim: #5A5A6A;
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.1);

    --tier1: #3B82F6;
    --tier2: #8B5CF6;
    --tier3: #F59E0B;
    --tier4: #EF4444;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Schibsted Grotesk', -apple-system, sans-serif;
    background: var(--void);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: var(--teal);
    color: var(--void);
}


/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    z-index: 10001;
    width: 0%;
}


/* ===== DOT GRID BACKGROUND ===== */
.dot-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}


/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 1rem 0;
    transition: all 0.4s;
}

.navbar.scrolled {
    background: rgba(8, 8, 15, 0.92);
    backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}

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

.nav-logo {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white-full);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

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

.nav-links a.active {
    color: var(--teal);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal);
}

.nav-shopee {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #EE4D2D, #FF6633);
    color: var(--white-full) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.82rem;
    margin-left: 0.5rem;
    transition: all 0.3s;
}

.nav-shopee:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(238, 77, 45, 0.3);
}

.nav-shopee::after {
    display: none !important;
}


/* ===== MOBILE MENU ===== */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--teal);
}

.mobile-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}


/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow), transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 169, 96, 0.06), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero h1 .line {
    display: block;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--teal), #00F5C8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white-full);
    line-height: 1.1;
}

.stat-num .accent {
    color: var(--teal);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray-dim);
    font-weight: 500;
    margin-top: 0.15rem;
}


/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #EE4D2D, #FF6633);
    color: var(--white-full);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238, 77, 45, 0.3);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid var(--border-2);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white-full);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
}

.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-wa svg,
.btn-primary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


/* ===== SECTIONS (COMMON) ===== */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--teal);
    margin-bottom: 0.7rem;
}

.section-head h2 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.8rem;
    color: var(--white-full);
}

.section-head p {
    color: var(--gray);
    font-size: 0.95rem;
}


/* ===== PORTFOLIO ===== */
.portfolio {
    background: var(--void);
}

.port-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.port-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

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

.port-card:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.port-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.port-card[data-tier="1"]::before { background: var(--tier1); }
.port-card[data-tier="2"]::before { background: var(--tier2); }
.port-card[data-tier="3"]::before { background: var(--tier3); }
.port-card[data-tier="4"]::before { background: var(--tier4); }

.port-tier {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.port-card[data-tier="1"] .port-tier { color: var(--tier1); }
.port-card[data-tier="2"] .port-tier { color: var(--tier2); }
.port-card[data-tier="3"] .port-tier { color: var(--tier3); }
.port-card[data-tier="4"] .port-tier { color: var(--tier4); }

.port-card h3 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--white-full);
}

.port-price {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
}

.port-price strong {
    color: var(--white);
}

.port-demos {
    margin-bottom: 1.5rem;
}

.port-demo-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin: 0.15rem 0.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.port-demo-tag:hover {
    color: var(--white);
    background: var(--surface-3);
    border-color: var(--border-2);
    transform: translateY(-1px);
}

.port-card[data-tier="1"] .port-demo-tag:hover { border-color: var(--tier1); color: var(--tier1); }
.port-card[data-tier="2"] .port-demo-tag:hover { border-color: var(--tier2); color: var(--tier2); }
.port-card[data-tier="3"] .port-demo-tag:hover { border-color: var(--tier3); color: var(--tier3); }
.port-card[data-tier="4"] .port-demo-tag:hover { border-color: var(--tier4); color: var(--tier4); }

.port-count {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-dim);
    margin-top: 0.5rem;
    font-weight: 500;
}

.port-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.port-card[data-tier="1"] .port-link { color: var(--tier1); }
.port-card[data-tier="2"] .port-link { color: var(--tier2); }
.port-card[data-tier="3"] .port-link { color: var(--tier3); }
.port-card[data-tier="4"] .port-link { color: var(--tier4); }

.port-link:hover {
    transform: translateX(3px);
}


/* ===== PRICING ===== */
.pricing {
    background: var(--surface);
}

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

.price-card {
    background: var(--void);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

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

.price-card.featured {
    border-color: var(--teal);
    box-shadow: 0 0 40px var(--teal-glow);
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-badge {
    position: absolute;
    top: -10px;
    right: 1.5rem;
    background: var(--teal);
    color: var(--void);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-card h3 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--white-full);
}

.price-desc {
    font-size: 0.82rem;
    color: var(--gray-dim);
    margin-bottom: 1rem;
}

.price-amount {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white-full);
    margin-bottom: 0.2rem;
}

.price-amount small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
}

.price-time {
    font-size: 0.78rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.price-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.price-features li {
    font-size: 0.83rem;
    color: var(--gray);
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features .check {
    color: var(--teal);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-order {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 1.5px solid var(--border-2);
    color: var(--white);
    background: transparent;
}

.btn-order:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.price-card.featured .btn-order {
    background: var(--teal);
    color: var(--void);
    border-color: var(--teal);
}

.price-card.featured .btn-order:hover {
    background: var(--teal-dim);
    box-shadow: 0 6px 20px var(--teal-glow);
}


/* ===== CARA KERJA ===== */
.cara-kerja {
    background: var(--void);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), var(--border-2), transparent);
}

.step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

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

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--teal);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.step:hover .step-num {
    border-color: var(--teal);
    box-shadow: 0 0 25px var(--teal-glow);
}

.step-icon {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.step h4 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--white-full);
}

.step p {
    font-size: 0.82rem;
    color: var(--gray-dim);
}


/* ===== KEUNGGULAN ===== */
.keunggulan {
    background: var(--surface);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feat-card {
    background: var(--void);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

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

.feat-card:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feat-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--white-full);
}

.feat-card p {
    font-size: 0.83rem;
    color: var(--gray);
}


/* ===== TESTIMONI ===== */
.testimoni {
    background: var(--void);
}

.testi-track {
    display: flex;
    gap: 1.2rem;
    overflow: hidden;
    position: relative;
}

.testi-card {
    flex: 0 0 calc(33.33% - 0.8rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    min-width: 300px;
    opacity: 0;
    transform: translateY(30px);
}

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

.testi-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--teal);
}

.testi-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white-full);
}

.testi-role {
    font-size: 0.78rem;
    color: var(--gray-dim);
}


/* ===== FAQ ===== */
.faq {
    background: var(--surface);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.3rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Schibsted Grotesk', sans-serif;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--teal);
}

.faq-q .icon {
    color: var(--teal);
    font-size: 1.2rem;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-q .icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-a-inner {
    padding: 0 0 1.3rem;
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}


/* ===== CTA FINAL ===== */
.cta-final {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--void);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow), transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-final .cta-inner {
    position: relative;
    z-index: 1;
}

.cta-final h2 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--white-full);
}

.cta-final p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.cta-btns {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== FOOTER ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 1.5rem;
    overflow: hidden;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white-full);
    margin-bottom: 0.7rem;
}

.footer-brand span {
    color: var(--teal);
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--gray-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-socials a:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.45rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--gray-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--teal);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-dim);
}

.footer-copy a {
    color: var(--teal);
    text-decoration: none;
}


/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== RESPONSIVE ===== */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps::before {
        display: none;
    }

    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-card {
        flex: 0 0 calc(50% - 0.6rem);
        min-width: calc(50% - 0.6rem);
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
        padding: 10px;
    }

    .menu-btn span {
        width: 24px;
        height: 2px;
        margin: 6px 0;
    }

    /* Sections global */
    .section {
        padding: 3.5rem 1.2rem;
    }

    .section-head {
        margin-bottom: 2.5rem;
    }

    .section-head p {
        font-size: 0.9rem;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 6.5rem 1.2rem 3.5rem;
    }

    .hero h1 {
        letter-spacing: -1px;
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.74rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-ghost {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    /* Filter tabs — horizontal scroll */
    .filter-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.5rem;
        padding: 0.3rem 0;
        margin-left: -1.2rem;
        margin-right: -1.2rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        padding: 0.55rem 1rem;
        font-size: 0.76rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Portfolio grid — full width */
    .port-grid {
        grid-template-columns: 1fr;
    }

    .port-card {
        padding: 1.6rem;
    }

    .port-demo-tag {
        font-size: 0.76rem;
        padding: 0.4rem 0.8rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    /* Pricing grid — full width */
    .price-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 1.8rem;
    }

    .price-amount {
        font-size: 1.6rem;
    }

    .btn-order {
        padding: 0.9rem;
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .step-num {
        width: 56px;
        height: 56px;
        font-size: 1.1rem;
    }

    /* Features — full width */
    .feat-grid {
        grid-template-columns: 1fr;
    }

    .feat-card {
        padding: 1.5rem;
    }

    /* Testimonial carousel */
    .testi-viewport {
        overflow: hidden;
    }

    .testi-track {
        flex-direction: row;
    }

    .testi-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 1.5rem;
    }

    .testi-text {
        font-size: 0.88rem;
    }

    .testi-btn {
        width: 44px;
        height: 44px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-thumb {
        height: 140px;
        font-size: 2.5rem;
    }

    .blog-body {
        padding: 1.2rem;
    }

    /* FAQ */
    .faq-q {
        padding: 1.2rem 0;
        font-size: 0.9rem;
        min-height: 52px;
    }

    .faq-a-inner {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-final {
        padding: 4rem 1.2rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .cta-btns .btn-primary,
    .cta-btns .btn-wa {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.92rem;
    }

    .cta-btns .btn-wa svg {
        width: 20px;
        height: 20px;
    }

    /* Footer */
    .footer {
        padding: 3rem 1.2rem 1.5rem;
    }

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

    .footer-col a {
        font-size: 0.88rem;
        display: inline-block;
        padding: 0.2rem 0;
        min-height: 32px;
        line-height: 32px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    /* Preview modal — full screen on mobile */
    .preview-body {
        width: 100%;
        height: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .preview-header {
        padding: 0.7rem 1rem;
    }

    .preview-newtab {
        font-size: 0.72rem;
        padding: 0.4rem 0.7rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .preview-close {
        font-size: 1.6rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* WA Float */
    .wa-float {
        bottom: 1rem;
        right: 1rem;
    }

    .wa-btn {
        width: 52px;
        height: 52px;
    }

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

    .wa-tooltip {
        display: none;
    }

    /* Theme toggle in mobile nav area */
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
    .section {
        padding: 3rem 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 0.88rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: center;
        margin-top: 2rem;
    }

    .stat-num {
        font-size: 1.35rem;
    }

    .section-head h2 {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
    }

    /* Steps single column on very small */
    .steps {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .step-num {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    /* Price cards */
    .price-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 1.4rem;
    }

    /* Port cards */
    .port-card {
        padding: 1.4rem;
    }

    .port-card h3 {
        font-size: 1.05rem;
    }

    /* Testimonial */
    .testi-card {
        padding: 1.3rem;
    }

    .testi-text {
        font-size: 0.85rem;
    }

    /* Blog */
    .blog-thumb {
        height: 120px;
        font-size: 2rem;
    }

    .blog-body {
        padding: 1rem;
    }

    .blog-body h3 {
        font-size: 0.95rem;
    }

    /* CTA */
    .cta-final {
        padding: 3rem 1rem;
    }

    .cta-final h2 {
        font-size: clamp(1.4rem, 5.5vw, 2rem);
    }

    /* Footer */
    .footer {
        padding: 2.5rem 1rem 1.5rem;
    }

    /* Buttons full width */
    .hero-btns .btn-primary,
    .hero-btns .btn-ghost,
    .cta-btns .btn-primary,
    .cta-btns .btn-wa {
        max-width: 100%;
        font-size: 0.9rem;
    }

    /* WA float smaller on tiny screens */
    .wa-float {
        bottom: 0.8rem;
        right: 0.8rem;
    }

    .wa-btn {
        width: 48px;
        height: 48px;
    }

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

/* --- Safe area padding for notched phones --- */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-bottom {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }

    .wa-float {
        bottom: calc(1rem + env(safe-area-inset-bottom));
        right: calc(1rem + env(safe-area-inset-right));
    }

    .navbar {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}


/* ===== THEME TOGGLE (Dark/Light) ===== */
.theme-toggle {
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.3s;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--teal);
    background: var(--surface-3);
}

/* Light Theme Overrides */
body.light {
    --void: #F5F5F7;
    --surface: #FFFFFF;
    --surface-2: #EDEDF0;
    --surface-3: #E0E0E5;
    --white: #1A1A2E;
    --white-full: #08080F;
    --gray: #555566;
    --gray-dim: #888899;
    --border: rgba(0, 0, 0, 0.08);
    --border-2: rgba(0, 0, 0, 0.12);
}

body.light .dot-grid {
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

body.light ::selection {
    color: #fff;
}

body.light .navbar.scrolled {
    background: rgba(245, 245, 247, 0.92);
}

body.light .scroll-progress {
    background: linear-gradient(90deg, var(--teal), #0099FF);
}


/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border-2);
    background: transparent;
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Schibsted Grotesk', sans-serif;
}

.filter-tab:hover {
    border-color: var(--teal-dim);
    color: var(--white);
}

.filter-tab.active {
    background: var(--teal);
    color: var(--void);
    border-color: var(--teal);
}

.port-card.filter-hidden {
    display: none;
}


/* ===== PREVIEW MODAL ===== */
.preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
}

.preview-overlay.open {
    opacity: 1;
    visibility: visible;
}

.preview-body {
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s;
}

.preview-overlay.open .preview-body {
    transform: scale(1) translateY(0);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: var(--void);
    border-bottom: 1px solid var(--border);
}

.preview-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.preview-newtab {
    font-size: 0.75rem;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--teal);
    border-radius: 6px;
    transition: all 0.3s;
}

.preview-newtab:hover {
    background: var(--teal);
    color: var(--void);
}

.preview-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s;
}

.preview-close:hover {
    color: var(--white);
}

.preview-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
}

.preview-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}

.preview-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-2);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ===== FLOATING WA WIDGET ===== */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.wa-tooltip {
    background: var(--surface);
    border: 1px solid var(--border-2);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s;
    pointer-events: none;
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.wa-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
}

.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.wa-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 0; }
}


/* ===== TESTIMONIAL CAROUSEL ===== */
.testi-wrapper {
    position: relative;
    overflow: hidden;
}

.testi-viewport {
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 1.2rem;
    transition: transform 0.5s ease;
    overflow: visible;
}

.testi-card {
    flex: 0 0 calc(33.333% - 0.8rem);
    min-width: calc(33.333% - 0.8rem);
}

.testi-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testi-btn {
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.testi-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.testi-dots {
    display: flex;
    gap: 0.4rem;
}

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

.testi-dot.active {
    background: var(--teal);
    width: 24px;
    border-radius: 4px;
}


/* ===== BLOG / ARTIKEL SECTION ===== */
.blog {
    background: var(--void);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

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

.blog-card:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.blog-thumb {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.blog-category {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
}

.blog-date {
    font-size: 0.72rem;
    color: var(--gray-dim);
}

.blog-body h3 {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white-full);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-body p {
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: all 0.3s;
}

.blog-link:hover {
    color: var(--teal-dim);
    transform: translateX(3px);
}


