:root {
  --navy-900: #0e1a36;
  --navy-800: #18264a;
  --navy-700: #1f3160;
  --navy-100: #e6ecf5;
  --blue-200: #a8c5e0;
  --blue-300: #6f9bc7;
  --amber-500: #d97843;
  --amber-600: #c46535;
  --amber-100: #fbe7d8;
  --cream: #f6f3ee;
  --ivory: #fbf9f5;
  --ink: #0b1226;
  --muted: #6b7387;
  --line: rgba(14, 26, 54, 0.08);
  --radius: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(14, 26, 54, 0.25);
  --shadow-sm: 0 6px 18px -8px rgba(14, 26, 54, 0.2);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--navy-900);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--navy-800);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(217, 120, 67, 0.08), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(31, 49, 96, 0.06), transparent 50%),
    var(--ivory);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 22px;
}

.eyebrow-light { color: var(--amber-500); }

h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(14, 26, 54, 0.2);
}

.btn-ghost:hover {
  background: var(--navy-900);
  color: var(--ivory);
}

/* ---------- Hero visual ---------- */
.hero-visual {
  position: relative;
  height: 540px;
}

.hero-model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(1.05) contrast(1.02);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.hero-trio {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 70%;
  max-width: 360px;
  z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(14, 26, 54, 0.35));
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}

.section-light { background: var(--ivory); }

.section-dark {
  background: var(--navy-900);
  color: var(--navy-100);
}

.section-accent {
  background: linear-gradient(135deg, var(--cream), var(--amber-100));
}

.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.section-dark h2 { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

.section-head.center .section-sub { margin: 0 auto; }

.section-dark .section-sub { color: rgba(230, 236, 245, 0.7); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
}

.two-col p + p { margin-top: 14px; }
.two-col p { color: var(--muted); font-size: 1.05rem; }

.center-v { align-items: center; }

/* ---------- Spectrum list ---------- */
.spectrum-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.spectrum-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--navy-800);
  font-weight: 500;
}

.dot {
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px rgba(14, 26, 54, 0.3);
}

.dot-fine { background: radial-gradient(circle at 30% 30%, #d4e3f1, #6f9bc7); }
.dot-mid { background: radial-gradient(circle at 30% 30%, #6f9bc7, #1f3160); }
.dot-mid-strong { background: radial-gradient(circle at 30% 30%, #4d7ba8, #0e1a36); }
.dot-deep { background: radial-gradient(circle at 30% 30%, #f0a67a, #a14a1c); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 236, 245, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 120, 67, 0.4);
}

.product-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 0;
}

.product-visual img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
  z-index: 1;
  position: relative;
}

.product-card:hover .product-visual img {
  transform: translateY(-4px) scale(1.03);
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.product-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--amber-500) !important;
  margin-bottom: 14px !important;
}

.product-fine .product-visual {
  background: linear-gradient(160deg, #d4e3f1 0%, #6f9bc7 100%);
}

.product-mid .product-visual {
  background: linear-gradient(160deg, #2d4577 0%, #0e1a36 100%);
}

.product-deep .product-visual {
  background: linear-gradient(160deg, #f0a67a 0%, #a14a1c 100%);
}

.product-body { padding: 28px; }

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 10px;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 14px;
}

.product-card p {
  color: rgba(230, 236, 245, 0.75);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.product-meta {
  border-top: 1px solid rgba(230, 236, 245, 0.12);
  padding-top: 18px;
  margin: 0;
}

.product-meta dt {
  color: rgba(230, 236, 245, 0.5);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-meta dd {
  color: var(--navy-100);
  font-size: 0.9rem;
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.product-meta dd:last-child { margin-bottom: 0; }

/* ---------- PUREMATRIX network diagram ---------- */
.network-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 70px;
}

.network-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.network-card-result {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border-color: var(--navy-900);
  color: #fff;
}

.network-symbol {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.network-symbol-result {
  background: var(--amber-500);
  color: #fff;
}

.network-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.network-card-result h4 { color: #fff; }

.network-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.network-card-result p { color: rgba(255, 255, 255, 0.78); }

.network-operator {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--amber-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Ensures list ---------- */
.ensures {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 44px;
}

.ensures-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: 24px;
}

.ensures-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
}

.ensures-list li {
  position: relative;
  padding-left: 26px;
  color: var(--navy-800);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ensures-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 30% 30%, #6f9bc7, var(--navy-900));
}

/* ---------- Science visual ---------- */
.science-visual {
  position: relative;
}

.science-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.science-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--line);
  font-weight: 500;
}

/* ---------- Pro CTA card ---------- */
.cta-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
}

.contact-form label.full { margin-bottom: 24px; }

.contact-form span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #fff;
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--amber-600);
}

.form-status.success { color: #2a8a4a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--navy-100);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(230, 236, 245, 0.08);
}

.brand-footer {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.site-footer h5 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 236, 245, 0.6);
  margin-bottom: 16px;
  font-weight: 500;
}

.site-footer a,
.site-footer span {
  display: block;
  font-size: 0.95rem;
  color: rgba(230, 236, 245, 0.75);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--amber-500); }

.muted { color: rgba(230, 236, 245, 0.55); }

.small { font-size: 0.82rem !important; line-height: 1.5; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats { gap: 28px; }
  .stat strong { font-size: 1.6rem; }
  .hero-visual { height: 420px; }
  .hero-trio { width: 60%; max-width: 280px; right: -10px; bottom: -20px; }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .network-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .network-operator { padding: 4px 0; font-size: 1.6rem; }
  .ensures-list { grid-template-columns: 1fr; }
  .ensures { padding: 32px 26px; }
  .section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .science-visual { min-height: 320px; }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .nav { height: 64px; }
  .brand { font-size: 1.25rem; }
  .cta-card,
  .contact-form { padding: 26px; }
}
