/* Tatvy Technologies — company website */
:root {
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-tint: #eef2ff;
  --ink: #0f172a;
  --body: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; flex-wrap: wrap; }
.logo { font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -0.02em; }
.logo span { color: var(--brand); margin-left: 4px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--body); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.nav-cta { color: #fff; background: var(--brand); }
.nav a.nav-cta:hover { background: var(--brand-dark); }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 0.98rem; transition: all 0.15s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero { padding: 88px 0 72px; background: radial-gradient(1200px 500px at 70% -10%, var(--brand-tint), transparent 60%); }
.hero h1 { max-width: 780px; }
.hero .lead { margin-top: 8px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 40px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.97rem; }

/* Prose (legal / about pages) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band { background: var(--ink); color: #cbd5e1; border-radius: 24px; padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: var(--brand-tint); }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-card .email { font-size: 1.3rem; font-weight: 700; color: var(--brand); }

/* Footer */
.site-footer { background: var(--ink); color: #94a3b8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding: 56px 24px 32px; }
.footer-grid h4 { color: #e2e8f0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid a { display: block; color: #94a3b8; font-weight: 500; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 0.92rem; margin: 0 0 8px; }
.footer-logo { color: #fff; margin-bottom: 12px; }
.footer-logo span { color: #a5b4fc; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 24px; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 20px; }
}
