/* ========================================
   DiveShopOS Landing Page - Deep Teal Operations Theme
   Professional dark aesthetic with teal accents
   ======================================== */

/* --- Override CSS variables for DiveShopOS page --- */

.diveshopos-page {
  --color-bg: #0B1A1E;
  --color-bg-secondary: #112429;
  --color-bg-tertiary: #1A3038;
  --color-text: #DEF0F2;
  --color-text-secondary: #8FB8BD;
  --color-text-tertiary: #5E8A8F;
  --color-accent: #0E9AA7;
  --color-accent-hover: #10B0BF;
  --color-border: #1A3038;
  --color-danger: #FF4059;

  --dsos-glow: rgba(14, 154, 167, 0.12);
  --dsos-glow-strong: rgba(14, 154, 167, 0.25);
}

/* Force dark regardless of system preference */
@media (prefers-color-scheme: light) {
  .diveshopos-page {
    --color-bg: #0B1A1E;
    --color-bg-secondary: #112429;
    --color-bg-tertiary: #1A3038;
    --color-text: #DEF0F2;
    --color-text-secondary: #8FB8BD;
    --color-text-tertiary: #5E8A8F;
    --color-accent: #0E9AA7;
    --color-accent-hover: #10B0BF;
    --color-border: #1A3038;
    --color-danger: #FF4059;
  }
}

/* --- Header adaptation --- */

.diveshopos-page .site-header {
  background: #0B1A1E;
  border-bottom-color: #1A3038;
}

.diveshopos-page .site-logo {
  color: #DEF0F2;
}

.diveshopos-page .site-nav a {
  color: #5E8A8F;
}

.diveshopos-page .site-nav a:hover,
.diveshopos-page .site-nav a.active {
  color: #0E9AA7;
}

/* --- Footer adaptation --- */

.diveshopos-page .site-footer {
  background: #0B1A1E;
  border-top-color: #1A3038;
}

.diveshopos-page .footer-col h4 {
  color: #5E8A8F;
}

.diveshopos-page .footer-col a {
  color: #8FB8BD;
}

.diveshopos-page .footer-col a:hover {
  color: #0E9AA7;
}

.diveshopos-page .footer-bottom {
  border-top-color: #1A3038;
}

.diveshopos-page .footer-bottom p {
  color: #5E8A8F;
}

/* --- Hero --- */

.dsos-hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dsos-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--dsos-glow) 0%, transparent 70%);
  pointer-events: none;
}

.dsos-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #DEF0F2;
  margin-bottom: 16px;
  position: relative;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.dsos-hero h1 span {
  color: #0E9AA7;
}

.dsos-hero .subtitle {
  font-size: 1.125rem;
  color: #8FB8BD;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.dsos-hero-platform {
  font-size: 0.875rem;
  color: #5E8A8F;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
}

.dsos-hero-cta {
  display: inline-block;
  background: #0E9AA7;
  color: #0B1A1E;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}

.dsos-hero-cta:hover {
  background: #10B0BF;
  box-shadow: 0 0 24px var(--dsos-glow-strong);
}

/* --- Section styling --- */

.dsos-section {
  padding: 64px 0;
  border-top: 1px solid #1A3038;
}

.dsos-section-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #0E9AA7;
  margin-bottom: 12px;
}

.dsos-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #DEF0F2;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
  border: none;
  padding: 0;
}

/* --- Features grid --- */

.dsos-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.dsos-features-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0E9AA7;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1A3038;
}

.dsos-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dsos-feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #DEF0F2;
  margin: 0 0 4px;
}

.dsos-feature-item p {
  font-size: 0.9375rem;
  color: #8FB8BD;
  line-height: 1.55;
  margin: 0;
}

/* --- Why section --- */

.dsos-why {
  background: #112429;
  border-top: 1px solid #1A3038;
  border-bottom: 1px solid #1A3038;
}

.dsos-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dsos-why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #DEF0F2;
  margin-bottom: 8px;
}

.dsos-why-item p {
  font-size: 0.9375rem;
  color: #8FB8BD;
  line-height: 1.55;
}

/* --- Specs list --- */

.dsos-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
  margin-top: 32px;
}

.dsos-spec {
  font-size: 0.9375rem;
  color: #8FB8BD;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.dsos-spec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #0E9AA7;
  opacity: 0.6;
}

/* --- CTA section --- */

.dsos-cta {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid #1A3038;
}

.dsos-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #DEF0F2;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.dsos-cta p {
  font-size: 1rem;
  color: #8FB8BD;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.dsos-cta .dsos-hero-cta {
  margin-top: 8px;
}

/* --- Disclaimer --- */

.dsos-disclaimer {
  text-align: center;
  padding: 0 0 64px;
  font-size: 0.8125rem;
  color: #5E8A8F;
  font-style: italic;
}

/* --- Responsive --- */

@media (max-width: 768px) {
  .dsos-hero {
    padding: 56px 0 48px;
  }

  .dsos-hero h1 {
    font-size: 1.875rem;
  }

  .dsos-hero .subtitle {
    font-size: 1rem;
  }

  .dsos-features {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dsos-why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .dsos-section {
    padding: 48px 0;
  }

  .dsos-cta {
    padding: 56px 0;
  }

  .dsos-cta h2 {
    font-size: 1.5rem;
  }
}
