/* ============================================
   TopoKit.ca — Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F7;
  --color-surface: #FFFFFF;
  --color-surface-raised: rgba(0, 0, 0, 0.03);
  --color-text: #1D1D1F;
  --color-text-muted: #6E6E73;
  --color-text-light: #86868B;
  --color-accent: #FF9500;
  --color-accent-hover: #E68600;
  --color-accent-light: #FFB340;
  --color-accent-gradient: linear-gradient(135deg, #FFB000, #B75900);
  --color-border: rgba(0, 0, 0, 0.08);
  --color-link: #FF9500;
  --color-link-hover: #E68600;
  --color-card-bg: rgba(255, 255, 255, 0.7);
  --color-card-border: rgba(0, 0, 0, 0.06);
  --color-glow: rgba(255, 149, 0, 0.08);
  --font-logo: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1080px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --nav-border: rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1A1A1D;
    --color-bg-alt: #141416;
    --color-surface: #1C1C1E;
    --color-surface-raised: rgba(255, 255, 255, 0.06);
    --color-text: #F5F5F7;
    --color-text-muted: #A1A1A6;
    --color-text-light: #86868B;
    --color-accent: #FF9F0A;
    --color-accent-hover: #FFB340;
    --color-accent-light: #FFB340;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-link: #FF9F0A;
    --color-link-hover: #FFB340;
    --color-card-bg: rgba(255, 255, 255, 0.08);
    --color-card-border: rgba(255, 255, 255, 0.12);
    --color-glow: rgba(255, 149, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(26, 26, 29, 0.72);
    --nav-border: rgba(255, 255, 255, 0.06);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}

.nav-logo .logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-logo .logo-wordmark {
  height: 28px;
  width: auto;
  max-height: 28px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-links .cta-link {
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.82rem;
  transition: background 0.2s, transform 0.15s;
}

.nav-links .cta-link:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  padding: 6rem 2rem 3rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255, 149, 0, 0.12) 0%, rgba(255, 149, 0, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (prefers-color-scheme: dark) {
  .hero::before {
    background: radial-gradient(ellipse, rgba(255, 149, 0, 0.1) 0%, rgba(255, 149, 0, 0.03) 40%, transparent 70%);
  }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1 1 45%;
  min-width: 0;
}

.hero-preview {
  flex: 1 1 50%;
  min-width: 0;
}

.hero-devices {
  position: relative;
  width: 100%;
  /* Use native aspect-ratio instead of padding-bottom hack.
     The padding-bottom trick collapses to zero height in Safari
     when used inside a flex item, because Safari resolves the
     percentage padding against a zero-width containing block.
     aspect-ratio is supported in Safari 15+, Chrome 88+, Firefox 89+. */
  aspect-ratio: 4260 / 2840;
}

/* Mac wrapper — fills .hero-devices. Phone wrapper comes after
   in DOM order so it naturally paints on top. No z-index needed. */
.hero-mac {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-mac .mac-screen {
  position: absolute;
  top: 10.67%;
  left: 9.4%;
  width: 81.2%;
  height: 78.6%;
  object-fit: fill;
  display: block;
}

.hero-mac .mac-bezel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Phone wrapper — explicit width + height for Safari.
   No z-index, no filter — DOM order handles stacking. */
.hero-phone {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 22%;
  height: 67.4%;
}

.hero-phone .phone-screen {
  position: absolute;
  top: 2.5%;
  left: 5.3%;
  width: 89.4%;
  height: 95%;
  object-fit: cover;
  display: block;
  border-radius: 6%;
}

.hero-phone .phone-bezel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}


.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease-out;
}

.hero h1 em {
  font-style: normal;
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent-gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 149, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 149, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: var(--color-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  border: 1.5px solid var(--color-card-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ---- Specs / Stats Band ---- */
.specs {
  padding: 3.5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.spec-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.spec-item:hover {
  transform: translateY(-2px);
}

.spec-value {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.spec-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ---- Features Section ---- */
.features {
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ---- Shared Screenshot Placeholder ---- */
.screenshot-placeholder {
  background: var(--color-surface-raised);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Feature Carousel ---- */
.carousel-section {
  padding: 3.5rem 0 4rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.carousel {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.carousel-track {
  position: relative;
  min-height: 420px;
}

.carousel-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.4s ease-out;
}

.carousel-slide.active {
  display: flex;
}

/* Device pair inside carousel */
.slide-devices {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 10;
}

.slide-mac {
  width: 100%;
  height: 100%;
}

.slide-mac .mac-screen {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--color-card-border);
}

.slide-phone {
  position: absolute;
  bottom: -12%;
  right: -4%;
  width: 20%;
}

.slide-phone .phone-screen {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.1);
  border: 1.5px solid var(--color-card-border);
}

/* Slide text */
.slide-info {
  text-align: center;
  max-width: 520px;
}

.slide-info h3 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.slide-info p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-card-border);
  background: var(--color-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.carousel-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-text-light);
  opacity: 0.3;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  opacity: 1;
  background: var(--color-accent);
  transform: scale(1.25);
}

.carousel-dot:hover {
  opacity: 0.7;
}

/* ---- Format bar ---- */
.format-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  justify-content: center;
}

.format-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-card-border);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* ---- Compact Feature Grid ---- */
.features-compact {
  padding: 4rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.compact-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.compact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 149, 0, 0.15);
}

.compact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.25);
}

.compact-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.compact-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- Supported Formats ---- */
.formats-section {
  padding: 4rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.formats-table {
  width: 100%;
  max-width: 700px;
  margin: 2rem auto 0;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.formats-table td {
  padding: 1.25rem 2rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.formats-table tr:last-child td {
  border-bottom: none;
}

.formats-table .format-type {
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  width: 140px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding-right: 2rem;
}

/* ---- Audience Section ---- */
.audience-section {
  padding: 0 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 149, 0, 0.15);
}

.audience-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- Highlight / CTA Band ---- */
.highlight-band {
  background: var(--color-bg-alt);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.highlight-band::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 149, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.highlight-band .section-title {
  max-width: 500px;
  margin: 0 auto 0.75rem;
}

.highlight-band p {
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

/* ---- Legal Pages (Privacy, Terms) ---- */
.legal-page {
  padding: 4rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-page h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.legal-page p {
  margin-bottom: 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-page ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.legal-page ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.legal-page a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-page a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* ---- Support Page ---- */
.support-page {
  padding: 4rem 2rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.support-page h1 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.support-page .support-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.7;
}

.support-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 149, 0, 0.12);
}

.support-card h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.support-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.support-card a.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.support-card a.email-link:hover {
  color: var(--color-accent-hover);
}

.faq-section {
  margin-top: 2.5rem;
}

.faq-section h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-item h3 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.faq-item p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- Footer ---- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero p {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-preview {
    max-width: 500px;
    width: 100%;
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .carousel-track {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    padding: 1.25rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--nav-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }

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

  .carousel-section {
    padding: 2rem 0 3rem;
  }

  .carousel-track {
    min-height: 300px;
  }

  .slide-phone {
    width: 24%;
    right: -2%;
  }

  .slide-phone .phone-screen {
    border-radius: 10px;
  }

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

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

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

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
