:root {
  /* Colors */
  --bg-body: #f4f7fb;
  --bg-card: #ffffff;
  --primary: #005bff;
  --primary-dark: #0041c4;
  --primary-light: #e0ecff;
  --secondary: #7c3aed;
  --accent: #10b981;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 25px 50px rgba(15, 23, 42, 0.12);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  
  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', var(--font-main);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(
    circle at top right,
    rgba(224, 242, 254, 0.8) 0%,
    rgba(244, 247, 251, 0.9) 42%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Page Container */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.highlight-text {
  background: linear-gradient(120deg, var(--primary-light) 0%, var(--primary-light) 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 90%;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  margin: var(--space-md) auto var(--space-xl);
  max-width: 1200px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  position: sticky;
  top: var(--space-md);
  z-index: 100;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.5);
}

.brand-text-main {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-main {
  display: flex;
  gap: var(--space-lg);
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 80%;
}

.nav-cta {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border-radius: var(--radius-xl);
  padding: var(--space-sm) var(--space-xl);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(226, 232, 240, 0.3);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 16px;
}

.btn-xl {
  padding: var(--space-lg) var(--space-3xl);
  font-size: 18px;
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin: var(--space-3xl) 0;
  padding: var(--space-xl) 0;
}

.hero-left {
  padding-right: var(--space-xl);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(224, 236, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-xl);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Hero Card */
.hero-right {
  position: relative;
}

.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.hero-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-card-tag {
  background: linear-gradient(135deg, var(--accent) 0%, #34d399 100%);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.metric {
  padding: var(--space-md);
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--space-xs);
}

.metric-change {
  font-size: 0.75rem;
  color: var(--text-light);
}

.metric-change.positive {
  color: var(--accent);
  font-weight: 600;
}

/* Progress Bar */
.progress-section {
  margin-top: var(--space-xl);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.progress-bar {
  height: 8px;
  background: var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 1s ease;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: float 4s ease-in-out infinite;
  animation-delay: 1s;
}

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

.floating-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Sections */
section {
  margin: var(--space-3xl) 0;
  scroll-margin-top: var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.feature-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text-main);
}

.feature-desc {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: var(--space-xs) 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
  padding-left: var(--space-lg);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* How It Works */
.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--space-md);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text-main);
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 30px;
  width: calc(100% - 200px);
  height: 2px;
  background: linear-gradient(90deg, var(--border-soft), var(--primary-light), var(--border-soft));
  z-index: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.testimonial-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.testimonial-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: var(--space-lg);
  font-style: italic;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-name {
  font-weight: 600;
  color: var(--text-main);
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  color: white;
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  color: white;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: var(--space-md);
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: var(--space-xl) auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: var(--space-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOOTER */
.footer {
  margin-top: var(--space-3xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--border-soft);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-tagline {
  margin-top: var(--space-md);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-main);
}

.footer-column a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.copyright span {
  color: var(--primary);
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: var(--space-xl);
}

.footer-social a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .hero-left {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .nav-main {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-card {
    margin-top: var(--space-xl);
  }
  
  .floating-element {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: var(--space-xl);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .btn-lg, .btn-xl {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .nav-cta,
  .mobile-menu-btn,
  .btn,
  .floating-element,
  .trust-badges,
  .footer-social {
    display: none !important;
  }
}
/* Form Layout Styles */
.input-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

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

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

@media (max-width: 768px) {
  .input-row {
    grid-template-columns: 1fr;
  }
}

textarea.input-field {
  min-height: 100px;
  resize: vertical;
  padding: 1rem;
  line-height: 1.5;
}