/* ============================================
   LaundryKu — Landing Page (Redesign)
   Signature: nota kiloan rangkap kuning yang
   "distempel" bertahap — ditarik dari dunia nyata
   laundry kiloan Indonesia, bukan dashboard SaaS
   generik.
   ============================================ */

:root {
    --paper: #FBF8F1;
    --paper-carbon: #F0D34A;
    --paper-carbon-soft: #FBEFB0;
    --ink: #20231F;
    --ink-soft: #565B52;
    --ink-faint: #8B8F7F;
    --stamp: #5B3E8C;
    --stamp-soft: rgba(91, 62, 140, 0.09);
    --soap: #0E7C6B;
    --soap-soft: rgba(14, 124, 107, 0.1);
    --price: #C7401F;
    --line: #E4DCC5;
    --white: #FFFFFF;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 7px;
    --shadow-card: 0 1px 2px rgba(32, 35, 31, 0.04), 0 8px 22px rgba(32, 35, 31, 0.06);
    --shadow-lifted: 0 24px 60px rgba(32, 35, 31, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

:focus-visible {
    outline: 2px solid var(--stamp);
    outline-offset: 3px;
    border-radius: 6px;
}

.hidden-wip { display: none !important; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--soap), var(--stamp));
    z-index: 200;
    transition: width 0.15s ease-out;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--stamp);
    background: var(--stamp-soft);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

/* ============ BUTTONS ============ */
.btn-solid, .btn-ghost, .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    padding: 12px 22px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-solid {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 6px 18px rgba(32, 35, 31, 0.22);
}

.btn-solid:hover {
    background: var(--stamp);
    box-shadow: 0 8px 22px rgba(91, 62, 140, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--stamp);
    color: var(--stamp);
    transform: translateY(-1px);
}

.btn-text {
    color: var(--ink-soft);
    padding: 12px 4px;
    font-weight: 600;
}
.btn-text:hover { color: var(--stamp); }

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ NAVBAR ============ */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 241, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nav-bar.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(32, 35, 31, 0.05);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--ink);
    flex-shrink: 0;
}

.nav-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--paper-carbon);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.nav-logo:hover .nav-logo-mark { transform: rotate(-6deg) scale(1.06); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
}

.nav-links a { position: relative; }

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

.nav-links a:hover { color: var(--stamp); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 28px 64px;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.hero-blob--a {
    width: 380px;
    height: 380px;
    top: -160px;
    right: -100px;
    background: radial-gradient(circle, rgba(240, 211, 74, 0.28), transparent 70%);
}

.hero-blob--b {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -90px;
    background: radial-gradient(circle, rgba(14, 124, 107, 0.14), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 44px;
    line-height: 1.14;
    margin-bottom: 14px;
}

.hero-copy h1 .hl {
    color: var(--stamp);
}

.hero-tagline-en {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    color: var(--ink-faint);
    margin: 0 0 18px;
}

.hero-sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 13px;
    color: var(--ink-faint);
}

.hero-proof strong {
    color: var(--ink);
    font-family: var(--font-mono);
}

/* --- Hero visual: nota kiloan bercarbon, distempel bertahap --- */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.device-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.device-frame::before {
    /* lapisan kertas carbon kuning mengintip di belakang */
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: var(--paper-carbon);
    border-radius: var(--radius-lg);
    transform: rotate(2.5deg);
    z-index: 0;
}

.device-frame .nota-sheet {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lifted);
    border: 1px solid var(--line);
    padding: 26px 24px 24px;
    transform: rotate(-1.5deg);
}

.nota-perforation {
    display: flex;
    justify-content: space-between;
    margin: -26px -24px 18px;
    padding: 0 14px;
}

.nota-perforation span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--paper);
    margin-top: -5px;
    box-shadow: 0 1px 0 var(--line);
}

.nota-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.nota-head-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
}

.nota-head-code {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-faint);
}

.nota-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.nota-row strong { color: var(--ink); }

.nota-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px dashed var(--line);
    margin-top: 12px;
    padding-top: 12px;
    font-family: var(--font-mono);
}

.nota-total-label { font-size: 12px; color: var(--ink-faint); }
.nota-total-num { font-size: 19px; font-weight: 600; color: var(--price); }

.nota-stamps {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.nota-stamp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 10px;
    border: 1.5px solid var(--stamp);
    color: var(--stamp);
    border-radius: 100px;
    transform: rotate(-3deg);
}

.nota-stamp.is-muted {
    border-color: var(--line);
    color: var(--ink-faint);
    opacity: 0.55;
}

.nota-notif {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--soap-soft);
    border-radius: var(--radius-sm);
    padding: 11px 13px;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-top: 16px;
}

.nota-notif i { color: var(--soap); font-size: 15px; margin-top: 1px; flex-shrink: 0; }

/* ============ TRUST STRIP ============ */
.trust-strip {
    text-align: center;
    padding: 20px 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-strip p {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-faint);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============ SECTIONS (shared) ============ */
.section { padding: 96px 28px; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-head {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head h2 { font-size: 33px; line-height: 1.24; margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--ink-soft); margin: 0; }

/* ============ FITUR — badge stempel ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--stamp);
}

/* Hover .feature-icon sekarang ditangani Motion (lihat script di Home.blade.php) */

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--stamp);
    color: var(--stamp);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
    transform: rotate(-4deg);
    transition: transform 0.25s ease;
}

/* transform hover .feature-icon sekarang ditangani Motion via JS */

.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ============ CARA KERJA — nota bertahap distempel ============ */
.cycle-dial {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cycle-track {
    position: absolute;
    top: 26px;
    left: calc(12.5% + 26px);
    right: calc(12.5% + 26px);
    height: 1.5px;
    background: repeating-linear-gradient(90deg, var(--stamp) 0 7px, transparent 7px 14px);
    background-size: 14px 1.5px;
    opacity: 0.4;
}

.cycle-stage { position: relative; text-align: center; padding-top: 4px; }

.cycle-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--stamp);
    color: var(--stamp);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    transform: rotate(-3deg);
    transition: transform 0.25s ease;
}

/* transform hover .cycle-icon sekarang ditangani Motion via JS */

.cycle-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--soap);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.cycle-stage h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.cycle-stage p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.cycle-exception {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 640px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: var(--paper);
    border: 1.5px dashed var(--line);
    border-radius: var(--radius-md);
}

.cycle-exception-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cycle-exception-text h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.cycle-exception-text p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ============ KENAPA LAUNDRY KILOAN (konten SEO) ============ */
.why-block {
    max-width: 760px;
    margin: 0 auto;
}

.why-block h2 { font-size: 28px; margin-bottom: 18px; text-align: center; }

.why-block p {
    font-size: 15.5px;
    color: var(--ink-soft);
    margin: 0 0 16px;
}

/* ============ HARGA ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

.price-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(32, 35, 31, 0.1); }

.price-card--highlight {
    border-color: var(--stamp);
    box-shadow: 0 16px 40px rgba(91, 62, 140, 0.16);
    transform: scale(1.03);
}

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

.price-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--stamp);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-desc { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 22px; min-height: 40px; }
.price-num { font-family: var(--font-mono); font-size: 32px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.price-total { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 22px; }
.price-currency { font-size: 18px; font-weight: 600; margin-right: 2px; vertical-align: 2px; }
.price-period { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-faint); }
.price-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex-grow: 1; }
.price-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.price-list i { color: var(--soap); font-size: 15px; flex-shrink: 0; }

/* ============ CTA FINAL ============ */
.cta-final {
    position: relative;
    padding: 80px 28px;
    text-align: center;
    background: var(--ink);
    overflow: hidden;
}

.cta-final-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-final h2 { color: var(--paper); font-size: 32px; margin-bottom: 12px; }
.cta-final p { color: rgba(251, 248, 241, 0.75); font-size: 16px; margin: 0 0 28px; }
.cta-final .btn-solid { background: var(--paper-carbon); color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.cta-final .btn-solid:hover { background: var(--paper-carbon-soft); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: rgba(251, 248, 241, 0.65); padding: 64px 28px 24px; }

.footer-inner {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-brand .nav-logo { font-size: 22px; }
.footer-brand .nav-logo-mark { width: 38px; height: 38px; font-size: 18px; background: var(--paper-carbon); color: var(--ink); }
.footer-brand p { font-size: 15px; margin-top: 16px; max-width: 320px; text-align: left; color: rgba(251, 248, 241, 0.55); }
.footer-tagline-en { font-family: var(--font-mono); font-size: 12px; margin-top: 8px !important; color: rgba(251, 248, 241, 0.4) !important; }
.footer .nav-logo { color: var(--paper); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-col h5 { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--paper); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links a { font-size: 16px; font-weight: 500; color: rgba(251, 248, 241, 0.7); transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.footer-links a:hover { color: var(--paper); transform: translateX(3px); }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 24px; font-size: 12.5px; color: rgba(251, 248, 241, 0.4); text-align: center; }

/* ============================================
   AMBIENT ANIMATIONS (dihormati prefers-reduced-motion)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .hero-blob--a { animation: blobFloatA 15s ease-in-out infinite; }
    .hero-blob--b { animation: blobFloatB 18s ease-in-out infinite; }
    /* .device-frame sekarang digerakkan Motion via JS (entrance + tilt kursor) */
    .cycle-track { animation: dashMove 1.4s linear infinite; }
    .nota-notif i { animation: iconWobble 5s ease-in-out infinite; }
}

@keyframes blobFloatA { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-22px, 24px); } }
@keyframes blobFloatB { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, -20px); } }
@keyframes notaSway { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(-0.6deg) translateY(-6px); } }
@keyframes dashMove { to { background-position: 14px 0; } }
@keyframes iconWobble { 0%, 78%, 100% { transform: rotate(0deg); } 83% { transform: rotate(-12deg); } 88% { transform: rotate(10deg); } 93% { transform: rotate(-6deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card--highlight { transform: none; }
    .price-card--highlight:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .nav-inner { padding: 12px 20px; }
    .nav-logo { font-size: 17px; gap: 8px; }
    .nav-logo-mark { width: 30px; height: 30px; font-size: 15px; }
    .nav-right { gap: 10px; }
    .nav-toggle { font-size: 20px; }
    .nav-actions .btn-solid { padding: 9px 16px; font-size: 14px; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 28px 20px;
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 10px 0; width: 100%; }
    .nav-links a::after { display: none; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }

    .hero { padding: 48px 20px 44px; }
    .hero-copy h1 { font-size: 30px; }
    .section { padding: 64px 20px; }
    .section-head h2 { font-size: 25px; }
    .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
    .cycle-dial { grid-template-columns: 1fr; gap: 28px; }
    .cycle-track { display: none; }

    .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 36px; }
    .footer-brand { align-items: center; text-align: center; }
    .footer-brand p, .footer-tagline-en { text-align: center; }
    .footer-col { align-items: center; text-align: center; }
    .footer-links { align-items: center; }

    .cta-final h2 { font-size: 26px; }
}

@media (max-width: 400px) {
    .nav-inner { padding: 14px 18px; gap: 12px; }
    .nav-logo { font-size: 16.5px; gap: 8px; }
    .nav-logo-mark { width: 30px; height: 30px; font-size: 14px; }
    .nav-right { gap: 8px; }
    .nav-actions .btn-solid { padding: 9px 14px; font-size: 13.5px; }
}