:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  background: #040b1a;
  color: #eef4ff;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at top, rgba(90, 150, 255, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(112, 202, 255, 0.10), transparent 18%),
    linear-gradient(180deg, #07102f 0%, #020514 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 34, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
}

.site-logo {
  display: block;
  width: 42px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.page-shell {
  padding: 0 2rem 4rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding-top: 1rem;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #8fbeff;
}

.hero-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin: 0;
}

.hero-copy p {
  margin: 1.75rem 0 2rem;
  max-width: 42rem;
  line-height: 1.85;
  color: #d4e7ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(88, 165, 255, 0.24);
}

.btn-primary {
  background: linear-gradient(135deg, #4a7bff, #1ec7ff);
  color: #08112a;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-image {
  width: min(630px, 100%);
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid rgba(95, 157, 255, 0.35);
  box-shadow: 0 28px 90px rgba(5, 14, 45, 0.32);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-capsule,
.hero-capsule::before,
.hero-glow,
.hero-base {
  display: none;
}

.info-section,
.shop-section,
.about-section {
  margin-top: 3rem;
  padding: 3rem 0;
}

.info-section h3,
.shop-section h3,
.about-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.process-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #c7dbff;
  line-height: 1.8;
}

.process-steps {
  display: grid;
  gap: 1.5rem;
}

.process-card {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-card {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
}

.process-card h4,
.info-grid article h4 {
  margin: 0 0 0.75rem;
}

.process-image {
  width: 100%;
  min-height: 300px;
  border-radius: 22px;
  margin-bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(95, 157, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(50, 121, 255, 0.1);
}

@media (min-width: 768px) {
  .process-image {
    width: 100%;
  }
}

.process-design {
  background-image: url('../images/capsule-dimensions.png');
  background-color: rgba(30, 78, 165, 0.65);
}

.process-build {
  background-image: url('../images/capsule-interior.png');
  background-color: rgba(19, 52, 103, 0.65);
}

.process-finish {
  background-image: url('../images/capsule-exterior-tech.png');
  background-color: rgba(30, 50, 96, 0.65);
}

.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid article,
.product-card {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
}

.info-grid article p,
.product-card p {
  margin: 0 0 1.25rem;
  line-height: 1.75;
  color: #c7b9c4;
}

.shop-preview {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  min-height: 260px;
}

.product-image {
  width: 100%;
  min-height: 180px;
  border-radius: 24px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 2px solid rgba(95, 157, 255, 0.35);
  background: #091532;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.price {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(55, 110, 240, 0.14);
  color: #e6f3ff;
  font-size: 0.95rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 0 3rem;
  color: #9ebcff;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(90, 150, 255, 0.18), transparent 45%),
    #050c24;
  backdrop-filter: blur(8px);
  animation: fadeOverlay 2.8s ease forwards;
  animation-play-state: paused;
}

.intro-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: -2px;
  z-index: 1;
}

.intro-pane {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.intro-pane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 19px solid white;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  background-color: white;
  padding: 40px;
}

.intro-left {
  animation: slideLeftFade 2.4s ease forwards;
  animation-play-state: paused;
}

.intro-right {
  animation: slideRightFade 2.4s ease forwards;
  animation-delay: 0.08s;
  animation-play-state: paused;
}

.intro-card {
  position: relative;
  z-index: 0;
  width: min(360px, 90%);
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: 32px;
  background: rgba(9, 18, 42, 0.96);
  border: 1px solid rgba(74, 123, 228, 0.16);
  box-shadow: 0 30px 90px rgba(7, 18, 46, 0.72);
  transform: scale(1.02);
  animation: cardBounce 1.8s ease-out;
}

@keyframes slideLeftFade {
  0% { transform: translateX(0); opacity: 1; }
  65% { opacity: 1; }
  100% { transform: translateX(-110%); opacity: 0; }
}

@keyframes slideRightFade {
  0% { transform: translateX(0); opacity: 1; }
  65% { opacity: 1; }
  100% { transform: translateX(110%); opacity: 0; }
}

.intro-card h1 {
  margin: 1.3rem 0 0.4rem;
  font-size: 2.4rem;
  font-family: 'Orbitron', sans-serif;
}

.intro-card p {
  margin: 0;
  color: #d5c8d0;
  line-height: 1.8;
}

.capsule-shell,
.capsule-core {
  margin: 0 auto;
  border-radius: 999px;
  position: relative;
}

.capsule-shell {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05);
  animation: shellPulse 1.6s ease-in-out infinite alternate;
}

.capsule-core {
  width: 38px;
  height: 38px;
  top: -74px;
  background: radial-gradient(circle at 30% 30%, #f7ebff, #9b75d8);
  animation: coreGlow 1.6s ease-in-out infinite alternate;
}

@keyframes shellPulse {
  to { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08); }
}

@keyframes coreGlow {
  to { transform: scale(1.08); opacity: 0.9; }
}

@keyframes cardBounce {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  60% { transform: translateY(-6px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

@keyframes fadeOverlay {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease forwards;
}

.privacy-modal.show {
  display: grid;
}

.modal-content {
  background: rgba(9, 18, 42, 0.98);
  border: 1px solid rgba(74, 123, 228, 0.24);
  border-radius: 24px;
  padding: 2rem;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 90px rgba(7, 18, 46, 0.72);
}

.modal-content h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.modal-body {
  text-align: left;
  margin-bottom: 1.5rem;
  max-height: 240px;
  overflow-y: auto;
}

.modal-body p {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: #d4e7ff;
}

.modal-body h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.95rem;
  color: #8fbeff;
}

.contact-section,
.contact-card {
  margin-bottom: 2rem;
}

.contact-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
}

.contact-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 0;
  color: #d4e7ff;
  line-height: 1.7;
}

.contact-card a {
  color: #8fbeff;
  transition: color 200ms ease;
}

.contact-card a:hover {
  color: #1ec7ff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cart-icon {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(55, 110, 240, 0.14);
  border-radius: 999px;
  transition: background 200ms ease;
}

.cart-icon:hover {
  background: rgba(55, 110, 240, 0.24);
}

#cartCount {
  font-weight: 700;
  color: #1ec7ff;
}

.shop-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card h4 {
  margin: 0 0 0.5rem;
}

.product-card .product-desc {
  flex: 1;
  margin-bottom: 1rem;
  color: #d4e7ff;
  line-height: 1.6;
}

.product-card .price {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1ec7ff;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #4a7bff, #1ec7ff);
  color: #08112a;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(88, 165, 255, 0.2);
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
}

.cart-items {
  margin-bottom: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 16px;
  margin-bottom: 1rem;
  align-items: center;
}

.cart-item-info h4 {
  margin: 0 0 0.25rem;
}

.cart-item-info p {
  margin: 0;
  color: #9ebcff;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.qty-input {
  width: 60px;
  padding: 0.5rem;
  background: rgba(55, 110, 240, 0.14);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 8px;
  color: #eef4ff;
  text-align: center;
}

.remove-btn {
  background: rgba(255, 67, 67, 0.12);
  color: #ff6b6b;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 200ms ease;
}

.remove-btn:hover {
  background: rgba(255, 67, 67, 0.24);
}

.cart-summary {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  border-top: 1px solid rgba(92, 144, 255, 0.12);
  padding-top: 0.75rem;
  color: #1ec7ff;
}

.cart-actions {
  display: flex;
  gap: 1rem;
}

.cart-actions .btn {
  flex: 1;
}

.checkout-form {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  background: rgba(55, 110, 240, 0.08);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 12px;
  color: #eef4ff;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input::placeholder {
  color: #8fbeff;
}

.order-confirmation {
  text-align: center;
  padding: 3rem;
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  max-width: 500px;
  margin: 0 auto;
}

.order-confirmation h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1ec7ff;
}

.order-number {
  font-family: monospace;
  padding: 1rem;
  background: rgba(55, 110, 240, 0.14);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.btn-secondary {
  background: rgba(55, 110, 240, 0.14);
  border: 1px solid rgba(92, 144, 255, 0.24);
  color: #8fbeff;
}

.btn-secondary:hover {
  background: rgba(55, 110, 240, 0.24);
  box-shadow: 0 10px 25px rgba(88, 165, 255, 0.15);
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.intro-card-side {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.75rem;
}

.intro-card-side h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.intro-card-side p {
  margin: 0;
  color: #d4e7ff;
  line-height: 1.7;
}

.testimonials-section {
  margin-top: 3rem;
  padding: 3rem 0;
}

.testimonials-section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
  background: rgba(8, 22, 56, 0.78);
  border: 1px solid rgba(92, 144, 255, 0.12);
  border-radius: 24px;
  padding: 1.5rem;
  transition: transform 200ms ease, border-color 200ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 144, 255, 0.24);
}

.testimonial-card .stars {
  font-size: 1.1rem;
  color: #ffd700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.testimonial-card p {
  margin: 0.5rem 0;
  color: #d4e7ff;
  line-height: 1.6;
  font-style: italic;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  color: #8fbeff;
  transition: color 200ms ease;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
}

.social-links a:hover {
  color: #1ec7ff;
  opacity: 1;
}

@media (max-width: 980px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .info-grid,
  .shop-preview {
    grid-template-columns: 1fr;
  }
}
