/* ------------------------------
   Base + layout
   ------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #050509;
  --bg-elevated: #101018;
  --bg-soft: #181824;
  --text: #f3f3f7;
  --text-muted: #a3a3b3;
  --accent: #4c7dff;      /* tweak this to match your blue */
  --accent-soft: rgba(76, 125, 255, 0.2);
  --border-subtle: #26263a;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* Use a modern, clean sans-serif stack */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #141428 0, var(--bg) 45%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Page wrapper */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------------------------
   Typography helpers
   ------------------------------ */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  line-height: 1.6;
  color: var(--text-muted);
}

.section-header p {
  max-width: 640px;
}

/* Links */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ------------------------------
   Header / nav
   ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.95),
    rgba(5, 5, 9, 0.9),
    rgba(5, 5, 9, 0.75),
    transparent
  );
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
}

.site-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.site-logo-text {
  font-size: 0.9rem;
  /*text-transform: uppercase;*/
  letter-spacing: 0.16em;
  opacity: 0.85;
}

/* Nav */

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #82e2ff);
  transition: width 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-login {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(130, 226, 255, 0.16), transparent 60%);
}

/* ------------------------------
   Sections
   ------------------------------ */

.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ------------------------------
   Hero
   ------------------------------ */

.hero-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.2vw + 1.2rem, 3.4rem);
}

.hero-copy p {
  font-size: 1rem;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease,
    transform 120ms ease, box-shadow 120ms ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, #82e2ff, var(--accent));
  color: #050509;
  box-shadow: 0 12px 30px rgba(15, 38, 90, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 38, 90, 0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Hero visual */

.hero-visual figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: radial-gradient(circle farthest-corner, #26263f, #050509);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 16, 0.96),
    rgba(7, 7, 16, 0.98)
  );
}

/* ------------------------------
   Product section
   ------------------------------ */

.section-product {
  background: radial-gradient(circle at top left, #18182b, #06060c 55%);
}

.section-product .section-inner {
  max-width: 800px;
}

.section-product h2 {
  font-size: 1.7rem;
}

.section-product ul {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 0;
}

.section-product li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.section-product li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), #82e2ff);
}

/* ------------------------------
   Glass story
   ------------------------------ */

.section-glass-story {
  background: radial-gradient(circle at top, #17172a, #050509 55%);
}

.section-header {
  margin-bottom: 2rem;
}

.glass-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.glass-story-step {
  background: rgba(10, 10, 20, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 1.2rem;
}

.glass-story-step h3 {
  font-size: 1rem;
}

.glass-story-step p {
  font-size: 0.9rem;
}

.glass-story-image {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

.glass-story-image figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-story-image img {
  display: block;
  width: 100%;
  height: auto;
}

.glass-story-image figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 16, 0.96),
    rgba(7, 7, 16, 0.98)
  );
}

/* ------------------------------
   Sessions / videos
   ------------------------------ */

.section-sessions {
  background: #050509;
}

.session-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.session-card {
  background: rgba(11, 11, 20, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.session-card-thumb {
  background: #000;
}

/* Responsive video wrapper: 16:9 */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.session-card-body {
  padding: 1.1rem 1.2rem 1.2rem;
}

.session-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.session-card h3 {
  font-size: 1.05rem;
}

/* ------------------------------
   Pipeline
   ------------------------------ */

.section-pipeline {
  background: radial-gradient(circle at top left, #17172a, #050509 55%);
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pipeline-item {
  background: rgba(11, 11, 20, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 1.2rem;
}

/* ------------------------------
   Audiences
   ------------------------------ */

.section-audiences {
  background: #050509;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background: rgba(11, 11, 20, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 1.3rem;
}

/* ------------------------------
   Philosophy
   ------------------------------ */

.section-philosophy {
  background: radial-gradient(circle at top, #17172a, #050509 60%);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.philosophy-visual img {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
}

/* ------------------------------
   CTA
   ------------------------------ */

.section-cta {
  background: #050509;
  padding-bottom: 5rem;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
}

.cta-inner h2 {
  font-size: 1.9rem;
}

.cta-actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ------------------------------
   Footer
   ------------------------------ */

.site-footer {
  margin-top: auto;
  padding: 1.5rem 1.5rem 2.5rem;
  background: #050509;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ------------------------------
   Responsive tweaks
   ------------------------------ */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-section {
    padding-top: 5rem;
  }

  .glass-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .glass-story-image {
    grid-column: auto;
  }

  .session-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .pipeline-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .philosophy-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    font-size: 0.82rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 1.25rem;
  }

  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-inner {
    padding-inline: 1.1rem;
  }
}
