:root {
  --bg: #FFFFFF;
  --bg-subtle: #F9F9FB;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #888888;
  --accent-coral: #E46F64;
  --accent-soft: rgba(228, 111, 100, 0.1);
  --border: rgba(0, 0, 0, 0.08);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-xl: 32px;
  --radius-lg: 18px;
  --container-padding: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --section-padding: 140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--font-main); color: var(--text-primary); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--container-padding); }

/* ---------- NAVBAR ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 72px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.nav-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -0.8px; display: flex; align-items: center; gap: 10px; cursor: default; }
.logo-badge { width: 10px; height: 10px; background: var(--accent-coral); border-radius: 50%; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: 0.2s; }
.nav-links a:hover { color: var(--text-primary); }

.btn-primary { background: #000; color: #fff; padding: 10px 24px; border-radius: 999px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s; }
.btn-large { padding: 18px 36px; font-size: 16px; }

.menu-btn { display: none; background: transparent; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
.burger-icon { width: 24px; height: 14px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.burger-icon span { display: block; width: 100%; height: 2px; background: #000; transition: 0.3s; border-radius: 2px; }

/* ---------- MOBILE MENU ---------- */
.mobile-nav { position: fixed; inset: 0; background: #fff; z-index: 999; padding: 100px 24px 40px; display: none; flex-direction: column; opacity: 0; transition: opacity 0.3s; }
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav-content { display: flex; flex-direction: column; gap: 16px; flex: 1; text-align: center; }
.mobile-nav a { font-size: 28px; font-weight: 800; color: #000; text-decoration: none; letter-spacing: -1px; }
.mobile-nav-sub { font-size: 18px !important; color: var(--text-muted) !important; font-weight: 600 !important; }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 10px 40px; }
.mobile-nav-footer { margin-top: 20px; }

/* ---------- HERO ---------- */
.hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 40px; }
.hero-micro-context { font-size: 14px; font-weight: 700; color: var(--accent-coral); margin-bottom: 16px; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.04em; white-space: nowrap; }
.hero p.lead { font-size: 20px; color: var(--text-secondary); max-width: 520px; margin-bottom: 40px; }
.hero-subtext { font-size: 13px; color: var(--text-muted); margin-top: 16px; font-weight: 600; opacity: 0.8; }

.hero-visual-wrapper { position: relative; display: flex; justify-content: flex-end; perspective: 1200px; }
.phone-frame { width: 260px; height: 540px; background: #000; border-radius: 40px; padding: 10px; border: 4px solid #1a1a1a; box-shadow: 0 40px 80px rgba(0,0,0,0.1); }
.breathing-phone { animation: phone-breathe-slow 12s ease-in-out infinite; }
@keyframes phone-breathe-slow { 0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(1deg); } 50% { transform: translateY(-12px) rotateY(-4deg) rotateX(0deg); } }

.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.screen-content { height: 100%; display: flex; flex-direction: column; background: #fff; font-size: 12px; color: #000; }

.ui-top-bar { padding: 24px 16px 10px; background: #fff; }
.ui-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ui-title { font-size: 16px; font-weight: 800; letter-spacing: -0.3px; }
.ui-notif-wrapper.quiet { opacity: 0.3; }

.ui-calendar-strip { display: flex; justify-content: space-between; padding: 8px 0; }
.ui-day { text-align: center; color: #aaa; flex: 1; }
.ui-day-name { font-size: 6px; font-weight: 800; margin-bottom: 4px; }
.ui-day-num { font-size: 11px; font-weight: 800; color: #000; }
.ui-day.active .ui-day-num { background: var(--accent-coral); color: #fff; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; margin: 0 auto; display: block; }
.ui-day.active .ui-day-name { color: var(--accent-coral); }

.ui-schedule-view { flex: 1; position: relative; padding: 20px; background: #fff; border-top: 1px solid #f5f5f5; }
.ui-time-label { position: absolute; left: 15px; font-size: 9px; font-weight: 800; color: #eee; }

.ui-booking-card { position: absolute; left: 60px; right: 15px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f8f8f8; }
.ui-booking-card.static { opacity: 0.4; }
.ui-booking-time { font-size: 11px; font-weight: 800; color: #aaa; margin-bottom: 2px; }
.ui-booking-service { font-size: 12px; font-weight: 800; color: #000; }
.ui-booking-check { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; background: #B5DBC4; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.ui-booking-check.highlight { background: var(--accent-coral); font-weight: 800; }

.ui-booking-loop { animation: booking-fade-loop 6s infinite; }
@keyframes booking-fade-loop { 0%, 20% { opacity: 0; transform: translateY(10px); } 30%, 80% { opacity: 1; transform: translateY(0); } 90%, 100% { opacity: 0; transform: translateY(-5px); } }

.ui-floating-plus { position: absolute; bottom: 20px; right: 20px; width: 44px; height: 44px; background: var(--accent-coral); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 4px 15px rgba(228, 111, 100, 0.4); z-index: 10; }
.ui-floating-plus.quiet { opacity: 0.3; }
.ui-floating-plus span { display: block; line-height: 1; transform: translateY(-2px); }

.ui-bottom-nav { height: 60px; background: #fff; border-top: 1px solid #f8f8f8; display: flex; justify-content: space-around; align-items: center; padding: 0 10px; }
.ui-nav-item { color: #eee; }
.ui-nav-item.active { color: var(--accent-coral); }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; }
/* Ensure the first section of any page clears the fixed navbar properly */
main > section:first-child { padding-top: 140px; }

.section-header { text-align: center; margin-bottom: 60px; }
.pre-title { font-size: 12px; font-weight: 800; color: var(--accent-coral); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.section-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }

/* PROBLEM */
.problem-section-light { background: var(--bg-subtle); border-radius: var(--radius-xl); margin: 0 12px; padding: 100px 0; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.problem-item { padding: 40px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); display: flex; flex-direction: column; }
.problem-icon { width: 48px; height: 48px; color: var(--accent-coral); margin-bottom: 24px; }
.problem-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.problem-item p { color: var(--text-secondary); font-size: 15px; }
.problem-footer { text-align: center; margin-top: 48px; font-weight: 700; color: var(--accent-coral); }

/* FEATURES */
.features-minimal-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.feature-mini-card { padding: 40px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: 0.3s var(--ease); display: flex; flex-direction: column; }
.feature-mini-card.key-feature { border: 2px solid var(--accent-coral); box-shadow: 0 20px 40px rgba(228, 111, 100, 0.05); }
.feature-svg-icon { width: 40px; height: 40px; color: var(--accent-coral); margin-bottom: 24px; }
.feature-mini-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.feature-mini-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* HOW IT WORKS */
.section-bg { background: var(--bg-subtle); border-radius: var(--radius-xl); margin: 0 12px; padding: 100px 0; }
.steps-flow-container-v2 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-line { position: absolute; top: 22px; left: 12.5%; width: 75%; height: 2px; background: #ddd; z-index: 1; }
.flow-line-v { display: none; }

.flow-progress { position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--accent-coral); transition: 1.5s var(--ease); }
.step-item-v2 { position: relative; z-index: 2; text-align: center; }
.step-dot { width: 44px; height: 44px; background: #fff; border: 2px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 800; transition: 0.4s; }
.active.step-item-v2 .step-dot { border-color: var(--accent-coral); background: var(--accent-coral); color: #fff; }
.step-item-v2 h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.step-item-v2 p { font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4; }

/* 24/7 BLOCK */
.accent-block { background: var(--text-primary); color: #fff; padding: 100px 40px; border-radius: var(--radius-xl); text-align: center; margin: 0 12px; position: relative; overflow: hidden; }
.accent-punchline { font-size: 20px; font-weight: 800; color: var(--accent-coral); margin-bottom: 40px; }
.automation-cycle-v2 { display: flex; justify-content: center; gap: 40px; margin-top: 40px; }
.cycle-box { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0.2; transition: 0.5s; }
.box-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 12px; }

.clock-wrap { width: 60px; height: 60px; border: 3px solid var(--accent-coral); border-radius: 50%; margin: 0 auto 30px; position: relative; }
.clock-wrap::after { content: ''; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; background: var(--accent-coral); border-radius: 50%; transform: translate(-50%, -50%); }
.hand { position: absolute; bottom: 50%; left: 50%; background: var(--accent-coral); transform-origin: bottom center; border-radius: 2px; }
.hand.hour { width: 3px; height: 15px; animation: rotate 12s linear infinite; }
.hand.minute { width: 2px; height: 22px; animation: rotate 1s linear infinite; }

/* TRUST */
.trust-grid-subtle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; opacity: 0.8; }
.trust-card-subtle { padding: 24px; text-align: center; }
.trust-icon-svg { width: 32px; height: 32px; margin: 0 auto 16px; color: var(--text-muted); }
.trust-card-subtle h4 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.trust-card-subtle p { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* FINAL CTA */
.final-cta-block { text-align: center; padding: 100px 40px; border-radius: var(--radius-xl); background: var(--bg-subtle); margin: 0 12px; }
.final-cta-block h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.final-cta-block p { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; }

/* ---------- FOOTER ---------- */
footer { padding: 80px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.copyright { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .section { padding: 60px 0; }
    main > section:first-child { padding-top: 100px; }

    .container { padding-left: 20px; padding-right: 20px; }
    .hero { padding: 100px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero h1 { white-space: normal; font-size: 34px; margin-bottom: 16px; }
    .hero p.lead { font-size: 18px; margin-bottom: 32px; }
    .hero-content { align-items: center; display: flex; flex-direction: column; }
    .hero-visual-wrapper { justify-content: center; margin-top: 20px; }
    
    .problem-section-light { margin: 0 8px; padding: 60px 0; }
    .problem-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .problem-item { padding: 32px 20px; }
    
    .features-minimal-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-mini-card { padding: 32px 20px; }
    
    .section-bg { margin: 0 8px; padding: 60px 0; }
    .steps-flow-container-v2 { grid-template-columns: 1fr; gap: 24px; text-align: left; position: relative; }
    .step-item-v2 { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
    .step-dot { margin: 0; flex-shrink: 0; width: 32px; height: 32px; font-size: 14px; z-index: 2; }
    
    .steps-flow-container-v2::before {
        content: '';
        position: absolute;
        left: 16px; 
        top: 16px;
        bottom: 16px;
        width: 1px;
        background: #ddd;
        z-index: 1;
    }
    .flow-line-v {
        display: block;
        content: '';
        position: absolute;
        left: 16px;
        top: 16px;
        bottom: 16px;
        width: 1px;
        z-index: 2;
        pointer-events: none;
    }
    .flow-progress-v {
        width: 100%;
        height: 0;
        background: var(--accent-coral);
        transition: 1.5s var(--ease);
    }
    .flow-line { display: none; }
    
    .accent-block { padding: 60px 20px; margin: 0 8px; }
    .automation-cycle-v2 { gap: 16px; flex-wrap: wrap; }
    .cycle-box span { font-size: 10px; }
    
    .trust-grid-subtle { grid-template-columns: 1fr; gap: 8px; }
    .trust-card-subtle { padding: 12px; }
    
    .final-cta-block { padding: 60px 20px; margin: 0 8px; }
    .final-cta-block h2 { font-size: 28px; }
    
    .desktop-only { display: none; }
    .menu-btn { display: block; }
}

.reveal-once { opacity: 0; transform: translateY(20px); transition: 1s var(--ease); }
.active.reveal-once { opacity: 1; transform: translateY(0); }
@keyframes rotate { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
