/* ============================================================
   infused Ideas — Site Stylesheet
   Brand: Teal #069ba4 · Black #060b15
   ============================================================ */

:root {
  --teal: #069ba4;
  --teal-bright: #0bc2cc;
  --teal-deep: #04747b;
  --ink: #060b15;
  --ink-2: #0b1424;
  --ink-3: #101d33;
  --white: #ffffff;
  --paper: #f6f8fa;
  --vid-back: #fefefe;
  --text-on-dark: #e8eef4;
  --muted-on-dark: #9db0c0;
  --muted-on-light: #4a5a6a;
  --grad-hero: linear-gradient(135deg, #060b15 0%, #0b1a2e 55%, #06555c 100%);
  --grad-header: linear-gradient(90deg, rgba(23, 116, 125, 0.92) 0%, rgba(9, 26, 40, 0.92) 60%, rgba(19, 137, 148, 0.88) 100%);
  --grad-section: linear-gradient(160deg, #060b15 0%, #0c1b2f 60%, #0a3f45 100%);
  --grad-accent: linear-gradient(90deg, #069ba4, #0bc2cc);
  --grad-card: linear-gradient(150deg, #0d1727 0%, #0f2233 100%);
  --sea-foam: linear-gradient(160deg, #ddf3f5 0%, #8fccd2 100%); 
  --radius: 18px;
  --shadow: 0 18px 50px rgba(4, 10, 20, 0.35);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--vid-back);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 194, 204, 0.18);
}
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: 42px; object-fit: contain; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 900; font-size: 1.375rem; color: var(--white); }
.brand-name .infused { color: var(--ink); font-style: italic; }
.brand-name .ideas { color: var(--teal-bright); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-bright); }
.nav-links a.active { color: #ff0c00; }
.nav-links .nav-cta {
  background: var(--grad-accent); color: var(--ink); font-weight: 700;
  padding: 10px 20px; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-links .nav-cta:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6, 155, 164, 0.4); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--teal-bright); margin: 6px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero (video banner + intro band) ---------- */
.hero {
  position: relative; margin-top: 72px; background: #fbfcfd; overflow: hidden;
  border-bottom: 1px solid rgba(6, 155, 164, 0.12);
}
.hero-video {
  display: block; width: 100%; height: auto;
  max-height: 82vh; object-fit: cover; object-position: 100% 30%;
}
/* Scrim hides the video's baked-in (soft) text; crisp HTML text is drawn on top */
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    #fafcfc 0%, #fafcfc 48%,
    rgba(250, 252, 252, 0.55) 58%,
    rgba(250, 252, 252, 0) 70%);
}
.hero-brand-text {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding-left: clamp(20px, 6.5vw, 96px); padding-right: 46%;
}
.hbt-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(2.1rem, 6.2vw, 4.6rem); letter-spacing: -0.015em;
  line-height: 1.05; white-space: nowrap;
}
.hbt-infused { color: #131c26; }
.hbt-ideas { color: var(--teal); }
.hbt-sub {
  margin-top: clamp(8px, 1.4vw, 18px);
  font-size: clamp(0.72rem, 1.55vw, 1.28rem); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #3d4b58;
  white-space: nowrap;
}
.hbt-tag {
  margin-top: clamp(10px, 2vw, 30px);
  font-size: clamp(0.8rem, 1.5vw, 1.3rem); line-height: 1.5; color: #55636f;
}
.hero-intro {
  background: var(--grad-hero); position: relative; overflow: hidden;
  display: flex; justify-content: center;
}
.hero-intro::after {
  content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 194, 204, 0.16), transparent 60%);
  top: -260px; right: -160px;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 84px 24px; max-width: 900px; }
.hero-kicker {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(11, 194, 204, 0.5); color: var(--teal-bright);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(6, 11, 21, 0.5); margin-bottom: 26px;
}
.hero-intro h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--white); margin-bottom: 22px; }
.hero-intro h1 .grad-text { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-intro p { color: var(--text-on-dark); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 700px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; border: 0; font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--grad-accent); color: var(--ink); }
.btn-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6, 155, 164, 0.45); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { color: var(--teal-bright); border-color: var(--teal-bright); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--teal-bright); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--grad-section); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-light { background: var(--paper); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--teal-bright); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--muted-on-light); }
.section-dark .section-head p { color: var(--muted-on-dark); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: 0 8px 30px rgba(6, 11, 21, 0.08);
  border: 1px solid rgba(6, 11, 21, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(6, 11, 21, 0.14); }
.card h3 { font-size: 1.3rem; margin: 18px 0 10px; color: var(--ink); }
.card p { color: var(--muted-on-light); font-size: 0.98rem; }

.card-dark {
  background: var(--grad-card); border: 1px solid rgba(11, 194, 204, 0.16);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform 0.25s, border-color 0.25s;
}
.card-dark:hover { transform: translateY(-6px); border-color: rgba(11, 194, 204, 0.5); }
.card-dark h3 { color: var(--white); font-size: 1.3rem; margin: 18px 0 10px; }
.card-dark p { color: var(--muted-on-dark); font-size: 0.98rem; }

.icon-chip {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 155, 164, 0.15), rgba(11, 194, 204, 0.25));
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.5rem;
}
.card-dark .icon-chip { color: var(--teal-bright); }

.card-img { border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.card-img img { width: 100%; height: 200px; object-fit: cover; }

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.link-arrow::after { content: '→'; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Split feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 44px 0;
}
.feature-row2 {
  display: grid; grid-template-columns: 1fr 3fr 1fr; align-items: center;
  padding: 44px 0;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-copy h3 { font-size: 1.75rem; margin-bottom: 14px; }
.feature-copy p { margin-bottom: 14px; }
.feature-copy ul { margin: 0 0 16px 20px; }
.feature-copy li { margin-bottom: 8px; }
.section-dark .feature-copy li { color: var(--muted-on-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-hero); border-radius: 24px;
  padding: 64px 48px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 194, 204, 0.25), transparent 65%);
  top: -200px; right: -120px;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--text-on-dark); max-width: 640px; margin: 0 auto 30px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat h3 { font-size: 2.4rem; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--muted-on-dark); font-size: 0.92rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--grad-hero); color: var(--white);
  padding: 170px 0 90px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 194, 204, 0.18), transparent 60%);
  bottom: -300px; right: -150px;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 18px; position: relative; z-index: 1; }
.page-hero p { color: var(--text-on-dark); font-size: 1.15rem; max-width: 720px; position: relative; z-index: 1; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted-on-dark); position: relative; z-index: 1; }
.breadcrumbs a { color: var(--teal-bright); }

/* ---------- Before / After ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-item { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.ba-label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ba-label.before { background: rgba(6, 11, 21, 0.85); color: #ffb4a2; }
.ba-label.after { background: var(--grad-accent); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white); border-radius: 14px; margin-bottom: 14px;
  border: 1px solid rgba(6, 11, 21, 0.08); overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Space Grotesk', sans-serif;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--teal); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: var(--muted-on-light); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border-radius: 10px; font-size: 1rem;
  border: 1.5px solid rgba(6, 11, 21, 0.15); font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s; background: var(--paper);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6, 155, 164, 0.15);
  background: var(--white);
}
.form-note { font-size: 0.85rem; color: var(--muted-on-light); margin-top: 14px; }
.form-error { color: #c0392b; font-size: 0.9rem; margin-top: 10px; display: none; }
.form-success { color: var(--teal-deep); font-weight: 600; margin-top: 10px; display: none; }

/* ---------- Portal ---------- */
.portal-shell { min-height: 100vh; background: var(--grad-hero); display: flex; flex-direction: column; }
.portal-status {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.status-active { background: rgba(11, 194, 204, 0.15); color: var(--teal-bright); border: 1px solid rgba(11, 194, 204, 0.4); }
.status-done { background: rgba(120, 220, 150, 0.15); color: #7bdc96; border: 1px solid rgba(120, 220, 150, 0.4); }
.status-pending { background: rgba(255, 200, 120, 0.15); color: #ffc878; border: 1px solid rgba(255, 200, 120, 0.4); }

.timeline { list-style: none; margin: 20px 0; }
.timeline li {
  position: relative; padding: 0 0 26px 34px; border-left: 2px solid rgba(11, 194, 204, 0.3);
  margin-left: 10px;
}
.timeline li::before {
  content: ''; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--grad-accent); box-shadow: 0 0 0 4px rgba(11, 194, 204, 0.18);
}
.timeline li.upcoming::before { background: var(--ink-3); border: 2px solid rgba(11, 194, 204, 0.4); }
.timeline h4 { color: var(--white); margin-bottom: 4px; }
.timeline p { color: var(--muted-on-dark); font-size: 0.94rem; }
.timeline .t-date { font-size: 0.8rem; color: var(--teal-bright); font-weight: 600; letter-spacing: 0.05em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grad-header);
  color: var(--text-on-dark); padding: 30px 0 30px;
  border-top: 3px solid var(--teal);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; margin-bottom: 44px; text-align: center; }
.footer-brand img { height: 46px; margin-bottom: 14px; align-items: center;}
.footer-brand p { font-size: 0.92rem; max-width: 300px; text-align: center !important;}
.site-footer h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--text-on-dark); font-size: 0.92rem; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom .infused { color: var(--ink); font-style: italic; }
.footer-bottom .ideas { color: var(--teal); }
.footer-grid .infused { color: var(--ink); font-style: italic; }
.footer-grid .ideas { color: var(--teal); }

/* ---------- Responsive ---------- */

/* Tablet & below: collapse nav to hamburger (desktop nav needs ~1050px to breathe).
   Scoped to .site-header so the portal header's inline links are unaffected. */
@media (max-width: 1023.98px) {
  .site-header .nav-toggle { display: block; }
  .site-header .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    /*background: linear-gradient(180deg, rgb(6, 11, 21), rgb(8, 30, 40)); */
    background: var(--sea-foam);
    flex-direction: column; align-items: flex-start; padding: 28px 32px; gap: 22px;
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 99;
    border-bottom: 1px solid rgba(11, 194, 204, 0.2);
  }
  .site-header .nav-links.open { transform: translateY(0); }
}

/* Tablet: two-column grids, stacked feature rows and before/after pair */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-media { order: 0; }
  .ba-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Phone: single column, centered footer */
@media (max-width: 767.98px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-band { padding: 46px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { max-width: none; }
  .footer-bottom {
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 8px;
  }
}
