:root {
  --home-ink: #0B1220;
  --home-slate: #1E293B;
  --home-muted: #94A3B8;
  --home-line: rgba(148, 163, 184, 0.28);
  --home-blue: #2563EB;
  --home-blue-deep: #1D4ED8;
  --home-sky: #38BDF8;
  --home-cream: #F8FAFC;
  --home-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --home-display: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.home-body {
  margin: 0;
  font-family: var(--home-font);
  color: #E2E8F0;
  background: var(--home-ink);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.home-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--home-blue);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 50;
}
.home-skip:focus { left: 1rem; top: 1rem; }

.home-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.home-brand img {
  width: 36px;
  height: 36px;
}

.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-btn:hover { transform: translateY(-1px); }

.home-btn-ghost {
  color: #E2E8F0;
  border-color: rgba(226, 232, 240, 0.22);
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
}

.home-btn-ghost:hover {
  border-color: rgba(226, 232, 240, 0.45);
  background: rgba(15, 23, 42, 0.45);
}

.home-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-deep));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.home-btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6, var(--home-blue));
}

.home-btn-light {
  color: var(--home-ink);
  background: #fff;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(37, 99, 235, 0.35), transparent 50%),
    linear-gradient(160deg, #07101F 0%, #0F172A 45%, #111827 100%);
}

.home-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  animation: home-grid-drift 28s linear infinite;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  right: -8%;
  bottom: -18%;
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 35% 35%, rgba(56, 189, 248, 0.45), transparent 42%),
    radial-gradient(circle at 70% 60%, rgba(37, 99, 235, 0.55), transparent 50%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.2), rgba(37, 99, 235, 0.35));
  filter: blur(2px);
  animation: home-orb-float 10s ease-in-out infinite alternate;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.35) 0%, rgba(7, 16, 31, 0.55) 45%, rgba(7, 16, 31, 0.92) 100%);
}

.home-hero-copy {
  width: min(720px, 100%);
  padding: clamp(6.5rem, 16vh, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 4.5rem);
}

.home-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: home-rise 0.9s ease forwards 0.1s;
}

.home-hero-brand img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.45));
}

.home-hero-brand span {
  font-family: var(--home-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #F8FAFC;
}

.home-hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--home-display);
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #F1F5F9;
  opacity: 0;
  animation: home-rise 0.9s ease forwards 0.25s;
}

.home-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  opacity: 0;
  animation: home-rise 0.9s ease forwards 0.4s;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: home-rise 0.9s ease forwards 0.55s;
}

.home-section {
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.home-section-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.home-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--home-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  color: #F8FAFC;
}

.home-section-lead {
  margin: 0 0 2rem;
  max-width: 46ch;
  color: var(--home-muted);
  line-height: 1.6;
}

.home-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.home-panel-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-panel-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--home-line);
}

.home-panel-list li:last-child {
  border-bottom: 1px solid var(--home-line);
}

.home-panel-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #F8FAFC;
  font-size: 1.05rem;
}

.home-panel-list p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-step {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--home-blue), var(--home-sky));
}

.home-aside-visual {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.85)),
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.4), transparent 45%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.home-aside-visual::before {
  content: "";
  position: absolute;
  inset: 18% 14% auto;
  height: 42%;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.12);
  backdrop-filter: blur(6px);
  animation: home-panel-pulse 5.5s ease-in-out infinite;
}

.home-aside-visual::after {
  content: "GST · ITR · Compliance";
  position: absolute;
  left: 14%;
  bottom: 18%;
  color: #E2E8F0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-audiences {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(37, 99, 235, 0.18), transparent 50%),
    linear-gradient(180deg, #0B1220, #0A1628 60%, #0B1220);
}

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

.home-audience {
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.35));
}

.home-audience h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  color: #F8FAFC;
}

.home-audience p {
  margin: 0 0 1.2rem;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-cta {
  text-align: center;
}

.home-cta .home-section-lead {
  margin-left: auto;
  margin-right: auto;
}

.home-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-footer {
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-orb-float {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-24px, -30px, 0) rotate(8deg); }
}

@keyframes home-grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}

@keyframes home-panel-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-8px); opacity: 1; }
}

@media (max-width: 860px) {
  .home-split,
  .home-audience-grid {
    grid-template-columns: 1fr;
  }

  .home-aside-visual {
    min-height: 240px;
  }

  .home-nav .home-brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-brand,
  .home-hero h1,
  .home-hero-lead,
  .home-hero-ctas,
  .home-hero-media::before,
  .home-hero-media::after,
  .home-aside-visual::before {
    animation: none !important;
    opacity: 1;
  }
}
