/* KATYUSTORE — Landing Page Task 4
   Implementasi dari wireframe Figma Task 3.
   Gaya mid-fidelity: flat color, tanpa gradient, tanpa shadow dekoratif. */

:root {
  --ink: #242b31;
  --muted: #58636d;
  --line: #d5dadf;
  --paper: #f5f7f8;
  --light: #ebeef0;
  --cta-bg: #eaf0f3;
  --blue: #30485f;
  --white: #ffffff;
  --content: 1248px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 14px/1.55 var(--font); }
body, button, input, select, textarea { font-family: var(--font); }
button, input, select, textarea { font-size: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
[hidden], .honeypot { display: none !important; }
.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
:focus-visible { outline: 3px solid #698cb0; outline-offset: 3px; }
::selection { background: #d7e4ec; color: var(--ink); }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 18px; background: var(--white); border: 1px solid var(--line); }
.skip-link:focus { transform: none; }

/* NAVIGATION */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-weight: 700; letter-spacing: .015em; font-size: 19px; line-height: 1.2; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 50px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.desktop-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle, .mobile-nav { display: none; }

/* BUTTONS */
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; line-height: 1.25; font-weight: 600; transition: background-color .15s ease, border-color .15s ease; }
.button--primary { background: var(--blue); color: var(--white); }
.button--primary:hover { background: #23394f; }
.button--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.button--outline:hover { background: var(--paper); border-color: #aab4bc; }
.header-cta { min-height: 39px; padding: 10px 18px; font-size: 13px; flex-shrink: 0; }

/* SHARED SECTION TYPOGRAPHY */
.section { padding-block: 76px 80px; }
.section--white { background: var(--white); }
.section--soft { background: var(--paper); }
.eyebrow { font-size: 12px; line-height: 1.35; letter-spacing: .015em; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; }
h2 { font-size: 32px; line-height: 1.23; letter-spacing: -.02em; font-weight: 600; margin-bottom: 15px; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.section-intro { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0 0 31px; }

/* HERO */
.hero { padding-block: 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 520px); justify-content: space-between; align-items: center; gap: 54px; }
.hero-copy .eyebrow { margin-bottom: 19px; }
h1 { font-size: 47px; font-weight: 600; letter-spacing: -.035em; line-height: 1.14; max-width: 580px; margin: 0 0 23px; }
.hero-description { font-size: 17px; line-height: 1.56; color: var(--muted); max-width: 570px; margin: 0 0 23px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button:first-child { min-width: 214px; }
.hero-actions .button:last-child { min-width: 165px; }
.hero-note { color: var(--muted); font-size: 12px; margin: 18px 0 0; }

/* VALUE PROPOSITION */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.outlined-card { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.value-card { padding: 22px; min-height: 176px; }
.card-number { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 10px; }
.feature-column { min-width: 0; }
.feature-item { min-height: 96px; display: flex; gap: 18px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.feature-item:last-child { border-bottom: 0; }
.feature-item h3 { font-size: 17px; line-height: 1.35; margin: 0 0 5px; }
.feature-item p { color: var(--muted); margin: 0; font-size: 14px; }
.check-icon { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--blue); font-weight: 700; line-height: 1; }

/* SOCIAL PROOF */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portfolio-card { padding: 20px; }
.portfolio-placeholder { width: 100%; height: 118px; background: var(--light); border-radius: 4px; margin-bottom: 14px; }
.portfolio-card h3 { font-size: 16px; line-height: 1.35; margin: 0 0 6px; }
.portfolio-card p { color: var(--muted); margin: 0; font-size: 13px; }

/* FAQ */
.faq-list { margin-top: 14px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 17px 26px 17px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { font-weight: 600; font-size: 17px; line-height: 1.4; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '−'; font-weight: 400; position: absolute; right: -24px; top: 0; color: var(--muted); }
.faq-item:not([open]) summary::after { content: '+'; }
.faq-item p { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FINAL CTA AND REAL CONTACT FORM */
.section--cta { padding-block: 75px 80px; background: var(--cta-bg); }
.section--cta .section-intro { margin-bottom: 20px; }
.contact-cta { min-width: 220px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 630px); gap: 75px; align-items: start; margin-top: 48px; padding-top: 36px; border-top: 1px solid #cfd9df; scroll-margin-top: 96px; }
.contact-explanation h3 { font-size: 21px; line-height: 1.35; margin: 0 0 14px; }
.contact-explanation p { font-size: 15px; line-height: 1.65; margin: 0 0 15px; color: var(--muted); }
.contact-explanation .contact-helper { font-size: 13px; max-width: 420px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 25px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field label span { color: #9d3a3a; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9d0d5; background: var(--white); color: var(--ink); border-radius: 4px; padding: 12px 13px; font-size: 14px; font-weight: 400; outline-offset: 2px; }
.field input, .field select { min-height: 46px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #7d878f; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #536e87; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 20px; }
.checkbox-row input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--blue); }
.checkbox-row label { color: var(--muted); font-size: 13px; line-height: 1.5; }
.button--submit { width: 100%; min-height: 48px; }
.form-note { font-size: 12px; color: var(--muted); margin: 11px 0 0; }
.form-feedback { font-size: 13px; line-height: 1.55; padding: 13px; border: 1px solid #bad4c2; background: #f1f8f3; color: #275138; margin-top: 15px; }
.form-feedback--error { background: #fff9ef; border-color: #e4c997; color: #6f5023; }
.copy-button { margin-top: 12px; width: 100%; }

/* FOOTER */
.site-footer { background: var(--white); }
.footer-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand--footer { font-size: 14px; }
.footer-inner p { color: var(--muted); font-size: 13px; margin: 0; }

/* THANK-YOU PAGE */
.thanks-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.thanks-container { width: min(100% - 48px, 710px); margin: auto; padding: 80px 0; }
.thanks-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 45px; }
.thanks-card h1 { font-size: 34px; }
.thanks-card > p:not(.eyebrow) { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 580px; margin-bottom: 24px; }

/* TABLET */
@media (max-width: 1150px) {
  .desktop-nav { gap: 22px; margin-right: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); gap: 34px; }
  h1 { font-size: clamp(32px, 4.2vw, 47px); }
  .hero-description { font-size: 15px; }
  .value-card h3 { font-size: 17px; }
  .contact-layout { gap: 28px; grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 850px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 12px; }
  .brand { font-size: 16px; }
  .header-cta { font-size: 12px; }
  .hero { padding-block: 65px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .value-grid, .portfolio-grid { gap: 12px; }
  .value-card { padding: 16px; }
}

/* MOBILE — 390px Figma frame */
@media (max-width: 767px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 75px; }
  .brand { font-size: 17px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 70px; min-height: 35px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-size: 13px; font-weight: 500; color: var(--ink); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding: 6px 24px 14px; }
  .mobile-nav a { padding: 11px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--paper); }
  .mobile-nav a:last-child { border-bottom: none; color: var(--blue); font-weight: 600; }
  .hero { padding-block: 49px 54px; }
  .hero-grid { gap: 18px; }
  .hero-copy .eyebrow { margin-bottom: 13px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  h1 { font-size: 32px; line-height: 1.17; letter-spacing: -.03em; margin-bottom: 15px; }
  .hero-description { font-size: 15px; line-height: 1.58; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .button, .hero-actions .button:first-child, .hero-actions .button:last-child { min-width: 0; width: 100%; min-height: 48px; }
  .hero-note { margin-top: 12px; }
  .section { padding-block: 55px 58px; }
  h2 { font-size: 25px; line-height: 1.26; letter-spacing: -.02em; margin-bottom: 12px; }
  .section-intro { font-size: 14px; margin-bottom: 20px; }
  .value-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { padding: 17px; min-height: 0; }
  .card-number { font-size: 12px; margin-bottom: 9px; }
  .value-card h3 { font-size: 17px; margin-bottom: 8px; }
  .value-card p { font-size: 13px; line-height: 1.5; }
  .feature-grid { grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
  .feature-item { min-height: 0; gap: 14px; padding-block: 18px; }
  .feature-item h3 { font-size: 15px; margin-bottom: 5px; }
  .feature-item p { font-size: 13px; }
  .feature-item .check-icon { width: 23px; height: 23px; }
  .feature-column:first-child .feature-item:last-child { border-bottom: 1px solid var(--line); }
  .portfolio-card { padding: 15px; }
  .portfolio-placeholder { height: 115px; margin-bottom: 12px; }
  .portfolio-card h3 { font-size: 15px; }
  .portfolio-card p { font-size: 12px; }
  .faq-list { margin-top: 8px; }
  .faq-item { padding: 17px 21px 17px 0; }
  .faq-item summary { font-size: 15px; }
  .faq-item summary::after { right: -20px; }
  .faq-item p { font-size: 13px; margin-top: 8px; }
  .section--cta { padding-block: 50px 55px; }
  .section--cta h2 { font-size: 26px; line-height: 1.2; }
  .contact-cta { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 18px; margin-top: 33px; padding-top: 29px; scroll-margin-top: 20px; }
  .contact-explanation h3 { font-size: 17px; }
  .contact-explanation p { font-size: 13px; }
  .contact-form { padding: 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { min-height: 114px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; }
  .brand--footer { font-size: 14px; }
  .footer-inner p { font-size: 12px; }
  .thanks-container { padding-block: 35px; }
  .thanks-card { padding: 25px; }
  .thanks-card h1 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .desktop-nav a { transition: none; }
}
