/* ==========================================================
   NaskaPro — Design System & Styles
   Premium plagiarism checker with white background theme
   ========================================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  /* Colors */
  --color-primary: #2563EB;
  --color-primary-light: #3B82F6;
  --color-primary-dark: #1D4ED8;
  --color-primary-bg: #EFF6FF;
  --color-accent: #F59E0B;
  --color-accent-light: #FBBF24;
  --color-accent-bg: #FEF3C7;
  --color-success: #10B981;
  --color-success-bg: #D1FAE5;
  --color-danger: #EF4444;
  --color-danger-bg: #FEE2E2;
  --color-warning: #F97316;

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-surface: #F8FAFC;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-text: #0F172A;
  --color-text-secondary: #334155;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(15,23,42,0.08);
  --shadow-xl: 0 20px 40px rgba(15,23,42,0.12);
  --shadow-primary: 0 4px 14px rgba(37,99,235,0.3);
  --shadow-accent: 0 4px 14px rgba(245,158,11,0.3);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 960px;
}

/* ---- Navigation ---- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border-light);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-text);
  text-decoration: none;
}

.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(37,99,235,0.25);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ---- Top Announcement Bar (Ad Banner) ---- */
.announcement-bar {
  background: linear-gradient(90deg, #1E40AF 0%, #3B82F6 50%, #2563EB 100%);
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.announcement-bar .badge-flash {
  background: #F59E0B;
  color: #0F172A;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 8px;
  text-transform: uppercase;
}

.announcement-bar strong {
  color: #FDE047;
}

/* ---- Hero Section ---- */
.hero {
  background: radial-gradient(circle at 50% 0%, #EFF6FF 0%, #FFFFFF 70%);
  padding: 48px 0 32px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-bg);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-primary), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ---- Trust Stats Counter Bar ---- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  padding: 16px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ---- Promotional Ad Card (Drillbit + Turnitin) ---- */
.ad-banner {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.ad-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.ad-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.ad-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

.ad-text h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-text p {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-top: 4px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #F59E0B;
  color: #0F172A;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-ad {
  background: #F59E0B;
  color: #0F172A;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(245,158,11,0.3);
  position: relative;
  z-index: 1;
}

.btn-ad:hover {
  background: #FBBF24;
  transform: translateY(-2px);
  color: #0F172A;
}

/* ---- Main Form Section ---- */
.form-section {
  padding: 36px 0 64px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Upload Panel */
.upload-panel {
  min-width: 0;
  width: 100%;
}

.settings-panel {
  min-width: 0;
  width: 100%;
}

.upload-panel h2,
.settings-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-zone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.upload-zone-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  pointer-events: none;
}

.upload-zone:hover .upload-zone-icon {
  background: var(--color-primary);
  transform: scale(1.1);
}

.upload-zone:hover .upload-zone-icon svg {
  stroke: white;
}

.upload-zone-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
}

.upload-zone-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  pointer-events: none;
}

.upload-zone-text span {
  color: var(--color-primary);
  font-weight: 600;
}

.upload-zone-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  pointer-events: none;
}

.upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* File List */
.file-list-header {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.file-list-empty {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.file-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.file-item-icon.pdf {
  background: #FEE2E2;
  color: var(--color-danger);
}

.file-item-icon.docx {
  background: var(--color-primary-bg);
  color: var(--color-primary);
}

.file-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  line-height: 1.35;
}

.file-item-size {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.file-item-remove {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.file-item-remove:hover {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

/* Requirements Box */
.requirements-box {
  margin-top: 20px;
  padding: 16px;
  background: var(--color-accent-bg);
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
}

.requirements-box h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #78350F;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.requirements-box ul {
  list-style: none;
  font-size: 0.82rem;
  color: #78350F;
}

.requirements-box li {
  padding: 2px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.requirements-box li::before {
  content: '•';
  color: var(--color-accent);
  font-weight: 700;
}

/* Settings Panel */
.settings-panel {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.checkbox-item:hover {
  background: var(--color-surface);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

/* Email Section */
.email-section {
  margin-bottom: 20px;
}

.email-section h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.email-section .email-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.btn-check-email {
  width: 100%;
  padding: 12px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-base);
}

.btn-check-email:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-check-email.verified {
  background: var(--color-success-bg);
  border-color: var(--color-success);
  color: var(--color-success);
}

/* Billing Section */
.billing-section {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.billing-detail {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.billing-total {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-top: 4px;
}

.billing-total span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Payment Methods */
.btn-payment {
  width: 100%;
  padding: 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-base);
}

.btn-payment:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.btn-payment.active {
  border-color: var(--color-primary);
  color: white;
  background: var(--color-primary);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.payment-method-card {
  padding: 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: white;
}

.payment-method-card:hover,
.payment-method-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

.payment-method-card .method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.payment-method-card .method-icon img {
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
}

.payment-method-card .method-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* Submit Button */
.btn-submit-order {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
  margin-top: 16px;
}

.btn-submit-order:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.4);
}

.btn-submit-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-submit-order .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}

.btn-submit-order.loading .spinner {
  display: block;
}

.btn-submit-order.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---- Feature Comparison Section (Ad / Promo Section) ---- */
.comparison-section {
  padding: 64px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.comparison-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--color-border);
}

.comparison-card.highlight {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.comparison-card.highlight::before {
  content: 'Rekomendasi Utama';
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.comparison-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-list {
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comparison-list .icon-check {
  color: var(--color-success);
  font-weight: 700;
}

.comparison-list .icon-cross {
  color: var(--color-danger);
  font-weight: 700;
}

/* ---- Guarantee & Trust Section ---- */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.guarantee-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}

.guarantee-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.guarantee-card p {
  font-size: 0.83rem;
  color: var(--color-text-muted);
}

/* ---- FAQ Section ---- */
.faq-section {
  padding: 64px 0;
}

.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Payment Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-surface);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ---- Toast Container ---- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-success { background: var(--color-success); color: white; }
.toast-error { background: var(--color-danger); color: white; }
.toast-warning { background: var(--color-accent); color: white; }
.toast-info { background: var(--color-primary); color: white; }

/* ---- Footer ---- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  padding: 40px 0;
}

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

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 16px; }
  .ad-banner { flex-direction: column; text-align: center; }
  .ad-banner-content { flex-direction: column; }
  .navbar-links { display: none; }
}

/* --- Mobile Responsive Navbar --- */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  border: none;
  background: none;
  padding: 5px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .navbar .container {
    flex-wrap: wrap;
  }
  
  .navbar-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 15px;
    padding-bottom: 15px;
    gap: 15px;
  }
  
  .navbar-collapse.active {
    display: flex;
  }

  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
  }

  .navbar-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .navbar-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Desktop navbar collapse base style */
@media (min-width: 769px) {
  .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: 1;
  }
}

/* Fix desktop layout by making the collapse wrapper transparent to flex */
@media (min-width: 769px) {
  .navbar-collapse {
    display: contents;
  }
}

/* Global Mobile Fixes */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .payment-card {
    padding: 20px;
    margin: 10px;
  }
}
