/* style.css - Design System & Styles for 212LEAD Landing Page */

/* 1. Global Reset & Variables */
:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(30, 41, 59, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-width: 1140px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

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

/* 3. Utility Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-whatsapp {
  background: var(--accent-green) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.btn-whatsapp:hover {
  background: var(--accent-green-hover) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-phone {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-phone:hover {
  background-color: var(--accent-blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 15px;
  padding: 6px 12px;
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

/* 4. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent-blue);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: #fff;
}

/* 5. Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 35px;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-illustration {
  background: rgba(30, 41, 59, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: var(--transition);
}

.hero-image:hover {
  transform: scale(1.02);
}

/* 6. Social Proof / Logos */
.logos-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.01);
}

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

.logo-item {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.logo-item:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

/* 7. Key Benefits */
.benefits {
  padding: 100px 0;
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.benefit-icon-svg {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: block;
}

/* 8. Offers Section */
.offers {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.offer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.offer-card.popular {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.offer-header {
  margin-bottom: 30px;
}

.offer-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.offer-price {
  font-size: 1.1rem;
  color: var(--accent-blue);
  font-weight: 600;
}

.offer-card.popular .offer-price {
  color: var(--accent-purple);
}

.offer-features {
  list-style: none;
  margin-bottom: 40px;
}

.offer-features li {
  margin-bottom: 15px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 25px;
}

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

/* 9. Diagnostic Form Section */
.diagnostic-section {
  padding: 100px 0;
}

.diagnostic-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.diagnostic-info h2 {
  font-size: 2.2rem;
  margin-top: 15px;
  margin-bottom: 20px;
}

.diagnostic-info p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.diagnostic-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-blue);
}

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

.diagnostic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

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

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

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

label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

input, select, textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
}

.form-feedback {
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.form-feedback.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* 10. FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

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

.faq-item h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.faq-item p {
  font-size: 0.95rem;
}

/* 11. Footer */
.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 15px;
  max-width: 350px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 12. Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: var(--accent-green);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  z-index: 99;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: var(--accent-green-hover);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* 13. Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-illustration {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .benefits-grid, .offers-grid, .diagnostic-container, .faq-grid, .footer-container {
    grid-template-columns: 1fr;
  }
  
  .offer-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none; /* Hide standard nav on mobile for simplicity */
  }
  
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .diagnostic-card {
    padding: 25px 20px;
  }
  
  .diagnostic-stats {
    justify-content: space-around;
  }
}
