:root {
  --black: #0a0a0c;
  --deep: #12121a;
  --surface: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --line-bright: rgba(255, 255, 255, 0.15);
  --text: #e8e8ec;
  --text-dim: #8a8a96;
  --accent: #c9a962;
  --accent-dim: rgba(201, 169, 98, 0.3);
  --cyan: #5fb3b3;
  --cyan-dim: rgba(95, 179, 179, 0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Syne', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background pattern - technical grid */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.bg-pattern svg {
  width: 100%;
  height: 100%;
}

/* Orbital lines decoration */
.orbital-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.orbital-path {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: orbit-drift 60s linear infinite;
}

.orbital-path:nth-child(1) {
  width: 800px;
  height: 800px;
  top: -200px;
  right: -300px;
  border-color: var(--accent-dim);
}

.orbital-path:nth-child(2) {
  width: 1200px;
  height: 1200px;
  top: -400px;
  right: -500px;
  animation-duration: 90s;
  animation-direction: reverse;
}

.orbital-path:nth-child(3) {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -200px;
  border-color: var(--cyan-dim);
  animation-duration: 45s;
}

@keyframes orbit-drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Main container */
main {
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--black) 0%, transparent 100%);
}

.logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.logo-mark::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  animation: pulse-ring 3s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-links .btn-primary {
  color: var(--black);
}

.nav-links .btn-primary:hover {
  color: var(--black);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  position: relative;
}

.transmission-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, #e8d4a8 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-dim);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.btn-secondary:hover {
  color: var(--text);
}

.price-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

.price-tag strong {
  color: var(--accent);
  font-size: 1.25rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-container {
  position: relative;
  width: 450px;
  height: 450px;
}

.globe {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at center, var(--deep) 0%, var(--black) 100%);
  border: 1px solid var(--line-bright);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(95, 179, 179, 0.1),
    inset 0 0 60px rgba(0,0,0,0.5);
}

/* Grid lines on globe */
.globe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      var(--line) 40px,
      var(--line) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      var(--line) 40px,
      var(--line) 41px
    );
  border-radius: 50%;
  animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
  from { transform: translateX(0); }
  to { transform: translateX(40px); }
}

/* Satellite imagery overlay */
.globe-image {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-radius: 50%;
  background: url('https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?w=800') center/cover;
  opacity: 0.6;
  mix-blend-mode: screen;
}

/* Orbital rings around globe */
.orbit-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: orbit-spin 20s linear infinite;
}

.orbit-ring:nth-child(1) {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  transform: rotateX(70deg) rotateZ(15deg);
}

.orbit-ring:nth-child(2) {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  transform: rotateX(75deg) rotateZ(-30deg);
  border-color: var(--accent-dim);
  animation-direction: reverse;
  animation-duration: 30s;
}

.orbit-ring:nth-child(3) {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  transform: rotateX(60deg) rotateZ(45deg);
  border-color: var(--cyan-dim);
  animation-duration: 25s;
}

@keyframes orbit-spin {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to { transform: rotateX(70deg) rotateZ(360deg); }
}

/* Satellite markers */
.satellite {
  position: absolute;
  width: 8px;
  height: 8px;
}

.satellite::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
}

.satellite::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  animation: sat-pulse 2s ease-out infinite;
}

@keyframes sat-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.satellite:nth-child(4) {
  top: 10%;
  right: 20%;
  animation: float 4s ease-in-out infinite;
}

.satellite:nth-child(5) {
  bottom: 25%;
  left: 5%;
  animation: float 5s ease-in-out infinite 1s;
}

.satellite:nth-child(5)::before {
  background: var(--cyan);
}

.satellite:nth-child(5)::after {
  border-color: var(--cyan-dim);
}

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

/* Technical labels */
.tech-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--line-bright);
}

.tech-label.tl-1 {
  top: 5%;
  left: -60px;
}

.tech-label.tl-2 {
  bottom: 20%;
  right: -80px;
}

.tech-label.tl-2::before {
  order: 1;
}

/* Section styles */
section {
  padding: 8rem 3rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Gallery Section */
.gallery {
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(20%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10,10,12,0.8) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 2.5rem;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--line-bright);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

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

/* Product Details */
.product-details {
  background: var(--deep);
  border-top: 1px solid var(--line);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.postcard-preview {
  position: relative;
}

.postcard-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 6/4;
}

.postcard {
  position: absolute;
  width: 90%;
  aspect-ratio: 6/4;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.postcard:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
}

.postcard:nth-child(2) {
  top: 20px;
  left: 20px;
  z-index: 2;
}

.postcard:nth-child(3) {
  top: 40px;
  left: 40px;
  z-index: 1;
}

.postcard-stack:hover .postcard:nth-child(1) {
  transform: translate(-10px, -10px) rotate(-2deg);
}

.postcard-stack:hover .postcard:nth-child(2) {
  transform: rotate(1deg);
}

.postcard-stack:hover .postcard:nth-child(3) {
  transform: translate(10px, 10px) rotate(2deg);
}

.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.specs-list li:first-child {
  border-top: 1px solid var(--line);
}

.spec-label {
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.spec-value {
  color: var(--text);
}

/* Pricing Section */
.pricing {
  text-align: center;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem;
  border: 1px solid var(--accent-dim);
  position: relative;
}

.pricing-card::before,
.pricing-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
}

.pricing-card::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.pricing-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.pricing-period {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.pricing-features li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
}

/* FAQ Section */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--text-dim);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Footer CTA */
.footer-cta {
  text-align: center;
  padding: 10rem 3rem;
  position: relative;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-cta p {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  padding: 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .globe-container {
    width: 350px;
    height: 350px;
    margin: 0 auto;
  }

  .tech-label {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 640px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 4rem 1.5rem;
  }

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

  .globe-container {
    width: 280px;
    height: 280px;
  }
}

/* Animation on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Trajectory lines SVG decoration */
.trajectory-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.trajectory-lines path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.trajectory-lines path.accent {
  stroke: var(--accent-dim);
}

.trajectory-lines path.cyan {
  stroke: var(--cyan-dim);
}

/* Animated dash for trajectory */
.trajectory-animated {
  stroke-dasharray: 8 12;
  animation: dash-flow 20s linear infinite;
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -200;
  }
}
