@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Sora:wght@300;400;500;600;700&display=swap');

/* CSS Variables for entire page */
:root {
  --bg-0: #060a12;
  --bg-1: #0a1625;
  --bg-2: #0c2232;
  --ink-0: #f2fbff;
  --ink-1: #b5d6e6;
  --accent: #3af2ff;
  --accent-strong: #00d4ff;
  --border: rgba(58, 242, 255, 0.18);
  --surface: rgba(7, 18, 30, 0.72);
  --surface-strong: rgba(10, 24, 40, 0.92);
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink-0);
  background: radial-gradient(1200px 600px at 70% 10%, rgba(0, 212, 255, 0.18), transparent 55%),
    radial-gradient(900px 640px at 20% 20%, rgba(58, 242, 255, 0.14), transparent 60%),
    linear-gradient(150deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-2) 100%);
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.header-logo {
  flex-shrink: 0;
}

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

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

/* Footer */
.footer {
  background: rgba(6, 10, 18, 0.9);
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.home {
  --bg-0: #060a12;
  --bg-1: #0a1625;
  --bg-2: #0c2232;
  --ink-0: #f2fbff;
  --ink-1: #b5d6e6;
  --accent: #3af2ff;
  --accent-strong: #00d4ff;
  --border: rgba(58, 242, 255, 0.18);
  --surface: rgba(7, 18, 30, 0.72);
  --surface-strong: rgba(10, 24, 40, 0.92);
  color: var(--ink-0);
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 200px);
}

.home *,
.home *::before,
.home *::after {
  box-sizing: border-box;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.hero {
  position: relative;
  padding: 90px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.6;
}

.orb-one {
  width: 380px;
  height: 380px;
  right: 6%;
  top: -80px;
  background: radial-gradient(circle, rgba(58, 242, 255, 0.4), rgba(58, 242, 255, 0));
  animation: float 8s ease-in-out infinite;
}

.orb-two {
  width: 300px;
  height: 300px;
  left: -40px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.35), rgba(0, 212, 255, 0));
  animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 0.8s ease forwards;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(6, 16, 26, 0.75);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  font-weight: 600;
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 0;
}

.hero-subtitle {
  color: var(--ink-1);
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  padding: 14px 26px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #021119;
  box-shadow: 0 18px 40px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(0, 212, 255, 0.35);
}

.btn-ghost {
  border-color: rgba(58, 242, 255, 0.5);
  color: var(--ink-0);
  background: rgba(6, 16, 26, 0.6);
}

.btn-ghost:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 22px 40px rgba(58, 242, 255, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.metric-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 20px 40px rgba(5, 10, 20, 0.5);
}

.metric-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  margin: 0;
}

.metric-label {
  margin: 4px 0 0;
  color: var(--ink-1);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel {
  background: var(--surface-strong);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(5, 10, 20, 0.65);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 0.9s ease 0.1s forwards;
  opacity: 0;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--ink-1);
}

.panel-status {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

.panel-list {
  display: grid;
  gap: 16px;
}

.panel-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(58, 242, 255, 0.12);
  background: rgba(6, 14, 24, 0.7);
}

.panel-card.is-active {
  border-color: rgba(58, 242, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(58, 242, 255, 0.2), 0 0 40px rgba(58, 242, 255, 0.15);
}

.panel-title {
  font-weight: 600;
  margin: 0 0 4px;
}

.panel-meta {
  margin: 0;
  font-size: 12px;
  color: var(--ink-1);
}

.panel-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  margin: 0;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-1);
}

.trust-strip {
  padding: 40px 0 10px;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-radius: 24px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 11px;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0;
}

.section-description {
  color: var(--ink-1);
  margin: 14px 0 0;
  line-height: 1.7;
}

.link {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  text-decoration: none;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 20px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.category-card,
.product-card,
.accessory-card,
.benefit-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.category-card:hover,
.product-card:hover,
.accessory-card:hover,
.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(58, 242, 255, 0.5);
  box-shadow: 0 24px 50px rgba(5, 10, 20, 0.6);
}

.category-name {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
}

.category-count {
  color: var(--ink-1);
  font-size: 14px;
  margin: 0;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.product-tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
}

.product-rating {
  font-size: 12px;
  color: var(--ink-1);
}

.product-title {
  margin: 0 0 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
}

.product-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-1);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.product-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.split-panel {
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 24px 50px rgba(5, 10, 20, 0.6);
}

.split-panel.highlight {
  background: linear-gradient(160deg, rgba(7, 18, 30, 0.9), rgba(4, 10, 18, 0.95));
}

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.accessory-title {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-1);
}

.accessory-price {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.benefit-title {
  margin: 0 0 6px;
  font-size: 14px;
}

.benefit-meta {
  margin: 0;
  color: var(--ink-1);
  font-size: 13px;
}

.cta {
  padding: 70px 0 0;
}

.cta-card {
  text-align: center;
  padding: 40px 32px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(8, 18, 30, 0.9);
  box-shadow: 0 30px 70px rgba(5, 10, 20, 0.65);
}

.cta-form {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-input {
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(58, 242, 255, 0.4);
  background: rgba(6, 16, 26, 0.7);
  color: var(--ink-0);
  min-width: 240px;
  font-family: inherit;
}

.cta-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 242, 255, 0.2);
}

@keyframes rise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

/* Product Shop Page */
.shop {
  min-height: 100vh;
}

.shop-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.shop-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 40px 0;
}

.shop-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.filter-panel {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(5, 10, 20, 0.5);
}

.filter-title {
  margin: 0 0 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-group.border-top {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 20px;
}

.filter-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  margin: 0 0 12px;
  color: var(--accent);
}

.filter-options {
  display: grid;
  gap: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 0.2s ease;
  font-size: 14px;
}

.filter-option input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-option span {
  color: var(--ink-1);
}

.filter-option:hover span {
  color: var(--accent);
}

.filter-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(6, 16, 26, 0.7);
  color: var(--ink-0);
  font-size: 13px;
}

.shop-products {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Product Detail Page */
.product-detail {
  padding: 40px 0;
  min-height: 100vh;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--ink-1);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-strong);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.product-gallery {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 22px 50px rgba(5, 10, 20, 0.6);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #021119;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.25);
}

.product-rating-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  font-weight: 700;
}

.product-review-count {
  font-size: 12px;
  color: var(--ink-1);
}

.product-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 0;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.product-current-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-original-price {
  text-decoration: line-through;
  color: var(--ink-1);
  font-size: 18px;
}

.product-savings {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  font-size: 13px;
  font-weight: 700;
}

.product-delivery-badge {
  border-radius: 14px;
  border: 1px solid rgba(58, 242, 255, 0.3);
  background: linear-gradient(135deg, rgba(58, 242, 255, 0.1), rgba(0, 212, 255, 0.05));
  padding: 16px;
}

.product-delivery-badge p:first-child {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--accent);
}

.product-delivery-badge p:last-child {
  margin: 0;
  font-size: 13px;
  color: var(--ink-1);
  line-height: 1.5;
}

/* Cart Page */
.cart {
  min-height: 100vh;
}

.cart-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.cart-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px 0;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.cart-item:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 242, 255, 0.3);
}

.cart-item-image {
  width: 100px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58, 242, 255, 0.1), rgba(0, 212, 255, 0.05));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  margin: 0 0 6px;
  font-weight: 600;
}

.cart-item-meta {
  margin: 0;
  font-size: 12px;
  color: var(--ink-1);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(6, 16, 26, 0.7);
}

.quantity-control button {
  padding: 6px 10px;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.quantity-control input {
  width: 40px;
  text-align: center;
  background: none;
  border: none;
  color: var(--ink-0);
}

.cart-summary {
  position: sticky;
  top: 120px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(5, 10, 20, 0.6);
}

.summary-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  margin: 0 0 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  font-size: 14px;
  color: var(--ink-1);
}

.summary-separator {
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
}

.summary-total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-1);
}

.summary-total-amount {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Checkout Page */
.checkout {
  min-height: 100vh;
}

.checkout-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 40px 0;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(5, 10, 20, 0.6);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
}

.form-section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #021119;
  font-weight: 700;
  font-size: 13px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-1);
}

.form-input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(6, 16, 26, 0.7);
  color: var(--ink-0);
  font-family: inherit;
  transition: border 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(58, 242, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 980px) {
  .shop-wrapper,
  .checkout-wrapper,
  .cart-wrapper {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-form {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .panel-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

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

  .shop-wrapper {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
