/* ============================================
   TechDigit LLC — Redesign v2
   Apple/Microsoft-inspired: clarity, generous
   whitespace, restrained motion, premium feel.
   Author: Casey (Consumer pillar)
   ============================================ */

/* ── Inter font (SF Pro equivalent) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300..700&display=swap');

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

/* ── Design tokens ── */
:root {
  /* Backgrounds */
  --bg:           #0a0a0f;
  --bg-surface:   #12121a;
  --bg-card:      #181823;
  --bg-card-hover:#1e1e2c;
  --bg-raised:    #1f1f2d;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.10);
  --border-focus: rgba(124, 58, 237, 0.4);

  /* Brand accent */
  --accent:       #7c3aed;
  --accent-rgb:   124, 58, 237;
  --accent-hover: #9b6af0;
  --accent-soft:  rgba(124, 58, 237, 0.08);
  --accent-glow:  rgba(124, 58, 237, 0.18);

  /* Secondary accent (for gradients) */
  --cyan:         #06b6d4;
  --cyan-soft:    rgba(6, 182, 212, 0.06);

  /* Text */
  --text:         #f0f2f5;
  --text-secondary: #9ca3b0;
  --text-muted:   #6b7280;
  --text-inverse: #0a0a0f;

  /* Geometry */
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --radius-xl:    20px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 14px rgba(0,0,0,0.35);
  --shadow-lg:    0 8px 30px rgba(0,0,0,0.45);

  /* Motion */
  --ease:         0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring:  0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width:    1120px;
  --gutter:       1.5rem;
}

/* ── Base ── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-balance { text-wrap: balance; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ── Tags & badges ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.tag-live {
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.15);
}
.tag-dev {
  background: var(--accent-soft);
  color: var(--accent-hover);
  border: 1px solid rgba(124, 58, 237, 0.15);
}
.tag-internal {
  background: rgba(107, 114, 128, 0.12);
  color: var(--text-muted);
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.platform-badge {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text-secondary);
  padding: 0.65rem 0.8rem;
}
.btn-ghost:hover {
  color: var(--text);
}

/* ─── Utilities ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ─── Glass nav bar ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  height: 56px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo span { color: var(--accent); }

.logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: middle;
}

/* Desktop nav */
.desktop-nav ul {
  display: flex;
  gap: 0.1rem;
}

.desktop-nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--ease);
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Hamburger toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

.hamburger span + span { margin-top: 5px; }

.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-open .mobile-nav { display: flex; }

.mobile-nav ul { text-align: center; }

.mobile-nav ul li { margin: 1.2rem 0; }

.mobile-nav ul li a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  transition: var(--ease);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a[aria-current="page"] {
  color: var(--text);
}

/* ─── Hero ─── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 180%;
  height: 180%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(124,58,237,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(6,182,212,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(124,58,237,0.03) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 58, 237, 0.12);
  font-size: 0.78rem;
  color: var(--accent-hover);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  text-wrap: balance;
}

.hero p {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

/* ─── Section base ─── */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 650;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.section-header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ─── Pillars Section ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: var(--ease);
}

.pillar-card:hover::before { opacity: 0.5; }

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pillar-icon.consumer  { background: linear-gradient(135deg, #7c3aed, #a78bfa); color: white; }
.pillar-icon.b2b       { background: linear-gradient(135deg, #06b6d4, #22d3ee); color: white; }
.pillar-icon.rnd       { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: white; }

.pillar-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillar-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.pillar-tagline em {
  font-style: normal;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── Projects Section ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.15rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--ease);
  position: relative;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.project-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.project-thumb.coursecat   { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; }
.project-thumb.swimalytics { background: linear-gradient(135deg, #06b6d4, #0891b2); color: white; }
.project-thumb.shorts      { background: linear-gradient(135deg, #f43f5e, #e11d48); color: white; }
.project-thumb.selector    { background: linear-gradient(135deg, #22c55e, #16a34a); color: white; }
.project-thumb.jarvis      { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: white; }
.project-thumb.mandir      { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.project-thumb.forge       { background: linear-gradient(135deg, #ec4899, #db2777); color: white; }

.project-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.project-card .project-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-pillar-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

/* ─── Story / About ─── */
.story-section {
  max-width: 680px;
  margin: 0 auto;
}

.story-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.founder-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2rem;
}

.founder-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 650;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.founder-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.founder-info .founder-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.founder-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Values grid ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.value-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.value-card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Products page layout ─── */
.pillar-section {
  margin-bottom: 4rem;
}

.pillar-section:last-child { margin-bottom: 0; }

.pillar-header {
  margin-bottom: 1.5rem;
}

.pillar-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-header h3 .pillar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pillar-dot.consumer  { background: #7c3aed; }
.pillar-dot.b2b       { background: #06b6d4; }
.pillar-dot.rnd       { background: #f59e0b; }

.pillar-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-panel,
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-info-panel h3,
.contact-form-panel h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.contact-item-text strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.05rem;
}

.contact-item-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-item-text a {
  color: var(--accent-hover);
}

.contact-item-text a:hover { text-decoration: underline; }

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.error-msg {
  display: none;
  font-size: 0.73rem;
  color: #ef4444;
  margin-top: 0.2rem;
}

.error-msg.show { display: block; }

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.form-success.show { display: block; }

.form-success h4 {
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.form-success p {
  color: #4ade80;
  font-size: 0.8rem;
}

.form-footnote {
  margin-top: 0.7rem;
  font-size: 0.73rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── CTA section ─── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 650;
  margin-bottom: 0.7rem;
  position: relative;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-section .btn { position: relative; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.footer-col p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col ul li { margin-bottom: 0.3rem; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--ease);
}

.footer-col ul li a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: var(--ease);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.footer-bottom-links span {
  color: var(--text-muted);
}

/* ─── Scroll-triggered fade ─── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Page header (subpages) ─── */
.page-header {
  padding: 4rem 0 2rem;
}

.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 560px;
  font-size: 0.95rem;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav ul { display: none; }
  .hamburger { display: flex; }

  header .container { height: 52px; }

  .hero { min-height: auto; padding: 4rem 0 3rem; }
  .hero h1 { font-size: 1.75rem; }

  .section { padding: 4rem 0; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid { grid-template-columns: 1fr; }

  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { width: 95%; padding: 0 0.75rem; }
  .hero h1 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-header { padding: 2.5rem 0 1.5rem; }
}