/* TechTown – Global Stylesheet */
/* Design: Dark Tech | Orbitron + Exo 2 | CTA #22C55E */

:root {
  --bg: #0F172A;
  --primary: #1E293B;
  --secondary: #334155;
  --cta: #22C55E;
  --cta-dark: #06210f;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --border: rgba(248,250,252,0.1);
  --radius: 16px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Orbitron', sans-serif; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }

/* ─── Header / Nav ─── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto; gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }
.nav-links { display: none; gap: 24px; }
.nav-links a { font-weight: 500; font-size: 0.9rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--cta); color: var(--cta-dark); font-weight: 600;
  font-size: 0.9rem; padding: 10px 18px; border-radius: 8px; border: none;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  min-height: 44px; display: flex; align-items: center; gap: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,.35); }
.nav-cta svg { width: 20px; height: 20px; stroke: var(--cta-dark); flex-shrink: 0; }
@media (max-width: 859px) {
  nav { gap: 10px; padding: 12px 16px; }
  .logo-img { height: 28px; }
}
@media (max-width: 539px) {
  .nav-cta { width: 40px; height: 40px; padding: 0; border-radius: 50%; justify-content: center; }
  .nav-cta .nav-cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
}
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ─── Hamburger ─── */
.hamburger {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 36px; height: 22px; background: none; border: none; cursor: pointer;
  padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
@media (min-width: 860px) { .hamburger { display: none; } }

/* ─── Mobile Nav Drawer ─── */
header { position: relative; }
@media (max-width: 859px) {
  nav.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
    background: rgba(15,23,42,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
  }
  nav.nav-open .nav-links a {
    padding: 14px 24px; font-size: 1rem; color: var(--muted);
    border-bottom: 1px solid var(--border); display: block;
  }
  nav.nav-open .nav-links a:hover,
  nav.nav-open .nav-links a.active { color: var(--text); background: rgba(34,197,94,.06); }
}

/* ─── Eyebrow ─── */
.eyebrow {
  display: inline-block; color: var(--cta); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  border: 1px solid rgba(34,197,94,.3); padding: 5px 14px; border-radius: 999px;
}

/* ─── Section Head ─── */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { display: block; width: fit-content; margin: 0 auto 16px; }
.section-head h2 { font-size: clamp(1.6rem,5vw,2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  border: 1px solid var(--border);
}
.btn-primary { background: var(--cta); color: var(--cta-dark); border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,.35); }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { background: rgba(248,250,252,.06); }
.btn-row { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 540px) { .btn-row { flex-direction: row; } }

/* ─── Hero ─── */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 80% 20%, rgba(34,197,94,.15), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(51,65,85,.5), transparent 50%);
}
.hero h1 { font-size: clamp(2rem,8vw,3.5rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 .accent { color: var(--cta); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin-bottom: 32px; }

/* ─── Hero (Subpage) ─── */
.hero-sub { padding: 56px 0 48px; }
.hero-sub h1 { font-size: clamp(1.8rem,6vw,3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.hero-sub h1 .accent { color: var(--cta); }
.hero-sub p { font-size: 1.05rem; color: var(--muted); max-width: 680px; margin-bottom: 28px; }

/* ─── Trust Bar ─── */
.trust { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; text-align: center; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4,1fr); } }
.trust-num { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--cta); }
.trust-label { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ─── Bento / Cards ─── */
.bento { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(3,1fr); } }
.bento-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .bento-2 { grid-template-columns: repeat(2,1fr); } }
.card {
  background: var(--primary); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s; cursor: default;
}
.card:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.4); }
.card-link { display: block; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--cta); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-link-label { color: var(--cta); font-size: 0.85rem; font-weight: 600; margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* ─── Process Steps ─── */
.process { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4,1fr); } }
.step { padding: 24px; background: var(--primary); border-radius: var(--radius); border: 1px solid var(--border); }
.step-num { font-family: 'Orbitron', sans-serif; font-size: 2rem; font-weight: 800; color: var(--cta); opacity: .5; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ─── FAQ ─── */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0 48px; max-width: 960px; margin: 0 auto; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-category {
  font-family: 'Orbitron', sans-serif; font-size: 0.9rem; color: var(--cta);
  letter-spacing: 1px; text-transform: uppercase; margin: 36px 0 4px;
}
@media (min-width: 860px) { .faq-grid > .faq-category { grid-column: 1 / -1; } }
.faq-grid > .faq-category:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--text);
  font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 600;
  padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; min-height: 44px;
}
.faq-q svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--cta); transition: transform .25s; }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { color: var(--muted); padding-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.faq-a a { color: var(--cta); }

/* ─── CTA Section ─── */
.cta-section {
  text-align: center; border-radius: 24px; padding: 56px 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 1px solid var(--border);
}
.cta-section h2 { font-size: clamp(1.6rem,5vw,2.4rem); margin-bottom: 14px; }
.cta-section p { color: var(--muted); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── Footer ─── */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
footer h4 { font-size: 0.95rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
footer a:hover { color: var(--text); }
.footer-desc { color: var(--muted); font-size: 0.9rem; margin-top: 12px; max-width: 320px; }
.footer-address { color: var(--muted); font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer-address a { color: var(--muted); }
.footer-address a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem; text-align: center;
}

/* ─── Breadcrumb ─── */
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--cta); }
.breadcrumb span { color: var(--cta); }

/* ─── Highlight List ─── */
.highlight-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .highlight-list { grid-template-columns: 1fr 1fr; } }
.highlight-list li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--primary); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
}
.highlight-list li svg { width: 20px; height: 20px; stroke: var(--cta); flex-shrink: 0; margin-top: 2px; }
.highlight-list li span { color: var(--muted); font-size: 0.95rem; }

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