/* ==========================================================================
   ScalePOP Media - Master Stylesheet
   Framework-free, mobile-first, ultra-fast performance
   Brand Color: #0F75BC
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
  --primary: #0F75BC;
  --primary-hover: #0b5e99;
  --primary-active: #084c7d;
  --primary-light: #eef7fc;
  --primary-border: #bae0f7;
  --primary-glow: rgba(15, 117, 188, 0.25);

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;

  --border: #e2e8f0;
  --border-focus: #0F75BC;

  --success: #059669;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;

  --error: #dc2626;
  --error-bg: #fef2f2;
  --error-border: #fecaca;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 40px -8px rgba(15, 23, 42, 0.12);

  --container-max: 1120px;
  --container-narrow: 760px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Accessibility & Focus States --- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 640px) {
  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
}

/* --- Badges & Micro-tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  letter-spacing: 0.01em;
}

.badge-green {
  background-color: var(--success-bg);
  color: var(--success);
  border-color: var(--success-border);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --- Header (No nav menu, single-offer compliance) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .brand-logo {
    height: 32px;
  }
}

.header-trust-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 600px) {
  .header-trust-tag {
    display: none;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.25;
  text-decoration: none;
  min-height: 52px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 117, 188, 0.35);
}

.btn-primary:active {
  background-color: var(--primary-active);
  transform: translateY(0);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-full {
  width: 100%;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #eef7fc 0%, #f8fafc 70%);
  padding-top: 3.75rem;
  padding-bottom: 4.75rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.5;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-cta-btn {
  font-size: 1.15rem;
  padding: 1.1rem 2.5rem;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-perk-icon {
  color: var(--primary);
  display: inline-flex;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header .section-tag {
  margin-bottom: 0.85rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- The Offer Section --- */
.offer-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.offer-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.offer-step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.offer-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.offer-card p {
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.55;
  flex-grow: 1;
}

.offer-callout-banner {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .offer-callout-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
}

.offer-callout-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-callout-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.offer-callout-text p {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* --- Why Work With Us Section --- */
.why-section {
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.trust-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.trust-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- FAQ Accordion Section --- */
.faq-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-page);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-border);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 1rem;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
  padding-bottom: 1.35rem;
}

.faq-answer p {
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* --- Form Section --- */
.form-section {
  background: linear-gradient(180deg, var(--bg-page) 0%, #eef7fc 100%);
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 640px) {
  .form-card {
    padding: 1.75rem 1.25rem;
  }
}

.form-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-card-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  margin-bottom: 0.65rem;
}

.form-card-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.form-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required {
  color: var(--error);
  margin-left: 0.2rem;
}

.form-label .optional {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--text-dark);
  transition: var(--transition);
  min-height: 48px;
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.has-error {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-control.has-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.field-error-msg {
  font-size: 0.8125rem;
  color: var(--error);
  display: none;
  margin-top: 0.2rem;
  font-weight: 500;
}

.field-error-msg.visible {
  display: block;
}

.form-helper {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-submit-wrapper {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.form-privacy-guarantee {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  height: 34px;
  width: auto;
}

.footer-description {
  max-width: 480px;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-body);
}

.footer-contact-item a {
  color: var(--text-dark);
  font-weight: 500;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: var(--primary);
}

/* --- Footer Social Icons --- */
.footer-social {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-icon-btn:active {
  transform: translateY(0);
}

.social-icon-btn svg {
  display: block;
}


/* ==========================================================================
   Thank You Page Styles
   ========================================================================== */
.thank-you-section {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.thank-you-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
  .thank-you-card {
    padding: 2.25rem 1.5rem;
  }
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.thank-you-card h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.thank-you-main-msg {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.timeline-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  text-align: center;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.timeline-text h4 {
  font-size: 0.975rem;
  margin-bottom: 0.2rem;
}

.timeline-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.policy-hero {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.policy-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.925rem;
}

.policy-content-section {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}

.policy-article {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .policy-article {
    padding: 2rem 1.25rem;
  }
}

.policy-article h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.policy-article h2:first-of-type {
  margin-top: 0;
}

.policy-article h3 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.policy-article p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.15rem;
}

.policy-article ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.policy-article li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-highlight-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.policy-highlight-box p {
  margin-bottom: 0;
  color: var(--text-dark);
}
