/* ==========================================================================
   Custom overrides for static Stablecon copy
   ========================================================================== */

/* --- Fix for stretched Elementor sections / horizontal overflow ---------- */
.elementor-section.elementor-section-stretched{
  width:100vw !important;
  left:50% !important;
  right:auto !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  max-width:100vw !important;
}
html,body{ overflow-x:hidden; }
html{ scroll-behavior:smooth; }

/* Anchor target offset so the sticky header doesn't cover the section */
#learn-more{ scroll-margin-top:90px; }

/* ==========================================================================
   Registration modal
   ========================================================================== */
:root{
  --cw-bg:#050b14;
  --cw-panel:#0e1a2b;
  --cw-panel-2:#0a121e;
  --cw-border:#1f3a5c;
  --cw-text:#f2f7ff;
  --cw-muted:#9fb2cc;
  --cw-accent:#0056a7;
  --cw-accent-2:#1578f7;
  --cw-error:#ff6b6b;
  --cw-radius:14px;
}

.cw-modal-overlay{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:24px 16px;
  background:rgba(3,7,18,.72);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  overflow-y:auto;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.cw-modal-overlay.cw-open{
  opacity:1;
  visibility:visible;
}

.cw-modal{
  position:relative;
  width:100%;
  max-width:640px;
  margin:auto;
  background:var(--cw-panel);
  color:var(--cw-text);
  border:1px solid var(--cw-border);
  border-radius:var(--cw-radius);
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  padding:36px 34px 30px;
  transform:translateY(16px) scale(.98);
  transition:transform .25s ease;
  font-family:"nexa", "Helvetica", Arial, sans-serif;
}
.cw-modal-overlay.cw-open .cw-modal{
  transform:translateY(0) scale(1);
}

.cw-modal-overlay .cw-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none !important;
  outline:none;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:var(--cw-muted) !important;
  font-size:24px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  border-radius:8px;
  transition:background .15s ease, color .15s ease;
  -webkit-appearance:none;
  appearance:none;
}
.cw-modal-overlay .cw-modal-close:hover,
.cw-modal-overlay .cw-modal-close:focus{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  box-shadow:none !important;
}

.cw-modal-title{
  margin:0 0 6px;
  font-size:26px;
  font-weight:700;
  color:#fff;
  line-height:1.2;
}
.cw-modal-sub{
  margin:0 0 22px;
  font-size:15px;
  color:var(--cw-muted);
  line-height:1.5;
}

.cw-field{ margin-bottom:20px; }
.cw-field > label,
.cw-group-label{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600;
  color:var(--cw-text);
  line-height:1.45;
}
.cw-req{ color:var(--cw-accent-2); }

.cw-field input[type="text"],
.cw-field input[type="tel"],
.cw-field input[type="email"]{
  width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  background:var(--cw-panel-2);
  border:1px solid var(--cw-border);
  border-radius:10px;
  color:var(--cw-text);
  font-size:15px;
  font-family:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.cw-field input::placeholder{ color:#5f6f8c; }
.cw-field input:focus{
  outline:none;
  border-color:var(--cw-accent-2);
  box-shadow:0 0 0 3px rgba(21,120,247,.30);
}
.cw-field input.cw-invalid{
  border-color:var(--cw-error);
  box-shadow:0 0 0 3px rgba(255,107,107,.18);
}

.cw-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 18px;
}
.cw-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:14px;
  font-weight:400;
  color:var(--cw-text);
  cursor:pointer;
  line-height:1.35;
}
.cw-check input{
  margin:2px 0 0;
  width:17px;
  height:17px;
  accent-color:var(--cw-accent-2);
  flex:0 0 auto;
  cursor:pointer;
}

.cw-error{
  display:block;
  margin-top:6px;
  font-size:12.5px;
  color:var(--cw-error);
  min-height:0;
}

.cw-form-status{
  margin:4px 0 14px;
  font-size:14px;
  color:var(--cw-error);
  min-height:0;
}

.cw-submit{
  display:inline-block;
  width:100%;
  padding:14px 20px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,var(--cw-accent),var(--cw-accent-2));
  color:#fff;
  font-size:16px;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:filter .15s ease, transform .05s ease;
}
.cw-submit:hover{ filter:brightness(1.08); }
.cw-submit:active{ transform:translateY(1px); }
.cw-submit:disabled{ opacity:.6; cursor:not-allowed; }

body.cw-modal-active{ overflow:hidden; }

/* Mobile */
@media (max-width:560px){
  .cw-modal{ padding:30px 20px 24px; }
  .cw-modal-title{ font-size:22px; }
  .cw-options{ grid-template-columns:1fr; }
}

/* ==========================================================================
   Thank-you page (thank-you.html)
   ========================================================================== */
.cw-ty-body{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  background:#04080f;
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(21,120,247,.35), transparent 60%),
    radial-gradient(1000px 500px at 50% 110%, rgba(0,86,167,.35), transparent 60%);
  background-size:auto, auto;
  background-position:center, center;
  background-repeat:no-repeat;
  color:#fff;
  font-family:"nexa", "Helvetica", Arial, sans-serif;
  box-sizing:border-box;
}
.cw-ty-card{
  width:100%;
  max-width:640px;
  text-align:center;
}
.cw-ty-logo{
  width:360px;
  max-width:80%;
  height:auto;
  margin:0 auto 40px;
  display:block;
}
.cw-ty-check{
  width:88px;
  height:88px;
  margin:0 auto 28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  line-height:1;
  color:#fff;
  background:linear-gradient(135deg,#0056a7,#1578f7);
  box-shadow:0 12px 40px rgba(0,86,167,.5);
}
.cw-ty-title{
  margin:0 0 16px;
  font-size:56px;
  font-weight:700;
  line-height:1.05;
  text-transform:uppercase;
  background:linear-gradient(90deg,#1578f7,#5aa9ff);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}
.cw-ty-text{
  margin:0 auto 36px;
  max-width:520px;
  font-size:17px;
  line-height:1.6;
  color:#cfe0f5;
}
.cw-ty-home{
  display:inline-block;
  padding:14px 34px;
  border-radius:100px;
  font-size:16px;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  background:linear-gradient(274deg,#0056a7 0%,#1578f7 100%);
  transition:filter .15s ease, transform .05s ease;
}
.cw-ty-home:hover{ filter:brightness(1.12); }
.cw-ty-home:active{ transform:translateY(1px); }

@media (max-width:560px){
  .cw-ty-title{ font-size:38px; }
  .cw-ty-text{ font-size:15px; }
  .cw-ty-check{ width:72px; height:72px; font-size:36px; }
}

/* ==========================================================================
   USA info section (stats + speakers + testimonials)
   ========================================================================== */
.cw-usa{
  background:#04080f;
  background-image:
    radial-gradient(900px 500px at 15% -10%, rgba(21,120,247,.20), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(0,86,167,.22), transparent 60%);
  color:#fff;
  padding:72px 20px;
  font-family:"nexa","Helvetica",Arial,sans-serif;
}
.cw-usa-inner{ max-width:1180px; margin:0 auto; }

.cw-usa-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  text-align:center;
  padding-bottom:56px;
  margin-bottom:56px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.cw-usa-stat .num{
  font-size:56px;
  font-weight:700;
  line-height:1;
  background:linear-gradient(90deg,#1578f7,#5aa9ff);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
.cw-usa-stat .label{
  margin-top:10px;
  font-size:15px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#b7c7de;
}

.cw-usa-title{
  text-align:center;
  font-size:14px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#7f97b8;
  margin:0 0 34px;
}

.cw-speakers{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
  margin-bottom:64px;
}
.cw-speaker{ text-align:center; }
.cw-speaker img{
  width:100%;
  max-width:170px;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:50%;
  border:2px solid rgba(21,120,247,.45);
  background:#0e1a2b;
  margin:0 auto 14px;
  display:block;
}
.cw-speaker .name{ font-size:17px; font-weight:700; color:#fff; }
.cw-speaker .role{
  margin-top:4px;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#9fb2cc;
}

.cw-quotes{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.cw-quote{
  background:#0e1a2b;
  border:1px solid #1f3a5c;
  border-left:4px solid #1578f7;
  border-radius:12px;
  padding:26px 24px;
  font-size:15px;
  line-height:1.6;
  color:#dbe7f7;
}

@media (max-width:900px){
  .cw-speakers{ grid-template-columns:repeat(3,1fr); }
  .cw-quotes{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .cw-usa{ padding:52px 16px; }
  .cw-usa-stats{ grid-template-columns:1fr; gap:32px; }
  .cw-usa-stat .num{ font-size:46px; }
  .cw-speakers{ grid-template-columns:repeat(2,1fr); }
}

/* ==========================================================================
   At-A-Glance agenda section
   ========================================================================== */
.cw-agenda{
  background:#060d18;
  color:#fff;
  padding:72px 20px;
  font-family:"nexa","Helvetica",Arial,sans-serif;
}
.cw-agenda-inner{ max-width:1180px; margin:0 auto; }
.cw-agenda-heading{
  text-align:center;
  font-size:14px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#7f97b8;
  margin:0 0 8px;
}
.cw-agenda-sub{
  text-align:center;
  font-size:30px;
  font-weight:700;
  margin:0 0 44px;
  color:#fff;
}
.cw-agenda-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.cw-day{
  background:#0e1a2b;
  border:1px solid #1f3a5c;
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.cw-day-head{
  background:linear-gradient(135deg,#0056a7,#1578f7);
  padding:16px 22px;
  font-size:17px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.cw-day-body{ padding:10px 22px 20px; }
.cw-slot{
  display:flex;
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
  font-size:13.5px;
  line-height:1.4;
}
.cw-slot:last-child{ border-bottom:none; }
.cw-slot .time{
  flex:0 0 96px;
  color:#5aa9ff;
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.cw-slot .event{ color:#cfdcef; }

@media (max-width:900px){
  .cw-agenda-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .cw-agenda{ padding:52px 16px; }
  .cw-slot{ flex-direction:column; gap:2px; }
  .cw-slot .time{ flex:none; }
}
