/* ============================================================
   WAROS TECH — Company Profile
   Desain: elegan modern — charcoal gelap + biru brand (#07afec)
   di atas permukaan bersih. Mobile-first, spacing presisi.
   ============================================================ */
:root {
  /* Brand */
  --brand: #07afec;          /* biru terang dari logo resmi */
  --brand-deep: #0a86c2;     /* biru untuk teks/aksen di atas terang */
  --brand-ink: #075a85;
  --brand-soft: #e3f4fd;     /* tint biru muda */

  /* Netral */
  --ink: #14161a;            /* charcoal */
  --ink-2: #1c1f25;
  --ink-3: #262b33;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #171a20;
  --muted: #5c6572;
  --faint: #8a93a1;
  --border: #e7eaef;
  --border-soft: #eef1f5;

  /* Aksen pendukung */
  --amber: #f59e0b;
  --amber-deep: #b45309;
  --amber-soft: #fef3df;
  --green: #10b981;
  --green-deep: #047857;
  --green-soft: #dcf7ec;
  --wa: #22c55e;
  --wa-deep: #15803d;

  /* Geometri & elevasi */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 8px 24px -12px rgba(20, 22, 26, .18);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .06), 0 20px 44px -16px rgba(20, 22, 26, .28);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--brand); color: #fff; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ================= Navbar ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px -12px rgba(20, 22, 26, .22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 44px; width: 44px; border-radius: 12px; box-shadow: 0 4px 12px -4px rgba(20, 22, 26, .25); }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: 1.6px; color: var(--text); }
.brand-name em { font-style: normal; color: var(--brand-deep); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .94rem;
  color: var(--text);
  padding: 10px 15px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav-links a.nav-shop {
  background: var(--ink);
  color: #fff;
  margin-left: 8px;
  padding: 10px 20px;
}
.nav-links a.nav-shop:hover { background: var(--ink-3); color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}
.hamburger:hover { background: var(--border-soft); }
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= Hero ================= */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(720px 360px at 12% -10%, rgba(7, 175, 236, .28), transparent 62%),
    radial-gradient(560px 320px at 92% 110%, rgba(7, 175, 236, .12), transparent 60%),
    linear-gradient(160deg, #191d24 0%, #101318 58%, #0b0d11 100%);
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 175, 236, .12);
  border: 1px solid rgba(7, 175, 236, .38);
  color: #aee3fb;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-pill::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.hero h1 .thin { font-weight: 600; color: var(--brand); }

.tagline {
  font-size: 1.14rem;
  font-weight: 600;
  color: #d7e9f5;
  margin-top: 16px;
  letter-spacing: -.01em;
}
.hero-desc {
  color: #9aa6b5;
  margin-top: 12px;
  max-width: 35rem;
  font-size: 1rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(7, 175, 236, .5); outline-offset: 2px; }

.btn-accent {
  background: linear-gradient(135deg, #19b9f5 0%, var(--brand-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(7, 175, 236, .55);
}
.btn-accent:hover { box-shadow: 0 16px 34px -8px rgba(7, 175, 236, .65); }
.btn-outline {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(20, 22, 26, .5);
}
.btn-primary:hover { background: var(--ink-3); }
.btn-wa {
  background: linear-gradient(135deg, #2bd465 0%, var(--wa-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(34, 197, 94, .5);
}
.btn-wa svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-big { font-size: 1.12rem; padding: 18px 46px; }

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 30px;
  font-size: .88rem;
  font-weight: 500;
  color: #8b96a5;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #3d4450; }

/* Kartu dekoratif hero */
.hero-art { display: flex; justify-content: center; }
.hero-card {
  width: min(330px, 100%);
  aspect-ratio: 4 / 3.5;
  background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.hero-card svg { width: 92px; height: 92px; color: var(--brand); filter: drop-shadow(0 0 18px rgba(7, 175, 236, .45)); }
.hero-card-grade {
  background: rgba(7, 175, 236, .14);
  border: 1px solid rgba(7, 175, 236, .35);
  border-radius: 14px;
  padding: 10px 26px;
  text-align: center;
  line-height: 1.35;
}
.hero-card-grade strong { display: block; font-size: 1.08rem; letter-spacing: .4px; }
.hero-card-grade small { color: #aee3fb; font-size: .8rem; }

/* ================= Section umum ================= */
.section { padding: 96px 0; }
.section-alt { background: #eef1f6; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-title {
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1.2;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 10px 0 52px;
  font-size: 1.02rem;
}
.section-title.left + .section-sub { text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ================= Kartu ================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #d8dee7;
}
.card h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card p strong { color: var(--text); }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.blue { background: var(--brand-soft); color: var(--brand-deep); }
.card-icon.amber { background: var(--amber-soft); color: var(--amber-deep); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.card-link:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ================= Tentang ================= */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}
.about-copy p { color: var(--muted); margin: 16px 0; font-size: 1.01rem; }
.about-copy p strong { color: var(--text); }
.about-list { list-style: none; margin: 26px 0 32px; display: grid; gap: 16px; }
.about-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.about-list svg { width: 22px; height: 22px; color: var(--brand-deep); flex-shrink: 0; margin-top: 3px; }
.about-list span { color: var(--text); font-size: .96rem; font-weight: 500; }

.about-art { display: flex; justify-content: center; }
.about-badge {
  position: relative;
  background:
    radial-gradient(320px 180px at 50% -20%, rgba(7, 175, 236, .35), transparent 65%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px;
  padding: 48px 56px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  line-height: 1.4;
  overflow: hidden;
}
.about-badge svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--brand); }
.about-badge strong { display: block; font-size: 1.5rem; letter-spacing: -.01em; }
.about-badge small { color: #9aa6b5; font-size: .9rem; }

/* ================= Grade ================= */
.grade-card { position: relative; overflow: hidden; }
.grade-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.grade-a::before { background: linear-gradient(90deg, var(--green), #34d399); }
.grade-b::before { background: linear-gradient(90deg, var(--amber), #fbbf24); }
.grade-c::before { background: linear-gradient(90deg, #64748b, #94a3b8); }
.grade-letter {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 17px;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}
.grade-a .grade-letter { background: linear-gradient(135deg, #10b981, var(--green-deep)); box-shadow: 0 10px 22px -8px rgba(16, 185, 129, .55); }
.grade-b .grade-letter { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); box-shadow: 0 10px 22px -8px rgba(245, 158, 11, .55); }
.grade-c .grade-letter { background: linear-gradient(135deg, #64748b, #334155); box-shadow: 0 10px 22px -8px rgba(100, 116, 139, .55); }

/* ================= Kontak ================= */
.contact-inner { text-align: center; max-width: 780px; margin: 0 auto; }
.contact-inner .btn-big { margin: 34px 0 44px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}
.contact-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-item strong { display: block; margin-bottom: 10px; font-size: 1.04rem; letter-spacing: -.01em; }
.contact-item p { color: var(--muted); font-size: .95rem; }
.contact-item a { color: var(--brand-deep); font-weight: 700; text-decoration: none; font-size: .93rem; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ================= Footer ================= */
.footer {
  background: linear-gradient(180deg, #121419 0%, #0b0d11 100%);
  color: #aeb7c4;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-inner { text-align: center; display: grid; gap: 12px; justify-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo {
  height: 58px; width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.brand-text { font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; color: #fff; }
.brand-text em { font-style: normal; color: var(--brand); }
.footer-addr { font-size: .92rem; max-width: 34rem; }
.footer-copy { font-size: .84rem; color: #6b7482; }

/* ================= Responsif ================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 44px; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; }
  .hero-card { width: min(300px, 100%); }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 76px; }
  .container { padding-left: 20px; padding-right: 20px; }

  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px -12px rgba(20, 22, 26, .2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 1rem; }
  .nav-links a.nav-shop { margin: 6px 0 0; text-align: center; }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; padding: 17px 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .about-badge { padding: 40px 32px; width: 100%; }
  .section-sub { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
