/* Geometric cobalt concept inspired by the supplied reference. */

:root {
  --cobalt: #3157a4;
  --cobalt-deep: #24458d;
  --cobalt-soft: #dfe8fa;
  --ice: #eef3fc;
  --paper: #fbfaf7;
  --ink: #0c1730;
  --navy: #121d3a;
  --gold: #c79343;
  --gold-light: #e0b76e;
  --line: #d7deeb;
  --muted: #59667d;
  --shadow: 0 30px 90px rgba(13, 31, 70, .18);
}

body {
  background: var(--cobalt);
  color: var(--ink);
}

.eyebrow span {
  display: none;
}

.container {
  width: min(1240px, calc(100% - 56px));
}

.site-header {
  top: 22px;
  border: 0;
}

.header-inner {
  height: 78px;
  padding: 0 22px 0 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: rgba(251,250,247,.96);
  box-shadow: 0 16px 50px rgba(13,31,70,.18);
  backdrop-filter: blur(14px);
}

.brand {
  width: 210px;
  height: 70px;
}

.brand img {
  width: 215px;
  filter: none;
}

nav a { color: #556278; }
nav a:hover { color: var(--cobalt-deep); }

.button {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(199,147,67,.22);
}

.button:hover {
  background: var(--gold-light);
}

.hero {
  min-height: 930px;
  padding: 138px 0 66px;
  background:
    radial-gradient(circle at 6% 8%, rgba(255,255,255,.11), transparent 17%),
    linear-gradient(135deg, #365eaf, #2d51a0 58%, #27488e);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,.075);
  border-radius: 30px;
  transform: rotate(28deg);
}

.hero::before { left: -42px; bottom: 80px; }
.hero::after { right: 70px; top: 130px; width: 78px; height: 78px; border-radius: 20px; }

.hero-grid {
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  min-height: 690px;
  border-radius: 30px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 76px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 12%, rgba(199,147,67,.16), transparent 22%),
    linear-gradient(145deg, #101a37, #17254b);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -70px;
  border: 32px solid rgba(255,255,255,.035);
  border-radius: 55px;
  transform: rotate(38deg);
}

.hero .eyebrow { color: var(--gold-light); }

h1 {
  max-width: 670px;
  font-size: clamp(58px, 5.7vw, 82px);
}

.hero-lead { font-size: 19px; }

.hero-visual {
  max-height: none;
  aspect-ratio: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(49,87,164,.14), transparent 19%),
    linear-gradient(160deg, #fdfcf9, #eaf0fb);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}

.visual-grid {
  opacity: .24;
  background-image:
    linear-gradient(rgba(49,87,164,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49,87,164,.17) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
}

.visual-number {
  color: rgba(49,87,164,.14);
  font-size: 124px;
}

.visual-placeholder {
  z-index: 2;
}

.visual-placeholder::before {
  content: "";
  width: 240px;
  height: 280px;
  margin-bottom: 30px;
  border: 2px dashed rgba(49,87,164,.28);
  border-radius: 120px 120px 26px 26px;
  background: rgba(255,255,255,.5);
}

.visual-placeholder span { color: var(--cobalt-deep); }
.visual-placeholder strong { color: var(--ink); }

.geo-cluster {
  position: absolute;
  left: 38px;
  bottom: 128px;
  z-index: 1;
  width: 126px;
  height: 126px;
}

.geo-cluster i {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--cobalt);
  transform: rotate(34deg);
}

.geo-cluster i:nth-child(1) { left: 0; top: 40px; opacity: .9; }
.geo-cluster i:nth-child(2) { left: 37px; top: 0; opacity: .65; }
.geo-cluster i:nth-child(3) { right: 0; top: 45px; opacity: .38; }
.geo-cluster i:nth-child(4) { left: 38px; bottom: 0; opacity: .48; }
.geo-cluster i:nth-child(5) { left: 42px; top: 42px; background: var(--gold); }

.date-card {
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
  background: var(--cobalt-deep);
  border-color: rgba(255,255,255,.2);
}

.date-card span { color: rgba(255,255,255,.62); }
.date-card strong { color: var(--white); }

.hero-orbit-one {
  width: 620px;
  height: 620px;
  right: -210px;
  top: 200px;
  border-color: rgba(255,255,255,.14);
}

.hero-orbit-two {
  border-color: rgba(255,255,255,.12);
}

.proof-strip {
  padding: 0 0 70px;
  background: var(--cobalt-deep);
  border: 0;
}

.proof-grid {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.proof-grid > div { padding: 28px 32px; }
.proof-grid span { color: var(--cobalt-deep); }

.intro {
  background: var(--paper);
}

.intro .two-column {
  padding: 74px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(13,31,70,.08);
}

.eyebrow.dark { color: var(--cobalt-deep); }
.eyebrow.dark span { background: var(--gold); }

.topics-section {
  background: var(--ice);
}

.topic-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(13,31,70,.08);
}

.topic-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  border-radius: 28px;
  background: var(--cobalt-soft);
  transform: rotate(28deg);
}

.topic-card.featured {
  background: linear-gradient(145deg, var(--cobalt), var(--cobalt-deep));
  box-shadow: 0 24px 65px rgba(49,87,164,.26);
}

.topic-card.featured::after { background: rgba(255,255,255,.12); }

.speaker-section {
  padding-block: 110px;
  color: var(--ink);
  background: var(--cobalt);
}

.speaker-grid {
  padding: 26px;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portrait-placeholder {
  min-height: 580px;
  border: 0;
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(18,29,58,.12), rgba(18,29,58,.55)),
    var(--cobalt-soft);
}

.portrait-placeholder > span { color: rgba(12,23,48,.56); }
.portrait-placeholder > div {
  border-color: rgba(12,23,48,.28);
  color: var(--cobalt-deep);
  background: rgba(255,255,255,.38);
}

.speaker-copy { padding: 32px 50px 32px 0; }
.speaker-section .eyebrow { color: var(--cobalt-deep); }
.speaker-copy > p:not(.eyebrow):not(.speaker-title) { color: var(--muted); }
.speaker-title { color: #8c6224; }
.credential-list { border-top-color: var(--line); }
.credential-list div { border-bottom-color: var(--line); }
.credential-list span { color: var(--cobalt-deep); }

.register-section {
  background: var(--paper);
}

.register-copy {
  padding: 46px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--cobalt), var(--cobalt-deep));
  box-shadow: var(--shadow);
}

.register-copy .eyebrow.dark { color: var(--gold-light); }
.register-copy > p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.register-copy li::before { color: var(--gold-light); }

.registration-card {
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(13,31,70,.09);
}

input:focus, select:focus, textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(49,87,164,.12); outline: 0; }

.faq-section { background: var(--ice); }

.accordion {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

details { padding-inline: 28px; }
details:last-child { border-bottom: 0; }
summary span { color: var(--cobalt); }

.final-cta {
  padding: 120px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.13), transparent 15%),
    radial-gradient(circle at 90% 80%, rgba(199,147,67,.18), transparent 18%),
    var(--cobalt);
}

.final-cta-inner {
  padding: 72px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 32px;
  background: rgba(18,29,58,.72);
  box-shadow: var(--shadow);
}

footer { background: var(--ink); }
.footer-brand img { filter: none; }

@media (min-width: 981px) {
  .hero-grid {
    display: block;
    min-height: 690px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background:
      linear-gradient(90deg, rgba(8,19,48,.16) 0%, rgba(8,19,48,.05) 47%, transparent 64%),
      url("assets/webinar-hero-desktop.png") center / cover no-repeat;
    box-shadow: var(--shadow);
  }

  .hero-copy {
    width: 57%;
    min-height: 690px;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(8,19,48,.48), rgba(8,19,48,.08) 88%, transparent);
    box-shadow: none;
  }

  .hero-copy::before,
  .hero-visual {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero { padding-top: 126px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-visual { min-height: 640px; }
  .hero-visual { width: 100%; }
  .speaker-copy { padding: 24px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 26px, 1240px); }
  .site-header { top: 12px; }
  .header-inner { height: 68px; padding: 0 12px; border-radius: 16px; }
  .brand { width: 145px; height: 60px; }
  .brand img { width: 152px; }
  .hero { padding: 96px 0 42px; }
  .hero-copy, .hero-visual { min-height: auto; border-radius: 24px; }
  .hero-copy { padding: 44px 26px 48px; }
  h1 { font-size: clamp(48px, 15vw, 64px); }
  .hero-visual {
    min-height: 610px;
    overflow: hidden;
    background: url("assets/webinar-hero-mobile.png") 58% center / cover no-repeat;
    border: 1px solid rgba(255,255,255,.32);
  }
  .hero-visual > * { display: none !important; }
  .visual-placeholder::before { width: 190px; height: 230px; }
  .geo-cluster { left: 26px; bottom: 128px; transform: scale(.8); transform-origin: left bottom; }
  .proof-strip { padding-bottom: 42px; }
  .proof-grid { border-radius: 18px; }
  .intro .two-column { padding: 38px 26px; border-radius: 22px; }
  .speaker-grid { padding: 14px; border-radius: 24px; }
  .portrait-placeholder { min-height: 460px; }
  .speaker-copy { padding: 22px 14px 18px; }
  .register-copy { padding: 36px 26px; border-radius: 22px; }
  .final-cta-inner { padding: 46px 24px; border-radius: 24px; }
}
