/* Hyderabad Metro Routes — marketing site */
:root {
  --hm-red: #c41e3a;
  --hm-blue: #0077c8;
  --hm-green: #00a651;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --bg-soft: #f1f5f9;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.6;
}

a {
  color: var(--hm-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* —— Top bar —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--hm-blue);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--hm-blue);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--hm-blue), #005a9e);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 119, 200, 0.35);
}

/* .nav-links a beats .btn-primary on specificity; keep CTA readable on blue */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(0, 119, 200, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(196, 30, 58, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 90% 60%, rgba(0, 166, 81, 0.1), transparent 45%),
    linear-gradient(180deg, #e8f4fc 0%, #f1f5f9 45%, #f1f5f9 100%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .nav-links .btn {
    display: none;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .hero-lead {
    margin-inline: auto;
  }
}

.line-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .line-pills {
    justify-content: center;
  }
}

.pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #fff;
}

.pill-red {
  background: var(--hm-red);
}
.pill-blue {
  background: var(--hm-blue);
}
.pill-green {
  background: var(--hm-green);
}

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

.hero-art {
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12));
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  object-fit: contain;
}

/* —— Sections —— */
section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* —— Screenshot placeholders —— */
.shots {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #e2e8f0 100%);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 720px) {
  .shot-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

.shot-frame {
  aspect-ratio: 9 / 19;
  border-radius: 20px;
  background: linear-gradient(160deg, #1e293b 0%, #334155 50%, #0f172a 100%);
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

.shot-frame svg {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.shot-frame span {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

/* —— Strip —— */
.strip {
  background: linear-gradient(90deg, var(--hm-red), var(--hm-blue) 50%, var(--hm-green));
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.strip p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 56ch;
  margin-inline: auto;
  opacity: 0.95;
}

/* —— Legal pages —— */
.legal {
  background: var(--surface);
  padding: 2.5rem 0 4rem;
}

.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.legal-inner .legal-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--hm-red), var(--hm-blue) 50%, var(--hm-green));
}

.legal-inner .legal-body {
  padding: 2rem 1.5rem 2.5rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink);
  font-size: 0.98rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal a {
  font-weight: 500;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-copy {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}
