/* Garuda Prime Marketing — SidraClubs-inspired layout */

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

:root {
  --bg: #ffffff;
  --bg-muted: #f9fafb;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --border: #e2e8f0;
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --shell: min(1120px, calc(100% - 2rem));
  --nav-h: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.tagline[data-i18n-tagline]::before {
  content: " · ";
}

/* ── Nav ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-brand__mark {
  border-radius: var(--radius-sm);
}

.nav-brand__name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
  background: var(--bg-muted);
}

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

.nav-cta {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--primary-hover);
}

.nav-lang-wrap {
  position: relative;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  font: inherit;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.nav-lang:hover {
  color: var(--fg);
  border-color: #cbd5e1;
}

.nav-lang__icon {
  width: 16px;
  height: 16px;
}

.nav-lang__badge {
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 200;
}

.lang-menu[hidden] {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 0;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  z-index: 99;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  padding: 0.875rem 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.nav-mobile a:hover {
  background: var(--bg-muted);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--outline {
  color: var(--fg);
  background: #fff;
  border-color: var(--border);
}

.btn--outline:hover {
  background: var(--bg-muted);
  border-color: #cbd5e1;
}

/* ── Hero ── */

.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero__inner {
  max-width: 720px;
  margin-inline: auto;
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero__logo img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 600px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Sections ── */

.section {
  padding: 4.5rem 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.section-head__title {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head__desc {
  margin: 0;
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Products ── */

.products {
  display: grid;
  gap: 1.25rem;
}

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

.product-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-card--featured {
  border-color: rgba(5, 150, 105, 0.35);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 40%);
}

.product-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.product-card__icon svg {
  width: 22px;
  height: 22px;
}

.product-card__title {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Services ── */

.services {
  display: grid;
  gap: 1rem;
}

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

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

.service-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.service-card__desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.service-card__collab {
  margin: 0;
  padding-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.service-card__collab span:first-child {
  font-weight: 600;
  color: var(--fg);
}

/* ── Why ── */

.why {
  display: grid;
  gap: 1.25rem;
}

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

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

.why-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.why-card__icon svg {
  width: 20px;
  height: 20px;
}

.why-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.why-card__desc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Platform / Get App ── */

.platform {
  display: grid;
  gap: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

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

.platform__card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.platform__card--featured {
  border-color: rgba(5, 150, 105, 0.35);
}

.platform__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
}

.platform__badge--muted {
  color: var(--fg-muted);
  background: var(--bg-muted);
}

.platform__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.platform__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.platform__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform__meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* ── CTA Banner ── */

.cta-banner {
  padding-bottom: 4.5rem;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 50%, #fff 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 2.5rem 3rem;
  }
}

.cta-banner__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-banner__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Footer ── */

.footer {
  padding: 3rem 0 2rem;
  background: var(--fg);
  color: #94a3b8;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand__logo {
  border-radius: var(--radius-sm);
}

.footer-brand__name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.footer-brand__tagline {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copy,
.footer__tag {
  margin: 0;
  font-size: 0.8125rem;
}

.footer__tag {
  color: #64748b;
}

/* ── Reveal animations ── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}
