/*
Theme Name: wp-effort
Theme URI: https://effort.my.id
Author: Oya Creative
Author URI: https://oyacreative.com
Description: Custom landing page theme for Effort — Jasa Pembuatan Website.
Version: 1.4.0
License: GNU General Public License v2 or later
Text Domain: wp-effort
*/

:root {
    --accent: #22d3ee;
    --accent-2: #6366f1;
    --ink: #f4f4f5;
    --muted: #a1a1aa;
    --bg: #0a0a0c;
    --surface: #141419;
    --surface-2: #1a1a20;
    --line: rgba(255,255,255,.08);
    --line-soft: rgba(255,255,255,.05);
    --radius: 16px;
    --grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #6366f1 100%);
    --glow: 0 20px 60px -25px rgba(99,102,241,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.wp-site-blocks, .site-main { display: block; }
.entry-content { max-width: none; }
.entry-content > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.entry-content > .alignfull, .entry-content > .wp-block-cover { max-width: none; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(10,10,12,.78); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 22px; height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; display: inline-flex; flex: 0 0 auto; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.site-nav { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.site-nav li a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s ease; }
.site-nav li a:hover { color: #fff; }
.site-nav .cta a {
    background: var(--grad); color: #04121a; padding: 11px 22px; border-radius: 999px; font-weight: 700;
    box-shadow: 0 10px 26px -10px rgba(99,102,241,.6); transition: transform .15s ease;
}
.site-nav .cta a:hover { transform: translateY(-2px); color: #04121a; }

/* hamburger */
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Footer ===== */
.site-footer { background: #050507; border-top: 1px solid var(--line-soft); color: var(--muted); padding: 48px 0; }
.site-footer .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; text-align: center; }
.site-footer p { margin: 0 0 6px; }
.site-footer .contact { color: #fff; font-weight: 700; font-size: 17px; }

/* ===== Typography ===== */
.wp-block-heading { line-height: 1.18; letter-spacing: -.02em; font-weight: 800; color: #fff; margin: 0 0 .8em; }
p { margin: 0 0 1rem; color: var(--muted); }
.wp-block-paragraph { margin: 0 0 1rem; color: var(--muted); }

/* ===== Buttons ===== */
.wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5rem 0; }
.wp-block-button__link {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
    background: var(--grad); color: #04121a !important; border: none;
    transition: transform .15s ease, box-shadow .15s ease; cursor: pointer;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(99,102,241,.65); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--accent) !important; border: 1.5px solid var(--accent); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(34,211,238,.08); }

/* ===== Columns ===== */
.wp-block-columns { display: flex; gap: 24px; flex-wrap: wrap; }
.wp-block-column { flex: 1 1 0; min-width: 240px; }

/* ===== Group ===== */
.wp-block-group { padding: 76px 24px; }
.wp-block-group.has-background { border-radius: var(--radius); }

/* ===== Cover (hero) ===== */
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 560px; padding: 90px 24px; color: #fff; text-align: center; overflow: hidden; }
.wp-block-cover .wp-block-cover__inner-container { max-width: 760px; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { color: #fff; font-size: clamp(26px, 4vw, 42px); }
.wp-block-cover p { color: rgba(255,255,255,.88); font-size: 15px; }
.wp-block-cover .wp-block-button__link { background: #fff; color: #3b82f6 !important; }

/* Animated gradient background */
.wp-block-cover__background { background-size: 200% 200% !important; animation: gradientShift 9s ease infinite !important; }
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Entrance animation (staggered) */
.wp-block-cover .wp-block-cover__inner-container > * {
    opacity: 0;
    animation: fadeUp .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.wp-block-cover .wp-block-cover__inner-container > *:nth-child(1) { animation-delay: .15s; }
.wp-block-cover .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .3s; }
.wp-block-cover .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .45s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CTA button pulse */
.wp-block-cover .wp-block-button__link { animation: btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
    50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}

/* ===== Service card ===== */
.wp-block-column .card, .service-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; height: 100%;
    transition: transform .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.45); }
.service-card .emoji { font-size: 36px; display: block; margin-bottom: 14px; }
.service-card h3 { font-size: 19px; margin: 0 0 8px; color: #fff; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Price card ===== */
.price-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; height: 100%; display: flex; flex-direction: column; text-align: center;
    transition: transform .18s ease, border-color .18s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.45); }
.price-card h4 { font-size: 19px; margin: 0 0 2px; color: #fff; text-align: center; }
.price-card .price {
    font-size: 27px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 16px; text-align: center;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.price-card .wp-block-list { margin: 0 0 18px; flex: 1; text-align: center; }
.price-card .wp-block-list li { font-size: 14px; margin-bottom: 7px; }
.price-card .wp-block-buttons { margin: 0; justify-content: center; }
.price-card .wp-block-button__link { width: 100%; padding: 11px 20px; font-size: 14px; }

/* Category subheadings in pricing */
#harga h3.wp-block-heading { margin: 44px 0 18px; font-size: 21px; text-align: center; color: #fff; }

/* ===== List ===== */
.wp-block-list { list-style: none; padding-left: 0; color: var(--muted); }
.wp-block-list li { margin-bottom: 8px; }

/* ===== Spacer ===== */
.wp-block-spacer { height: 40px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: rgba(10,10,12,.98); border-bottom: 1px solid var(--line);
        flex-direction: column; gap: 0; margin: 0; padding: 10px 24px 22px;
    }
    .site-nav.open { display: flex; }
    .site-nav li { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
    .site-nav .cta { border-bottom: none; padding-top: 18px; }
    .site-nav .cta a { display: inline-block; }
    .wp-block-columns { flex-direction: column; }
    .wp-block-cover { min-height: 460px; }
    .wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { font-size: 22px; }
    .wp-block-cover p { font-size: 15px; }
    .brand-name { font-size: 17px; }
}
