.page-body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: #0f172a;
  background-image: radial-gradient(circle at 20% 50%, rgba(30, 58, 95, 0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(45, 82, 130, 0.2) 0%, transparent 40%);
  background-repeat: repeat;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Preloader */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  animation: preloaderFadeOut 0.6s ease 3s forwards;
}

.preloader-overlay.hidden {
  display: none;
}

.preloader-text {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: preloaderPulse 1s ease-in-out infinite alternate;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes preloaderPulse {
  from { opacity: 0.7; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.02); }
}

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

/* Cookie Banner */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 95, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px 20px;
  z-index: 9000;
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner-wrapper.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cookie-banner-description {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

.cookie-banner-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-link {
  font-size: 13px;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.cookie-banner-link:hover {
  color: #60a5fa;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cookie-btn-accept {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cookie-btn-accept:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.cookie-btn-reject:hover {
  border-color: #64748b;
  color: #cbd5e1;
  transform: translateY(-1px);
}

/* Header */
.header-container {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 44px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

.header-nav-link:hover {
  color: #ffffff;
}

.header-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.header-nav-link:hover::after {
  width: 100%;
}

.header-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header-mobile-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 6px 0;
  transition: 0.3s;
}

/* Main Content */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 0 50px;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-highlight {
  color: #3b82f6;
}

.hero-subtitle {
  font-size: 20px;
  color: #94a3b8;
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-image-wrapper {
  margin: 40px auto;
  max-width: 700px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px 0;
}

.stat-card {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Features Section */
.features-section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #94a3b8;
  text-align: center;
  margin: 0 0 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.feature-description {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
  padding: 60px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.benefit-content {
  padding-right: 40px;
}

.benefit-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
}

.benefit-description {
  font-size: 17px;
  color: #94a3b8;
  margin: 0 0 30px;
  line-height: 1.7;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #cbd5e1;
  font-size: 15px;
}

.benefit-list-icon {
  color: #3b82f6;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benefit-image {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.cta-description {
  font-size: 17px;
  color: #94a3b8;
  margin: 0 0 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-block;
  background: #3b82f6;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #cbd5e1;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #475569;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.cta-btn-secondary:hover {
  border-color: #64748b;
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

.faq-item {
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding: 24px 0;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-icon {
  color: #3b82f6;
  font-size: 24px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

.faq-answer-text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
}

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

.testimonial-card {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 28px;
}

.testimonial-content {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0 0 20px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a5f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
}

.testimonial-location {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Footer */
.footer-container {
  background: rgba(10, 15, 30, 0.95);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  padding: 50px 24px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand-description {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.6;
}

.footer-column-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 10px;
}

.footer-link {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.footer-disclaimer {
  font-size: 11px;
  color: #475569;
  margin: 0;
  text-align: right;
  max-width: 500px;
}

/* Contact Page */
.contact-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.contact-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.contact-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
}

.contact-subtitle {
  font-size: 18px;
  color: #94a3b8;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.contact-info-card {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 32px;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-value {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}

.contact-info-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-link:hover {
  color: #60a5fa;
}

.contact-form-card {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 32px;
}

.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px;
}

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

.contact-form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.contact-form-input::placeholder {
  color: #64748b;
}

.contact-form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.contact-form-textarea::placeholder {
  color: #64748b;
}

.contact-form-btn {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
}

.contact-form-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

/* Legal Pages */
.legal-page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-hero {
  text-align: center;
  padding: 40px 0 50px;
}

.legal-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.legal-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.legal-content {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 40px;
}

.legal-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 40px 0 16px;
}

.legal-section-title:first-child {
  margin-top: 0;
}

.legal-text {
  font-size: 15px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.7;
}

.legal-text-bold {
  font-weight: 700;
  color: #cbd5e1;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.legal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
}

.legal-list-icon {
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 4px;
}

.legal-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-link:hover {
  color: #60a5fa;
}

.legal-date {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 30px;
  text-align: center;
}

/* Popup Modal */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.popup-overlay.active {
  display: flex;
}

.popup-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.popup-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.popup-message {
  font-size: 16px;
  color: #94a3b8;
  margin: 0 0 28px;
  line-height: 1.6;
}

.popup-btn {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.popup-btn:hover {
  background: #2563eb;
}

/* ==========================================================================
   Interactive Loan Calculator
   ========================================================================== */
.calculator-section {
  padding: 60px 0;
}

.calculator-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.calculator-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-label {
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
}

.calc-value-display {
  font-size: 24px;
  font-weight: 800;
  color: #3b82f6;
  letter-spacing: -0.5px;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.6);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #2563eb;
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.6);
  cursor: pointer;
}

.calc-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.calc-pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.calc-pill-btn {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #cbd5e1;
  padding: 10px 4px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.calc-pill-btn:hover {
  border-color: #3b82f6;
  color: #ffffff;
  background: rgba(59, 130, 246, 0.1);
}

.calc-pill-btn.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

/* Result Box */
.calc-result-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-result-header {
  text-align: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  padding-bottom: 20px;
}

.calc-result-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 8px;
}

.calc-result-amount {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.calc-result-amount .currency {
  font-size: 26px;
  color: #60a5fa;
}

.calc-result-amount .unit {
  font-size: 16px;
  color: #94a3b8;
  font-weight: 500;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
}

.calc-breakdown-row strong {
  color: #e2e8f0;
  font-weight: 600;
}

.calc-breakdown-row.highlight strong {
  color: #3b82f6;
}

.calc-disclaimer {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.calc-cta-btn {
  display: block;
  text-align: center;
  background: #3b82f6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.calc-cta-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solutions-section {
  padding: 60px 0;
}

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

.solution-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.solution-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: block;
}

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

.solution-icon {
  width: 52px;
  height: 52px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.solution-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.solution-tag.eco {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.solution-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.solution-description {
  font-size: 15px;
  color: #94a3b8;
  margin: 0 0 20px;
  line-height: 1.6;
}

.solution-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.solution-spec-icon {
  color: #3b82f6;
  font-weight: 700;
}

.solution-link {
  color: #60a5fa;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}

.solution-link:hover {
  color: #93c5fd;
  gap: 10px;
}

/* ==========================================================================
   Requirements Section
   ========================================================================== */
.requirements-section {
  padding: 60px 0;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.requirement-card {
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 18px;
  padding: 26px 20px;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.requirement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.45);
}

.req-icon-badge {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-block;
}

.req-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
}

.req-docs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.req-doc-item {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.req-doc-item::before {
  content: '•';
  color: #3b82f6;
  font-weight: bold;
}

.req-tip {
  background: rgba(59, 130, 246, 0.1);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: auto;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.comparison-section {
  padding: 60px 0;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  text-align: left;
}

.comparison-table th {
  background: rgba(30, 58, 95, 0.7);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  font-size: 14px;
  color: #cbd5e1;
}

.comparison-table tr:hover td {
  background: rgba(59, 130, 246, 0.08);
}

.comparison-table .car-category {
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.table-cta-btn {
  display: inline-block;
  background: #3b82f6;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.table-cta-btn:hover {
  background: #2563eb;
}

/* ==========================================================================
   Educational Guides Section
   ========================================================================== */
.guides-section {
  padding: 60px 0;
}

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

.guide-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.guide-badge {
  font-size: 11px;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

.guide-readtime {
  font-size: 12px;
  color: #64748b;
}

.guide-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.4;
}

.guide-text {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.guide-takeaway {
  background: rgba(15, 23, 42, 0.6);
  border-left: 3px solid #3b82f6;
  padding: 10px 14px;
  font-size: 13px;
  color: #cbd5e1;
  border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   Trust & Security Banner
   ========================================================================== */
.trust-banner {
  margin: 50px 0;
  background: rgba(30, 58, 95, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 30px;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  font-size: 26px;
  color: #3b82f6;
  flex-shrink: 0;
}

.trust-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
}

.trust-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .header-mobile-toggle {
    display: block;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .calculator-card {
    padding: 28px 20px;
  }

  .calc-pills {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-content {
    padding-right: 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-disclaimer {
    text-align: center;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-card {
    padding: 40px 24px;
  }
  
  .cta-title {
    font-size: 26px;
  }
  
  .legal-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-badge {
    font-size: 10px;
    padding: 6px 14px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    text-align: center;
  }
}
