/* Page-specific styles */

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 56px;
  text-align: center;
  background: linear-gradient(160deg, #f8faf2 0%, #edf2e0 60%, #e2ecd0 100%);
  border-bottom: 1px solid #dde8c8;
}

/* Subtle dot grid. Green toned */
.hero::before {
  content: '';
  position: absolute;
  inset: -56px;
  background-image:
    radial-gradient(circle, rgba(98,181,23,0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(209,219,36,0.08) 1px, transparent 1px);
  background-size: 48px 48px, 24px 24px;
  background-position: 0 0, 12px 12px;
  pointer-events: none;
  animation: hero-drift 28s linear infinite;
}

.hero-badge {
  display: inline-block;
  background: rgba(209,219,36,0.25);
  border: 1px solid #d1db24;
  color: #4a8c11;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.4s ease both;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #2a2a2a;
  position: relative;
  z-index: 1;
  animation: fade-up 0.45s 0.1s ease both;
}

.hero h1 .qubit-name {
  color: #62b517;
  position: relative;
}
.hero h1 .qubit-name::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: #d1db24;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline-grow 0.4s 0.5s ease forwards;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #555;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  position: relative;
  z-index: 1;
  animation: fade-up 0.45s 0.22s ease both;
}

/* Quantum SVG visual */
.hero-visual {
  margin: 0 auto 40px;
  width: 180px;
  height: 180px;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
  animation: spin-slow 18s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== MYTH EXPLAINERS ===== */
.myth-explainers {
  background: #f4fae8;
  border-bottom: 1px solid #dde8c8;
  padding: 56px 24px;
}

.myth-explainers-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.myth-explainers-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #62b517;
  border-left: 4px solid #d1db24;
  padding-left: 10px;
  margin-bottom: 28px;
}

.myth-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.myth-explainer-card {
  border-radius: 14px;
  border: 1.5px solid #a8c96a;
  background: #f4fae8;
  padding: 22px 22px 20px;
}

.myth-explainer-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.myth-x {
  font-size: 11px;
  font-weight: 900;
  color: #62b517;
  background: rgba(98,181,23,0.12);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.myth-explainer-title {
  font-size: 13px;
  font-weight: 900;
  color: #4a8c11;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.myth-explainer-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.myth-intro-note {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.myth-nuance-note {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  padding: 20px 0 0;
  border-top: 1px solid #d1e8b0;
}

.myth-nuance-note strong {
  color: #4a8c11;
  font-weight: 900;
}

@media (max-width: 680px) {
  .myth-explainer-grid { grid-template-columns: 1fr; }
}

/* ===== CONCEPTS SUBLABEL ===== */
.concepts-sublabel {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin: 28px 0 14px;
}

/* ===== FEATURES INNER (inside combined section) ===== */
.features-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border: 1.5px solid #a8c96a;
  border-radius: 14px;
  overflow: hidden;
  background: #f8faf2;
}

.features-inner .feature {
  border-right: 1px solid #dde8c8;
  border-bottom: none;
}

.features-inner .feature:last-child {
  border-right: none;
}

/* ===== FEATURES LABEL ===== */
.features-label {
  background: #fff;
  border-bottom: 1px solid #dde8c8;
  border-top: 1px solid #dde8c8;
  text-align: center;
  padding: 18px 24px 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #62b517;
}

/* ===== FEATURES STRIP ===== */
.features {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: #fff;
  border-bottom: 1px solid #dde8c8;
  padding: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 32px;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  border-right: 1px solid #dde8c8;
  text-align: center;
}
.feature:last-child { border-right: none; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f4fae8;
  border: 1px solid #a8c96a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature h3 {
  font-size: 13px;
  font-weight: 800;
  color: #2a2a2a;
  letter-spacing: 0.3px;
}

.feature p {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* ===== MAIN LAYOUT ===== */
.main {
  display: flex;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  align-items: flex-start;
}

/* ===== INFO COLUMN ===== */
.info-col {
  flex: 1;
  padding: 52px 40px 52px 0;
  min-width: 0;
}

.info-col h2 {
  font-size: 26px;
  font-weight: 900;
  color: #2a2a2a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.info-col h2 em {
  font-style: normal;
  color: #62b517;
}

.info-col > p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.learn-section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #62b517;
  border-left: 4px solid #d1db24;
  padding-left: 10px;
  margin-bottom: 14px;
}

.concept-list li {
  display: block;
  padding: 0;
}

.concept-card {
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 2px solid #a8c96a;
  background: #fff;
  box-shadow: 0 2px 8px rgba(98,181,23,0.1);
}

.concept-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.concept-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.concept-icon svg { width: 100%; height: 100%; }

.concept-card-top strong {
  font-size: 14px;
  font-weight: 900;
  color: #2a2a2a;
}

.concept-explain {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0 !important;
}

.concept-explain em { font-style: italic; color: #333; }

.superposition-tag {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  background: #f4fae8;
  border-left: 3px solid #d1db24;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #4a8c11;
  line-height: 1.5;
}

/* ===== FORM COLUMN ===== */
.form-col {
  width: 460px;
  flex-shrink: 0;
  padding: 52px 0 52px 40px;
  border-left: 1px solid #dde8c8;
}

.form-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #a8c96a;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(98,181,23,0.18);
}

.form-card-header {
  background: #d1db24;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card-header h3 {
  font-size: 15px;
  font-weight: 900;
  color: #2a3a00;
  letter-spacing: 0.3px;
}

.form-card-header .header-icon {
  width: 28px;
  height: 28px;
  background: rgba(42,58,0,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-card-header .header-icon svg { width: 100%; height: 100%; }

.form-embed-wrap {
  padding: 4px 0 0;
  background: #fff;
}

.form-embed-wrap iframe {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
}

/* ===== WHY IT MATTERS SECTION ===== */
.why-section {
  background-color: #fff;
  background-image:
    radial-gradient(circle, rgba(98,181,23,0.1) 1px, transparent 1px),
    radial-gradient(circle, rgba(209,219,36,0.06) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  border-bottom: 1px solid #dde8c8;
  padding: 64px 24px;
}

.why-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.why-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #62b517;
  border-left: 4px solid #d1db24;
  padding-left: 10px;
  margin-bottom: 16px;
  display: block;
}

.why-section h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  color: #2a2a2a;
  line-height: 1.2;
  margin-bottom: 14px;
}

.why-section h2 em {
  font-style: normal;
  color: #62b517;
}

.why-intro {
  font-size: 15px;
  color: #555;
  line-height: 1.72;
  margin-bottom: 40px;
}

.matters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 52px;
}

.matters-card {
  border-radius: 14px;
  border: 2px solid #a8c96a;
  background: #f8faf2;
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(98,181,23,0.09);
}

.matters-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f5d8;
  border: 1px solid #a8c96a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.matters-card-icon svg { width: 22px; height: 22px; }

.matters-card h3 {
  font-size: 14px;
  font-weight: 900;
  color: #2a2a2a;
  margin-bottom: 8px;
}

.matters-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}

/* ===== COMMON MISCONCEPTIONS SECTION ===== */
.misconceptions-section {
  background: #111;
  padding: 64px 24px;
}

.misconceptions-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== HONEST SECTION (now a full section, styles kept for child elements) ===== */

.honest-header {
  text-align: left;
  margin-bottom: 40px;
  position: relative;
}

.honest-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fc8181;
  border-left: 4px solid #e53e3e;
  padding-left: 10px;
  margin-bottom: 16px;
  display: block;
}

.misconceptions-inner h3 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.honest-intro {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.72;
  margin: 0;
}

.misconception-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
}

.misconception-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(229,62,62,0.25);
  border-left: 4px solid #e53e3e;
  border-radius: 0 12px 12px 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.misconception-x {
  font-size: 13px;
  font-weight: 900;
  color: #e53e3e;
  margin-bottom: 2px;
}

.misconception-title {
  font-size: 12px;
  font-weight: 900;
  color: #fc8181;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.misconception-quote {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  line-height: 1.55;
}

.misconception-cta {
  background: rgba(229,62,62,0.1);
  border: 1px solid rgba(229,62,62,0.3);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 800;
  color: #fc8181;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.misconception-cta span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.feynman-quote {
  border-top: 1px solid rgba(209,219,36,0.2);
  padding-top: 36px;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 80px;
  line-height: 0.8;
  color: #d1db24;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 16px;
  opacity: 0.7;
}

.quote-body blockquote {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: #fff;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.quote-body cite {
  font-size: 12px;
  font-weight: 800;
  color: #a8c96a;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-style: normal;
}

.honest-closing {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  text-align: center;
  margin-top: 28px !important;
  max-width: 620px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 700px) {
  .matters-grid { grid-template-columns: 1fr 1fr; }
  .misconceptions-section { padding: 40px 16px; }
  .misconception-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .matters-grid { grid-template-columns: 1fr; }
}

/* ===== LEARNING SECTION (dark bg) ===== */
.learning-bg {
  background: #1a3a00 url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2362b517' stroke-opacity='0.11' stroke-width='1.5' fill='none' stroke-linecap='round'%3E%3Cpolyline points='0,30 40,30 40,75'/%3E%3Ccircle cx='40' cy='30' r='3'/%3E%3Ccircle cx='40' cy='75' r='3'/%3E%3Cline x1='40' y1='75' x2='100' y2='75'/%3E%3Cline x1='70' y1='0' x2='70' y2='30'/%3E%3Ccircle cx='70' cy='30' r='2.5'/%3E%3Cline x1='70' y1='30' x2='100' y2='30'/%3E%3Cline x1='0' y1='55' x2='15' y2='55'/%3E%3Ccircle cx='15' cy='55' r='2.5'/%3E%3Cline x1='15' y1='55' x2='15' y2='100'/%3E%3C/g%3E%3C/svg%3E") repeat;
  background-size: 100px 100px;
}
.learning-bg .info-col h2 { color: #fff; }
.learning-bg .info-col h2 em { color: #a8c96a; }
.learning-bg .info-col > p { color: rgba(255,255,255,0.72); }
.learning-bg .learn-section-label { color: #a8c96a; border-left-color: #62b517; }
.learning-bg .concept-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(168,201,106,0.28);
  box-shadow: none;
}
.learning-bg .concept-card-top strong { color: #fff; }
.learning-bg .concept-explain { color: rgba(255,255,255,0.70); }
.learning-bg .superposition-tag { background: rgba(255,255,255,0.07); color: #a8c96a; }
.learning-bg .concept-explain em { color: rgba(255,255,255,0.85); }
.learning-bg .form-col { border-left-color: rgba(168,201,106,0.18); }

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .main { flex-direction: column; padding: 0 16px; }
  .info-col { padding: 36px 0 20px; }
  .form-col { width: 100%; padding: 0 0 40px; border-left: none; border-top: 1px solid #dde8c8; padding-top: 32px; }
  .feature { padding: 20px 16px; }
}
