/* AMG Solutions — Software company site */
:root {
  --bg: #06080f;
  --bg-elevated: #0c101c;
  --bg-card: #111827;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 186, 0.35);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --brand: #155bd5;
  --accent: #3b9eff;
  --accent-dim: rgba(59, 158, 255, 0.12);
  --accent-glow: rgba(59, 158, 255, 0.3);
  --whatsapp: #25d366;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 88px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}

/* Background mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(21, 91, 213, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 158, 255, 0.1), transparent),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent);
  pointer-events: none;
}

/* Animated orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(21, 91, 213, 0.35);
  top: -10%;
  right: -5%;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(59, 158, 255, 0.25);
  bottom: 20%;
  left: -8%;
  animation-delay: -6s;
  animation-duration: 22s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(37, 211, 102, 0.12);
  top: 45%;
  right: 25%;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

/* Header — floating dock nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  pointer-events: none;
  transition: padding 0.4s var(--ease);
}

.header .container {
  pointer-events: auto;
}

.header.scrolled {
  padding: 0.5rem 0;
}

.nav-dock {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.4rem 0.45rem 0.4rem 0.85rem;
  border-radius: 100px;
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(59, 158, 255, 0.06) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s, transform 0.4s var(--ease);
}

.header.scrolled .nav-dock {
  background: rgba(8, 11, 20, 0.88);
  border-color: rgba(59, 158, 255, 0.18);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(21, 91, 213, 0.08);
}

.nav-dock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(59, 158, 255, 0.35),
    transparent 40%,
    transparent 60%,
    rgba(21, 91, 213, 0.25)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 0.25rem;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-img--footer {
  height: 42px;
  margin-bottom: 0.5rem;
}

/* Desktop nav links */
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}

.nav-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  height: 36px;
  width: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.22), rgba(21, 91, 213, 0.15));
  border: 1px solid rgba(59, 158, 255, 0.35);
  box-shadow: 0 0 20px rgba(59, 158, 255, 0.15);
  transform: translateY(-50%);
  transition: left 0.4s var(--ease), width 0.4s var(--ease), opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.nav-indicator.is-visible {
  opacity: 1;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  white-space: nowrap;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.nav-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 0.55;
  transition: opacity 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.nav-link-icon svg {
  width: 16px;
  height: 16px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover .nav-link-icon {
  opacity: 1;
  transform: scale(1.1);
  color: var(--accent);
}

.nav-link.active {
  color: var(--text);
}

.nav-link.active .nav-link-icon {
  opacity: 1;
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding-left: 0.35rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(21, 91, 213, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(59, 158, 255, 0.45);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--accent-dim);
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.4rem 0.85rem 0.4rem 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero h1 .gradient {
  background: linear-gradient(120deg, var(--text) 20%, var(--accent) 50%, var(--brand) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  animation: fadeUp 1s 0.25s var(--ease) both;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.hero-card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.hero-card-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.hero-card-header span:nth-child(1) { background: #ef4444; }
.hero-card-header span:nth-child(2) { background: #f59e0b; }
.hero-card-header span:nth-child(3) { background: #22c55e; }

.code-block {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.code-block code {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.code-block .kw { color: #c084fc; }
.code-block .fn { color: var(--accent); }
.code-block .str { color: #fbbf24; }
.code-block .cm { color: #4b5563; }

.floating-badge {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}

.floating-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.floating-badge--1 {
  top: -12px;
  right: -8px;
  animation-delay: 0s;
}

.floating-badge--2 {
  bottom: 24px;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust bar */
.trust-bar {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: rgba(12, 16, 28, 0.6);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  max-width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item strong {
  color: var(--text);
  font-weight: 600;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Sections */
section {
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-desc {
  margin-inline: auto;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.highlight-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.highlight-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.highlight-card strong {
  color: var(--text);
  font-weight: 600;
}

/* Platforms grid */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.platform-card--accent {
  border-color: rgba(59, 158, 255, 0.35);
  background: linear-gradient(145deg, rgba(21, 91, 213, 0.12), var(--bg-card));
}

.platform-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.platform-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.platform-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.delivery-row {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.delivery-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.delivery-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.delivery-tags span {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-features li {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  background: var(--accent-dim);
  border-radius: 6px;
  color: var(--text-muted);
}

.product-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Vertical highlight */
.vertical-block {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.vertical-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.vertical-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.vertical-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.vertical-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Store section */
.store-section {
  text-align: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, transform 0.25s;
}

.store-badge:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}

.store-badge svg {
  width: 28px;
  height: 28px;
}

.store-badge div {
  text-align: left;
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-badge strong {
  font-size: 0.95rem;
}

.app-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.app-pill {
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  background: var(--accent-dim);
  border-radius: 100px;
  color: var(--text-muted);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.client-card:hover {
  border-color: var(--border-hover);
}

.client-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.client-card .sector {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.client-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(14, 165, 233, 0.08));
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
  margin-inline: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 32ch;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

/* Glow border animation */
.glow-border {
  position: relative;
  isolation: isolate;
  max-width: 100%;
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--glow-angle, 0deg), transparent, var(--accent), var(--brand), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  animation: rotateGlow 4s linear infinite;
  animation-play-state: paused;
}

.glow-border:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateGlow {
  to { --glow-angle: 360deg; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Featured apps */
.featured-apps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}

.featured-app {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}

.featured-app:hover {
  transform: translateY(-4px) translateX(4px);
  border-color: var(--border-hover);
}

.featured-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.featured-app-icon svg {
  width: 26px;
  height: 26px;
}

.featured-app-icon.play {
  background: rgba(52, 168, 83, 0.15);
  color: #34a853;
}

.featured-app-icon.apple {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.featured-app-store {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.featured-app h3 {
  font-size: 1.1rem;
  margin: 0.2rem 0 0.25rem;
}

.featured-app p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.featured-app-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.featured-app:hover .featured-app-arrow {
  transform: translateX(4px);
}

/* Tech marquee */
.marquee-wrap {
  margin-top: 3rem;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.store-section,
#apps {
  overflow-x: clip;
}

.marquee {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.6;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Contact cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin-inline: auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  min-height: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.contact-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.25);
}

.contact-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.5);
}

.contact-card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
}

.contact-highlight {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 700;
  color: var(--text) !important;
  line-height: 1.3;
}

.contact-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--whatsapp);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
}

.contact-card-icon.whatsapp svg {
  color: var(--whatsapp);
  width: 26px;
  height: 26px;
}

.contact-card a:hover {
  color: var(--accent);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
  animation: none;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Service card tilt on hover */
.service-card,
.client-card {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.client-card:hover {
  transform: translateY(-6px) perspective(800px) rotateX(2deg);
}

/* Timeline draw */
.timeline-item {
  transition: border-color 0.5s;
}

.timeline-item.visible-line {
  border-left-color: var(--accent);
}

/* Hero parallax target */
#hero-parallax {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s;
}

.mobile-nav.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav.open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 360px);
  height: 100%;
  padding: calc(var(--nav-h) + 1.5rem) 1.75rem 2rem;
  background: linear-gradient(180deg, #0c101c 0%, #06080f 100%);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  opacity: 0;
  transform: translateX(20px);
}

.mobile-nav.open .mobile-nav-link {
  animation: mobileLinkIn 0.5s var(--ease) forwards;
}

.mobile-nav.open .mobile-nav-link:nth-child(2) { animation-delay: 0.06s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { animation-delay: 0.12s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { animation-delay: 0.18s; }
.mobile-nav.open .mobile-nav-link:nth-child(5) { animation-delay: 0.24s; }

@keyframes mobileLinkIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(59, 158, 255, 0.08);
  border-color: rgba(59, 158, 255, 0.2);
}

.mobile-nav-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.8;
  min-width: 1.5rem;
}

.mobile-nav-title {
  flex: 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.mobile-nav-arrow {
  color: var(--text-muted);
  transition: transform 0.25s, color 0.25s;
}

.mobile-nav-link:hover .mobile-nav-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 1rem;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(12px);
}

.mobile-nav.open .mobile-nav-cta {
  animation: mobileCtaIn 0.5s 0.28s var(--ease) forwards;
}

@keyframes mobileCtaIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .vertical-block,
  .product-card--featured {
    grid-template-columns: 1fr;
  }

  .product-card--featured {
    grid-column: span 1;
  }

  .services-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .logo {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .nav-dock {
    justify-content: space-between;
    padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  }

  .nav-actions {
    padding-left: 0;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .nav-cta {
    display: none;
  }

  .header .container {
    padding-inline: 0;
  }

  .nav-dock {
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.6rem 0.5rem 0.75rem;
  }

  .logo-img {
    height: 32px;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-content {
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }

  .floating-badge--1 {
    top: 0;
    right: 0;
  }

  .floating-badge--2 {
    left: 0;
    bottom: 12px;
  }

  .floating-badge {
    font-size: 0.72rem;
    padding: 0.5rem 0.65rem;
    max-width: calc(100% - 1rem);
  }

  .hero-stats {
    gap: 1.25rem 1.5rem;
  }

  .hero-stat {
    min-width: 0;
    flex: 1 1 40%;
  }

  .hero-stat strong {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }

  .trust-item {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-item span {
    text-align: center;
  }

  .services-grid,
  .products-grid,
  .clients-grid,
  .featured-apps,
  .contact-cards,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .featured-app {
    min-width: 0;
  }

  .featured-app:hover {
    transform: translateY(-4px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 4rem 0;
    overflow-x: clip;
  }

  .orb-1 {
    width: 260px;
    height: 260px;
    right: -30%;
  }

  .orb-2 {
    width: 200px;
    height: 200px;
    left: -25%;
  }

  .orb-3 {
    display: none;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 380px) {
  .floating-badge {
    display: none;
  }

  .hero-badge {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
