@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --primary: #0f172a;
  --secondary: #1e3a8a;
  --accent: #f97316;
  --whatsapp: #25D366;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.text-accent { color: var(--accent); }

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

.section {
  padding: 4rem 0;
}

.section-light {
  background-color: var(--bg-white);
}

.section-dark {
  background-color: var(--primary);
  color: var(--bg-white);
}
.section-dark h2, .section-dark p {
  color: var(--bg-white);
}

/* Header */
header {
  background-color: var(--bg-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo a {
  text-decoration: none;
  color: inherit;
}
.logo span {
  color: var(--secondary);
}

.nav-links {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-cta {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0f172a, #1e3a8a);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  color: white;
}
.hero p {
  color: #e2e8f0;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}
.btn-primary:hover {
  background-color: #ea580c;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
}
.btn-whatsapp:hover {
  background-color: #1ea952;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* Form Section Redesign */
.lead-form-section {
  background-color: var(--bg-white);
  padding: 2.5rem 1.5rem;
  margin-top: -4rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.lead-form-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.lead-form-header p {
  color: var(--text-light);
  font-size: 1rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background-color: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--whatsapp);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp-submit {
  background-color: var(--whatsapp);
  color: white;
  width: 100%;
  padding: 1.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-submit:hover {
  background-color: #1ea952;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-submit svg {
  width: 24px;
  height: 24px;
}

/* Trust Badges */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.badge {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.badge-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.badge h4 {
  margin-bottom: 0.5rem;
}

/* Content Area */
.content-area {
  max-width: 800px;
  margin: 0 auto;
}
.content-area h2 {
  margin-top: 2.5rem;
}
.content-area h3 {
  margin-top: 2rem;
}
.content-area ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.content-area li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
.content-area strong {
  color: var(--text-dark);
}

/* Features List */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
}
.feature-icon {
  color: var(--secondary);
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 3rem 0 1rem;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.footer-links a:hover {
  color: white;
}
.copyright {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  font-size: 0.875rem;
}

/* Sticky CTA Mobile */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.sticky-btn {
  flex: 1;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.sticky-whatsapp {
  background-color: var(--whatsapp);
  color: white;
}
.sticky-call {
  background-color: var(--secondary);
  color: white;
}
/* Removed body padding to fix gap between footer and sticky CTA */
body {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  footer {
    padding-bottom: 5rem;
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 3rem;
    gap: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Responsive / Desktop */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  
  .header-inner {
    padding: 1.5rem 0;
  }
  .mobile-menu-btn {
    display: none;
  }
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    gap: 2rem;
    align-items: center;
    font-weight: 600;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a:hover {
    color: var(--secondary);
  }
  .header-cta {
    display: block;
  }
  
  .hero {
    padding: 6rem 0;
  }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .lead-form-section {
    padding: 3rem;
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  /* Hide sticky CTA on desktop as we have header/hero CTAs */
  .sticky-cta {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}
