/* Modern Clean CSS - 4SFINSERV */

/* CSS Custom Properties for Theming */
:root {
  /* Light Theme (Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-accent: #e2e8f0;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-primary: #2563eb;
  --accent-secondary: #3b82f6;
  --accent-tertiary: #60a5fa;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.1);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-accent: #475569;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-tertiary: #93c5fd;
  --border-color: #334155;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --shadow-hover: rgba(0, 0, 0, 0.4);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px var(--shadow-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 70px;
}

/* Logo */
.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-link {
  text-decoration: none;
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-primary);
  background-color: var(--bg-accent);
}

.nav-link.active {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: scale(1.05);
}

.cta-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Main Content */
.main {
  margin-top: 90px;
  min-height: calc(100vh - 180px);
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-subtitle {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  font-size: 1.5rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.social-link:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-note {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer-legal-links {
  margin-top: 1rem;
  text-align: center;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.accent-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.hero-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.hero-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.checkmark {
  font-size: 1.5rem;
  color: var(--success-color);
  font-weight: bold;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.services .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.services .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px var(--shadow-hover);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Modern Components */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px var(--shadow-hover);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-delay {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Admin Styles */
.admin-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.admin-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.admin-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.quick-actions {
  margin-bottom: 3rem;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.action-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  display: block;
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
  border-color: var(--accent-primary);
}

.action-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.action-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.action-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.recent-activity {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
}

.activity-list {
  space-y: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  font-size: 1.5rem;
}

.activity-content p {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

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

.error-message {
  background: var(--error-color);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Data Tables */
.data-table {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.data-table tr:hover {
  background: var(--bg-accent);
}

/* Forms */
.admin-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Credit Check Styles */
.credit-check-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Header Spacing for Fixed Navbar */
.page-title,
.page-subtitle {
  padding-top: 1rem;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 3rem;
}

.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--gradient-primary);
  color: white;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--accent-primary);
}

/* Credit Form */
.credit-form-container {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.credit-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

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

.step-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.step-header p {
  color: var(--text-secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.input.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Terms Section */
.terms-section {
  background: var(--bg-accent);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
}

.terms-checkbox label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.terms-checkbox a {
  color: var(--accent-primary);
  text-decoration: none;
}

.terms-text p {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.terms-text ul {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.5rem;
}

.terms-text li {
  margin-bottom: 0.25rem;
}

/* Trust Section */
.trust-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.trust-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trust-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Results Page */
.results-header {
  text-align: center;
  margin-bottom: 3rem;
}

.score-display {
  margin-bottom: 4rem;
}

.score-card {
  background: var(--gradient-primary);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.score-circle {
  text-align: center;
  flex-shrink: 0;
}

.score-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.score-label {
  font-size: 1.125rem;
  font-weight: 600;
  opacity: 0.9;
}

.score-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.score-info p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.score-date {
  opacity: 0.8;
}

.score-band.excellent { color: #10b981; }
.score-band.good { color: #3b82f6; }
.score-band.fair { color: #f59e0b; }
.score-band.poor { color: #ef4444; }

/* Breakdown and Products */
.score-breakdown, .recommended-products, .improvement-tips {
  margin-bottom: 4rem;
}

.score-breakdown h2, .recommended-products h2, .improvement-tips h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.breakdown-grid, .products-grid, .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.breakdown-item, .product-card, .tip-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.breakdown-item:hover, .product-card:hover, .tip-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.breakdown-icon, .product-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breakdown-item h4, .product-card h3, .tip-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.breakdown-item p, .product-card p, .tip-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-rate {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.tip-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Results Actions */
.results-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Products Styles */
.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-section {
  margin-bottom: 4rem;
}

.products-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.no-products {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin: 2rem 0;
}

.setup-instructions h3 {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.setup-instructions > p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow-color);
}

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

.step-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.step-content ul {
  text-align: left;
  margin: 0.5rem 0 0 1rem;
}

.step-content li {
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.step-content code {
  background: var(--bg-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.quick-setup {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.quick-setup p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.quick-setup code {
  background: var(--bg-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px var(--shadow-hover);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 12px;
  color: white;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 0;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-specs {
  margin-bottom: 2rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--text-primary);
}

.spec-value {
  color: var(--accent-primary);
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  text-align: center;
}

/* Benefits Section */
.products-benefits {
  background: var(--bg-secondary);
  padding: 4rem 0;
  margin: 4rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.products-cta {
  background: var(--gradient-primary);
  padding: 4rem 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Product Detail Page */
.product-detail-hero {
  background: var(--gradient-primary);
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.product-detail-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-detail-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.product-detail-content {
  padding: 4rem 0;
}

.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-info h3, .eligibility-info h3, .documents-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.product-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.eligibility-list, .documents-list {
  space-y: 1rem;
}

.eligibility-list li, .documents-list li {
  padding: 1rem;
  background: var(--bg-accent);
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
}

.product-detail-actions {
  text-align: center;
  padding: 3rem 0;
  background: var(--bg-secondary);
}

/* Application Form */
.application-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.application-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.application-header {
  text-align: center;
  margin-bottom: 3rem;
}

.application-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.application-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.application-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.application-form-group {
  display: flex;
  flex-direction: column;
}

.application-form-group.full-width {
  grid-column: 1 / -1;
}

.application-form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.application-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.application-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Application Status */
.status-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  text-align: center;
  margin-bottom: 3rem;
}

.status-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.status-card.draft .status-icon { color: var(--warning-color); }
.status-card.submitted .status-icon { color: var(--accent-primary); }
.status-card.review .status-icon { color: var(--accent-secondary); }
.status-card.approved .status-icon { color: var(--success-color); }
.status-card.rejected .status-icon { color: var(--error-color); }

.status-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.status-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.application-details {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 8px;
}

.detail-label {
  font-weight: 600;
  color: var(--text-primary);
}

.detail-value {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Credit Score Banner */
.credit-score-banner {
  background: var(--gradient-primary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.banner-icon {
  font-size: 2.5rem;
}

.banner-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.banner-text p {
  opacity: 0.9;
  margin: 0;
}

/* Form Sections */
.form-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

/* Radio Groups */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
}

/* Status Timeline */
.status-timeline {
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.timeline-item.completed {
  opacity: 1;
}

.timeline-item.rejected {
  opacity: 1;
}

.timeline-item.rejected .timeline-marker {
  background: var(--error-color);
}

.timeline-marker {
  position: absolute;
  left: -22px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-item.completed .timeline-marker {
  background: var(--success-color);
}

.timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* Next Steps */
.next-steps {
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.step-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Application Actions */
.application-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Product Benefits */
.product-benefits {
  margin-top: 2rem;
}

.product-benefits h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-benefits ul {
  list-style: none;
  padding: 0;
}

.product-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* Status Badges */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-uploaded { background: var(--warning-color); color: white; }
.status-pending_review { background: var(--accent-primary); color: white; }
.status-verified { background: var(--success-color); color: white; }
.status-rejected { background: var(--error-color); color: white; }

/* Modals */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--bg-primary);
  margin: 10% auto;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Document Upload Styles */
.upload-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.upload-header {
  text-align: center;
  margin-bottom: 3rem;
}

.case-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.case-number {
  font-weight: 600;
  color: var(--accent-primary);
}

.required-documents {
  margin-bottom: 3rem;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.document-requirement {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
}

.document-requirement.uploaded {
  border-color: var(--success-color);
  background: rgba(16, 185, 129, 0.05);
}

.document-requirement .doc-icon {
  font-size: 1.5rem;
}

.document-requirement h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.document-requirement p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.upload-form-container {
  margin-bottom: 3rem;
}

.upload-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.upload-row .doc-type-select,
.upload-row .file-input {
  flex: 1;
}

.upload-row .remove-row {
  flex-shrink: 0;
}

.upload-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.uploaded-documents {
  margin-bottom: 3rem;
}

.document-group {
  margin-bottom: 2rem;
}

.document-group h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.document-list {
  display: grid;
  gap: 1rem;
}

.document-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
}

.doc-details {
  flex: 1;
}

.doc-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.doc-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.doc-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-success {
  background: var(--success-color);
  color: white;
}

.btn-danger {
  background: var(--error-color);
  color: white;
}

.btn-info {
  background: var(--accent-secondary);
  color: white;
}

.upload-navigation {
  text-align: center;
  padding: 2rem 0;
}

/* Data Table Container */
.data-table-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.document-stats {
  margin-bottom: 3rem;
}

/* Legal Pages Styles */
.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header .page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.legal-header .page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

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

.legal-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 0.5rem;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 1rem 0;
}

.legal-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem 0;
}

.legal-section p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.legal-section ul, .legal-section ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.contact-info {
  background: var(--bg-accent);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-primary);
}

.contact-info p {
  margin: 0.5rem 0;
  font-weight: 500;
}

.contact-info strong {
  color: var(--accent-primary);
}

/* Cookie Table */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table tr:hover {
  background: var(--bg-accent);
}

/* About Page Styles */
.about-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-section.reverse {
  direction: rtl;
}

.about-section.reverse .section-content {
  direction: ltr;
}

.section-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.section-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.mission-icon, .vision-icon {
  font-size: 8rem;
  margin-bottom: 1rem;
  display: block;
}

.values-section {
  text-align: center;
  margin-bottom: 6rem;
}

.values-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.value-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.team-section {
  text-align: center;
  margin-bottom: 6rem;
}

.team-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.member-avatar {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.team-member h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.stats-section {
  text-align: center;
  margin-bottom: 6rem;
}

.stats-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 3rem;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

  .why-choose-us .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }

.why-choose-us .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.why-choose-us .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Partners Section */
.partners {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.partners .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.partners .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.partners .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  align-items: center;
}

.partner-logo {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.partner-logo:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.partners-cta {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.partners-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  color: white;
}

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

.cta-button {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

.cta-primary {
  background: white;
  color: var(--accent-primary);
  border: 2px solid white;
}

.cta-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: white;
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-cta {
  background: var(--gradient-primary);
  padding: 4rem 0;
  text-align: center;
  color: white;
  border-radius: 12px;
  margin: 4rem 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Contact Page Styles */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-section, .contact-info-section {
  margin-bottom: 6rem;
}

.contact-form-container, .contact-info-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.contact-form-container h2, .contact-info-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.contact-form-container p, .contact-info-container p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.method-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.method-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.method-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-details {
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.faq-section {
  margin-bottom: 6rem;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-section {
  text-align: center;
  margin-bottom: 6rem;
}

.map-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.map-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

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

.map-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.social-section {
  text-align: center;
  margin-bottom: 4rem;
}

.social-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.social-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.social-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header improvements */
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem 0;
    min-height: 80px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .header-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .card {
    padding: 1.5rem;
  }

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

  .actions-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  .admin-title {
    font-size: 2rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .action-card {
    padding: 1.5rem;
  }

  /* Credit check responsive */
  .progress-bar {
    gap: 1rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .score-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .score-number {
    font-size: 3rem;
  }

  .breakdown-grid, .products-grid, .tips-grid {
    grid-template-columns: 1fr;
  }

  .results-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Products responsive */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-header {
    flex-direction: column;
    text-align: center;
  }

  .product-actions {
    flex-direction: column;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .application-form {
    padding: 2rem;
  }

  .application-form-grid {
    grid-template-columns: 1fr;
  }

  .application-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  /* Application responsive */
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .application-actions {
    flex-direction: column;
  }

  /* Document upload responsive */
  .upload-row {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-row .remove-row {
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .document-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .doc-actions {
    align-self: stretch;
    justify-content: center;
  }

  .case-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .upload-progress {
    flex-direction: column;
    gap: 1rem;
  }

  /* Legal pages responsive */
  .legal-header .page-title {
    font-size: 2rem;
  }

  .legal-content {
    padding: 0 1rem;
  }

  .cookie-table {
    font-size: 0.875rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.75rem 0.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  /* About page responsive */
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-section.reverse {
    direction: ltr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  /* Contact page responsive */
  /* Header and main content adjustments for mobile */
  .main {
    margin-top: 120px;
    min-height: calc(100vh - 220px);
  }

  /* Section spacing adjustments for mobile */
  .services {
    padding: 6rem 0 5rem;
    margin-bottom: 3rem;
  }

  .services .section-header {
    margin-bottom: 4rem;
    padding-top: 1rem;
  }

  .services .section-header {
    margin-bottom: 5rem !important;
  }

  .why-choose-us .section-header {
    margin-bottom: 5rem !important;
  }

  .partners .section-header {
    margin-bottom: 5rem !important;
  }

  .services .section-title {
    font-size: 1.75rem;
  }

  .services .section-subtitle {
    font-size: 1rem;
  }

  .why-choose-us {
    padding: 6rem 0 5rem;
    margin-bottom: 3rem;
  }

  .why-choose-us .section-header {
    margin-bottom: 4rem;
    padding-top: 1rem;
  }

  .partners {
    padding: 6rem 0 5rem;
    margin-bottom: 3rem;
  }

  .partners .section-header {
    margin-bottom: 4rem;
    padding-top: 1rem;
  }

  .cta-section {
    padding: 6rem 0 5rem;
    margin-bottom: 3rem;
  }

  .why-choose-us {
    padding: 4rem 0;
    margin-bottom: 2rem;
  }

  .partners {
    padding: 4rem 0;
    margin-bottom: 2rem;
  }

  .cta-section {
    padding: 4rem 0;
    margin-bottom: 2rem;
  }

  /* Container adjustments */
  .container {
    padding: 0 1rem;
  }

  /* Typography scaling */
  .page-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .page-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Hero section responsive */
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    text-align: center;
    gap: 2rem;
    align-items: center;
  }

  .hero-text {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  /* Hide hero cards on mobile */
  .hero-visual {
    display: none;
  }

  .hero-card {
    width: 100%;
    max-width: 320px;
    text-align: left;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-hover);
  }

  .hero-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
  }

  .hero-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .checkmark {
    font-size: 1.25rem;
    color: var(--success-color);
    font-weight: bold;
    display: inline-block;
    margin-left: auto;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-actions .btn {
    min-width: 200px;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Services section responsive */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .features-grid {
    margin-top: 2.5rem;
  }

  .partners-grid {
    margin-top: 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Homepage sections responsive */
  .why-choose-us {
    padding: 4rem 0;
  }

  .why-choose-us .section-title,
  .partners .section-title {
    font-size: 1.75rem;
  }

  .why-choose-us .section-subtitle,
  .partners .section-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-item {
    padding: 1.5rem;
  }

  .feature-number {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }

  .feature-title {
    font-size: 1.125rem;
  }

  .feature-description {
    font-size: 0.875rem;
  }

  /* Partners section responsive */
  .partners {
    padding: 4rem 0;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  .partner-logo {
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    min-height: 70px;
  }

  /* CTA section responsive */
  .cta-section {
    padding: 4rem 0;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

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

  .cta-button {
    min-width: 280px;
    width: 100%;
    max-width: 320px;
  }

  /* Footer responsive */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    gap: 2rem;
  }

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

  .footer-title {
    font-size: 1.25rem;
  }

  .footer-subtitle {
    font-size: 1rem;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .social-links {
    justify-content: center;
  }

  .contact-form-section, .contact-info-section {
    margin-bottom: 4rem;
  }

  .contact-form-container, .contact-info-container {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: center;
  }
}

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .card {
    padding: 1.5rem;
  }

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

  .actions-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: clamp(2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  .admin-title {
    font-size: 2rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .action-card {
    padding: 1.5rem;
  }

  /* Credit check responsive */
  .progress-bar {
    gap: 1rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .score-card {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .score-number {
    font-size: 3rem;
  }

  .breakdown-grid, .products-grid, .tips-grid {
    grid-template-columns: 1fr;
  }

  .results-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Products responsive */
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-header {
    flex-direction: column;
    text-align: center;
  }

  .product-actions {
    flex-direction: column;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .application-form {
    padding: 2rem;
  }

  .application-form-grid {
    grid-template-columns: 1fr;
  }

  .application-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  /* Application responsive */
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .application-actions {
    flex-direction: column;
  }

  /* Document upload responsive */
  .upload-row {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-row .remove-row {
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .document-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .doc-actions {
    align-self: stretch;
    justify-content: center;
  }

  .case-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .upload-progress {
    flex-direction: column;
    gap: 1rem;
  }

  /* Legal pages responsive */
  .legal-header .page-title {
    font-size: 2.5rem;
  }

  .legal-content {
    padding: 0 1rem;
  }

  .cookie-table {
    font-size: 0.875rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.75rem 0.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .main {
    margin-top: 110px;
    min-height: calc(100vh - 200px);
  }

  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-visual {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }

  .hero-card {
    max-width: 100%;
    padding: 1.25rem;
    margin: 0 1rem;
  }

  .hero-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .hero-card p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .checkmark {
    font-size: 1.125rem;
  }

  .stat {
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .why-choose-us .section-title,
  .partners .section-title,
  .cta-title {
    font-size: 1.5rem;
  }

  .features-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .partner-logo {
    padding: 0.75rem 0.25rem;
    font-size: 0.7rem;
    min-height: 60px;
  }

  .cta-actions {
    gap: 0.75rem;
  }

  .cta-button {
    min-width: 260px;
    padding: 1rem 1.5rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-legal-links {
    margin-top: 0.75rem;
  }

  .footer-legal-links a {
    display: block;
    margin: 0.25rem 0;
    font-size: 0.75rem;
  }

  /* Form improvements */
  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Button improvements */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  /* Card improvements */
  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  /* Table responsive */
  .table-responsive {
    overflow-x: auto;
  }

  /* Admin dashboard responsive */
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* Section spacing for very small screens */
  .services {
    padding: 5rem 0 4rem;
    margin-bottom: 2rem;
  }

  .services .section-header {
    margin-bottom: 3.5rem;
    padding-top: 1.5rem;
  }

  .services .section-title {
    font-size: 1.5rem;
  }

  .services .section-subtitle {
    font-size: 0.95rem;
  }

  .why-choose-us, .partners, .cta-section {
    padding: 5rem 0 4rem;
    margin-bottom: 2rem;
  }

  .why-choose-us .section-header,
  .partners .section-header {
    margin-bottom: 3.5rem;
    padding-top: 1.5rem;
  }

  .services .section-header {
    margin-bottom: 3rem;
  }

  .services .section-header {
    margin-bottom: 4.5rem !important;
  }

  .services .section-title {
    font-size: 1.5rem;
  }

  .services .section-subtitle {
    font-size: 0.95rem;
  }

  .why-choose-us .section-header,
  .partners .section-header {
    margin-bottom: 4.5rem !important;
  }

  .why-choose-us, .partners, .cta-section {
    padding: 4rem 0 3rem;
    margin-bottom: 1.5rem;
  }

  .why-choose-us .section-header,
  .partners .section-header {
    margin-bottom: 2.5rem;
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: slideInUp 0.6s ease-out;
}