/* ZeroBit.tech — site styles. Plain CSS, no build step. */

:root {
  --navy: #0B1F3A;
  --navy-2: #132B4D;
  --azure: #2563EB;
  --azure-dark: #1D4ED8;
  --azure-light: #4C8DFF;
  --azure-tint: #E3EBFD;
  --mist: #F4F6FA;
  --line: #E1E6EF;
  --text: #0B1F3A;
  --text-2: #33415C;
  --text-3: #51607A;
  --on-dark-2: #C9D3E3;
  --white: #FFFFFF;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[lang="hi"] body {
  font-family: 'Noto Sans Devanagari', var(--font-body);
  line-height: 1.7;
}

img, svg { display: block; }
a { color: var(--azure); }
a:hover { color: var(--azure-dark); }
:focus-visible { outline: 3px solid var(--azure-light); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-family: var(--font-head); color: inherit; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: 'Noto Sans Devanagari', var(--font-head); }
p { margin: 0; }

h1 { font-size: 58px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
html[lang="hi"] h1 { line-height: 1.3; letter-spacing: 0; }
html[lang="hi"] h2 { line-height: 1.35; letter-spacing: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.wordmark { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.wordmark span { font-weight: 400; color: var(--text-3); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 17px; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--azure); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.lang a, .lang span[aria-current] { padding: 10px 4px; text-decoration: none; color: var(--text-3); }
.lang span[aria-current] { color: var(--text); font-weight: 600; }
.lang .sep { color: #8A96AB; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--mist); }
.section--dark { background: var(--navy); color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); }
.section--dark .section-head p { color: var(--on-dark-2); }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--azure-dark); }
html[lang="hi"] .eyebrow { letter-spacing: 0; text-transform: none; }
.note { margin-top: 32px; color: var(--text-2); }
.note a { font-weight: 600; }

/* Hero */
.hero { background: var(--mist); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lead { font-size: 20px; color: var(--text-2); max-width: 560px; }
.badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--azure-tint); color: var(--azure-dark); font-size: 15px; font-weight: 600; }
.hero-art { flex: 1 1 400px; min-width: 0; height: 440px; border-radius: 28px; background: var(--navy); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-art .mark { width: 200px; height: 200px; }
.chip { position: absolute; padding: 10px 16px; border-radius: 12px; background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; }
.chip--1 { top: 48px; left: 36px; }
.chip--2 { top: 190px; right: 32px; background: var(--azure-light); }
.chip--3 { bottom: 52px; left: 64px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 16px; color: var(--text-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--azure); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 12px; font-weight: 600; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; }
.btn svg { width: 22px; height: 22px; }
.btn--primary { background: var(--azure); color: var(--white); }
.btn--primary:hover { background: var(--azure-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { background: var(--azure-tint); color: var(--navy); }
.btn--light { min-height: 48px; padding: 0 20px; font-size: 17px; background: var(--white); color: var(--navy); align-self: flex-start; }
.btn--light:hover { color: var(--navy); background: var(--azure-tint); }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--text-2); font-size: 17px; }
.card--muted { background: var(--mist); box-shadow: none; }
.card--dark { background: var(--navy); color: var(--white); box-shadow: none; justify-content: space-between; }
.card--night { background: var(--navy-2); box-shadow: none; }
.card--night p { color: var(--on-dark-2); }
.card--accent { background: var(--azure-tint); box-shadow: inset 0 0 0 2px var(--azure); }
.card--accent li { color: var(--text); }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--azure-tint); display: flex; align-items: center; justify-content: center; color: var(--azure-dark); }
.icon-tile svg { width: 26px; height: 26px; }

.quote { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.3; }
html[lang="hi"] .quote { font-family: 'Noto Sans Devanagari', var(--font-head); line-height: 1.5; }
.fix { display: flex; gap: 10px; }
.fix svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--azure); }

.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); font-size: 17px; }
.list li { display: flex; gap: 10px; }
.list svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--text-3); }
.card--accent .list svg { color: var(--azure-dark); }

/* Steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps p { color: var(--text-2); font-size: 17px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.steps li:last-child .step-num { background: var(--azure); }

/* Industry chips */
.tags { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; font-size: 17px; font-weight: 500; }
.tags li { padding: 12px 20px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 0 24px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 19px; }
.faq details p { padding: 0 0 22px; color: var(--text-2); font-size: 17px; }

/* Products */
.product { gap: 16px; }
.product-head { display: flex; align-items: center; gap: 16px; }
.product-icon { width: 64px; height: 64px; border-radius: 22%; flex: 0 0 64px; }
.product-head h3 { font-size: 24px; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; font-size: 15px; }
.card .product-meta { font-size: 15px; color: var(--text-3); }
.pill { padding: 2px 10px; border-radius: 999px; background: var(--azure-tint); color: var(--azure-dark); font-weight: 600; }
.card .product-tagline { color: var(--text); font-size: 18px; }
.product .list { flex: 1; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.card .product-foot { font-size: 15px; }
.product-foot a { color: var(--text-3); }

/* Product pages */
.crumb { align-self: flex-start; font-size: 16px; font-weight: 600; text-decoration: none; }
.product-hero .product-head h1 { font-size: 52px; }
.product-icon--lg { width: 88px; height: 88px; flex-basis: 88px; }
.product-headline { font-family: var(--font-head); font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
html[lang="hi"] .product-headline { font-family: 'Noto Sans Devanagari', var(--font-head); letter-spacing: 0; line-height: 1.4; }
.product-art { padding: 40px 0 0; align-items: flex-start; }
.product-art img { width: 260px; height: auto; border-radius: 28px 28px 0 0; box-shadow: 0 0 0 8px var(--navy-2); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.shot { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.shot img { width: 100%; height: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgba(11, 31, 58, 0.12); }
.shot figcaption { font-size: 15px; color: var(--text-2); }
.steps--short li { flex-direction: row; align-items: flex-start; gap: 16px; }
.steps--short .step-num { flex: 0 0 48px; }
.steps--short p { padding-top: 10px; }
.list--who li span { color: var(--text-2); }
.list--who strong { color: var(--text); }
.list--who svg { color: var(--azure-dark); }
.privacy-card { gap: 14px; }
.privacy-card h2 { font-size: 30px; }
.card.privacy-card p { color: var(--text); }
.section--tight { padding: 0 0 48px; }
.card .product-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.product-foot .more { color: var(--azure); font-weight: 600; text-decoration: none; }

/* Contact */
.cta-box { padding: 56px 48px; border-radius: 28px; background: var(--azure-tint); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 48px; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-copy h2 { font-size: 40px; }
.cta-copy p { color: var(--text-2); }
.cta-copy .contact-lines { color: var(--text); font-weight: 600; }
.contact-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--white); }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.field em { font-style: normal; font-weight: 400; color: var(--text-3); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #B9C3D3; border-radius: 10px; font: inherit; font-weight: 400; font-size: 17px; color: var(--text); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px var(--azure-tint); }
.contact-form .btn { align-self: flex-start; }
.form-note { font-size: 15px; color: var(--text-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-result { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; font-size: 16px; color: var(--text-3); }
.site-footer .brand { gap: 10px; }
.site-footer .wordmark { font-size: 20px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--text-3); }

/* Phone-only sticky contact bar */
.sticky-bar { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 34px; line-height: 1.2; }
  h2 { font-size: 28px; line-height: 1.3; }
  h3 { font-size: 20px; }
  .container { padding: 0 20px; }
  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .wordmark { font-size: 22px; }
  .brand svg { width: 32px; height: 32px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .hero .container { padding-top: 40px; padding-bottom: 48px; gap: 28px; }
  .hero-copy { gap: 20px; }
  .hero-copy .lead { font-size: 18px; }
  .hero-art { height: 220px; border-radius: 22px; flex-basis: 100%; }
  .hero-art .mark { width: 112px; height: 112px; }
  .chip { padding: 6px 12px; font-size: 14px; border-radius: 10px; }
  .chip--1 { top: 20px; left: 16px; }
  .chip--2 { top: 92px; right: 14px; }
  .chip--3 { bottom: 20px; left: 32px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .checks { flex-direction: column; gap: 8px; }
  .grid, .grid--wide, .grid--4 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }
  .quote { font-size: 19px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 18px; padding: 16px 0; }
  .cta-box { padding: 32px 22px; border-radius: 22px; }
  .cta-copy h2 { font-size: 26px; }
  .contact-form { padding: 20px; }
  .product-hero .product-head h1 { font-size: 36px; }
  .product-icon--lg { width: 72px; height: 72px; flex-basis: 72px; }
  .product-headline { font-size: 24px; }
  .product-art { height: 300px; padding-top: 28px; }
  .product-art img { width: 180px; border-radius: 20px 20px 0 0; }
  .shots { grid-auto-columns: 72%; gap: 16px; }
  .contact-form .btn { align-self: stretch; }
  .site-footer .container { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }

  .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; gap: 10px; padding: 10px 12px; background: var(--white); box-shadow: 0 -1px 0 var(--line); }
  .sticky-bar .btn { flex: 1; min-height: 52px; font-size: 17px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
