/* DataTrust — professional dark/navy marketing site */
:root {
  --bg: #0b1220;
  --bg-2: #0f1a2e;
  --bg-3: #12233d;
  --panel: #101d33;
  --border: #1e2f4d;
  --text: #e6edf7;
  --muted: #93a4be;
  --muted-2: #6f82a0;
  --accent: #38bdf8;
  --accent-2: #2563eb;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --radius: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 6px;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--muted); padding: 8px 14px; border-radius: 10px; font-size: 0.95rem; font-weight: 500; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); background: var(--accent-soft); border: 1px solid var(--border); }
.nav .nav-cta:hover { border-color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 18px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 12px 4px; color: var(--muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; background: linear-gradient(158deg, #05070b 0%, #090e16 46%, #111a29 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 78%, var(--bg) 100%); }
.hero-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.18), rgba(37, 99, 235, 0.10) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-inner { position: relative; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 700; color: var(--accent); margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 22px; font-weight: 800; }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 0.98rem; cursor: pointer; transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.2s; border: 1px solid transparent; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #04121f; background: linear-gradient(180deg, #55c7fb, var(--accent)); box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35); }
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--panel); }
.btn-ghost:hover { border-color: var(--accent); }
.hero-meta { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 0.9rem; font-weight: 600; flex-wrap: wrap; }
.hero-meta .dot { color: var(--border); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; transition: transform 0.18s, border-color 0.18s, background 0.18s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--bg-3); }
.card-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Technology */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-group { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 24px; transition: border-color 0.18s, background 0.18s; }
.tech-group:hover { border-color: var(--accent); background: var(--bg-3); }
.tech-group h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted-2); font-weight: 700; }
.tech-group h4::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.86rem; font-weight: 600; color: var(--text); background: var(--bg-3); border: 1px solid var(--border); border-radius: 9px; padding: 6px 12px; transition: border-color 0.15s, color 0.15s, transform 0.12s; }
.tech-group:hover .chip { background: var(--panel); }
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* Feature (HIPE) */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 22px; padding: 44px; }
.feature-hipe-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.feature-hipe-head h3 { margin: 0; }
.hipe-badge { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.3); flex-shrink: 0; }
.hipe-badge img { width: 40px; height: 40px; object-fit: contain; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px; }
.feature-body h3 { font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 800; }
.feature-tag { color: var(--text); font-weight: 600; margin: 0 0 14px; }
.feature-body p { color: var(--muted); margin: 0 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.feature-list li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.feature-stack { font-size: 0.9rem; color: var(--muted); margin: 0 0 22px; font-weight: 600; }
.feature-stack span { color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; font-weight: 700; margin-right: 6px; }

/* Phone mockup (screenshot is a pre-rendered device mockup with transparent bg) */
.feature-art { display: flex; justify-content: center; }
.feature-shot { display: block; width: 100%; max-width: 240px; height: auto; filter: drop-shadow(0 30px 55px rgba(0,0,0,0.5)); }
.phone { position: relative; width: 232px; height: 470px; border-radius: 38px; background: linear-gradient(160deg, #1a2c49, #0d1830); border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 0 0 6px #0a1322; padding: 14px; }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #0a1322; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 26px; background: #0c1526; overflow: hidden; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ph-row { display: flex; align-items: center; gap: 8px; }
.ph-head { margin-bottom: 4px; }
.ph-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex-shrink: 0; }
.ph-pill { width: 44px; height: 16px; border-radius: 999px; margin-left: auto; background: var(--accent-soft); border: 1px solid var(--border); }
.ph-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ph-line { height: 8px; border-radius: 6px; background: rgba(147,164,190,0.28); }
.ph-line.w40 { width: 40%; } .ph-line.w60 { width: 60%; } .ph-line.w70 { width: 70%; } .ph-line.w80 { width: 80%; } .ph-line.w90 { width: 90%; }
.ph-img { height: 74px; border-radius: 10px; background: linear-gradient(135deg, rgba(56,189,248,0.22), rgba(37,99,235,0.16)); border: 1px solid var(--border); margin-top: 2px; }
.ph-nav { margin-top: auto; height: 44px; border-radius: 999px; background: rgba(10,19,34,0.85); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-around; padding: 0 14px; }
.ph-nav span { width: 16px; height: 16px; border-radius: 5px; background: rgba(147,164,190,0.3); }
.ph-nav .ph-fab { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* Stats */
.stats-section { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat { padding: 20px; }
.stat-num { display: block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; background: linear-gradient(180deg, #7dd3fc, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 0.98rem; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 800; }
.about-text p { color: var(--muted); margin: 0 0 16px; }
.about-side { display: grid; gap: 12px; }
.about-fact { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.about-fact span { color: var(--muted-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.about-fact strong { color: var(--text); font-weight: 600; }
.fact-flag { display: inline-flex; align-items: center; gap: 8px; }
.us-flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); flex: none; }

/* Contact */
.contact-head { max-width: 620px; margin: 0 0 32px; }
.contact-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; }
.contact-card { display: flex; align-items: center; gap: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; max-width: 560px; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--bg-3); }
.contact-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-ic svg { width: 24px; height: 24px; }
.contact-meta { display: flex; flex-direction: column; }
.contact-label { color: var(--muted-2); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.contact-value { font-size: 1.15rem; font-weight: 700; }
.contact-arrow { margin-left: auto; color: var(--accent); font-size: 1.3rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; color: var(--text); }
.footer-brand .brand-mark { color: var(--accent); }
.footer-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { color: var(--muted-2); font-size: 0.86rem; margin: 0; width: 100%; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 34px; padding: 32px; }
  .feature-art { order: -1; }
  .about { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
}
