@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #030508;
  --bg-soft: #0a0e14;
  --bg-card: #111111;
  --blue: #2997ff;
  --blue-bright: #64d2ff;
  --purple: #bf5af2;
  --violet: #5e5ce6;
  --gradient: linear-gradient(90deg, #2997ff, #5e5ce6, #bf5af2);
  --white: #f5f5f7;
  --gray: #86868b;
  --gray-dark: #6e6e73;
  --border: rgba(255, 255, 255, 0.12);
  --glass: rgba(22, 22, 23, 0.72);
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent: var(--blue);
  --nav-h: 52px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.47059;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.022em;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(41,151,255,0.07), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(191,90,242,0.05), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(94,92,230,0.04), transparent);
}

#particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
}

.flame-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.flame-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4;
  animation: flameDrift 14s ease-in-out infinite;
}
.flame-orb.f1 { width: 400px; height: 400px; top: 10%; left: -6%; background: rgba(41,151,255,0.22); }
.flame-orb.f2 { width: 340px; height: 340px; top: 50%; right: -5%; background: rgba(191,90,242,0.18); animation-delay: -5s; }
.flame-orb.f3 { width: 260px; height: 260px; bottom: 15%; left: 38%; background: rgba(94,92,230,0.14); animation-delay: -9s; }
@keyframes flameDrift {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.35; }
  50% { transform: translate(20px,-15px) scale(1.08); opacity: 0.5; }
}

/* ——— Nav (Apple-style) ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s var(--ease);
}
.nav.scrolled { background: rgba(0, 0, 0, 0.92); }
.nav-inner {
  max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.logo {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em;
  cursor: pointer; display: flex; align-items: center; gap: 0.45rem; justify-self: start;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--gradient);
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 0.85rem;
}
.logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  display: flex; gap: 0.15rem; align-items: center; justify-self: center;
}
.nav-links a {
  color: var(--gray); text-decoration: none; font-size: 0.82rem; font-weight: 400;
  padding: 0.35rem 0.65rem; border-radius: 100px; transition: color 0.25s; cursor: pointer;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.nav-active { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown--featured { margin-left: 0.35rem; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: var(--gray); background: transparent; border: none; font: inherit;
  font-size: 0.82rem; font-weight: 400; padding: 0.35rem 0.65rem;
  border-radius: 100px; cursor: pointer; transition: color 0.25s, background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.nav-drop-btn--featured {
  color: var(--white);
  font-weight: 600;
  font-size: 0.84rem;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border: 1px solid rgba(41, 151, 255, 0.5);
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.24), rgba(94, 92, 230, 0.18));
  box-shadow: 0 0 22px rgba(41, 151, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: navAprGlow 3.5s ease-in-out infinite;
}
.nav-drop-btn--featured .nav-drop-caret { opacity: 0.9; color: var(--blue-bright); }
.nav-drop-icon {
  width: 15px; height: 15px; flex-shrink: 0;
  stroke: var(--blue-bright); stroke-width: 2.25;
}
.nav-drop-btn:hover, .nav-dropdown.open .nav-drop-btn { color: var(--white); }
.nav-drop-btn--featured:hover,
.nav-dropdown.open .nav-drop-btn--featured {
  color: #fff;
  border-color: rgba(100, 210, 255, 0.75);
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.34), rgba(94, 92, 230, 0.28));
  box-shadow: 0 0 32px rgba(41, 151, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
@keyframes navAprGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(41, 151, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 28px rgba(41, 151, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
}
.nav-drop-caret { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown.open .nav-drop-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 0.45rem); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 220px; padding: 0.4rem; border-radius: 14px;
  background: rgba(12, 12, 16, 0.96); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 200;
}
.nav-dropdown.open .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 0.55rem 0.75rem; border-radius: 10px;
  color: var(--gray) !important; font-size: 0.8rem !important; white-space: nowrap;
}
.nav-drop-menu a:hover {
  background: rgba(255,255,255,0.08); color: var(--white) !important;
}

.nav-right {
  display: flex; align-items: center; gap: 0.65rem; justify-self: end;
}
.nav-cta {
  font-size: 0.82rem !important; padding: 0.45rem 1rem !important;
  white-space: nowrap;
}
.lang-flags {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 4px; background: rgba(255,255,255,0.06);
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.06);
}
.lang-flag-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.15rem; border: 2px solid transparent; border-radius: 8px;
  background: transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lang-flag-btn:hover { transform: translateY(-1px); }
.lang-flag-btn.active {
  border-color: rgba(41, 151, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.lang-flag-btn:not(.active) .lang-flag-fi { opacity: 0.5; filter: grayscale(0.4); }
.lang-flag-btn.active .lang-flag-fi { opacity: 1; filter: none; }
.lang-flag-btn:hover .lang-flag-fi { opacity: 0.92; filter: grayscale(0); }
.lang-flag-fi {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.1rem;
  transform-origin: 12% 88%;
  animation: langFlagFlutter 2.4s ease-in-out infinite;
}
.lang-flag-fi--delay-1 { animation-delay: 0.15s; }
.lang-flag-fi--delay-2 { animation-delay: 0.3s; }
.lang-flag-img {
  display: block; width: auto; height: 100%; max-width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 2px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.lang-flag-emoji {
  display: none; font-size: 1.1rem; line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lang-flag-fi--fallback .lang-flag-img { display: none; }
.lang-flag-fi--fallback .lang-flag-emoji { display: block; }
@keyframes langFlagFlutter {
  0%, 100% { transform: rotate(-6deg) skewX(-3deg) scale(1); }
  25% { transform: rotate(5deg) skewX(4deg) scale(1.02); }
  50% { transform: rotate(-3deg) skewX(-2deg) scale(1); }
  75% { transform: rotate(7deg) skewX(3deg) scale(1.02); }
}
.lang-flags--stacked {
  flex-direction: column; align-items: stretch; gap: 0.35rem;
  padding: 0; background: none; border: none; max-width: 14rem;
}
.lang-flag-btn--stacked {
  width: 100%; justify-content: flex-start; gap: 0.6rem;
  padding: 0.4rem 0.55rem; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04); color: var(--gray);
}
.lang-flag-btn--stacked:hover {
  background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14);
}
.lang-flag-btn--stacked.active {
  border-color: rgba(41, 151, 255, 0.55);
  background: rgba(41, 151, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.2);
}
.lang-flag-btn--stacked:not(.active) .lang-flag-fi { opacity: 0.65; filter: grayscale(0.25); }
.lang-flag-lbl { font-size: 0.84rem; font-weight: 600; color: var(--white); line-height: 1.2; }
@media (prefers-reduced-motion: reduce) {
  .lang-flag-fi { animation: none; }
}
.nav-toggle {
  display: none; width: 36px; height: 36px; border: none; background: transparent;
  color: var(--white); cursor: pointer; font-size: 1.25rem;
}

main { position: relative; z-index: 1; }
.page { display: none; padding-top: var(--nav-h); }
.page.active { display: block; animation: fadeUp 0.8s var(--ease-out); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Hero cinematic (home) ——— */
.hero-cinematic {
  position: relative; min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem 12rem; overflow: hidden;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 1rem;
}
.hero-cinematic h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.05; max-width: 14ch; margin-bottom: 1.25rem; color: var(--white);
}
.hero-cinematic .hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--gray);
  max-width: 36rem; line-height: 1.5; margin: 0 auto 2rem; font-weight: 400;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.5rem; border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: all 0.35s var(--ease-out); letter-spacing: -0.01em;
}
.btn-gradient {
  background: transparent; color: var(--white); position: relative;
  padding: 0.8rem 1.65rem;
}
.btn-gradient::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
}
.btn-gradient:hover { transform: scale(1.04); box-shadow: 0 0 40px rgba(41,151,255,0.25); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0077ed; transform: scale(1.03); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { text-decoration: underline; }
.btn-outline {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }

/* Product hero (inner pages) */
.hero-wrap {
  position: relative; overflow: hidden;
  padding: 4rem 1.5rem 3rem; text-align: center;
}
.hero-wrap .hero-inner { max-width: 800px; margin: 0 auto; }
.hero-wrap h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.08; margin-bottom: 1rem;
}
.hero-wrap .hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--gray);
  max-width: 32rem; margin: 0 auto 1.75rem; line-height: 1.5;
}
.hero-wrap .cta-row { justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #30d158;
  box-shadow: 0 0 8px #30d158;
}

.hero-stage {
  max-width: 980px; margin: 0 auto; padding: 0 1.5rem 4rem;
}
.hero-stage .screen-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  transform: scale(1); transition: transform 0.8s var(--ease-out);
}
.hero-stage .screen-frame:hover { transform: scale(1.01); }

.hero-visual-home {
  position: relative; width: 100%; max-width: 900px; margin: -6rem auto 0;
  padding: 0 1.5rem; z-index: 2;
}
.hero-mosaic { position: relative; min-height: 320px; }
.hero-mosaic .screen-frame.browser.hero-main {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 50px 100px rgba(0,0,0,0.55);
}
.hero-mosaic .screen-frame.phone.hero-float {
  position: absolute; width: 34%; max-width: 190px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  animation: floatY 6s ease-in-out infinite;
}
.hero-mosaic .screen-frame.phone.hero-float.a { right: -2%; bottom: 0; animation-delay: -2s; }
.hero-mosaic .screen-frame.phone.hero-float.b { left: -2%; top: 15%; animation-delay: -4s; }
@keyframes floatY { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* ——— Screenshots ——— */
.screen-frame {
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: #1d1d1f; border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.screen-frame:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(41,151,255,0.2);
}
.screen-frame.browser .frame-chrome {
  height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 0.85rem;
  background: #161617; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-frame.browser .frame-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
}
.screen-frame.browser .frame-chrome span:nth-child(1) { background: #ff5f57; }
.screen-frame.browser .frame-chrome span:nth-child(2) { background: #febc2e; }
.screen-frame.browser .frame-chrome span:nth-child(3) { background: #28c840; }
.screen-frame.phone {
  border-radius: 32px; padding: 10px; background: #1d1d1f;
  border: 2px solid rgba(255,255,255,0.1);
}
.screen-frame.phone::before {
  content: ''; display: block; width: 32%; height: 4px; margin: 0 auto 8px;
  border-radius: 100px; background: rgba(255,255,255,0.15);
}
.screen-frame img { display: block; width: 100%; height: auto; background: #fff; }
.screen-frame.phone img { border-radius: 22px; }

.screen-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem;
}
.screen-gallery-narrow {
  max-width: 720px; margin: 0 auto;
}

.screen-block {
  margin-bottom: 3.5rem; padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.screen-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.screen-block-head { text-align: center; max-width: 560px; margin: 0 auto 2rem; }
.screen-type-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 100px; margin-bottom: 0.85rem;
}
.screen-type-badge.app { background: rgba(41,151,255,0.12); color: var(--blue); border: 1px solid rgba(41,151,255,0.25); }
.screen-type-badge.panel { background: rgba(94,92,230,0.12); color: var(--violet); border: 1px solid rgba(94,92,230,0.25); }
.screen-type-badge.portal { background: rgba(191,90,242,0.12); color: var(--purple); border: 1px solid rgba(191,90,242,0.25); }
.screen-block-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.screen-block-desc { font-size: 1rem; color: var(--gray); line-height: 1.5; }
.screen-card figcaption {
  margin-top: 0.65rem; font-size: 0.85rem; font-weight: 500; color: var(--gray); text-align: center;
}

/* ——— Spotlight products (Apple grid) ——— */
.section {
  max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.65rem;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 0.85rem;
}
.section-desc { font-size: 1.15rem; color: var(--gray); line-height: 1.5; }

.spotlight-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.spotlight-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); min-height: 420px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.5rem 1.5rem 0; transition: transform 0.5s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.06);
}
.spotlight-card:hover { transform: scale(1.015); }
.spotlight-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--spot-glow, rgba(41,151,255,0.12)), transparent 70%);
}
.spotlight-card > * { position: relative; z-index: 1; }
.spotlight-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.35rem;
}
.spotlight-card .spot-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--spot-color, var(--blue)); margin-bottom: 0.5rem;
}
.spotlight-card p { font-size: 0.95rem; color: var(--gray); max-width: 22rem; margin-bottom: 1rem; line-height: 1.45; }
.spotlight-link {
  font-size: 0.9rem; color: var(--blue); font-weight: 500; margin-bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.spotlight-visual {
  width: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center;
  margin-top: auto; overflow: hidden;
}
.spotlight-visual img {
  width: 88%; max-height: 260px; object-fit: cover; object-position: top;
  border-radius: 12px 12px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
.spotlight-card[data-product="gct"] { --spot-color: #06b6d4; --spot-glow: rgba(6,182,212,0.15); }
.spotlight-card[data-product="oncar"] { --spot-color: #2997ff; --spot-glow: rgba(41,151,255,0.15); }
.spotlight-card[data-product="wash"] { --spot-color: #64d2ff; --spot-glow: rgba(100,210,255,0.12); }
.spotlight-card[data-product="owmae"] { --spot-color: #bf5af2; --spot-glow: rgba(191,90,242,0.15); }

/* Legacy product-row hidden if still in DOM */
.products-showcase { display: none; }

/* ——— Benefits & features ——— */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.benefit-card {
  padding: 1.75rem; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06); transition: background 0.3s;
}
.benefit-card:hover { background: #161617; }
.benefit-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 1rem; background: rgba(41,151,255,0.12);
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; }
.benefit-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.benefit-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.5; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.75rem;
}
.feature-tile {
  display: flex; gap: 1rem; padding: 1.25rem; border-radius: var(--radius);
  background: transparent; border: 1px solid rgba(255,255,255,0.06);
  align-items: flex-start; transition: background 0.3s;
}
.feature-tile:hover { background: var(--bg-card); }
.feature-tile .fi {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,0.04);
}
.feature-tile .fi svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; }
.feature-tile h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.feature-tile p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* ——— Trust / stats ——— */
.trust-band {
  text-align: center; padding: 3rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-band p {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1.5rem;
}
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 2.5rem;
}
.trust-logos span {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.trust-logos span:hover { color: rgba(255,255,255,0.7); }
.trust-logos span.live { color: rgba(255,255,255,0.55); }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.section-stats { padding-top: 2rem; }
.stat-card { padding: 2rem 1rem; }
.stat-card .num {
  font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card .lbl { font-size: 0.95rem; color: var(--white); font-weight: 600; margin-top: 0.5rem; line-height: 1.3; }
.stat-card .stat-sub { font-size: 0.78rem; color: var(--gray); margin-top: 0.35rem; line-height: 1.4; }

.integrate-band {
  text-align: center; padding: 4rem 2rem; margin: 0 1.5rem;
  border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
}
.integrate-flow {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.75rem; margin-top: 1.5rem;
}
.flow-node {
  padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.flow-node.highlight {
  background: rgba(41,151,255,0.15); border-color: rgba(41,151,255,0.3); color: var(--blue);
}
.flow-arrow { color: var(--gray-dark); }

/* Product page accents */
.page-gct { --accent: #06b6d4; }
.page-oncar { --accent: #2997ff; }
.page-wash { --accent: #64d2ff; }
.page-owmae { --accent: #bf5af2; }

.cta-band {
  text-align: center; padding: 5rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.65rem; }
.cta-band p { font-size: 1.1rem; color: var(--gray); margin-bottom: 1.5rem; }

/* ——— Contact ——— */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.contact-card {
  padding: 2rem; border-radius: var(--radius-lg); background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.65rem; }
.contact-card p { font-size: 0.95rem; color: var(--gray); line-height: 1.5; }
.contact-methods { margin-top: 0.35rem; }
.contact-locations {
  list-style: none; padding: 0; margin: 0 0 0.75rem;
  display: grid; gap: 0.35rem;
}
.contact-locations li {
  font-size: 0.95rem; color: var(--white); font-weight: 500; line-height: 1.45;
  padding-left: 1rem; position: relative;
}
.contact-locations li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
}
.phone {
  font-size: 0.88rem !important; color: var(--white) !important; font-weight: 500;
  margin-top: 0.5rem;
  display: flex !important; align-items: center; gap: 0.45rem; flex-wrap: nowrap;
}
.phone-num { white-space: nowrap; }
.wa-link {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%; text-decoration: none;
  background: rgba(37, 211, 102, 0.12); color: #25d366;
  transition: all 0.3s var(--ease-out);
}
.wa-link svg { width: 16px; height: 16px; }
.wa-link:hover { background: #25d366; color: #fff; transform: scale(1.08); }
.contact-email {
  display: flex !important; align-items: center; gap: 0.45rem;
  margin-top: 0.65rem; font-size: 0.88rem !important;
}
.contact-email a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: inherit; text-decoration: none; transition: color 0.2s var(--ease-out);
}
.contact-email a .phone-num { color: var(--white); font-weight: 500; }
.contact-email a:hover .phone-num { color: var(--blue); }
.mail-link {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(10, 132, 255, 0.12); color: var(--blue);
}
.mail-link svg { width: 15px; height: 15px; }
.footer .phone, .footer .contact-email { color: var(--gray) !important; }
.footer .phone .phone-num { color: var(--white); font-weight: 500; }

/* ——— Footer ——— */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 3rem 1.5rem 2rem; margin-top: 2rem;
  background: var(--bg-soft);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem;
}
.footer h5 {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.85rem; color: var(--gray);
}
.footer a, .footer p {
  color: var(--gray); font-size: 0.88rem; text-decoration: none; display: block;
  margin-bottom: 0.45rem; cursor: pointer; background: none; border: none;
  font-family: inherit; text-align: left; padding: 0; transition: color 0.25s;
}
.footer a:hover { color: var(--blue); }
.footer .lang-flags--stacked { margin-top: 0.15rem; }
.footer .lang-flag-btn--stacked { margin-bottom: 0.35rem; }
.footer .lang-flag-btn--stacked:hover .lang-flag-lbl { color: var(--blue); }
.footer-copy {
  text-align: center; margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06); color: var(--gray-dark); font-size: 0.78rem;
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(24px);
}
.lightbox.open { display: flex; animation: fadeUp 0.35s var(--ease-out); }
.lightbox img {
  max-width: min(96vw, 1100px); max-height: 88vh; border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.1); color: var(--white); font-size: 1.5rem; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  font-size: 0.9rem; color: var(--gray);
}

/* ——— Reveal ——— */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ——— Responsive ——— */
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 199;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #030508;
    padding: 0.75rem 1.25rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 12px;
    color: var(--gray);
  }
  .nav-links > a:hover,
  .nav-links > a.nav-active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
  }
  /* Apresentações — dropdown expansível (igual ao desktop) */
  .nav-dropdown--featured {
    margin: 0.65rem 0 0;
    padding-top: 0.65rem;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-drop-btn--featured {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    border-radius: 12px;
  }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0.4rem 0 0;
    padding: 0.4rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-dropdown.open .nav-drop-menu {
    display: flex;
  }
  .nav-links .nav-drop-menu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.4;
    border-radius: 12px;
    color: var(--gray) !important;
    background: transparent;
  }
  .nav-links .nav-drop-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white) !important;
  }
  .nav-cta {
    display: inline-flex !important;
    font-size: 0.78rem !important;
    padding: 0.4rem 0.75rem !important;
  }
  .nav-toggle { display: block; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-card { min-height: 360px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mosaic .screen-frame.phone.hero-float { width: 40%; max-width: 140px; }
  .hero-visual-home { margin-top: -3rem; }
}
@media (max-width: 600px) {
  .hero-cinematic { padding-bottom: 8rem; }
  .hero-mosaic .screen-frame.phone.hero-float.a,
  .hero-mosaic .screen-frame.phone.hero-float.b { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer .lang-flags--stacked { max-width: 280px; }
}
