/* -------------------------------------------------------------------------- */
/* Apple SF Pro stack (local, optimized weights only)                         */
/* -------------------------------------------------------------------------- */
@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SF Pro/SF-Pro-Display-Regular.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SF Pro/SF-Pro-Display-Medium.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Display-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SF Pro/SF-Pro-Display-Semibold.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Display-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('fonts/SF Pro/SF-Pro-Display-Bold.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Display-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('fonts/SF Pro/SF-Pro-Text-Regular.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Text-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('fonts/SF Pro/SF-Pro-Text-Medium.woff2') format('woff2'),
    url('fonts/SF Pro/SF-Pro-Text-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-base: #03040a;
  --bg-gradient-top: rgba(10, 14, 30, 0.95);
  --bg-gradient-bottom: rgba(3, 4, 10, 0.98);
  --card: rgba(10, 12, 22, 0.9);
  --card-light: rgba(15, 18, 35, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #f5f7ff;
  --text-muted: rgba(239, 244, 255, 0.72);
  --accent: #7f82ff;
  --accent-strong: #4b50ff;
  --accent-soft: rgba(127, 130, 255, 0.25);
  --success: #6cf3c5;
  --warning: #f2b94a;
  --font-system-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'SF Pro Display', 'Helvetica Neue', var(--font-system-stack);
  --font-text: 'SF Pro Text', 'SF Pro Display', var(--font-system-stack);
  --font-sans: var(--font-text);
  --shadow-soft: 0 25px 65px rgba(5, 6, 10, 0.65);
  --shadow-card: 0 25px 50px rgba(4, 6, 22, 0.6);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --blur: blur(40px);
}

html,
body {
  font-family: var(--font-text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-gradient-top), var(--bg-gradient-bottom)), var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
  font-variant-ligatures: contextual;
  font-synthesis: none;
}

.hero-copy h1,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-copy .lead,
.hero-copy .eyebrow,
.btn,
.stat-card,
.download .eyebrow,
.download h2 {
  font-family: var(--font-sans);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-text);
}

main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

main section {
  scroll-margin-top: 140px;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(127, 130, 255, 0.08), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1.2rem, 5vw, 3.8rem);
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
}

.main-nav {
  width: min(860px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 0.35rem 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(221, 235, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
  padding: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  object-fit: cover;
}

.logo-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(5, 6, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero-copy,
.hero-media {
  width: 100%;
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'kern' 1, 'liga' 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn * {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent-strong), var(--accent));
  color: #fff;
  box-shadow: 0 15px 55px rgba(79, 85, 255, 0.35);
}

.btn.primary.lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn.ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn.secondary {
  background: rgba(127, 130, 255, 0.12);
  color: var(--text-primary);
  border: 1px solid rgba(127, 130, 255, 0.5);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 120px;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(9, 10, 20, 0.8);
  backdrop-filter: blur(10px);
  min-width: 140px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 18, 0.85);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  animation: float 8s ease-in-out infinite;
}

.media-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(5, 6, 12, 0.75);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(108, 243, 197, 0.9);
  animation: pulse 2.6s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  width: 160px;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 22, 0.9);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.floating-card img {
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
}

.floating-card-left {
  left: -20%;
  top: 12%;
  animation: float 7s ease-in-out infinite;
}

.floating-card-right {
  right: -20%;
  bottom: 10%;
  animation: float 9s ease-in-out infinite reverse;
}

.mascot-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 7, 16, 0.9);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 360px;
}

.mascot-card img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
}

.mascot-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mascot-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mascot-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(11, 12, 20, 0.85);
}

.trust-eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.features .section-heading,
.configurator .section-heading,
.reviews .section-heading,
.download .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(15, 16, 28, 0.9), rgba(4, 5, 12, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
}

.feature-card ul {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.config-panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(7, 8, 15, 0.9);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.config-panel label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-weight: 600;
}

input[type='range'] {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  cursor: pointer;
  box-shadow: 0 0 15px rgba(127, 130, 255, 0.5);
}

input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--success));
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(127, 130, 255, 0.5);
}

.value-pill {
  align-self: flex-end;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.save-note {
  min-height: 1em;
  color: var(--success);
  font-size: 0.9rem;
}

.config-preview .preview-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.55);
}

.config-preview .preview-frame img {
  width: 100%;
  display: block;
}

.preview-overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(5, 6, 10, 0.8);
  border: 1px solid var(--border);
}

.preview-values {
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.preview-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.preview-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.preview-tab.is-active {
  background: rgba(127, 130, 255, 0.18);
  border-color: rgba(127, 130, 255, 0.6);
  color: var(--text-primary);
}

.reviews .review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.review-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(12, 14, 24, 0.9);
  box-shadow: var(--shadow-card);
}

.review-card .quote {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.review-card .author {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  background: radial-gradient(circle at top, rgba(127, 130, 255, 0.35), rgba(5, 6, 12, 0.95));
  box-shadow: var(--shadow-soft);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.soon-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer {
  width: min(1200px, 100%);
  margin: 3rem auto 2rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-line a {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-primary);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.4;
  }
}

@media (max-width: 1040px) {
  .floating-card-left {
    left: -5%;
  }
  .floating-card-right {
    right: -5%;
  }
  .feature-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
  }
  .main-nav a {
    letter-spacing: 0.14em;
  }
  .floating-card {
    display: none;
  }
  .mascot-card {
    max-width: 100%;
  }
  .hero-stats {
    flex-direction: column;
  }
  .hero-media {
    order: -1;
  }
  .download {
    padding: 1.8rem;
  }
}

@media (max-width: 540px) {
  main {
    padding: 2.5rem 1rem 4rem;
  }
  .site-header {
    padding: 0.8rem 1rem 0.9rem;
  }
  .main-nav {
    gap: 0.6rem;
    flex-direction: column;
    align-items: center;
  }
  .main-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .download-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}


