/* Edginsoft — tokens, base, buttons, header, hero stage, footer.
   Direction: dark-navy tech with depth. Navy and orange from the logo; cyan only in the network graphic. */

:root {
  --night: #0a1424;
  --navy: #112232;
  --navy-2: #182d45;
  --signal: #f1592a;
  --signal-2: #ff7a45;
  --cyan: #38c6f4;
  --mist: #f4f6fa;
  --surface: #ffffff;
  --line: #e2e8f0;
  --text: #0f1b2b;
  --muted: #526278;
  --on-dark: #eef3f9;
  --on-dark-muted: #9fb0c6;
  --glass: rgb(255 255 255 / 0.06);
  --glass-line: rgb(255 255 255 / 0.12);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --text-sm: 0.9375rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-h2: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --text-hero: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --space-section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);

  --shadow-card: 0 1px 2px rgb(15 27 43 / 0.06), 0 12px 32px -12px rgb(15 27 43 / 0.18);
  --shadow-lift: 0 2px 4px rgb(15 27 43 / 0.06), 0 24px 48px -16px rgb(15 27 43 / 0.28);

  --duration-fast: 160ms;
  --duration-normal: 320ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: var(--night);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-fast) ease,
    box-shadow var(--duration-normal) var(--ease-out-expo),
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.btn .icon {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--signal-2), var(--signal));
  color: #1a0c05;
  box-shadow: 0 8px 24px -8px rgb(241 89 42 / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.3);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px -8px rgb(241 89 42 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.3);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.on-dark .btn-ghost,
.btn-ghost.is-dark {
  border-color: var(--glass-line);
  background: var(--glass);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
}

.on-dark .btn-ghost:hover,
.btn-ghost.is-dark:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.1);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(10 20 36 / 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  color: var(--on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand img {
  width: clamp(8.25rem, 7rem + 3vw, 9.75rem);
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.site-nav a:not(.btn):hover {
  color: var(--on-dark);
  background: rgb(255 255 255 / 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--on-dark);
  background: rgb(255 255 255 / 0.1);
}

.site-nav li:last-child {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgb(10 20 36 / 0.97);
    border-bottom: 1px solid var(--glass-line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a:not(.btn) {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
  }

  .site-nav li:last-child {
    margin: 0.75rem 0 0;
  }
}

/* ---------- Dark stage (hero + inner page heads) ---------- */

.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% 110%, rgb(241 89 42 / 0.22), transparent 60%),
    radial-gradient(50rem 30rem at 0% -10%, rgb(56 198 244 / 0.14), transparent 60%),
    linear-gradient(180deg, var(--night), var(--navy));
  color: var(--on-dark);
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.stage-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 3rem + 5vw, 7.5rem);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  font-size: var(--text-sm);
  color: var(--on-dark-muted);
}

.hero-kicker .dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgb(52 211 153 / 0.2);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 15ch;
  background: linear-gradient(180deg, #ffffff 30%, #b9c7d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin-top: 1.5rem;
  font-size: var(--text-lg);
  color: var(--on-dark-muted);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 4rem 2rem;
  background: var(--night);
  color: var(--on-dark-muted);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56rem) {
  .footer-grid {
    grid-template-columns: 4fr 2fr 3fr 3fr;
  }
}

.footer-grid h2 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-dark);
  margin-bottom: 1rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 0.5rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--on-dark);
}

.footer-grid address {
  font-style: normal;
}

.footer-brand img {
  width: 10rem;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: var(--text-sm);
}

.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.875rem;
}

/* ---------- Floating WhatsApp ---------- */

.chat-float {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: #25d366;
  color: #062b14;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.6);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.chat-float:hover {
  transform: translateY(-2px);
}

.chat-float svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
