/* Formevo · modern, fluid, distinctive */
:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f5f1e8;
  --muted: #9aa0aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cream: #f4ede1;
  --navy: #16213a;
  --soft-blue: #9ab8f0;
  --accent: #c9a96a;
  --accent-2: #6a8fd6;
  --grad-1: linear-gradient(135deg, #f4ede1 0%, #c9a96a 100%);
  --grad-2: linear-gradient(135deg, #9ab8f0 0%, #6a8fd6 100%);
  --grad-aurora: radial-gradient(60% 60% at 20% 10%, rgba(201, 169, 106, 0.18), transparent 60%),
                 radial-gradient(50% 50% at 90% 30%, rgba(106, 143, 214, 0.18), transparent 60%),
                 radial-gradient(40% 40% at 60% 90%, rgba(154, 184, 240, 0.10), transparent 70%);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Inter", "SF Pro Display", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11", "tnum";
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-aurora);
  z-index: -2;
  pointer-events: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(11, 13, 18, 0.62);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad-1);
  position: relative;
  box-shadow: 0 4px 14px rgba(201, 169, 106, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: inline-block;
}

.mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 3px;
  background: var(--navy);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 0.2s var(--ease);
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0 96px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(201, 169, 106, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: float 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(106, 143, 214, 0.20), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: float 18s ease-in-out infinite alternate-reverse;
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.08); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7.2vw, 84px);
  margin: 22px 0 22px;
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #c9c4b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .accent {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}

h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 0 0 16px;
  font-weight: 700;
}

h3 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  background: var(--surface-2);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.button:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--grad-1);
  color: #1a1407;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(201, 169, 106, 0.32);
}

.button.primary:hover {
  box-shadow: 0 14px 36px rgba(201, 169, 106, 0.42);
  transform: translateY(-2px);
}

.button .arrow {
  margin-left: 8px;
  transition: transform 0.2s var(--ease);
}

.button:hover .arrow { transform: translateX(3px); }

/* Product visual */
.product-visual {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--bg-2);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.product-visual:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(0deg);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(140deg, rgba(201, 169, 106, 0.5), transparent 40%, transparent 60%, rgba(106, 143, 214, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.phone {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(180deg, #0a0c10 0%, #0d1016 100%);
  aspect-ratio: 9 / 17;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px 4px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.app-meta-name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.app-meta-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

.screen-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  animation: rowFade 0.7s var(--ease) both;
}
.screen-row:nth-child(2) { animation-delay: 0.1s; }
.screen-row:nth-child(3) { animation-delay: 0.2s; }
.screen-row:nth-child(4) { animation-delay: 0.3s; }

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

.poster {
  height: 76px;
  border-radius: 8px;
  background: linear-gradient(160deg, #4a3826, #c9a96a);
  position: relative;
  overflow: hidden;
}
.screen-row:nth-child(3) .poster { background: linear-gradient(160deg, #1a2a4a, #6a8fd6); }
.screen-row:nth-child(4) .poster { background: linear-gradient(160deg, #2a1a2e, #9ab8f0); }

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 30% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

.line { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.line.short { width: 52%; }
.line.mid { width: 76%; background: rgba(255, 255, 255, 0.12); }
.line + .line { margin-top: 8px; }

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head .lead { margin-top: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  padding: 28px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.app-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.app-card .app-icon { width: 64px; height: 64px; border-radius: 16px; }

.app-card .arrow-link {
  color: var(--muted);
  font-size: 22px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.app-card:hover .arrow-link { color: var(--text); transform: translateX(4px); }

/* Pages (privacy/terms/support) */
.page {
  padding: 72px 0 96px;
  max-width: 760px;
}

.page-copy h1 {
  font-size: clamp(36px, 6vw, 56px);
  background: linear-gradient(180deg, #ffffff, #b8b3a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-copy h2 {
  margin-top: 56px;
  font-size: 24px;
  color: var(--text);
}

.page-copy p, .page-copy li { color: var(--muted); font-size: 16px; }
.page-copy ul { padding-left: 22px; }
.page-copy li + li { margin-top: 6px; }
.page-copy a { color: var(--accent); border-bottom: 1px solid rgba(201, 169, 106, 0.3); transition: border-color 0.2s var(--ease); }
.page-copy a:hover { border-bottom-color: var(--accent); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

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

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@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; }
}

@media (max-width: 860px) {
  .nav { min-height: 56px; }
  .nav-links { gap: 16px; font-size: 13.5px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 72px;
    gap: 40px;
  }
  .product-visual {
    max-width: 360px;
    margin: 0 auto;
    transform: none;
  }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .app-card { grid-template-columns: 56px 1fr; }
  .app-card .arrow-link { display: none; }
}

@media (max-width: 520px) {
  .nav-links a:not(:first-child):not(:last-child) { display: none; }
  h1 { font-size: clamp(38px, 10vw, 52px); }
  .lead { font-size: 17px; }
  .button { padding: 0 18px; font-size: 14px; }
}

/* App-themed accents — each product overrides accent gradient */
.theme-pawdna {
  --accent: #a78bfa;
  --accent-2: #60a5fa;
  --grad-1: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #818cf8 100%);
  --grad-2: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --grad-aurora: radial-gradient(60% 60% at 20% 10%, rgba(167, 139, 250, 0.20), transparent 60%),
                 radial-gradient(50% 50% at 90% 30%, rgba(96, 165, 250, 0.18), transparent 60%),
                 radial-gradient(40% 40% at 60% 90%, rgba(129, 140, 248, 0.12), transparent 70%);
}

.theme-pawdna .button.primary { color: #1a1230; }
.theme-pawdna .button.primary { box-shadow: 0 10px 30px rgba(167, 139, 250, 0.34); }
.theme-pawdna .button.primary:hover { box-shadow: 0 14px 36px rgba(167, 139, 250, 0.46); }
.theme-pawdna .card-num { color: var(--accent); }
.theme-pawdna .page-copy a { color: var(--accent); border-bottom-color: rgba(167, 139, 250, 0.35); }
.theme-pawdna .page-copy a:hover { border-bottom-color: var(--accent); }

/* Showcase gallery (PawDNA) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.showcase-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  aspect-ratio: 9 / 16;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.showcase-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 18px; }
  .showcase-item { max-width: 320px; margin: 0 auto; }
}

