:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f59e0b;
  --accent: #10b981;
  --danger: #ef4444;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

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

/* Header */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow); }

nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
}

.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.logo img { height: 70px; width: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 650; font-size: 15px;
  padding: 8px 16px; border-radius: 8px; transition: all 0.2s ease; position: relative;
}
.nav-links a:hover { color: var(--primary); background: rgba(37, 99, 235, 0.05); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  color: #ffffff; text-align: center; padding: 80px 0;
  background-image: url('/banner.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.3) 0%, transparent 50%);
}
@keyframes gradientShift { 0% { opacity: 0.8; transform: scale(1);} 100% { opacity: 1; transform: scale(1.1);} }

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding-top: 80px; }
.hero h1 { font-size: 50px; font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; line-height: 1.1; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.25rem); margin-bottom: 40px; opacity: 0.95; font-weight: 400; }

/* CTA Button */
.cta-button {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgb(49, 114, 199); color: white; padding: 18px 36px;
  text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 18px;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none; cursor: pointer;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(104, 165, 223, 0.5); background: rgb(80, 175, 230); }
.cta-button:active { transform: translateY(0); }

/* Hero Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 100px; max-width: 1000px; margin-left: auto; margin-right: auto;
}
.hero-stat {
  background:rgb(49, 114, 199); padding: 32px 24px; border-radius: var(--radius-lg);
  border: 2px solid rgba(0, 0, 0, 0.2); transition: all 0.3s ease;
}
.hero-stat:hover {  background:#4176ea }
.hero-stat-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.hero-stat h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.hero-stat p { font-size: 14px; opacity: 0.9; }

/* Trust Bar */
.trust-bar { background: white; padding: 24px 0; border-bottom: 1px solid var(--border); }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 14px; font-weight: 500; }
.trust-icon { font-size: 20px; color: var(--accent); }

/* Services */
.services { padding: 100px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; color: rgb(0, 0, 0); letter-spacing: -1px; }
.section-subtitle { font-size: 18px; color: rgb(0, 0, 0); max-width: 600px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; }
.service-card {
  background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: translateX(0); }
.service-icon {
  width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: white; margin-bottom: 24px;
}
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.service-card p { color: var(--text-light); line-height: 1.6; }

/* Process */
.process { padding: 100px 0; background: white; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; margin-top: 80px; }
.process-step { text-align: center; position: relative; }
.step-number {
  width: 64px; height: 64px; background: rgb(49, 114, 199); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 24px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}
.process-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.process-step p { color: var(--text-light); }

/* Quote Section */
.quote-section { padding: 100px 0; background: white; color: white; }
.quote-container { max-width: 600px; margin: 0 auto; text-align: center; }
.calculator-cta {
  text-align: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px);
  padding: 48px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.2); margin-top: 48px;
}

/* Footer */
footer { background: rgb(49, 114, 199); color: white; padding: 30px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 48px; margin-bottom: 48px; }
.footer-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: white; }
.footer-section p, .footer-section a { color: white; text-decoration: none; margin-bottom: 12px; display: block; transition: color 0.2s ease; }
.footer-section a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); }

/* Animations & states */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }

.btn-loading { opacity: 0.7; cursor: not-allowed; }
.btn-loading::after {
  content: ''; width: 16px; height: 16px; border: 2px solid transparent; border-top: 2px solid currentColor;
  border-radius: 50%; animation: spin 1s linear infinite; margin-left: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.message { padding: 16px; border-radius: 12px; margin-top: 20px; text-align: center; animation: slideIn 0.5s ease-out; }
.message.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; }
.message.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-20px);} to { opacity: 1; transform: translateY(0);} }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 16px; background: #fff; position: absolute; right: 24px; top: 70px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
  .mobile-menu-btn { display: block; }
  .hero { min-height: 80vh; padding: 40px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 60px; }
  .hero-stat { padding: 24px 20px; }
  .services-grid, .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .trust-items { gap: 24px; }
  .trust-item { font-size: 13px; }
  .calculator-cta { padding: 32px 24px; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-stat { padding: 20px 16px; }
}
