/* =========================================================
   Tech Call Training - Clean Light & Professional Theme
   ========================================================= */

:root {
  --brand: #1a56db;
  --brand-dark: #1e40af;
  --brand-light: #eff6ff;
  --accent: #0ea5e9;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --warning: #f59e0b;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 6px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 40px rgba(15,23,42,.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-muted); }
.small { font-size: .88rem; }
.text-green { color: var(--success); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; text-decoration: none;
  line-height: 1;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-light); color: var(--brand-dark); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.logo img { height: 34px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: .95rem;
  box-shadow: 0 4px 10px rgba(26,86,219,.28);
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--brand); }
.main-nav .nav-cta {
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm);
}
.main-nav .nav-cta:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.3rem; color: var(--text); cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(14,165,233,.12), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(26,86,219,.10), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero-copy .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); color: var(--brand); padding: 6px 14px;
  border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.02em;
}
.hero-copy .hook {
  font-size: 1.15rem; color: var(--text); font-weight: 500; margin: 0 0 14px;
}
.hero-copy .sub {
  color: var(--text-muted); font-size: 1.05rem; margin: 0 0 30px; max-width: 560px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; color: var(--brand); font-weight: 800; }
.hero-stats span { font-size: .85rem; color: var(--text-muted); }

.hero-visual img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hc-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.hc-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.hc-head .dot.r { background: #f87171; } .hc-head .dot.y { background: #fbbf24; } .hc-head .dot.g { background: #34d399; }
.hc-title { margin-left: 10px; font-weight: 600; font-size: .9rem; color: var(--text-muted); }
.hc-body { padding: 20px 22px; }
.hc-row {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px dashed var(--border); font-size: .95rem;
}
.hc-row:last-of-type { border-bottom: 0; }
.hc-row span { color: var(--text-muted); }
.hc-bar {
  height: 8px; background: var(--bg-soft); border-radius: 999px; margin-top: 16px; overflow: hidden;
}
.hc-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; }
.hc-note { margin-top: 10px; color: var(--text-muted); font-size: .85rem; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 10px;
}
.eyebrow.light { color: #fff; opacity: .9; }
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 12px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.learn-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm); transition: all .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dbeafe; }
.card h3 { margin: 10px 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.15rem;
}
.card-icon.brand { background: var(--brand-light); color: var(--brand); }
.card-icon.success { background: var(--success-bg); color: var(--success); }
.card-icon.danger { background: var(--danger-bg); color: var(--danger); }

.step-no {
  position: absolute; top: 16px; right: 16px;
  font-size: .75rem; letter-spacing: .1em; color: var(--text-muted); font-weight: 700;
}

/* ===== Pain section tint ===== */
.section-pain { background: var(--bg-soft); }

/* ===== Solution ===== */
.section-solution { background: #fff; }

/* ===== Learn ===== */
.section-learn { background: var(--bg-soft); }

/* ===== Format ===== */
.section-format { background: #fff; }

/* ===== Lead Magnet ===== */
.section-magnet { background: var(--bg); padding: 40px 0 80px; }
.magnet-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  box-shadow: 0 20px 40px rgba(26,86,219,.25);
  overflow: hidden; position: relative;
}
.magnet-card::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.07); top: -140px; right: -120px;
}
.magnet-card h2 { color: #fff; font-size: 1.8rem; margin: 8px 0 14px; }
.magnet-card p { color: rgba(255,255,255,.9); font-size: 1.02rem; margin: 0 0 24px; }
.magnet-mock {
  background: rgba(255,255,255,.12); border: 1px dashed rgba(255,255,255,.35);
  border-radius: var(--radius); padding: 40px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.magnet-mock i { font-size: 3rem; }
.magnet-right img { border-radius: var(--radius); }

/* ===== CTA section ===== */
.section-cta {
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(14,165,233,.15), transparent 60%),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}
.section-cta .eyebrow.light { color: #93c5fd; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; }
.cta-copy p { color: #cbd5e1; font-size: 1.05rem; margin: 0 0 22px; }
.cta-list { list-style: none; padding: 0; margin: 0; }
.cta-list li { padding: 8px 0; color: #e2e8f0; }
.cta-list i { color: var(--success); margin-right: 10px; }

.cta-form-wrap { }
.cta-form {
  background: #fff; color: var(--text); padding: 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cta-form h3 { margin: 0 0 16px; font-size: 1.2rem; }
.cta-form label { display: block; font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.cta-form input, .cta-form textarea {
  width: 100%; padding: 12px 14px; font-size: .95rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-top: 6px; font-family: inherit; color: var(--text);
  transition: border .2s, box-shadow .2s;
}
.cta-form input:focus, .cta-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
.cta-form textarea { resize: vertical; }
.alert {
  padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .92rem;
  display: flex; align-items: center; gap: 8px;
}
.alert.success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert.error { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }

/* ===== Footer ===== */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 48px 0 0; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 32px;
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.logo-footer .logo-text { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06);
  display: grid; place-items: center; color: #e2e8f0; transition: all .2s;
}
.socials a:hover { background: var(--brand); color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem; color: #94a3b8;
}

/* ===== Floating Chat Buttons ===== */
.float-chat {
  position: fixed; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.float-chat.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-right { right: 22px; }
.float-left  { left: 22px; }

.fchat-btn {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease, width .25s ease, border-radius .25s ease;
  overflow: hidden;
  text-decoration: none;
}
.fchat-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,.22), 0 6px 12px rgba(0,0,0,.08);
  color: #fff;
}
.fchat-wa { background: #25D366; }
.fchat-wa:hover { background: #1ebe5a; }
.fchat-tg { background: #229ED9; }
.fchat-tg:hover { background: #1e8cc2; }

/* Expanding label on hover (desktop) */
.fchat-label {
  position: absolute; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: .88rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  padding: 0 14px 0 56px; line-height: 56px;
  transition: opacity .2s ease;
}
.float-right .fchat-btn .fchat-label { right: 0; }
.float-left  .fchat-btn .fchat-label { left: 0; padding: 0 56px 0 14px; }
@media (hover: hover) {
  .fchat-btn:hover { width: 150px; border-radius: 30px; }
  .fchat-btn:hover .fchat-label { opacity: 1; }
}

/* Pulse ring on WhatsApp */
.fchat-ping {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55);
  animation: fchat-ping 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes fchat-ping {
  0%   { transform: scale(.9); opacity: .9; }
  80%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .cta-grid, .magnet-card { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .magnet-card { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .float-chat { bottom: 16px; gap: 10px; }
  .float-right { right: 16px; }
  .float-left  { left: 16px; }
  .fchat-btn { width: 52px; height: 52px; font-size: 1.35rem; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 24px; gap: 14px;
    border-bottom: 1px solid var(--border); display: none;
  }
  .main-nav.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-copy h1 { font-size: 2rem; }
}
