

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

html, body {
  height: 100%;
}

:root {
  --c-bg: #0a0e27;
  --c-fg: #f5f7fa;
  --c-muted: #a8aec8;
  --c-accent: #00d4ff;
  --c-accent-dark: #0099ff;
  --c-surface: #141829;
  --c-surface-light: #1a2038;
  --c-border: #2d3561;
  
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
}

html {
  background-color: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  background-color: var(--c-bg);
  color: var(--c-fg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

p {
  line-height: 1.7;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--c-accent-dark);
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.header {
  background-color: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-3) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-fg);
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-4);
  display: flex;
  flex-direction: column;
}

.section {
  padding-block: var(--space-6);
}

.section.hero {
  padding-block: var(--space-6);
  min-height: 70svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.13) 0%, transparent 70%);
  top: -180px;
  right: -80px;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,153,255,0.10) 0%, transparent 70%);
  bottom: -150px;
  left: -80px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.20);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.80rem;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 6px var(--c-accent);
  animation: pulse-badge 2s ease-in-out infinite;
}

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

.hero-title {
  color: var(--c-fg);
  line-height: 1.1;
}

.hero-em {
  font-style: normal;
  background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--c-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-fg);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--c-border);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Dashboard widget ── */
.hero-dashboard {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--space-3);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,212,255,0.06);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.dash-dots { display: flex; gap: 5px; }

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot--r { background: #ff5f57; }
.dash-dot--y { background: #ffbd2e; }
.dash-dot--g { background: #28c840; }

.dash-title {
  flex: 1;
  font-size: 0.78rem;
  color: var(--c-muted);
  text-align: center;
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #28c840;
  font-weight: 600;
}

.dash-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40,200,64,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(40,200,64,0); }
}

.dash-health {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--c-surface-light);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: var(--space-2) var(--space-3);
}

.dash-ring {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.dash-health-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-hm-title  { font-size: 0.85rem; font-weight: 600; color: var(--c-fg); }
.dash-hm-status { font-size: 0.75rem; color: #28c840; font-weight: 500; }
.dash-hm-hint   { font-size: 0.72rem; color: var(--c-muted); }

.dash-devices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-device {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.dash-dl {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 130px;
  font-size: 0.78rem;
  color: var(--c-fg);
}

.dash-dot-s {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-dot-s--on {
  background: var(--c-accent);
  box-shadow: 0 0 5px var(--c-accent);
}

.dash-dot-s--idle { background: var(--c-muted); }

.dash-bar-t {
  flex: 1;
  height: 5px;
  background: rgba(45,53,97,0.8);
  border-radius: 100px;
  overflow: hidden;
}

.dash-bar {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #0099ff);
  border-radius: 100px;
}

.dash-bar--idle { background: var(--c-muted); }

.dash-val {
  font-size: 0.75rem;
  color: var(--c-muted);
  min-width: 30px;
  text-align: right;
}

.dash-insight {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--c-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--c-accent);
  color: var(--c-bg);
}

.btn-primary:hover {
  background-color: var(--c-accent-dark);
}

.btn-secondary {
  background-color: var(--c-surface-light);
  color: var(--c-fg);
  border: 1px solid var(--c-border);
}

.btn-secondary:hover {
  background-color: var(--c-surface);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--c-fg);
  margin-bottom: var(--space-2);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--c-muted);
  margin-bottom: var(--space-5);
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.section.capabilities {
  background-color: var(--c-bg);
}

.section.how-it-works {
  background-color: var(--c-surface);
}

.section.features {
  background-color: var(--c-bg);
}

.section.metrics {
  background-color: var(--c-surface);
}

.section.products {
  background-color: var(--c-bg);
}

.section.testimonials {
  background-color: var(--c-surface);
}

.section.faq {
  background-color: var(--c-bg);
}

.section.contact {
  background-color: var(--c-surface);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}

.capability-card {
  background-color: var(--c-surface-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  transition: all 0.3s ease;
}

.capability-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
  transform: translateY(-4px);
}

.capability-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.capability-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--c-bg);
  display: block;
}

.capability-title {
  color: var(--c-fg);
  font-size: 1.25rem;
}

.capability-desc {
  color: var(--c-muted);
  font-size: 0.95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.step {
  background-color: var(--c-surface-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-title {
  color: var(--c-fg);
  font-size: 1.25rem;
}

.step-desc {
  color: var(--c-muted);
  font-size: 0.95rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
}

.feature-item {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-align: center;
  background-color: var(--c-surface-light);
  border: 1px solid var(--c-border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-2);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--c-bg);
  display: block;
}

.feature-item h4 {
  color: var(--c-fg);
  margin-bottom: var(--space-1);
}

.feature-item p {
  color: var(--c-muted);
  font-size: 0.9rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  text-align: center;
}

.metric {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.metric-value {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-top: var(--space-2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-4);
}

.product-card {
  background-color: var(--c-surface-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  transition: all 0.2s ease;
}

.product-card.featured {
  border-color: var(--c-accent);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.featured-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background-color: var(--c-accent);
  color: var(--c-bg);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
}

.product-img,
.product-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-placeholder {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

.product-title {
  color: var(--c-fg);
  font-size: 1.5rem;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-period {
  font-size: 0.875rem;
  color: var(--c-muted);
}

.product-description {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-features-label {
  color: var(--c-fg);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--space-1);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-features li {
  color: var(--c-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.product-features li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: bold;
  flex-shrink: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}

.testimonial-card {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.testimonial-text {
  color: var(--c-fg);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-text::before {
  content: '"';
  color: var(--c-accent);
  font-size: 2rem;
  opacity: 0.3;
}

.testimonial-author {
  color: var(--c-accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background-color: var(--c-surface-light);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.faq-question {
  color: var(--c-fg);
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.faq-answer {
  color: var(--c-muted);
  line-height: 1.7;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.contact-item {
  background-color: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--c-bg);
  display: block;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-detail h4 {
  color: var(--c-fg);
  font-size: 1.1rem;
}

.contact-detail a,
.contact-detail p {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-detail a:hover {
  color: var(--c-accent);
}

.footer {
  background-color: var(--c-surface);
  border-top: 1px solid var(--c-border);
  margin-top: var(--space-6);
}

.footer-content {
  max-width: 1400px;
  margin-inline: auto;
  padding: var(--space-6) var(--space-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-section h5 {
  color: var(--c-fg);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-section a {
  color: var(--c-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--c-border);
  padding-top: var(--space-4);
  text-align: center;
  color: var(--c-muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-cta {
    gap: var(--space-2);
  }

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

  .hero-dashboard {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: var(--space-4);
  }

  .section.hero {
    min-height: auto;
    padding-block: var(--space-5);
  }

  .header-content {
    padding-inline: var(--space-3);
  }

  .container {
    padding-inline: var(--space-3);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-visual {
    margin-top: 0;
  }

  .section-title {
    margin-bottom: var(--space-3);
  }

  .section-lead {
    margin-bottom: var(--space-4);
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-item {
    padding: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.btn-primary:hover { color: #ffffff !important; }

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
.btn-primary:hover { color: #ffffff !important; }

/* wh-img-fill */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
