/* ============================================================
   Ankit And Co — Business Website  |  ankitand.co
   Design System v3 — Electric Blue + Orange, matches logo
   Mobile-first, zero build step, semantic HTML
   ============================================================

   COLOUR TOKENS
   --primary-dark  : #08102a  — deepest navy (logo BG colour)
   --primary       : #0f1f5c  — deep navy
   --blue          : #1a52e0  — electric blue (logo outer flame)
   --sky           : #4db8f5  — sky blue (logo inner)
   --orange        : #f97316  — orange (logo droplet top)
   --orange-d      : #c2410c  — dark orange
   --white         : #ffffff
   --surface       : #f8fafc  — off-white sections
   --text          : #0f172a
   --muted         : #64748b

   FONT: system-ui stack, no web fonts loaded (keeps it fast + no GDPR cookie banner needed)
   ============================================================ */

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

:root {
  --primary-dark : #08102a;
  --primary      : #0f1f5c;
  --blue         : #1a52e0;
  --sky          : #4db8f5;
  --orange       : #f97316;
  --orange-d     : #c2410c;
  --white        : #ffffff;
  --surface      : #f8fafc;
  --border       : #e2e8f0;
  --text         : #0f172a;
  --muted        : #64748b;

  --radius  : 8px;
  --max-w   : 1020px;
  --gap     : 4.5rem;
  --font    : 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER ───────────────────────────────────────────── */
header {
  background: var(--primary-dark);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .75rem 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Logo — img + text side by side */
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: .01em; }
.logo-sub  { font-size: .65rem; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* Nav */
nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
nav a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 500;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a:hover { color: var(--orange); border-color: var(--orange); text-decoration: none; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(26,82,224,.22) 0%, transparent 65%),
    linear-gradient(140deg, var(--primary-dark) 0%, #0c1a50 60%, #091430 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* subtle grid lines background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.35);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 99px;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 660px;
}
.hero h1 em { font-style: normal; color: var(--orange); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-d); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); text-decoration: none; }

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-val { font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-lbl { font-size: .7rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* ── SECTIONS ─────────────────────────────────────────── */
section { padding: var(--gap) 0; }
section.alt { background: var(--surface); }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .4rem;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: .85rem;
}
.section-lead { color: var(--muted); max-width: 580px; margin-bottom: 2.5rem; line-height: 1.75; }

/* ── ABOUT ────────────────────────────────────────────── */
.about-grid { display: grid; gap: 2.5rem; }

.about-body p { color: var(--muted); line-height: 1.8; }
.about-body p + p { margin-top: .9rem; }

.info-card {
  background: var(--primary-dark);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 4px solid var(--orange);
}
.info-card h3 {
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.info-row:last-child { border-bottom: none; }
.info-row dt { font-size: .68rem; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .07em; }
.info-row dd { color: var(--white); font-weight: 500; font-size: .95rem; }

/* ── SERVICES ─────────────────────────────────────────── */
.services-grid { display: grid; gap: 1.25rem; }

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
/* gradient top stripe — blue→orange, matching logo colours */
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: var(--radius) var(--radius) 0 0;
}
.svc-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.svc-icon { font-size: 2rem; margin-bottom: .75rem; }
.svc-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: .45rem; }
.svc-card p  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; gap: 1.5rem; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: .25rem; font-weight: 600; }
.contact-val { font-weight: 700; color: var(--primary); font-size: .98rem; line-height: 1.6; }
.contact-val a { color: var(--blue); }
.contact-val a:hover { text-decoration: underline; }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.68);
  padding: 3.5rem 0 1.75rem;
}
.footer-top {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.1rem; margin-bottom: .45rem; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .83rem; line-height: 1.65; margin-top: .5rem; }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: .8rem;
}
.footer-col li + li { margin-top: .38rem; }
.footer-col a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 1.25rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .78rem;
  color: rgba(255,255,255,.36);
}
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.48); }
.footer-legal strong { color: rgba(255,255,255,.7); }

/* ── LEGAL PAGES ──────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(140deg, var(--primary-dark) 0%, #0c1a50 100%);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
}
.legal-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }
.legal-hero p { color: rgba(255,255,255,.6); margin-top: .45rem; }

.legal-body { padding: 3rem 0 4.5rem; }
.legal-body h2 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 2.25rem 0 .6rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: .55rem; line-height: 1.78; }
.legal-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: .9rem; }
.legal-body address {
  font-style: normal;
  background: var(--surface);
  border-left: 3px solid var(--orange);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: .75rem 0;
  line-height: 1.8;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr 1fr; }
  .footer-top    { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 820px) {
  .about-grid    { grid-template-columns: 1fr 1fr; align-items: start; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid  { grid-template-columns: repeat(3, 1fr); }
}
