/* Olist Agents Landing Page - Inspired by olist.com */

/* CSS Variables - Olist Official Colors */
:root {
  /* Primary Colors from Olist.com */
  --olist-primary: #2B5CE6;
  --olist-primary-dark: #1E40AF;
  --olist-primary-light: #3B82F6;
  --olist-secondary: #F59E0B;
  --olist-success: #10B981;

  /* Gradients - Apenas azuis */
  --gradient-primary: linear-gradient(135deg, #2B5CE6 0%, #3B82F6 100%);
  --gradient-hero: linear-gradient(135deg, #2B5CE6 0%, #3B82F6 50%, #60A5FA 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-card-hover: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);

  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 4px 16px rgba(43, 92, 230, 0.08), 0 1px 4px rgba(43, 92, 230, 0.04);
  --shadow-card-hover: 0 20px 40px rgba(43, 92, 230, 0.15), 0 8px 24px rgba(43, 92, 230, 0.08);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: clamp(16px, 2vw, 16px);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fb;
  line-height: 1.6;
  color: #374151;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0px;
  border-radius: 8px;
  transition: 400ms;
  gap: 8px;
}

.btn-primary {
  background-color: #1E27D4;
  color: white;
}

.btn-primary:hover {
  background-color: #0d1f9b;
  box-shadow: rgba(11, 19, 74, 0.08) 0px 2px 4px,
    rgba(11, 19, 74, 0.06) 0px 4px 8px,
    rgba(11, 19, 74, 0.04) 0px 8px 16px;
}

.btn-secondary {
  background: white;
  color: #1E27D4;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

.btn-large {
  padding: 12px 24px;
  font-size: 16px;
  height: 48px;
}

/* Header/Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #374151;
  gap: 10px;
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-title {
  font-size: 24px;
  font-weight: 700;
  color: #1E27D4;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 15px;
}

.nav-link:hover {
  background-color: #f3f4f6;
  color: #374151;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1E27D4 0%, #3B82F6 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #1E27D4;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

/* Melhoramento dos Cards */
.feature-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #1E27D4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.feature-title {
  font-weight: 600;
  font-size: 1rem;
  color: #1f2937;
  margin-bottom: 12px;
}

.feature-description {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA Section */
.cta {
  background: #1f2937;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 48px 0 32px;
  text-align: center;
  border-top: 1px solid #374151;
}

.footer-values {
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

.footer-values::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #1E27D4;
}

/* Compliance Section */
.compliance-section {
  background: #1f2937;
  padding: 32px 0;
  border-top: 1px solid #374151;
}

.compliance-content {
  text-align: center;
}

.compliance-text {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-text a {
  color: #60A5FA;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.compliance-text a:hover {
  color: #93C5FD;
  border-bottom: 1px solid #93C5FD;
}

.compliance-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.compliance-links a {
  font-size: 13px;
  color: #60A5FA;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.compliance-links a:hover {
  color: #93C5FD;
  border-bottom: 1px solid #93C5FD;
}

.compliance-separator {
  font-size: 13px;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

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

  .hero {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 32px;
    flex-direction: column;
  }

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

  .feature-card {
    padding: 20px;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .nav {
    padding: 12px 0;
  }

  .nav-title {
    font-size: 20px;
  }

  .feature-card {
    padding: 16px;
  }

  .compliance-section {
    padding: 24px 0;
  }

  .compliance-text {
    font-size: 12px;
    line-height: 1.4;
  }
}