/* ==========================================================================
   Tadasusah.com — Event Technology Products & Solutions
   Global stylesheet (dependency-free)
   ========================================================================== */

:root {
  --brand-red: #d32029;
  --brand-red-dark: #a8161d;
  --brand-red-soft: #fdecec;
  --gold: #c9a227;
  --gold-soft: #fbf4dd;
  --ink: #14171c;
  --ink-2: #3a4048;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #0e1116;
  --surface-3-2: #1a1f27;

  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;

  --container: 1180px;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 4px 12px rgba(16, 24, 40, 0.08), 0 20px 48px rgba(16, 24, 40, 0.12);
  --section-y: 64px;
}

@media (min-width: 900px) {
  :root { --section-y: 96px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 32px; } }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--surface-3); color: #cbd2dc; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-red); margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--gold); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; line-height: 1;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-red); color: #fff; }
.btn--primary:hover { background: var(--brand-red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f1f3; color: var(--ink); }
.btn--gold { background: var(--gold); color: #1a1400; }
.btn--gold:hover { background: #b08f1f; color: #1a1400; }
.btn--whatsapp { background: #25D366; color: #06331a; }
.btn--whatsapp:hover { background: #1ebe5b; color: #06331a; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand:hover { text-decoration: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--surface-2); color: var(--brand-red); text-decoration: none; }
.nav__link .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0; display: none;
}
.nav__list > li:hover > .nav__dropdown,
.nav__list > li:focus-within > .nav__dropdown { display: block; }
.nav__dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: 0.9375rem; text-decoration: none; }
.nav__dropdown a:hover { background: var(--surface-2); color: var(--brand-red); text-decoration: none; }
.nav__dropdown .dd-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 12px 4px; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 6px 10px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang-switch a:hover { text-decoration: none; color: var(--brand-red); }
.lang-switch a[aria-current="true"]:hover { color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .25s ease; margin-left: 0;
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
  .nav__list { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav__link { justify-content: space-between; padding: 12px; }
  .nav__dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .header-actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--surface-3); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14,17,22,.94) 0%, rgba(14,17,22,.72) 55%, rgba(168,22,29,.55) 100%);
}
.hero__inner { position: relative; padding: 88px 0 72px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #d7dce4; max-width: 620px; }
.hero .btn-row { margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__badges a {
  font-size: 0.8125rem; font-weight: 600; color: #e7ebf1;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px;
  text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.hero__badges a:hover, .hero__badges a:focus-visible {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff;
}
@media (min-width: 900px) { .hero__inner { padding: 120px 0 100px; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d7dbe1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--brand-red-soft);
  color: var(--brand-red); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
}
.card__icon--mono { background: #f1f2f4; color: #1a1a1a; }
.card__icon--mono img { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card .card__link { margin-top: auto; font-weight: 600; }
.card__media { margin: -24px -24px 20px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Product card */
.product-card { position: relative; }
.product-card .price { margin-top: auto; }
.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--red { background: var(--brand-red-soft); color: var(--brand-red-dark); border-color: #f6c9cb; }
.badge--gold { background: var(--gold-soft); color: #7a5f0d; border-color: #ecdca6; }
.badge--dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Price */
.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; }
.price__amount { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price__from { font-size: 0.8125rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.price__note { font-size: 0.875rem; color: var(--muted); }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px;
  background: var(--brand-red-soft); border-radius: 50%;
}
.feature-list li::after {
  content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 9px;
  border-right: 2px solid var(--brand-red); border-bottom: 2px solid var(--brand-red);
  transform: rotate(45deg);
}

/* ---------- Split / media ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--reverse .split__media { order: 2; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split__media img.phone-shot { max-width: 320px; margin-inline: auto; }
.split__media img.portrait-shot { max-width: 420px; margin-inline: auto; }
.media-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.media-frame img { width: 100%; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface-2); font-size: 0.9375rem; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-hi { background: var(--brand-red-soft); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-red); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__body { padding: 16px 20px 20px; color: var(--ink-2); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.875rem; color: var(--muted); padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.125rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--surface-3) 0%, #2a0d10 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd2dc; max-width: 620px; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.9375rem; }
.field .req { color: var(--brand-red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-red); outline: none; box-shadow: 0 0 0 3px var(--brand-red-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
.form__note { font-size: 0.875rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f6ec; color: #1c6b34; border: 1px solid #bfe3c9; }
.form-status--err { background: var(--brand-red-soft); color: var(--brand-red-dark); border: 1px solid #f6c9cb; }

/* ---------- Notice / callout ---------- */
.notice {
  border-left: 4px solid var(--gold); background: var(--gold-soft); color: #5c4a0c;
  padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9375rem;
}
.notice--info { border-color: var(--brand-red); background: var(--brand-red-soft); color: var(--brand-red-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-3); color: #aab2bd; padding: 56px 0 28px; font-size: 0.9375rem; }
.site-footer a { color: #cbd2dc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: #8b93a0;
}
.footer-bottom .lang-switch { border-color: rgba(255,255,255,.2); }
.footer-bottom .lang-switch a { color: #aab2bd; }
.footer-bottom .lang-switch a[aria-current="true"] { background: #fff; color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.lead { font-size: 1.125rem; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid var(--brand-red); margin: 1.5rem 0; padding: 4px 0 4px 18px; color: var(--ink); font-style: italic; }

/* Video facade */
.video-facade { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.video-facade img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .8; }
.video-facade__play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video-facade__play span {
  width: 68px; height: 68px; border-radius: 50%; background: var(--brand-red); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow-lg);
}
.video-facade iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* Article meta */
.article-meta { color: var(--muted); font-size: 0.9375rem; margin-bottom: 24px; }
.article-meta span + span::before { content: "·"; margin: 0 8px; }

/* Stat strip */
.stats { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__num { font-size: 2rem; font-weight: 800; color: var(--brand-red); letter-spacing: -0.02em; }
.stat__label { font-size: 0.875rem; color: var(--muted); }

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