
:root {
  --accent:        #fc5e01;
  --accent-dark:   #fc5e01;
  --accent-teal:   #fc5e01;

  /* One background system */
  --bg:            #220F2E;   /* page background          */
  --surface:       #220F2E;   /* panels, cards            */
  --surface2:      #220F2E;   /* hover states, inputs     */
  --border:        #220F2E;   /* all borders              */

  /* One text system */
  --text:          #e6edf3;   /* primary text             */
  --text-soft:     #c9d1d9;   /* secondary text           */
  --muted:         #8b949e;   /* placeholder / label text */


  --wa-bg:         #0b141a;
  --wa-bubble:     #202c33;
  --wa-sent:       #005c4b;
  --wa-header:     #1f2c34;
  --wa-input:      #2a3942;
  --wa-link:       #53bdeb;
  --wa-time:       #8696a0;
}


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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}


.topnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }

.industry-tabs { display: flex; gap: 4px; }
.industry-tabs a {
  display: block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  letter-spacing: .3px;
}
.industry-tabs a:hover {
  color: #fc5e01;
  border-color: var(--border);
}
.industry-tabs a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.page-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT — 30 / 70 split
   ═══════════════════════════════════════════════════════════ */
.main {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: calc(100vh - 60px);
}

/* ── LEFT PANEL ──────────────────────────────────────────── */
.left-panel {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 2rem 1.5rem;
  overflow-y: auto;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
}

.panel-title {
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  color: #000;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.comp-list { display: flex; flex-direction: column; gap: 6px; }

.comp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  position: relative;
  overflow: hidden;
  background-color: #220f2e;
}
/* accent bar */
.comp-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .2s;
  border-radius: 0 2px 2px 0;
 
}
.comp-item:hover  { background: var(--surface2); border-color: var(--border); }
.comp-item.active { background:#fc5e01; border-color: rgba(37,211,102,.28); }
.comp-item.active::before { transform: scaleY(1); }

.comp-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background .2s;
}
/* .comp-item.active .comp-icon { background: rgba(37,211,102,.14); } */

.comp-meta  { flex: 1; min-width: 0; }
.comp-name  { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.comp-sub   { font-size: 0.7rem; color: #fff; margin-top: 2px; }

.comp-arrow { color: var(--muted); font-size: 0.7rem; transition: color .2s, transform .2s; }
.comp-item.active .comp-arrow { color: var(--accent); transform: translateX(2px); }

/* ── RIGHT PANEL ─────────────────────────────────────────── */
.right-panel {
  background: #fff;
  padding: 2rem 2.5rem;
  overflow-y: auto;
}

/* ═══════════════════════════════════════════════════════════
   COMPONENT SECTIONS
   ═══════════════════════════════════════════════════════════ */
.comp-section { display: none; }
.comp-section.active {
  display: block;
  animation: fadeInUp .3s ease;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-title { font-size: 1.5rem; font-weight: 700; color: #fc5e01; line-height: 1.2; }
.section-desc  { font-size: 0.82rem; color:#000; margin-top: 6px; max-width: 480px; line-height: 1.65; }

.badge {
  background: var(--accent);
  border: 1px solid rgba(37,211,102,.28);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.wa-cta a {
  color: #53bdeb;
  text-decoration: none;
}

/* INFO CARD (title / CTA meta row) */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.8rem;
}
.info-row  { display: flex; gap: 2rem; flex-wrap: wrap; }
.info-item { flex: 1; min-width: 130px; }
.info-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}
.info-val { font-size: 0.82rem; color: var(--text); font-weight: 500; line-height: 1.4; }


.phone-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.phone-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.phone-wrap {
  width: 340px;
  border-radius: 36px;
  background: #1a1a1a;
  border: 3px solid #2e2e2e;
  box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 0 1px #3a3a3a;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  width: 100px; height: 24px;
  background: #1a1a1a;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 0; z-index: 10;
  border-radius: 0 0 14px 14px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
}
.phone-notch .cam { width: 8px; height: 8px; background: #2e2e2e; border-radius: 50%; }

.phone-screen {
  background: var(--wa-bg);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}


.wa-header {
  background: var(--wa-header);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.wa-back   { color: var(--accent); font-size: 1.1rem; cursor: pointer; }
.wa-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem; color: #fff;
  flex-shrink: 0;
}
.wa-info    { flex: 1; }
.wa-name    { font-size: 0.88rem; font-weight: 600; color: #e9edef; }
.wa-status  { font-size: 0.67rem; color: var(--wa-time); margin-top: 1px; }
.wa-actions { display: flex; gap: 16px; color: var(--wa-time); font-size: 1rem; cursor: pointer; }

.wa-chat {
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--wa-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


.wa-bubble {
  background: var(--wa-bubble);
  border-radius: 0 10px 10px 10px;
  padding: 8px 10px;
  max-width: 95%;
  align-self: flex-start;
}

.wa-bubble-img { width: 100%; border-radius: 8px 8px 0 0; overflow: hidden; display: block; }
.wa-bubble-img img { width: 100%; display: block; max-height: 180px; object-fit: cover; }

.bubble-text   { font-size: 0.78rem; color: #e9edef; line-height: 1.55; padding: 6px 2px 4px; }
.bubble-text b { color: #fff; font-weight: 700; }
.bubble-time   { font-size: 0.6rem; color: var(--wa-time); text-align: right; margin-top: 4px; }

.wa-ctas { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; }
.wa-cta  {
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--wa-link);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 12px;
  text-align: center;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  transition: background .15s;
}
.wa-cta:hover { background: rgba(83,189,235,.08); }
.wa-cta:last-child { border-radius: 0 0 8px 8px; }

.wa-input-bar {
  background: var(--wa-input);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wa-input-field {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  color: #e9edef;
  font-size: 0.78rem;
  font-family: 'Sora', sans-serif;
  outline: none;
}
.wa-send {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 0.88rem;
  transition: background .15s;
  flex-shrink: 0;
}
.wa-send:hover { background: var(--accent-dark); }

.pdf-bubble {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  cursor: pointer;
  transition: background .2s;
}
.pdf-bubble:hover { background: rgba(37,211,102,.07); }

.pdf-icon {
  width: 36px; height: 36px;
  background: #e74c3c;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.65rem; font-weight: 700;
  flex-shrink: 0;
  letter-spacing: .5px;
}
.pdf-info  { flex: 1; min-width: 0; }
.pdf-name  { font-size: 0.74rem; font-weight: 600; color: #e9edef; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-size  { font-size: 0.64rem; color: var(--wa-time); margin-top: 2px; }
.pdf-dl    { color: var(--accent); font-size: 1rem; flex-shrink: 0; }


.video-bubble {
  position: relative;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-thumb {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  transition: opacity .2s;
}
.video-bubble:hover .video-thumb { opacity: 0.9; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
  transition: transform .2s;
}
.video-bubble:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); }


.promo-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  letter-spacing: .5px;
}


.coupon-box {
  background: rgba(37,211,102,.06);
  border: 1.5px dashed rgba(37,211,102,.4);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.coupon-label {
  font-size: 0.58rem;
  color: var(--wa-time);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.coupon-code {
  font-family: 'Space Mono', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}
.copy-btn {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.copy-btn:hover   { background: var(--accent-dark); transform: scale(1.04); }
.copy-btn.copied  { background: var(--wa-link); color: #fff; }


.carousel-wrap   { position: relative; overflow: hidden; border-radius: 8px; }
.carousel-track  { display: flex; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.carousel-card   { min-width: 100%; }
.carousel-card img {
  width: 100%; height: 160px;
  object-fit: cover; display: block;
}
.carousel-card-info {
  background: var(--wa-bubble);
  padding: 8px 10px 6px;
}
.carousel-card-title { font-size: 0.78rem; font-weight: 700; color: #e9edef; }
.carousel-card-sub   { font-size: 0.68rem; color: var(--wa-time); margin-top: 2px; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--wa-bubble);
  border-top: 1px solid rgba(255,255,255,.06);
}
.carousel-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  cursor: pointer;
  color: #e9edef;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.carousel-btn:hover { background: rgba(37,211,102,.28); }

.carousel-dots { display: flex; gap: 4px; }
.carousel-dot  {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: background .3s, width .3s;
}
.carousel-dot.active {
  background: var(--accent);
  width: 16px;
  border-radius: 4px;
}


.countdown-display {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  background: rgba(37,211,102,.06);
  border-radius: 8px;
  margin: 8px 0;
}
.countdown-block {
  text-align: center;
  background: rgba(0,0,0,.35);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 46px;
}
.countdown-num {
  font-family: 'Space Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.countdown-label {
  font-size: 0.52rem;
  color: var(--wa-time);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
  display: block;
}
.countdown-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding-bottom: 12px;
}


.flow-msg {
  background: var(--wa-bubble);
  border-radius: 0 10px 10px 10px;
  padding: 8px 12px;
  max-width: 88%;
  align-self: flex-start;
  font-size: 0.78rem;
  color: #e9edef;
  line-height: 1.55;
  animation: fadeInUp .25s ease;
}
.flow-msg.user-msg {
  background: var(--wa-sent);
  border-radius: 10px 0 10px 10px;
  align-self: flex-end;
}

.flow-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0;
  align-self: flex-start;
  max-width: 88%;
}
.flow-option {
  background: rgba(83,189,235,.1);
  border: 1px solid rgba(83,189,235,.3);
  color: var(--wa-link);
  border-radius: 16px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.flow-option:hover { background: rgba(83,189,235,.22); transform: translateY(-1px); }

.flow-typing {
  display: flex;
  gap: 3px;
  padding: 9px 12px;
  align-items: center;
  background: var(--wa-bubble);
  border-radius: 0 10px 10px 10px;
  width: fit-content;
  align-self: flex-start;
}
.typing-dot {
  width: 6px; height: 6px;
  background: var(--wa-time);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }


.alert-banner {
  background: rgba(239,68,68,.1);
  border-left: 3px solid #ef4444;
  border-radius: 4px;
  padding: 7px 10px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  color: #fc8181;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Highlight amount / loan approved */
.amount-highlight {
  font-size: 0.78rem;
  color: #e9edef;
  font-weight: 700;

  display: block;
  margin: 6px 0 2px;
}


.price-drop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}
.price-original {
  font-size: 0.75rem;
  color: var(--wa-time);
  text-decoration: line-through;
}
.price-new {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.save-badge {
  background: rgba(37,211,102,.15);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}


.stock-badge {
  display: inline-block;
  background: rgba(37,211,102,.14);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: .5px;
}


.instructor-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.instructor-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.instructor-name { font-size: 0.82rem; font-weight: 700; color: #e9edef; }
.instructor-sub  { font-size: 0.67rem; color: var(--wa-time); margin-top: 2px; }
.stars           { color: #fbbf24; font-size: 0.72rem; margin-top: 3px; }


@media (max-width: 1024px) {
  .main { grid-template-columns: 1fr; }
  .left-panel { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .industry-tabs a { padding: 5px 12px; font-size: 0.75rem; }
  .right-panel { padding: 1.5rem; }
}
@media (max-width: 600px) {
  .topnav { padding: 0 1rem; flex-wrap: wrap; height: auto; gap: 8px; padding: 10px 1rem; }
  .page-label { display: none; }
  .phone-wrap { width: 300px; }
}
