/* PT Tatiye Digital Solusindo — landing page (tema terang, aksen brand #F2470B) */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --panel: #ffffff;
  --panel-2: #f1f3f7;
  --line: #e6e8ee;
  --line-strong: #d7dbe4;
  --text: #0f172a;
  --muted: #5b6b82;
  --accent: #f2470b;
  --accent-2: #ff7a3d;
  --accent-strong: #d93e0a;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 6%), 0 1px 3px rgb(15 23 42 / 8%);
  --shadow: 0 18px 40px -18px rgb(15 23 42 / 22%);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--muted);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
p { margin: 0 0 10px; }
code, pre { font-family: var(--mono); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.sponsor-link { color: #db61a2; border-color: color-mix(in srgb, #db61a2 35%, transparent); }
.sponsor-link:hover { color: #c94f8f; border-color: #db61a2; }
.sponsor-link svg { width: 15px; height: 15px; stroke-width: 2; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgb(255 255 255 / 70%); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: rgb(255 255 255 / 92%); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand-logo { height: 34px; width: auto; border-radius: 8px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; padding: 2px;
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font-family: inherit;
  font-size: 0.72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: 0.2s;
}
.lang-switch button.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* Hero */
.hero { position: relative; padding: 140px 0 92px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-glow {
  position: absolute; inset: -30% 40% 20% -10%;
  background: radial-gradient(620px 420px at 32% 24%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
              radial-gradient(520px 360px at 82% 6%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-strong); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin: 10px 0 16px; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 34rem; }
.lede strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; margin: 26px 0 22px; flex-wrap: wrap; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.hero-chips li {
  font-size: 0.8rem; font-weight: 500; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow-sm);
}

/* Code card (tetap gelap untuk kontras) */
.code-card { background: #0f172a; border: 1px solid #1e293b; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0b1220; border-bottom: 1px solid #1e293b; }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; }
.code-bar span:nth-child(1) { background: #ff5f56; }
.code-bar span:nth-child(2) { background: #ffbd2e; }
.code-bar span:nth-child(3) { background: #27c93f; }
.code-bar em { margin-left: auto; font-style: normal; color: #94a3b8; font-size: 0.75rem; font-family: var(--mono); }
.code-body { margin: 0; padding: 18px 20px; font-size: 0.82rem; line-height: 1.6; overflow-x: auto; color: #e2e8f0; }
.c-dim { color: #94a3b8; }
.c-key { color: #ff9a5f; }
.c-str { color: #8fe39b; }
.c-accent { color: #ff8a3d; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-header { max-width: 640px; margin-bottom: 48px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.section-subtitle { color: var(--muted); font-size: 1.08rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.about-text p { color: var(--muted); font-size: 1.02rem; }
.about-text strong { color: var(--text); }
.about-highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-highlights li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.hl-icon {
  width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-strong); font-size: 1rem; line-height: 1;
}
.hl-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.about-highlights strong { display: block; font-size: 0.98rem; color: var(--text); }
.about-highlights p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; }

/* Cards (services) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-strong); font-size: 1.2rem; margin-bottom: 14px;
}
.card-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Product feature */
.product-feature {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; align-items: stretch;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 44px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.product-feature:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.pf-body { padding: 30px 32px; }
.pf-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 6px; padding: 4px 10px; margin-bottom: 12px;
}
.product-feature h3 { font-size: 1.6rem; margin-bottom: 10px; }
.product-feature p { color: var(--muted); margin-bottom: 16px; }
.pf-link { color: var(--accent-strong); font-weight: 700; }
.pf-code {
  display: grid; place-items: center; padding: 24px;
  border-left: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--bg-soft)), var(--bg-soft));
}
.pf-code pre { margin: 0; color: var(--text); font-size: 0.84rem; line-height: 1.75; }
.pf-code .c-str { color: var(--accent-strong); }
.pf-code pre::before {
  content: "app.js";
  display: block; margin-bottom: 10px; padding-bottom: 8px;
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--line));
}
.subhead { font-size: 1.25rem; margin: 0 0 18px; }

/* NXDOM intro */
.eco-intro {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.eco-intro-body { flex: 1 1 380px; }
.eco-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.eco-intro h4 { font-size: 1.25rem; margin: 0 0 8px; }
.eco-intro p { margin: 0; color: var(--muted); }
.eco-intro p strong { color: var(--text); }
.eco-intro p em { font-style: italic; }

/* Ecosystem grid */
.eco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 16px; }
.eco-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.eco-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.eco-tag {
  align-self: flex-start; font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 6px; padding: 3px 9px;
}
.eco-card h4 { margin: 4px 0 0; font-size: 1.05rem; color: var(--text); }
.eco-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.cc-icon { display: inline-flex; justify-content: center; margin-bottom: 6px; color: var(--accent-strong); }
.cc-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.contact-card strong { color: var(--text); }
.contact-card span { color: var(--muted); font-size: 0.92rem; }
.contact-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 24px; }
.contact-note code { color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* Legalitas */
.legal-box {
  margin-top: 40px; padding: 28px 32px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
}
.legal-title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.legal-title svg { width: 20px; height: 20px; color: var(--accent-strong); }
.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.legal-item dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.legal-item dd { margin: 0; color: var(--text); font-family: var(--mono); font-size: 0.92rem; }
.legal-box .contact-note { margin-top: 20px; text-align: left; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo { height: 30px; width: auto; }
.footer-brand strong { font-family: var(--font-display); color: var(--text); }
.footer-brand p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-links .text-pink { color: #db61a2; }
.footer-links .text-pink:hover { color: #c94f8f; }
.footer-copy { width: 100%; color: var(--muted); font-size: 0.8rem; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .product-feature { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-code { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 16px 24px 24px; transform: translateY(-130%); transition: transform 0.25s ease; margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 10px 0; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 120px; }
  .legal-grid { grid-template-columns: 1fr; }
}

/* History block (sejarah & krisis 2026) */
.history-block {
  margin-top: 48px; padding: 28px 30px;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 14px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgb(15 23 42 / 5%));
}
.history-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.history-block h3 { font-size: 1.3rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.history-block p { font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }
.history-block p:last-of-type { margin-bottom: 0; }
.history-block strong { color: var(--text); }
.history-quote {
  font-style: italic; font-weight: 500; color: var(--text);
  border-top: 1px dashed var(--line-strong); padding-top: 12px; margin-top: 14px; margin-bottom: 0;
}
/* History gallery */
