/*
  79 Technologies — Minimal, responsive landing styles
  Typeface: Inter
*/

:root {
  --header-h: 64px;
  --bg: #0b0d10;
  --panel: #101318;
  --text: #e6e9ef;
  --muted: #a3aab8;
  --brand: #6ee7ff;
  --brand-strong: #22d3ee;
  --accent: #8b5cf6;
  --border: #1c2230;
  --success: #22c55e;

  --max-w: 1120px;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1000px 400px at 80% -100px, rgba(34,211,238,.15), transparent 60%),
              radial-gradient(1200px 500px at -10% -200px, rgba(139,92,246,.12), transparent 60%),
              var(--bg);
  line-height: 1.6;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top)); /* keep content clear of fixed header */
}

/* Utilities */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: 28px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section { padding: 80px 0; }
.section.alt { background: linear-gradient(0deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02)); }
.lead { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); font-weight: 600; color: var(--muted); margin: 6px 8px 0 0; }
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: .2s ease; }
.btn-sm { padding: 8px 12px; border-radius: 8px; }
.btn-lg { padding: 14px 20px; font-size: 1.05rem; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #001318; }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }
.btn-ghost:hover { background: #0f131a; }
.ticks { list-style: none; padding-left: 0; margin: 12px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--muted); }
.ticks li:before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--success); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 10px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 12px; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 12px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; backdrop-filter: saturate(140%) blur(8px); background: rgba(11,13,16,0.7); border-bottom: 1px solid rgba(255,255,255,0.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-top: env(safe-area-inset-top); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #001018; font-weight: 800; }
.brand-name { opacity: .9; }

.site-nav { position: relative; }
.nav-menu { display: flex; gap: 18px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-menu a:hover { color: var(--text); }
.site-header .nav-menu .btn-sm { height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; }
.site-header .nav-menu .btn-sm:not(.btn-primary) { background: transparent; border-color: rgba(255,255,255,0.16); color: var(--text); box-shadow: none; }
.site-header .nav-menu .btn-sm:not(.btn-primary):hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); }
/* Ensure header CTA uses primary button colors, not generic nav link color */
.site-header .nav-menu a.btn.btn-primary,
.site-header .nav-menu a.btn.btn-primary:visited,
.site-header .nav-menu a.btn.btn-primary:hover,
.site-header .nav-menu a.btn.btn-primary:active,
.site-header .nav-menu a.btn.btn-primary:focus { color: #001318 !important; background: linear-gradient(135deg, var(--brand), var(--brand-strong)) !important; border-color: transparent !important; }
@media (min-width: 721px) {
  /* Match header scale: slightly shorter CTA than hero */
  .site-header .nav-menu a.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
  }
}
.nav-toggle { display: none; background: transparent; border: 0; width: 36px; height: 36px; padding: 0; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto; transition: .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hero */
.hero { padding-top: 96px; }
.hero-cta { display: flex; gap: 12px; margin: 18px 0 10px; }
.trust { margin-top: 16px; }
.trust-label { color: var(--muted); font-size: .9rem; margin-right: 8px; }
.trust-list { display: inline-flex; flex-wrap: wrap; gap: 10px 16px; padding: 0; margin: 8px 0 0; list-style: none; color: var(--muted); }
.hero-art { position: relative; min-height: 320px; }
.orb { position: absolute; inset: 0; margin: auto; width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, rgba(110,231,255,.9), rgba(139,92,246,.8), transparent 70%); filter: blur(20px); opacity: .35; border-radius: 999px; }
.hero-art .card { position: relative; max-width: 360px; margin-left: auto; backdrop-filter: blur(6px); background: rgba(16,19,24,0.8); }
.card-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.card-row:last-child { border-bottom: 0; }

/* Services */
.service p { color: var(--muted); }

/* Why us */
.badges { display: flex; flex-wrap: wrap; }

/* Process */
.timeline { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.step .num { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #001018; display: grid; place-items: center; font-weight: 800; }
.step p { color: var(--muted); margin: 4px 0 0; }

/* Work */
.project-thumb { height: 140px; border-radius: 10px; margin-bottom: 12px; border: 1px solid var(--border); }
.gradient { background: linear-gradient(135deg, rgba(110,231,255,.25), rgba(139,92,246,.25)); }
.project p { color: var(--muted); }

/* About */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: stretch; text-align: center; }
.stat { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.stat .value { display: block; font-weight: 800; font-size: 1.4rem; }
.stat .label { display: block; color: var(--muted); font-size: .85rem; }

/* Testimonials */
.quote blockquote { margin: 0 0 8px; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* CTA */
.cta { background: linear-gradient(180deg, rgba(110,231,255,0.1), rgba(139,92,246,0.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-q { appearance: none; width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); font-weight: 700; font-size: 1rem; cursor: pointer; padding: 0; }
.faq-a { display: none; color: var(--muted); margin-top: 8px; }
.faq-item.open .faq-a { display: block; }
.faq-item .faq-q::after { content: "+"; float: right; color: var(--muted); }
.faq-item.open .faq-q::after { content: "–"; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); background: rgba(0,0,0,.2); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.footer-inner nav { display: flex; gap: 16px; justify-content: center; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--text); }
.brand-inline { display: inline-flex; align-items: baseline; gap: 8px; }
.legal { text-align: right; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .legal { text-align: center; }
}

@media (max-width: 720px) {
  .three-col { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  /* Full-screen glass menu */
  .nav-menu { position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top)); bottom: 0; z-index: 90; display: none; padding: 24px; flex-direction: column; gap: 14px; overflow-y: auto; 
    background: rgba(16, 19, 24, 0.35);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) inset;
  }
  .nav-menu.open { display: flex; animation: menuFade .18s ease-out; }
  .nav-menu a { font-size: 1.15rem; font-weight: 700; color: var(--text); padding: 12px 6px; border-radius: 8px; }
  .nav-menu a:hover { background: rgba(255,255,255,0.04); }
  .nav-menu .btn { width: 100%; text-align: center; font-size: 1.05rem; }
  body.menu-open { overflow: hidden; }
  @keyframes menuFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
}

/* Final override to ensure header CTA text is correct across browsers */
.site-header .nav-menu li > a.btn.btn-primary,
.site-header .nav-menu li > a.btn.btn-primary:visited,
.site-header .nav-menu li > a.btn.btn-primary:hover,
.site-header .nav-menu li > a.btn.btn-primary:active,
.site-header .nav-menu li > a.btn.btn-primary:focus {
  color: #001318 !important;
  -webkit-text-fill-color: #001318 !important;
}


