:root {
  --primary-color: #0066cc;
  --primary-dark: #004c99;
  --primary-light: #3385d6;
  --secondary-color: #00b894;
  --secondary-dark: #00916f;
  --accent-color: #f39c12;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --surface: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00b894 100%);
  --gradient-excel: linear-gradient(135deg, #217346 0%, #0066cc 100%);
  --gradient-powerbi: linear-gradient(135deg, #f2c811 0%, #e97627 100%);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
}

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

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

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

.logo img {
  height: 40px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 24px;
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 32px;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 24px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 120px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  color: var(--primary-color);
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.about-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--background-alt);
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Modules Section */
.modules {
  padding: 100px 0;
  background: var(--background);
}

.modules-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.module-card {
  background: var(--surface);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.module-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.module-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.module-header:hover {
  background: var(--background-alt);
}

.module-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  flex-shrink: 0;
}

.excel-base-icon {
  background: linear-gradient(135deg, #217346 0%, #0f9d58 100%);
}

.tabelas-icon {
  background: linear-gradient(135deg, #0066cc 0%, #3385d6 100%);
}

.dashboard-icon {
  background: linear-gradient(135deg, #00b894 0%, #00d2a0 100%);
}

.macros-icon {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
}

.powerbi-icon {
  background: linear-gradient(135deg, #f2c811 0%, #e97627 100%);
}

.module-info {
  flex: 1;
}

.module-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.module-description {
  font-size: 15px;
  color: var(--text-secondary);
}

.module-toggle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--background-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.module-toggle i {
  font-size: 18px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.module-card.active .module-toggle i {
  transform: rotate(180deg);
}

.module-toggle:hover {
  background: var(--primary-color);
}

.module-toggle:hover i {
  color: white;
}

.module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.module-card.active .module-content {
  max-height: 2000px;
}

.module-topics {
  padding: 0 32px 32px 32px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.module-topics li {
  padding: 12px 16px;
  background: var(--background-alt);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.module-topics li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: 700;
  flex-shrink: 0;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 48px;
  font-weight: 900;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta .btn-primary {
  background: white;
  color: var(--primary-color);
}

.cta .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-about p {
  color: #a0aec0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a0aec0;
  font-size: 14px;
}

.contact-item i {
  color: var(--primary-color);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-location p {
  color: #a0aec0;
  line-height: 1.8;
  font-size: 14px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: #718096;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .module-toggle {
    align-self: flex-end;
  }

  .module-topics {
    grid-template-columns: 1fr;
    padding: 0 24px 24px 24px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

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

  .module-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}
