/* THE TRUST LOAN — Homepage Sections (dark 2026) */

main {
  padding-top: calc(var(--trust-bar-h) + var(--header-h));
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  min-height: calc(100vh - var(--header-h) - var(--trust-bar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
}

.hero-content { position: relative; z-index: 1; min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-form {
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  min-width: 0;
}

.hero-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.hero-form select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: #0f172a;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 1.25rem;
}

.hero-form select option {
  background: #ffffff;
  color: #0f172a;
  padding: 0.5rem;
}

.hero-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.15);
}

.hero-form select.error { border-color: #f87171; }

.hero-form .btn { width: 100%; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust svg { width: 14px; height: 14px; color: var(--accent); }

/* Hero visual — 3D floating card */
.hero-visual {
  position: relative;
  perspective: 1000px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-visual__card {
  padding: 2.5rem;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-visual:hover .hero-visual__card {
  transform: rotateY(-4deg) rotateX(2deg);
}

@keyframes heroFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.hero-visual__icon {
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-visual__icon svg { width: 36px; height: 36px; color: var(--accent); }

.hero-visual h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hero-visual p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.hero-stats-mini strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stats-mini span { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Sections */
.section { padding: 5rem 0; position: relative; z-index: 1; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

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

/* Trust cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.trust-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.trust-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(0,229,160,0.15), rgba(0,194,255,0.15));
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trust-card__icon svg { width: 26px; height: 26px; }

.trust-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.375rem; }
.trust-card p { font-size: 0.875rem; color: var(--text-muted); }

.security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.security-badge svg { width: 18px; height: 18px; color: var(--accent); }

.testimonial {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  text-align: center;
}

.testimonial__stars { color: #fbbf24; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 3px; }

.testimonial blockquote {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial cite { font-size: 0.875rem; color: var(--text-muted); font-style: normal; font-weight: 600; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-3px); }

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0,229,160,0.12), rgba(124,92,255,0.12));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.375rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* Stats */
.stats-banner { padding: 4rem 0; position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-item span { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-card__num {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--accent-glow);
}

.step-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.step-card h4 { font-size: 0.8125rem; font-weight: 600; color: var(--accent); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--text-muted); }

/* CTA */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner {
  padding: 4rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cta-banner p { color: var(--text-secondary); margin-bottom: 0.5rem; }
.cta-sub { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 2rem !important; }

.cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cta-features svg { width: 16px; height: 16px; color: var(--accent); }

/* Pricing */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pricing-table thead { background: rgba(0, 229, 160, 0.08); }

.pricing-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.pricing-table td {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.pricing-table tbody tr:hover { background: #f0fdf4; }

/* Legal */
.legal-page { padding: 3rem 0 4rem; position: relative; z-index: 1; }

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem;
}

.legal-page h1 { font-size: 2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.5rem; }
.legal-updated { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .trust-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 2.5rem 0 3rem; min-height: auto; }
  .hero-form { padding: 1.5rem; max-width: 100%; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); word-wrap: break-word; }
  .hero-sub { max-width: 100%; }
  .trust-grid, .features-grid, .steps-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-visual {
    width: 100%;
    max-width: 100%;
    perspective: none;
    overflow: hidden;
  }
  .hero-visual__card {
    transform: none !important;
    animation: none !important;
  }
  .hero-visual:hover .hero-visual__card { transform: none !important; }
  .section { padding: 3.5rem 0; }
  .pricing-table-wrap { margin: 0; }
  .legal-inner { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.75rem; padding: 0.4375rem 0.75rem; }
  .hero-stats-mini { grid-template-columns: 1fr; text-align: center; }
  .hero-trust { flex-direction: column; gap: 0.5rem; }
  .btn--lg { padding: 0.875rem 1.25rem; font-size: 0.875rem; }
  .section-header h2 { font-size: 1.5rem; }
}
