/* ── TECHVEDX SHARED STYLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --blue: #1A6BF5;
  --blue-light: #4D8EFF;
  --orange: #F4511E;
  --purple: #7B2FBE;
  --silver: #E8ECF4;
  --muted: #8899BB;
  --white: #FFFFFF;
  --card-bg: #111827;
  --border: rgba(255,255,255,0.07);
  --grad: linear-gradient(135deg, #1A6BF5, #7B2FBE, #F4511E);
  --grad-text: linear-gradient(135deg, #4D8EFF, #A855F7, #FB923C);
}
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 4rem;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-social {
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, transform 0.15s;
}
.nav-social:hover { color: var(--white); transform: translateY(-1px); }
.nav-cta {
  background: var(--grad); color: var(--white);
  padding: 0.5rem 1.3rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 9rem 4rem 4rem;
  max-width: 1200px; margin: 0 auto;
  border-bottom: 0.5px solid var(--border);
}
.page-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 0.75rem;
}
.page-hero p { color: var(--muted); font-size: 1rem; max-width: 560px; }
.page-meta { margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }

/* ── CONTENT WRAPPER ── */
.content-wrap { max-width: 1200px; margin: 0 auto; padding: 3.5rem 4rem 5rem; }
.content-wrap.narrow { max-width: 820px; }

/* ── PROSE (policy/legal pages) ── */
.prose h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
  color: var(--white);
}
.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--silver); }
.prose p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.35rem; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: var(--blue-light); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .highlight-box {
  background: rgba(26,107,245,0.08);
  border: 0.5px solid rgba(26,107,245,0.3);
  border-radius: 10px; padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.prose .highlight-box p { margin: 0; color: var(--silver); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.88rem; }
.prose table th { background: rgba(26,107,245,0.12); color: var(--white); font-weight: 600; padding: 0.7rem 1rem; text-align: left; border: 0.5px solid var(--border); }
.prose table td { padding: 0.65rem 1rem; color: var(--muted); border: 0.5px solid var(--border); vertical-align: top; }
.prose table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* ── SECTION COMMONS ── */
section { padding: 5rem 4rem; max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.section-heading { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 1rem; }
.section-sub { font-size: 0.95rem; color: var(--muted); max-width: 500px; margin-bottom: 3rem; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── CARDS ── */
.card {
  background: var(--card-bg); border: 0.5px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(26,107,245,0.4); transform: translateY(-3px); }

/* ── DIVIDER ── */
.divider { height: 0.5px; background: var(--border); max-width: 1200px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary { background: var(--grad); color: var(--white); padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.2s, transform 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 0.5px solid rgba(255,255,255,0.2); padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: border-color 0.2s, transform 0.15s; }
.btn-outline:hover { border-color: rgba(255,255,255,0.45); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid var(--border);
  background: var(--navy-mid);
}
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 4rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img { height: 42px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; max-width: 260px; }
.footer-tagline { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; font-style: italic; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li.footer-text, .footer-col ul li.footer-text * { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 4rem;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted);
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.secure-badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: var(--card-bg); border: 0.5px solid var(--border);
  border-radius: 8px; padding: 0.8rem 1rem; color: var(--white);
  font-size: 0.88rem; font-family: 'Inter', sans-serif;
  width: 100%; outline: none; transition: border-color 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form select option { background: var(--navy-mid); }
.form-success { display: none; background: rgba(26,107,245,0.1); border: 0.5px solid rgba(26,107,245,0.3); border-radius: 8px; padding: 1rem; text-align: center; color: #6BAEFF; font-size: 0.9rem; margin-top: 0.5rem; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0.85rem 1.5rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-mid); padding: 1.5rem;
    gap: 1rem; border-bottom: 0.5px solid var(--border);
  }
  section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 8rem 1.25rem 3rem; }
  .content-wrap { padding: 2.5rem 1.25rem 4rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.5rem 1.25rem 1.5rem; }
  .footer-bottom { padding: 1.25rem; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
