/* ============================================================
   Teacher Platform by Octux — BRANDING LAYER
   Applies the "Teacher Platform by Octux" identity on top of
   landing.css: Poppins type, Octux orange accent, the figure
   logo mark, a light Problem section, and the lead-form section.
   Loaded LAST so these declarations win.
   ============================================================ */

:root {
  /* Poppins replaces the base UI font for the marketing brand */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Octux signature accent */
  --octux-orange: #ff6a00;
  --octux-orange-2: #ff8a1f;
  --gradient-octux: linear-gradient(135deg, #ff8a1f 0%, #ff6a00 100%);
  --glow-octux: 0 14px 36px rgba(255, 106, 0, 0.4);

  /* light section palette */
  --light-bg: #f3f4f6;
  --light-card: #ffffff;
  --light-border: #e7e9f1;
  --light-ink: #0b1026;
  --light-ink-2: #5b6276;
}

body { font-family: var(--font-sans); letter-spacing: -0.005em; }

/* ============================================================
   LOGO MARK + WORDMARK
   ============================================================ */
.tpmark { width: 100%; height: 100%; display: block; }

.brand__mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  box-shadow: none; padding: 7px;
}
.brand__word {
  font-size: 16.5px; font-weight: 700; color: #fff;
  letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap;
}
.brand__word span {
  display: block; font-size: 10.5px; font-weight: 500;
  color: var(--text-subtle); letter-spacing: 0.01em; margin-top: 2px;
}
.brand__word span b { color: var(--octux-orange); font-weight: 700; letter-spacing: 0.04em; }

/* ============================================================
   ORANGE ACCENTS
   ============================================================ */
.btn--orange { background: var(--gradient-octux); color: #fff; box-shadow: var(--glow-octux); }
.btn--orange:hover { filter: brightness(1.06); box-shadow: 0 18px 46px rgba(255, 106, 0, 0.5); transform: translateY(-2px); }

.eyebrow { color: #ffae73; }
.eyebrow svg { color: var(--octux-orange); }
.tile--orange { box-shadow: var(--glow-octux); }
.footer__by b { color: var(--octux-orange); }
.footer__social a:hover { border-color: rgba(255, 106, 0, 0.5); color: var(--octux-orange-2); }

/* trust badge icon recolours toward the brand */
.hbadge--violet svg { color: var(--octux-orange); }

/* ============================================================
   DASHBOARD MOCK — branded sidebar + richer content
   ============================================================ */
.dash__logo { gap: 8px; }
.dash__logomark { width: 24px; height: 24px; flex: none; }
.dash__logo b { font-size: 11.5px; font-weight: 800; color: #fff; line-height: 1.05; }
.dash__logo b small { display: block; font-size: 7.5px; font-weight: 600; color: var(--text-subtle); letter-spacing: 0.04em; }
.dstat__d { font-size: 9px; font-weight: 800; color: #2bd6ab; margin-top: 4px; }
.denroll { display: flex; align-items: center; gap: 9px; padding: 6px 0; }
.denroll + .denroll { border-top: 1px solid var(--border-hairline); }
.denroll__av { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.denroll b { font-size: 10.5px; color: #fff; font-weight: 600; flex: 1; }
.denroll small { font-size: 9px; color: var(--text-subtle); }
.dcard__h.row { display: flex; align-items: center; justify-content: space-between; }
.dcard__rev { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-top: 8px; }
.dcard__rev small { font-size: 10px; font-weight: 800; color: #2bd6ab; margin-left: 6px; letter-spacing: 0; }

/* ============================================================
   LIGHT SECTION (Problem)
   ============================================================ */
.section--light { background: var(--light-bg); color: var(--light-ink); }
.section--light .eyebrow {
  background: #fff; border: 1px solid var(--light-border);
  color: var(--octux-orange); box-shadow: var(--shadow-xs);
}
.section--light .sec-title { color: var(--light-ink); }
.section--light .sec-sub { color: var(--light-ink-2); }
.section--light .card {
  background: var(--light-card); border: 1px solid var(--light-border);
  box-shadow: 0 1px 2px rgba(11, 16, 38, 0.04), 0 14px 34px rgba(11, 16, 38, 0.07);
}
.section--light .card--hover:hover { box-shadow: 0 1px 2px rgba(11,16,38,0.05), 0 24px 48px rgba(11,16,38,0.12); border-color: #dfe2ee; }
.section--light .problem-card .x { background: rgba(244, 63, 94, 0.10); border-color: rgba(244, 63, 94, 0.20); }
.section--light .problem-card .x svg { color: #e11d48; }
.section--light .problem-card h3 { color: var(--light-ink); }
.section--light .problem-card p { color: var(--light-ink-2); }

/* ============================================================
   LEAD FORM
   ============================================================ */
.lead { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: center; }
.lead__copy .sec-title { text-align: left; }
.lead__points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.lead__points li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text-default); }
.lead__points .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--gradient-octux); display: flex; align-items: center; justify-content: center; flex: none; }
.lead__points .ck svg { width: 14px; height: 14px; color: #fff; }

.lead__form { position: relative; padding: 30px; overflow: hidden; }
.lead__form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gradient-octux); }
.form-grid { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-default); }
.input, .textarea {
  width: 100%; height: 48px; border-radius: var(--radius-md);
  background: var(--surface-inset); border: 1px solid var(--border-default);
  color: #fff; padding: 0 15px; font-family: inherit; font-size: 14.5px;
  outline: none; transition: var(--transition-colors), box-shadow var(--dur-fast) var(--ease-standard);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
.input:focus, .textarea:focus { border-color: var(--octux-orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18); }
select.input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23757d93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.textarea { height: auto; min-height: 104px; padding: 13px 15px; resize: vertical; line-height: 1.5; }
.lead__fine { font-size: 12.5px; color: var(--text-subtle); margin: 2px 0 0; text-align: center; }

.lead__ok { text-align: center; padding: 30px 10px; }
.lead__okico { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: var(--glow-green); }
.lead__okico svg { width: 30px; height: 30px; color: #fff; }
.lead__ok h3 { font-size: 22px; font-weight: 800; color: var(--text-strong); margin: 0 0 8px; }
.lead__ok p { font-size: 15px; line-height: var(--lh-relaxed); color: var(--text-muted); max-width: 360px; margin: 0 auto; }

@media (max-width: 1000px) {
  .lead { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   REAL OCTUX LOGO USAGE
   ============================================================ */
.brand { gap: 12px; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; display: block; flex: none; }
.brand__mark { display: none; } /* legacy placeholder tile, no longer used */
.dash__logomark { width: 24px; height: 24px; object-fit: contain; }

.hero__trustline { display: flex; align-items: center; gap: 9px; margin: 26px 0 0; font-size: 13.5px; font-weight: 500; color: var(--text-muted); }
.hero__trustline svg { width: 17px; height: 17px; color: var(--octux-orange); flex: none; }

/* ============================================================
   TRUST / POWERED-BY-OCTUX SECTION
   ============================================================ */
.trust { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 54px; align-items: center; }
.trust__copy .sec-title, .trust__copy .sec-sub { text-align: left; }
.trust__logo { height: 56px; width: auto; margin-top: 30px; display: block; }
.trust__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trustcard { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.trustcard .tile { margin-bottom: 0; width: 46px; height: 46px; }
.trustcard .tile svg { width: 23px; height: 23px; }
.trustcard b { font-size: 24px; font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; line-height: 1.05; }
.trustcard span { font-size: 14px; color: var(--text-muted); line-height: 1.45; }

/* ============================================================
   FOOTER — real Octux lockup
   ============================================================ */
.footer__product { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.footer__product span { font-size: 12px; color: var(--text-subtle); }
.footer__product img { height: 36px; width: auto; opacity: 0.95; transition: opacity var(--dur-fast); }
.footer__product:hover img { opacity: 1; }

@media (max-width: 1000px) { .trust { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 760px) { .footer__product { align-items: flex-start; } }
@media (max-width: 540px) { .trust__stats { grid-template-columns: 1fr; } }

/* ============================================================
   STICKY-HEADER ANCHOR OFFSET (both languages)
   Keeps section titles clear of the fixed header on nav clicks.
   ============================================================ */
section[id], main[id] { scroll-margin-top: 96px; }
