/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050810;
  color: #f5f7fb;
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: radial-gradient(circle at top left, #111828, #050810);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

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

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 16, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: none;
  letter-spacing: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0.8;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
  background: rgba(148, 163, 184, 0.2);
}

.nav-cta {
  border: 1px solid rgba(248, 250, 252, 0.85);
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(circle at top left, #1f2937, transparent 55%),
    radial-gradient(circle at bottom right, #020617, #020617);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

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

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-footnote {
  font-size: 0.8rem;
  max-width: 32rem;
  color: #9ca3af;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #f9fafb;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn.secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* Hero card */

.hero-card {
  display: flex;
  justify-content: center;
}

.device-card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617);
  border-radius: 1.25rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  max-width: 22rem;
}

.device-title {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.device-copy {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Conceptual device illustration */

.device-illustration {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.8rem;
}

.device-illustration .cup {
  position: relative;
  width: 120px;
  height: 140px;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.3));
  overflow: hidden;
}

/* Stylized streams inside the cup */

.device-illustration .stream {
  position: absolute;
  bottom: 0;
  width: 28px;
  border-radius: 999px 999px 0 0;
  opacity: 0.9;
}

.device-illustration .stream.initial {
  left: 18px;
  height: 55%;
  background: linear-gradient(to top, rgba(244, 114, 182, 0.95), rgba(248, 250, 252, 0.1));
}

.device-illustration .stream.clean {
  right: 18px;
  height: 75%;
  background: linear-gradient(to top, rgba(56, 189, 248, 0.95), rgba(248, 250, 252, 0.1));
}

/* Legend below the cup */

.device-illustration-legend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot.initial {
  background: rgba(244, 114, 182, 0.95);
}

.legend-dot.clean {
  background: rgba(56, 189, 248, 0.95);
}

.legend-label {
  color: #e5e7eb;
  font-size: 0.78rem;
}

.device-illustration-caption {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  color: #9ca3af;
}


.device-list {
  padding-left: 1.2rem;
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.device-note {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Sections */

.section h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.section p {
  max-width: 48rem;
  color: #e5e7eb;
}

.section-alt p {
  color: #d1d5db;
}

/* Lists */

.steps-list {
  padding-left: 1.3rem;
  margin: 0;
}

.steps-list li {
  margin-bottom: 0.5rem;
}

.use-cases {
  padding-left: 1.2rem;
  margin: 0;
}

.use-cases li {
  margin-bottom: 0.5rem;
}

/* Callouts */

.callout {
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.9rem;
}

.callout.soft {
  background: rgba(15, 23, 42, 0.7);
}

.callout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Status */

.status-warning {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(248, 250, 252, 0.18);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
  font-size: 0.9rem;
}

/* Contact */

.contact-email a {
  font-size: 1rem;
  font-weight: 500;
  color: #38bdf8;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.8rem 0 2.4rem;
  background: #020617;
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-sub {
  max-width: 40rem;
  margin: 0.3rem auto 0;
}




/* Hero layout: 2 cards + centered text */

.hero {
  padding: 3rem 1.5rem 3.5rem;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* Center column */



.hero-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Center logo sizing */

.center-logo-frame {
  max-width: 180px;          /* controls how big the logo can get */
  margin: 0 auto 0.05rem;    /* center + a little space below */
}

.center-logo-img {
  display: block;
  width: 100%;               /* fill the small frame */
  height: auto;              /* keep the aspect ratio */
}


.hero-kicker {
  font-size: clamp(2.1rem, 3vw, 3.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f13bd3;
  margin-bottom: 0.1rem;
}

.hero-kicker-sub {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(1.9rem, 2.4vw, 2.2rem);
  color: #5aaed4;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #d1d5db;
  max-width: 30rem;
  margin: 0 auto 0.75rem;
}

.hero-patent {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Hero cards reuse your existing device-card styling */

.hero-card {
  display: flex;
}

.hero-card .device-card {
  width: 100%;
}

.hero-card--left .device-card,
.hero-card--right .device-card {
  height: 100%;
}

/* Prototype image styling */

.prototype-image-frame {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.3));
  padding: 0.6rem;
}

.prototype-image {
  display: block;
  width: 100%;
  border-radius: 0.65rem;
  object-fit: cover;
}

/* Responsive stacking for smaller screens */

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

  .hero-center {
    order: 1;
  }

  .hero-card--left {
    order: 2;
  }

  .hero-card--right {
    order: 3;
  }

  .hero-title {
    font-size: 1.7rem;
  }
}
