/* Tinytrack marketing — layout inspired by ApniDukaan static site (hero, strips, cards, CTA band). */
:root {
  --ink: #0f172a;
  --ink-deep: #020617;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --accent: #f59e0b;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

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

.site-nav__brand--logo-only {
  gap: 0;
}

.site-nav__brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* Wordmark is baked into the JPG — light asset on the light nav bar. */
.site-nav__logo {
  display: block;
  width: min(155px, 46vw);
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  object-position: left center;
  box-shadow: 0 2px 14px rgba(37, 99, 235, 0.22);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  font-size: 0.92rem;
}

.site-nav__links a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav__links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ink-deep) 0%, var(--ink) 45%, #1e3a5f 100%);
  color: #fff;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 20% 30%, #3b82f6 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, #f59e0b 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1.5rem 5rem;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-hover);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__art-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero__art-wrap .hero__banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__logo-float {
  position: absolute;
  bottom: -12px;
  right: 10px;
  width: min(240px, 55%);
  height: auto;
  max-height: none;
  border-radius: 14px;
  background: #fff;
  padding: 10px 14px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  object-fit: contain;
  object-position: center;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section__title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section__subtitle {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 700px) {
  .visual-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.visual-strip__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.visual-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-strip__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--brand);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature-card:hover {
  box-shadow: 0 10px 36px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--brand);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

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

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  background: var(--card);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  font-size: 0.95rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.demo-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.demo-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--ink);
}

.demo-panel > p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-row textarea {
  min-height: 88px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.25rem;
}

.form-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-msg--ok {
  color: #15803d;
}

.form-msg--err {
  color: #b91c1c;
}

.cta-band {
  margin: 2rem 1.5rem 3rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, #1e40af 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  font-size: 0.98rem;
}

.site-footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__fine {
  font-size: 0.78rem;
  opacity: 0.7;
  max-width: 44rem;
}

.section--alt {
  background: linear-gradient(180deg, #e2e8f0 0%, var(--bg) 100%);
}
