/* ============================================
   LinkMyMac - Website Styles
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.86);
  --bg-card-hover: rgba(255, 255, 255, 0.96);
  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.16);
  --text: #0f172a;
  --text-muted: rgba(15, 23, 42, 0.68);
  --text-dim: rgba(15, 23, 42, 0.44);
  --purple: #4f46e5;
  --purple-light: #111827;
  --blue: #60a5fa;
  --blue-deep: #2563eb;
  --gradient-primary: linear-gradient(135deg, #007aff, #005bb5);
  --gradient-hero: linear-gradient(
    135deg,
    #007aff 0%,
    #5856d6 50%,
    #007aff 100%
  );
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-height: 72px;
  --max-width: 1200px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at top, rgba(96, 165, 250, 0.08), transparent 35%),
    radial-gradient(
      circle at 80% 10%,
      rgba(79, 70, 229, 0.06),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ============================================
   Three.js Canvas
   ============================================ */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

body.static-background #three-canvas {
  opacity: 0;
}

body.static-background {
  background:
    radial-gradient(circle at top, rgba(96, 165, 250, 0.12), transparent 34%),
    radial-gradient(
      circle at 78% 10%,
      rgba(37, 99, 235, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-image {
  display: block;
  width: auto;
  object-fit: contain;
}

.logo-image-nav {
  height: 32px;
}

.logo-image-footer {
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--gradient-primary) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + 28px) 24px 44px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: #007aff;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: #0071e3;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  border-color: var(--border-hover);
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual - Device Orbit */
.hero-visual {
  margin-top: 40px;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.device-orbit {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.orbit-glow {
  position: absolute;
  inset: 14% 22% 18%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(219, 234, 254, 0.42) 42%,
    rgba(255, 255, 255, 0) 74%
  );
  filter: blur(22px);
  z-index: 0;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 60%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  animation: orbit-rotate 30s linear infinite;
}

.orbit-ring-2 {
  width: 95%;
  height: 75%;
  border-color: rgba(15, 23, 42, 0.05);
  animation-duration: 45s;
  animation-direction: reverse;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 184px;
  z-index: 1;
}

.orbit-core-bottom {
  top: auto;
  bottom: 6%;
  transform: translateX(-50%);
}

.orbit-core-shell {
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-align: center;
}

.orbit-wordmark {
  height: 24px;
  width: auto;
  margin: 0 auto;
}

@keyframes orbit-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.device-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: device-float 6s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  z-index: 2;
  color: white;
}

.device-circle:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.device-mac {
  color: #007aff;
}
.device-android {
  color: #34c759;
}
.device-ipad {
  color: #1d1d1f;
}

.device-mac {
  left: 10%;
  top: 34%;
  animation-delay: -2s;
}

.device-android-center {
  left: 50%;
  top: 17%;
  transform: translateX(-50%);
  z-index: 3;
  animation-name: device-float-mac;
}

.device-ipad {
  right: 10%;
  top: 34%;
  animation-delay: -4s;
}

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

.device-android-center {
  animation-name: device-float-mac;
}

.device-android-center:hover {
  transform: translateX(-50%) scale(1.1);
}

@keyframes device-float-mac {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.beam-line {
  stroke-dasharray: 8 4;
  animation: beam-flow 2s linear infinite;
  filter: drop-shadow(0 0 3px rgba(148, 163, 184, 0.25));
}

.beam-stop-start,
.beam-stop-end {
  stop-color: #007aff;
  stop-opacity: 0.8;
}

.beam-stop-mid {
  stop-color: #5ac8fa;
  stop-opacity: 1;
}

@keyframes beam-flow {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  border-radius: 2px;
  animation: scroll-pulse 2s infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    height: 30px;
  }
  50% {
    opacity: 1;
    height: 50px;
  }
}

/* ============================================
   Sections Common
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-desc + .section-desc {
  margin-top: 10px;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px) !important;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px) !important;
}

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

.feature-large {
  grid-column: span 1;
}

.feature-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #007aff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-icon svg {
  flex-shrink: 0;
}

.feature-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.3;
  display: none;
  transition: opacity 0.35s;
}

/* .feature-card:hover .feature-glow {
  opacity: 0.5;
  display: none;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #005bb5;
} hidden */

.feature-glow.purple {
  background: #6c5ce7;
}
.feature-glow.blue {
  background: #00d2ff;
}
.feature-glow.orange {
  background: #ff9f43;
}
.feature-glow.green {
  background: #28c840;
}
.feature-glow.red {
  background: #ff5f57;
}
.feature-glow.teal {
  background: #00cec9;
}
.feature-glow.pink {
  background: #fd79a8;
}
.feature-glow.yellow {
  background: #ffeaa7;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  padding: 4px 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   How It Works
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.35s;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(8px);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 80px;
  opacity: 0.5;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-visual {
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  color: var(--purple-light);
  opacity: 0.7;
}

/* ============================================
   Ecosystem
   ============================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.35s;
  text-align: center;
}

.eco-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px) !important;
}
.eco-card:hover .eco-icon {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 122, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #005bb5;
}

.eco-card-center {
  border-color: rgba(0, 122, 255, 0.2);
  background: rgba(250, 250, 252, 0.95);
}

.eco-card-center:hover {
  border-color: rgba(0, 122, 255, 0.4);
  background: rgba(255, 255, 255, 0.98);
}

.eco-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #007aff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.eco-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.eco-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.eco-features {
  list-style: none;
  text-align: left;
}

.eco-features li {
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-features li:last-child {
  border-bottom: none;
}

.eco-features li::before {
  content: "✓";
  color: var(--purple-light);
  font-weight: 700;
  font-size: 0.75rem;
}

/* Connection Types */
.connection-types {
  max-width: 700px;
  margin: 0 auto;
}

.connection-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.conn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.35s;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.conn-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px) !important;
}
.conn-card:hover .conn-icon {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 122, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #005bb5;
}

.conn-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #007aff;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.conn-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ============================================
   Privacy
   ============================================ */
.privacy .container {
  max-width: 900px;
}

.privacy-card {
  text-align: center;
  padding: 72px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.privacy-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.privacy-icon {
  color: var(--purple-light);
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.privacy-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.privacy-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 36px;
}

.privacy-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.p-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

/* ============================================
   Download
   ============================================ */
.download {
  padding: 120px 0 100px;
}

.download-content {
  text-align: center;
}

.download-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: var(--gradient-hero);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

.download-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  min-width: 200px;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.download-btn:hover {
  background: #ffffff;
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-3px) !important;
  box-shadow:
    0 14px 32px rgba(0, 122, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.download-btn:hover .download-btn-icon {
  transform: scale(1.08);
}

.btn-mac:hover .download-btn-icon,
.btn-mac:hover .download-btn-large {
  color: #007aff;
}

.btn-ipad:hover .download-btn-icon,
.btn-ipad:hover .download-btn-large {
  color: #007aff;
}

.btn-android:hover .download-btn-icon,
.btn-android:hover .download-btn-large {
  color: #34c759;
}

.download-btn-icon {
  width: 32px;
  height: 32px;
  color: #1d1d1f;
  transition: all 0.3s ease;
}

.download-btn-icon svg {
  width: 100%;
  height: 100%;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.download-btn-small {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.download-btn-large {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d1d1f;
  transition: color 0.3s ease;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}

.footer-brand .logo-image {
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ============================================
   Standalone Info Pages
   ============================================ */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 32px) 0 96px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.breadcrumb {
  max-width: 880px;
  margin: 0 auto 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--blue-deep);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.info-layout {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.info-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.info-card p,
.info-card li {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.info-card p + p {
  margin-top: 14px;
}

.info-card ul {
  padding-left: 20px;
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.info-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 600;
}

.inline-link {
  color: var(--blue-deep);
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  #three-canvas {
    display: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-visual {
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

  .step-number {
    min-width: auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links-group {
    gap: 32px;
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 24px);
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .orbit-core {
    width: 164px;
  }

  .orbit-core-bottom {
    bottom: 2%;
  }

  .orbit-core-shell {
    padding: 16px 18px;
  }

  .device-android {
    left: 2%;
  }

  .device-android-center {
    top: 20%;
    left: 50%;
  }

  .device-mac {
    top: 35%;
  }

  .device-ipad {
    right: 2%;
    top: 35%;
  }

  .section {
    padding: 80px 0;
  }

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

  .privacy-card {
    padding: 48px 24px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-links-group {
    flex-wrap: wrap;
  }

  .info-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .device-orbit {
    min-height: 360px;
  }

  .orbit-core {
    width: 138px;
  }

  .orbit-core-bottom {
    bottom: 4%;
  }

  .device-android-center {
    top: 18%;
  }

  .device-mac {
    top: 37%;
  }

  .device-ipad {
    top: 37%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .privacy-badges {
    flex-direction: column;
    align-items: center;
  }
}

.conn-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
