:root {
  --ink: #13233a;
  --muted: #64748b;
  --paper: #fbfdff;
  --white: #ffffff;
  --line: rgba(30, 55, 86, 0.12);
  --navy: #173b57;
  --navy-deep: #0f2b43;
  --teal: #1f8f92;
  --cyan: #53c6c2;
  --gold: #f2b84b;
  --coral: #f47961;
  --violet: #7b6fe8;
  --shadow: 0 24px 70px rgba(27, 54, 84, 0.14);
  --shadow-soft: 0 14px 40px rgba(27, 54, 84, 0.10);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(83,198,194,.16), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(242,184,75,.15), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f7fbfd 45%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Tamil", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(19,35,58,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,35,58,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31,143,146,.20);
  background: rgba(255,255,255,.78);
  color: var(--teal);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(31,143,146,.08);
  backdrop-filter: blur(12px);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 0 0 5px rgba(83,198,194,.12);
}

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: .3s ease;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(251,253,255,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(145%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 27px;
  font-weight: 800;
  background: linear-gradient(145deg, #255878, #1f8f92 60%, #50c7c2);
  box-shadow:
    0 13px 28px rgba(23,59,87,.24),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -5px 10px rgba(0,0,0,.12);
  transform: perspective(300px) rotateX(5deg) rotateY(-7deg);
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.brand-copy span {
  color: var(--teal);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #496176;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: .25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  padding: 11px 17px;
  border-radius: 13px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 12px 25px rgba(23,59,87,.18);
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.8);
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  padding: 142px 0 86px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -250px;
  top: 90px;
  border-radius: 50%;
  border: 1px solid rgba(31,143,146,.13);
  box-shadow:
    0 0 0 80px rgba(83,198,194,.035),
    0 0 0 160px rgba(83,198,194,.025);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 54px;
}

.hero h1 {
  margin: 20px 0 20px;
  font-size: clamp(48px, 6.6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 .gradient-text {
  background: linear-gradient(110deg, var(--navy) 0%, var(--teal) 58%, #50bdb7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--teal));
  box-shadow: 0 16px 34px rgba(23,59,87,.20);
}
.btn-secondary {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(27,54,84,.08);
  backdrop-filter: blur(10px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  color: #566b7e;
  font-size: 13px;
  font-weight: 700;
}
.proof-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(31,143,146,.12);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
}

.orbit {
  position: absolute;
  inset: 46px 20px 30px 40px;
  border: 1px dashed rgba(31,143,146,.18);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.tamil-core {
  position: absolute;
  top: 23px;
  right: 82px;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 46px;
  color: white;
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 92px;
  font-weight: 800;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.45), transparent 18%),
    linear-gradient(145deg, #326f88, #1e8a8f 55%, #59cbc5);
  box-shadow:
    0 34px 60px rgba(23,59,87,.25),
    inset 0 2px 0 rgba(255,255,255,.45),
    inset -9px -16px 30px rgba(0,0,0,.12);
  transform: rotateY(-12deg) rotateX(8deg) rotateZ(4deg);
  animation: floatCore 5.8s ease-in-out infinite;
}

@keyframes floatCore {
  0%,100% { transform: translateY(0) rotateY(-12deg) rotateX(8deg) rotateZ(4deg); }
  50% { transform: translateY(-13px) rotateY(-7deg) rotateX(4deg) rotateZ(2deg); }
}

.demo-panel {
  position: absolute;
  left: 12px;
  top: 132px;
  width: min(100%, 430px);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(130%);
  transform: rotateY(6deg) rotateX(2deg);
}

.demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.demo-top strong { font-size: 14px; }
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #17776f;
  background: #e9f8f5;
  font-size: 11px;
  font-weight: 800;
}
.demo-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20a783;
}
.demo-input {
  padding: 14px 16px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #f8fbfd;
  color: #64788c;
  font-weight: 600;
  margin-bottom: 12px;
}
.demo-result {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #15374f, #1e6c78);
  color: white;
}
.demo-result::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -55px;
  top: -65px;
  background: rgba(255,255,255,.08);
}
.tamil-word {
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .01em;
}
.demo-result small {
  display: block;
  opacity: .74;
  margin-top: 3px;
}
.copy-chip {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 800;
}

.float-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  animation: bob 5.2s ease-in-out infinite;
}
.float-card.a { right: 0; top: 236px; }
.float-card.b { left: 82px; bottom: 12px; animation-delay: -2.6s; }
.float-card strong { display:block; font-size: 13px; }
.float-card span { color: var(--muted); font-size: 11px; }
.float-letters {
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 24px !important;
  font-weight: 800;
  color: var(--teal) !important;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* problem strip */
.challenge-strip {
  padding: 24px 0 10px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.challenge-chip {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(27,54,84,.07);
}
.challenge-chip::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  right: -32px;
  top: -30px;
  background: rgba(83,198,194,.08);
}
.challenge-chip strong {
  display: block;
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 26px;
  line-height: 1.1;
  color: var(--navy);
}
.challenge-chip span {
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,59,87,.09);
  box-shadow: 0 15px 45px rgba(27,54,84,.08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
}
.feature-card:hover {
  box-shadow: 0 24px 56px rgba(27,54,84,.14);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(83,198,194,.12), transparent 67%);
}
.icon-shell {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 23px;
  background: linear-gradient(145deg, #fff, #eef7f8);
  box-shadow:
    12px 14px 25px rgba(23,59,87,.12),
    -8px -8px 20px rgba(255,255,255,.9),
    inset 0 0 0 1px rgba(23,59,87,.06);
  margin-bottom: 24px;
  transform: translateZ(24px);
}
.icon-shell img { width: 58px; height: 58px; }
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -.025em;
  transform: translateZ(18px);
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  transform: translateZ(12px);
}

/* workflow */
.workflow {
  background:
    radial-gradient(circle at 15% 20%, rgba(83,198,194,.12), transparent 24%),
    linear-gradient(180deg, #f5fafb 0%, #f9fcfd 100%);
  border-top: 1px solid rgba(23,59,87,.06);
  border-bottom: 1px solid rgba(23,59,87,.06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 30px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(27,54,84,.07);
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  box-shadow: 0 12px 22px rgba(23,59,87,.18);
  font-size: 14px;
  font-weight: 900;
}
.step h3 { margin: 18px 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); }

/* showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.showcase-copy {
  padding: 40px;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(83,198,194,.24), transparent 24%),
    linear-gradient(145deg, #102d45, #173f59 65%, #166a70);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.showcase-copy::after {
  content: "ழ";
  position: absolute;
  right: -20px;
  bottom: -58px;
  color: rgba(255,255,255,.055);
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 220px;
  font-weight: 800;
}
.showcase-copy h3 {
  position: relative;
  z-index: 2;
  margin: 20px 0 12px;
  font-size: 34px;
  line-height: 1.08;
}
.showcase-copy p { position: relative; z-index: 2; color: rgba(255,255,255,.73); }
.mini-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.mini-badges span {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.11);
  font-size: 12px;
  font-weight: 800;
}

.examples {
  display: grid;
  gap: 14px;
}
.example-row {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr;
  align-items: center;
  gap: 15px;
  padding: 19px;
  border-radius: 20px;
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  box-shadow: 0 13px 32px rgba(27,54,84,.07);
}
.example-source {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f9fb;
  color: #627589;
  font-weight: 700;
}
.example-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 8px 18px rgba(31,143,146,.18);
}
.example-output {
  font-family: "Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
}
.example-output small {
  display:block;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* Trust */
.trust-grid {
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:16px;
}
.trust-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,252,253,.88));
  border:1px solid var(--line);
}
.trust-card strong { display:block; font-size:18px; margin:14px 0 6px; }
.trust-card p { margin:0; font-size:14px; color:var(--muted); }
.trust-dot {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--gold), #f8ce78);
  box-shadow: 5px 7px 12px rgba(242,184,75,.18), inset 0 1px 0 rgba(255,255,255,.65);
  transform: rotate(12deg);
}

/* Contact */
.contact-section {
  padding-bottom: 116px;
}
.contact-shell {
  display:grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 30px;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-info {
  position:relative;
  overflow:hidden;
  padding: 38px;
  border-radius: 26px;
  color:white;
  background:
    radial-gradient(circle at 92% 5%, rgba(242,184,75,.20), transparent 22%),
    linear-gradient(145deg, #102d45, #19536a 65%, #198085);
}
.contact-info::after {
  content:"ழ";
  position:absolute;
  right:-18px;
  bottom:-58px;
  color:rgba(255,255,255,.05);
  font-family:"Noto Sans Tamil", "Nirmala UI", sans-serif;
  font-size:200px;
  font-weight:800;
}
.contact-info h3 { position:relative; z-index:1; margin:16px 0 10px; font-size:34px; }
.contact-info > p { position:relative; z-index:1; margin:0 0 28px; color:rgba(255,255,255,.72); }
.contact-list { position:relative; z-index:1; display:grid; gap:14px; }
.contact-item {
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
}
.contact-item .mini-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
}
.contact-item strong { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.08em; opacity:.65; }
.contact-item span, .contact-item a { color:#fff; font-size:14px; }

.contact-form { padding: 20px 18px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { display:grid; gap:7px; margin-bottom:14px; }
.field label { color:#50677b; font-size:12px; font-weight:800; }
.field input, .field textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f9fbfc;
  color:var(--ink);
  padding:13px 14px;
  outline:none;
  transition:.2s ease;
}
.field input:focus, .field textarea:focus {
  border-color:rgba(31,143,146,.45);
  box-shadow:0 0 0 4px rgba(31,143,146,.08);
  background:#fff;
}
.field textarea { min-height:132px; resize:vertical; }
.form-note { margin-top:10px; color:var(--muted); font-size:11px; }

/* Footer */
footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:13px;
}
.footer-brand { display:flex; align-items:center; gap:10px; font-weight:800; color:var(--navy); }
.footer-brand .brand-mark { width:34px; height:34px; border-radius:11px; font-size:19px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .showcase-grid, .contact-shell { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-stage { max-width: 640px; width:100%; margin: 0 auto; min-height: 520px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .challenge-grid, .trust-grid { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:1fr; }
  .nav-links { gap:20px; }
}

@media (max-width: 780px) {
  .site-header { padding: 12px 0; }
  .brand-mark { width:41px; height:41px; border-radius:13px; }
  .nav-toggle { display:grid; place-items:center; }
  .nav-links {
    position:absolute;
    top:66px;
    left:20px;
    right:20px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px;
    border-radius:20px;
    background:rgba(255,255,255,.96);
    border:1px solid var(--line);
    box-shadow:var(--shadow-soft);
    backdrop-filter:blur(18px);
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 13px; border-radius:11px; }
  .nav-links a:hover { background:#f4f8fa; }
  .nav-links a::after { display:none; }
  .nav-cta { margin-top:4px; text-align:center; }
  .hero { min-height:auto; }
  .hero-grid { gap:34px; }
  .hero h1 { font-size: clamp(46px, 13vw, 66px); }
  .hero-stage { min-height:500px; transform:scale(.96); transform-origin: top center; }
  .tamil-core { right:32px; width:140px; height:140px; font-size:72px; }
  .demo-panel { width:calc(100% - 24px); top:125px; }
  .float-card.a { right:-3px; top:350px; }
  .float-card.b { left:18px; bottom:0; }
  .features-grid, .challenge-grid, .trust-grid { grid-template-columns:1fr; }
  .section { padding:82px 0; }
  .example-row { grid-template-columns:1fr; }
  .example-arrow { transform:rotate(90deg); margin:auto; }
  .form-row { grid-template-columns:1fr; }
  .contact-shell { padding:14px; }
  .contact-info { padding:28px; }
  .contact-form { padding:16px 8px; }
  .footer-wrap { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 500px) {
  .container { width:min(calc(100% - 26px), var(--container)); }
  .brand-copy span { display:none; }
  .hero { padding-top:112px; }
  .hero-sub { font-size:16px; }
  .hero-actions { display:grid; }
  .btn { width:100%; }
  .hero-stage { min-height:480px; }
  .tamil-core { right:14px; top:8px; width:125px; height:125px; font-size:64px; border-radius:34px; }
  .demo-panel { left:0; top:118px; padding:16px; border-radius:22px; }
  .float-card.a { display:none; }
  .float-card.b { left:8px; bottom:0; }
  .showcase-copy { padding:30px; }
  .showcase-copy h3, .contact-info h3 { font-size:29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
}
