/* ============================================================
   CSS CUSTOM — Social by AutoArchitect
   Tailwind xử lý utilities. File này xử lý custom components.
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #0D4F66;
  --primary-light: #1A7A9E;
  --accent:        #FF6B35;
  --accent-light:  #FFE4D6;
  --dark:          #1A1A1A;
  --body:          #3A3A3A;
  --gray-lt:       #F5F7F9;
  --gray-md:       #D8DDE0;
  --gray-dk:       #6B7280;
  --green:         #10B981;
  --white:         #FFFFFF;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

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

/* ---------- HEADER ---------- */
#site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
}

.btn-nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-nav-cta:hover  { background: #e55a28; }
.btn-nav-cta:active { transform: translateY(1px); }

/* Logo mark */
.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}


/* ---------- HERO RIGHT VISUAL COLUMN ---------- */
.hero-visual {
  position: relative;
  padding: 32px 0 32px 16px;
}

/* Background shapes — positioned within the column */
.hero-visual-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
}

.hvbg-rect {
  position: absolute;
  top: -20px;
  right: -40px;
  width: 260px;
  height: 320px;
  background: var(--primary);
  opacity: 0.06;
  border-radius: 24px;
  transform: rotate(-8deg);
}

.hvbg-circle {
  position: absolute;
  bottom: 20px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  opacity: 0.08;
  border-radius: 50%;
}

/* ── LinkedIn mock post card ── */
.lk-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 16px;
}

.lk-card::before {
  /* subtle LinkedIn-blue top accent bar */
  content: '';
  display: block;
  height: 3px;
  background: #0077B5;
  opacity: 0.5;
}

.lk-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 12px;
}

.lk-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.lk-meta { flex: 1; }

.lk-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.lk-title {
  font-size: 12px;
  color: var(--gray-dk);
  line-height: 1.4;
  margin-top: 1px;
}

.lk-date {
  font-size: 11px;
  color: var(--gray-dk);
  margin-top: 2px;
}

.lk-card-body {
  padding: 0 16px 12px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.55;
}

.lk-card-body p + p { margin-top: 8px; }

.lk-readmore {
  color: var(--gray-dk);
  font-size: 12px;
  cursor: default;
}

.lk-card-stats {
  padding: 10px 16px;
  border-top: 1px solid var(--gray-lt);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-dk);
}

/* ── Activity badge ── */
.activity-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
}

.ab-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ab-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.ab-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}


/* ---------- SHARED TYPOGRAPHY HELPERS ---------- */
.eyebrow-label {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}


/* ---------- HERO VALUE PILLS ---------- */
.value-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-lt);
  border: 1px solid var(--gray-md);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}

.pill-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}


/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover  { background: #e55a28; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }


/* ---------- PROBLEM CARDS ---------- */
.prob-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px 28px 24px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  position: relative;
}

/* large ghosted number */
.prob-number {
  font-size: 72px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: -16px;
  user-select: none;
}


/* ---------- PROCESS CARDS ---------- */
.process-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--gray-md);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.step-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}


/* ---------- PRICING ---------- */
.price-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  border: 1.5px solid var(--gray-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.price-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 6px 32px rgba(255, 107, 53, 0.13);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.price-tier {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.price-role {
  font-size: 13px;
  color: var(--gray-dk);
  font-weight: 500;
  margin-top: -10px;
}

.price-block {
  border-top: 1px solid var(--gray-md);
  border-bottom: 1px solid var(--gray-md);
  padding: 16px 0;
}

.price-setup {
  font-size: 13px;
  color: var(--gray-dk);
  margin-bottom: 4px;
}

.price-setup span { font-weight: 400; }

.price-monthly {
  font-size: 40px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -1.5px;
}

.price-unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-dk);
  letter-spacing: 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  font-size: 14px;
  color: var(--body);
}

.feat-yes span { color: var(--green); font-weight: 700; margin-right: 8px; }

.feat-no {
  color: var(--gray-dk);
  opacity: 0.55;
}

.feat-no span { margin-right: 8px; }

.btn-price-primary {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-price-primary:hover { background: #e55a28; }

.btn-price-secondary {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid var(--primary);
  transition: background 0.2s, color 0.2s;
}

.btn-price-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Terms note */
.terms-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}


/* ---------- ACTIVITY REPORT ---------- */
.report-box {
  background: var(--gray-lt);
  border-radius: 14px;
  border-left: 4px solid var(--accent);
  padding: 36px;
}

.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-list li {
  font-size: 14px;
  color: var(--body);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.report-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.report-callout {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.callout-bar {
  width: 4px;
  min-height: 70px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}


/* ---------- ONBOARDING ---------- */
.onboard-step {
  padding-top: 4px;
}

.onboard-num {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}


/* ---------- FORM LEFT PANEL ---------- */
.form-next-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.form-next-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fni-num {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fni-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.fni-desc {
  font-size: 13px;
  color: var(--gray-dk);
  margin-top: 2px;
  line-height: 1.4;
}

.form-trust-note {
  font-size: 12px;
  color: var(--gray-dk);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-md);
  background: white;
}

/* ---------- FORM ---------- */
.form-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--gray-md);
  padding: 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

@media (max-width: 600px) {
  .form-card { padding: 24px 20px; }
  .report-box { padding: 24px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

.col-span-full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.field-required { color: var(--accent); }

.field-optional {
  color: var(--gray-dk);
  font-weight: 400;
  font-size: 12px;
}

.form-input {
  width: 100%;
  border: 1.5px solid var(--gray-md);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--body);
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 79, 102, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error-msg {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #DC2626;
  margin-bottom: 16px;
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover  { background: #e55a28; }
.btn-submit:active { transform: translateY(1px); }

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--gray-dk);
  margin-top: 12px;
}

/* Success state */
.form-success-card {
  text-align: center;
  padding: 60px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--gray-md);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.success-checkmark {
  width: 68px;
  height: 68px;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}


/* ---------- CONTACT SECTION ---------- */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-lbl {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  min-width: 90px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-val {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}

.contact-link {
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--accent); }

.referral-note-box {
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.referral-accent-bar {
  width: 4px;
  min-height: 60px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}


/* ---------- SCROLL ANIMATION (fade-in on scroll) ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
