/* ============ ThinkRall — global styles ============ */
:root {
  --ink: #0e141b;
  --panel: #151e28;
  --panel-2: #1b2632;
  --line: #243140;
  --text: #e6edf3;
  --muted: #93a3b3;
  --accent: #f26522;
  --accent-soft: rgba(242, 101, 34, 0.12);
  --light: #f4f6f8;
  --light-text: #14202b;
  --light-muted: #5b6a78;
  --radius: 12px;
  --maxw: 1180px;
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ink); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 20, 27, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 20px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--ink);
    border-bottom: 1px solid var(--line); padding: 16px 24px 24px;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; align-items: flex-start; }
  .nav-cta { margin-left: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .2s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e05a1c; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(242,101,34,.35); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--light-text); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(242,101,34,.16), transparent 60%),
    radial-gradient(700px 380px at 8% 85%, rgba(40,90,140,.22), transparent 60%),
    var(--ink);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); letter-spacing: .14em; font-size: 13px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; letter-spacing: .01em; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { margin: 22px 0 34px; font-size: 17.5px; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure img, .hero-figure .frame { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.hero-figure .frame { background: var(--panel); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }

/* trust bar */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(21,30,40,.6); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 24px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .t-ico { font-family: var(--font-display); font-size: 22px; color: var(--accent); width: 34px; text-align: center; }
.trust-item .t-txt b { display: block; font-size: 15px; }
.trust-item .t-txt span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.light { background: var(--light); color: var(--light-text); }
.section.light .sec-sub, .section.light .sec-desc { color: var(--light-muted); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: .01em; }
.sec-sub { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(242,101,34,.5); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 26px; }
.card-body h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 14.5px; color: var(--accent); }
.section.light .card { background: #fff; border-color: #e2e8ee; }
.section.light .card p { color: var(--light-muted); }

/* features row (why us) */
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .f-ico { font-family: var(--font-display); font-size: 26px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }
.section.light .feature { background: #fff; border-color: #e2e8ee; }
.section.light .feature p { color: var(--light-muted); }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.flip .split-media { order: 2; }
.split-media img, .split-media .frame { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.split-media .frame { background: var(--panel); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.split-body h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.split-body p { color: var(--muted); margin-bottom: 14px; }
.split-body ul li { padding-left: 22px; position: relative; margin-bottom: 10px; color: var(--muted); }
.split-body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.section.light .split-body p, .section.light .split-body ul li { color: var(--light-muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-media { order: 0; }
}

/* spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); width: 34%; }
.section.light .spec-table th, .section.light .spec-table td { border-bottom-color: #e2e8ee; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #1b2632, #223042 55%, #2a1a14); border: 1px solid var(--line); border-radius: 16px; padding: 52px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0a0f14; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; color: var(--text); }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 84px 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 85% 0%, rgba(242,101,34,.12), transparent 60%), var(--ink); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); }
.page-hero .lead { color: var(--muted); max-width: 640px; margin-top: 14px; font-size: 16.5px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 13px 14px; font-size: 15px; font-family: var(--font-body);
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 48px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card .c-ico { font-family: var(--font-display); font-size: 22px; color: var(--accent); margin-bottom: 10px; }
.contact-card h3 { font-size: 15px; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14px; word-break: break-word; }
.contact-card a:hover { color: var(--accent); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
}
