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

:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
  padding: 10px 24px;
  gap: 8px;
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-600);
}
.btn-outline:hover {
  background: var(--green-50);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-text {
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--transition);
}
.btn-text:hover { color: var(--green-600); }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-accent {
  background: var(--green-100);
  color: var(--green-700);
}
.badge-dark {
  background: var(--gray-800);
  color: var(--white);
}
.badge-outline {
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green-600); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

.hero-trust {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  max-width: 800px;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero .highlight {
  color: var(--green-600);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
}
.hero-feature p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-partners > span {
  font-size: 0.85rem;
  color: var(--gray-400);
}
.partner-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.partner {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
a.partner:hover {
  color: var(--gray-600);
}

/* ===== Dashboard Preview ===== */
.dashboard-preview {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.dashboard-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}
.dash-subtitle {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.85rem;
}
.status-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-600);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-100);
}
.stat-card {
  background: var(--white);
  padding: 20px 24px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
}
.stat-good { color: var(--green-600); font-size: 1.1rem; }
.stat-change {
  font-size: 0.8rem;
  margin-top: 4px;
}
.stat-change.positive { color: var(--green-600); }

.dashboard-transactions {
  padding: 16px 24px;
}
.transaction {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.transaction:last-child { border-bottom: none; }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.tx-info {
  flex: 1;
}
.tx-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}
.tx-info span {
  font-size: 0.8rem;
  color: var(--gray-400);
}
.tx-amount {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--green-600);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}
.feature-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}
.feature-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, var(--green-500) 100%);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--gray-200);
  border-radius: 50px;
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.tab {
  padding: 10px 24px;
  border: none;
  background: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
}
.tab.active {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-card.popular {
  border-color: var(--green-500);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-600);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
}
.price span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-500);
}
.price-sub {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.pricing-card ul {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-card li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 24px;
  position: relative;
}
.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 32px auto 0;
}

/* ===== Get Started Steps ===== */
.get-started {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}
.step-card:hover {
  background: var(--green-50);
}
.step-card:hover .step-icon-bg {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
}
.step-card:hover .step-number {
  background: var(--green-600);
  color: var(--white);
}

.step-icon-wrap {
  position: relative;
  margin-bottom: 24px;
}

.step-icon-bg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%);
  border: 1px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--green-600);
  transition: all 0.3s ease;
}

.step-number {
  position: absolute;
  top: -6px;
  right: calc(50% - 48px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-connector {
  position: absolute;
  top: 68px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--green-200);
}
.step-connector::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--green-300);
  border-right: 2px solid var(--green-300);
  transform: rotate(45deg);
}
.step-card:last-child .step-connector {
  display: none;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-time {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-700);
  letter-spacing: 0.02em;
}

.steps-cta {
  text-align: center;
}
.steps-cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}
.testimonial-featured {
  grid-column: 1 / -1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}
.testimonial-author span a {
  color: var(--gray-500);
  transition: color var(--transition);
}
.testimonial-author span a:hover {
  color: var(--green-600);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green-600); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--green-50);
  border-radius: var(--radius-xl);
}
.faq-cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.faq-cta p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Apply Section ===== */
.apply-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.apply-content .badge {
  margin-bottom: 20px;
}
.apply-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.apply-content > p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.apply-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply-features li {
  font-size: 0.95rem;
  color: var(--gray-700);
  padding-left: 28px;
  position: relative;
}
.apply-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
  font-size: 1.1rem;
}

.apply-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.apply-testimonial {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.apply-testimonial p {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.apply-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.apply-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.form-group input::placeholder {
  color: var(--gray-400);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-400); }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--green-400); }

/* ===== Legal / Terms Pages ===== */
.legal-hero {
  padding-top: 120px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  text-align: center;
}
.legal-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.legal-date {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.legal-content {
  padding: 60px 0 100px;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}
.legal-section p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-subsection {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-top: 20px;
  margin-bottom: 10px;
}
.legal-section ul {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}
.legal-section li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}
.legal-section li::before {
  content: "\2022";
  position: absolute;
  left: 8px;
  color: var(--green-500);
  font-weight: 700;
}

.contact-card {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 8px;
}
.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.contact-card a {
  color: var(--green-600);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-card a:hover {
  color: var(--green-700);
}

/* ===== Login Page ===== */
.login-section {
  min-height: 100vh;
  padding-top: 70px;
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
}

.login-panel {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 40%, var(--green-600) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}

.login-panel-content {
  max-width: 440px;
}
.login-panel-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.login-panel-content > p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 36px;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.login-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.login-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.login-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.login-feature p {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.4;
}

.login-testimonial {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.15);
}
.login-testimonial > p {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 16px;
}
.login-testimonial .testimonial-author strong {
  color: var(--white);
}
.login-testimonial .testimonial-author span {
  color: rgba(255,255,255,0.6);
}

/* Login Form Side */
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--white);
}

.login-form-container {
  width: 100%;
  max-width: 420px;
}

.login-form-header {
  margin-bottom: 32px;
}
.login-form-header .logo {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.login-form-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.login-form-header p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.login-form .form-group {
  margin-bottom: 20px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.label-row label {
  margin-bottom: 0;
}
.forgot-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-600);
  transition: color var(--transition);
}
.forgot-link:hover {
  color: var(--green-700);
}

.password-field {
  position: relative;
}
.password-field input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.password-field input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.password-field input::placeholder {
  color: var(--gray-400);
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-400);
  padding: 4px;
  line-height: 1;
}

.form-group-inline {
  margin-bottom: 24px;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.login-divider span {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

.login-alt-actions {
  margin-bottom: 24px;
}

.login-footer-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.login-footer-text a {
  color: var(--green-600);
  font-weight: 600;
}
.login-footer-text a:hover {
  color: var(--green-700);
}

.login-legal-text {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.login-legal-text a {
  color: var(--gray-500);
  text-decoration: underline;
}
.login-legal-text a:hover {
  color: var(--green-600);
}

/* ===== Apply Page ===== */
.apply-hero {
  padding-top: 120px;
  padding-bottom: 48px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  text-align: center;
}
.apply-hero .badge {
  margin-bottom: 16px;
}
.apply-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.apply-hero > .container > p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.application-section {
  padding: 48px 0 100px;
}

.application-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.step-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
}
.step-indicator.active span,
.step-indicator.completed span {
  color: var(--green-600);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.step-indicator.active .step-circle {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
}
.step-indicator.completed .step-circle {
  background: var(--green-500);
  color: var(--white);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
  margin-bottom: 22px;
  transition: background var(--transition);
}
.step-line.completed {
  background: var(--green-500);
}

/* Form Steps */
.form-step {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-step.active {
  display: block;
}

.form-step-header {
  margin-bottom: 28px;
}
.form-step-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.form-step-header p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.form-note-box {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-note-box strong {
  color: var(--green-700);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

/* Review Step */
.review-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.review-block {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.review-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.review-block-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
}

.review-grid {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.review-item {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.review-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.review-value {
  font-size: 0.9rem;
  color: var(--gray-800);
  font-weight: 500;
}
.review-placeholder {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
  grid-column: 1 / -1;
  padding: 8px 0;
}

.terms-agree {
  margin-bottom: 8px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green-600);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--green-600);
  font-weight: 600;
}
.checkbox-label a:hover {
  color: var(--green-700);
}

/* Application Sidebar */
.application-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.sidebar-card > p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sidebar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.sidebar-contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-900);
}
.sidebar-contact-item p {
  font-size: 0.85rem;
  color: var(--green-600);
  font-weight: 600;
  margin: 0;
}
.sidebar-contact-item span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.sidebar-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== Compliance Page ===== */
.compliance-content {
  padding: 60px 0 100px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.compliance-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all var(--transition);
}
.compliance-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.compliance-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.compliance-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.compliance-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.compliance-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compliance-card li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.compliance-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

/* Security Measures */
.security-section {
  margin-bottom: 80px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.security-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-100);
}
.security-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.security-card li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.security-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}

/* Certifications */
.certifications-section {
  margin-bottom: 80px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  transition: all var(--transition);
}
.cert-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cert-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.cert-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.cert-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Regulatory */
.regulatory-section {
  margin-bottom: 80px;
}

.regulatory-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.reg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  padding: 14px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 500;
}
.reg-item::before {
  content: "\2713";
  color: var(--green-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* Compliance CTA */
.compliance-cta {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 50%, var(--green-500) 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
}
.compliance-cta h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.compliance-cta p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ===== Support Page ===== */
.support-hero {
  padding-top: 120px;
  padding-bottom: 64px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  text-align: center;
}
.support-hero .badge {
  margin-bottom: 16px;
}
.support-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.support-hero > .container > p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.support-hero .hero-cta {
  justify-content: center;
}

.active-link {
  color: var(--green-600) !important;
  font-weight: 600 !important;
}

/* Support Channels */
.support-channels {
  padding: 80px 0;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.channel-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.channel-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.channel-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.channel-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.channel-highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 12px;
}
.channel-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Support Details Grid */
.support-details {
  padding: 80px 0;
  background: var(--gray-50);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.support-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.support-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  resize: vertical;
}
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}
.form-group textarea::placeholder {
  color: var(--gray-400);
}

/* Support Sidebar */
.support-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.support-sidebar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.info-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 24px;
}
.info-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}
.info-tab.active {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.info-panel {
  display: none;
}
.info-panel.active {
  display: block;
}

.info-panel h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.info-subtitle {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.hours-section {
  margin-bottom: 20px;
}
.hours-section h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 10px;
}
.hours-section > p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.hours-row span:first-child {
  color: var(--gray-600);
}
.hours-row span:last-child {
  font-weight: 600;
  color: var(--gray-800);
}

.emergency-box {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 20px;
}
.emergency-box h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 6px;
}
.emergency-box p {
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.location-details p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.location-details a {
  color: var(--green-600);
  font-weight: 600;
}
.location-details a:hover {
  color: var(--green-700);
}

.response-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.response-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.response-channel {
  font-size: 0.85rem;
  color: var(--gray-600);
}
.response-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-600);
}

/* Support FAQ */
.support-faq {
  padding: 80px 0;
}

/* ===== API Reference Page ===== */
.api-content {
  padding: 48px 0 100px;
}

.api-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

/* API Sidebar */
.api-sidebar {
  position: sticky;
  top: 90px;
}

.api-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.api-nav-group h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.api-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.api-nav-link {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-500);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}
.api-nav-link:hover {
  color: var(--green-600);
  background: var(--green-50);
}
.api-nav-link.active {
  color: var(--green-700);
  font-weight: 600;
  background: var(--green-50);
  border-left-color: var(--green-600);
}

/* API Main Content */
.api-section {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--gray-200);
}
.api-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.api-section > h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.api-section > p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.api-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.api-section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.api-sub-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 32px 0 16px;
}

/* Method Badges */
.method-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.method-post {
  background: var(--green-100);
  color: var(--green-800, #166534);
}
.method-get {
  background: #dbeafe;
  color: #1e40af;
}
.method-legacy {
  background: var(--gray-200);
  color: var(--gray-600);
}
.method-badges {
  display: flex;
  gap: 6px;
}

/* API Box (info card) */
.api-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.api-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.api-box > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.api-box-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Warning Box */
.api-warning {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-bottom: 24px;
}
.api-warning strong {
  display: block;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 4px;
}
.api-warning p {
  font-size: 0.85rem;
  color: #a16207;
  line-height: 1.6;
  margin: 0;
}

/* Code Blocks */
.code-block {
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.88rem;
  margin-bottom: 8px;
  overflow-x: auto;
}
.code-block code {
  font-family: inherit;
}

.code-block-dark {
  background: var(--gray-900);
  color: #e5e7eb;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  margin-bottom: 8px;
}
.code-block-dark pre {
  margin: 0;
  white-space: pre;
  font-family: inherit;
}

.code-block-inline {
  background: var(--gray-200);
  color: var(--gray-800);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  margin-top: 6px;
  overflow-x: auto;
}

.inline-code {
  background: var(--gray-200);
  color: var(--gray-800);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.85em;
}

.api-badge-inline {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  color: var(--gray-800);
}

/* API Tabs */
.api-tabs {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 16px;
  gap: 4px;
}
.api-tab {
  padding: 8px 18px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}
.api-tab.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}
.api-tab:hover:not(.active) {
  color: var(--gray-700);
}

.api-tab-panel {
  display: none;
}
.api-tab-panel.active {
  display: block;
}

/* API Endpoint Card */
.api-endpoint-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.endpoint-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.endpoint-path {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}
.endpoint-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* API Tables */
.api-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
}
.api-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.api-table thead {
  background: var(--gray-50);
}
.api-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gray-200);
}
.api-table td {
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.api-table td code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
}
.api-table tbody tr:last-child td {
  border-bottom: none;
}

/* API Lists */
.api-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.api-list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 0;
}
.api-list li strong {
  color: var(--gray-800);
}

.api-ordered-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  list-style: decimal;
}
.api-ordered-list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.api-ordered-list li strong {
  color: var(--gray-800);
}

/* Checklist */
.api-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.api-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.api-check-icon {
  color: var(--green-500);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.api-check-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-900);
}
.api-check-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* Version List */
.version-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.version-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ===== Status Page ===== */
.status-hero {
  padding-top: 100px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.status-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.status-hero-inner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.status-banner-ok {
  background: var(--green-100);
  border: 1px solid var(--green-200);
}
.status-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-banner-icon svg {
  flex-shrink: 0;
}
.status-banner h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-800, #166534);
  margin-bottom: 2px;
}
.status-banner p {
  font-size: 0.9rem;
  color: var(--green-600);
}

.status-updated {
  font-size: 0.88rem;
  color: var(--gray-500);
}

/* Status Sections */
.status-section {
  padding: 48px 0;
}
.status-section-bordered {
  border-top: 1px solid var(--gray-200);
}

.status-inner {
  max-width: 800px;
  margin: 0 auto;
}

.status-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Component Cards */
.component-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.component-card {
  background: rgba(240, 253, 244, 0.3);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.component-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.component-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.status-pill svg {
  flex-shrink: 0;
}
.status-operational {
  background: var(--green-100);
  color: var(--green-800, #166534);
}
.status-resolved {
  background: var(--green-100);
  color: var(--green-800, #166534);
}

.component-uptime {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uptime-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.uptime-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.uptime-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
}

.uptime-bar {
  width: 100%;
  height: 8px;
  background: var(--green-100);
  border-radius: 50px;
  overflow: hidden;
}
.uptime-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 50px;
  transition: width 0.3s ease;
}

/* No Incidents */
.no-incidents-card {
  background: rgba(240, 253, 244, 0.3);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
}
.no-incidents-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.no-incidents-icon svg {
  flex-shrink: 0;
}
.no-incidents-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.no-incidents-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Incident Cards */
.incidents-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.incident-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.incident-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.incident-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.incident-date {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.incident-timeline {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-entry {
  border-left: 2px solid var(--gray-200);
  padding-left: 16px;
}
.timeline-time {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== Lucide Icon Sizing ===== */
.hero-feature-icon svg {
  width: 18px;
  height: 18px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-600);
}
.step-icon-bg svg {
  width: 32px;
  height: 32px;
}
.channel-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-600);
}
.compliance-icon svg {
  width: 26px;
  height: 26px;
  color: var(--green-600);
}
.cert-badge svg {
  width: 32px;
  height: 32px;
  color: var(--green-600);
}
.sidebar-icon svg {
  width: 18px;
  height: 18px;
  color: var(--green-600);
}
.login-feature-icon svg {
  width: 20px;
  height: 20px;
}
.status-banner-icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.status-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.no-incidents-icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.api-check-icon svg {
  width: 18px;
  height: 18px;
  color: var(--green-500);
}
.password-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .step-connector { display: none; }
  .apply-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .application-layout { grid-template-columns: 1fr; }
  .login-wrapper { grid-template-columns: 1fr; }
  .api-layout { grid-template-columns: 1fr; }
  .api-sidebar { position: static; }
  .api-sidebar-inner { flex-direction: row; flex-wrap: wrap; gap: 32px; padding: 24px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 16px; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-actions.open {
    display: flex;
    position: absolute;
    top: calc(70px + 240px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .hero { padding-top: 100px; padding-bottom: 48px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-features { flex-direction: column; gap: 16px; }

  .dashboard-stats { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .channels-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .support-hero h1 { font-size: 1.7rem; }
  .status-hero-inner h1 { font-size: 1.7rem; }
  .status-banner { flex-direction: column; text-align: center; padding: 20px; }
  .status-banner h2 { font-size: 1.1rem; }
  .component-card { padding: 20px; }
  .incident-header { padding: 20px; }
  .incident-timeline { padding: 0 20px 20px; }
  .api-sidebar-inner { flex-direction: column; gap: 16px; }
  .api-box { padding: 20px; }
  .api-endpoint-card { padding: 20px; }
  .api-section > h2,
  .api-section-header h2 { font-size: 1.4rem; }
  .security-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .regulatory-list { grid-template-columns: 1fr; }
  .apply-hero h1 { font-size: 1.7rem; }
  .login-panel { display: none; }
  .login-form-side { padding: 100px 24px 48px; }
  .stepper { flex-wrap: wrap; gap: 4px; }
  .step-line { display: none; }
  .review-grid { grid-template-columns: 1fr; }

  .cta-banner h2 { font-size: 1.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .apply-content h2 { font-size: 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
