
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;500;700&display=swap');

:root {
  --primary: #2563EB;
  --secondary: #0F172A;
  --accent: #F59E0B;
  --success: #10B981;
  --warning: #EF4444;
  --background: #F8FAFC;
  --sidebar: #1E293B;
  --text: #334155;
  --light-text: #94A3B8;
  --chart-blue: #3B82F6;
  --chart-green: #10B981;
  --chart-amber: #F59E0B;
  --chart-red: #EF4444;
  --chart-purple: #8B5CF6;
}

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

body {
  font-family: 'Libre Franklin', sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style-type: none;
}

.iti {
  width: 100%;
}


.layout-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 25%;
  background-color: var(--sidebar);
  color: white;
  padding: 2rem;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  transition: transform 0.3s ease-in-out;
}

.main-content {
  width: 75%;
  margin-left: 25%;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    width: 80%;
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    width: 100%;
    margin-left: 0;
  }
}


h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}


.logo-container {
  margin-bottom: 2rem;
  text-align: center;
}

.logo-container img {
  max-width: 100%;
  height: auto;
}

.sidebar-nav {
  margin-bottom: 2rem;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-nav a {
  color: white;
  display: block;
  padding: 0.5rem 0;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
  transition: all 0.2s ease;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  border-left: 3px solid var(--accent);
  color: var(--accent);
}

.sidebar-info {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--light-text);
}


.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--sidebar);
  padding: 1rem;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-logo {
  max-width: 150px;
  height: auto;
}

@media (max-width: 1024px) {
  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .main-content {
    padding-top: 4rem;
  }
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

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

.btn-secondary {
  background-color: var(--accent);
  color: white;
}

.btn-secondary:hover {
  background-color: #d97706;
  color: white;
}

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

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


.section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 1rem auto 0;
}


.hero {
  padding: 6rem 2rem;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(15, 23, 42, 0.05));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.typed-cursor {
  color: var(--accent);
}


.data-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.data-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
}

.data-card.success::before {
  background-color: var(--success);
}

.data-card.warning::before {
  background-color: var(--warning);
}

.data-card.accent::before {
  background-color: var(--accent);
}

.data-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.data-card-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.data-card.success .data-card-value {
  color: var(--success);
}

.data-card.warning .data-card-value {
  color: var(--warning);
}

.data-card.accent .data-card-value {
  color: var(--accent);
}

.data-card-description {
  font-size: 0.9rem;
  color: var(--light-text);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}


.dashboard-display {
  margin: 3rem 0;
}

.dashboard-image {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.dashboard-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-text);
  max-width: 80%;
  margin: 0 auto;
}


.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-submit {
  width: 100%;
}


.footer {
  background-color: var(--secondary);
  color: white;
  padding: 3rem 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-info h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-text);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--light-text);
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-text);
}

.modal-title {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}


.cookie-consent {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 400px;
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 90;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.cookie-text {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-settings-btn {
  background: none;
  border: none;
  text-decoration: underline;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}

.cookie-icon {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 80;
  display: none;
}

.cookie-icon.show {
  display: flex;
}


.cookie-settings-modal {
  max-width: 600px;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-weight: 500;
  font-size: 1.1rem;
}

.cookie-category-description {
  font-size: 0.9rem;
  color: var(--light-text);
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}


.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 70;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
  opacity: 1;
}


.thank-you {
  text-align: center;
  padding: 6rem 2rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2rem;
}


.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  text-align: right;
  font-style: italic;
  color: var(--light-text);
  margin-bottom: 2rem;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .hero {
    padding: 4rem 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}


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

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}


.chart-container {
  position: relative;
  height: 200px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.chart-bar {
  position: absolute;
  bottom: 0;
  width: 40px;
  background-color: var(--primary);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.chart-bar:nth-child(2) {
  background-color: var(--success);
}

.chart-bar:nth-child(3) {
  background-color: var(--accent);
}

.chart-bar:nth-child(4) {
  background-color: var(--chart-purple);
}

.chart-bar:nth-child(5) {
  background-color: var(--warning);
}

.chart-label {
  position: absolute;
  bottom: -25px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--light-text);
  width: 40px;
}

.chart-value {
  position: absolute;
  top: -25px;
  width: 40px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
}

.line-chart {
  position: relative;
  height: 200px;
  margin-bottom: 2rem;
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.line-chart path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.line-chart circle {
  fill: var(--primary);
}

.line-chart text {
  font-size: 10px;
  fill: var(--light-text);
}


.donut-chart {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.donut-chart svg {
  width: 100%;
  height: 100%;
}

.donut-chart circle {
  fill: none;
  stroke-width: 10;
}

.donut-chart circle:nth-child(1) {
  stroke: var(--chart-blue);
}

.donut-chart circle:nth-child(2) {
  stroke: var(--chart-green);
}

.donut-chart circle:nth-child(3) {
  stroke: var(--chart-amber);
}

.donut-chart circle:nth-child(4) {
  stroke: var(--chart-red);
}

.donut-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 700;
  color: var(--secondary);
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

.donut-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}


.progress-container {
  margin-bottom: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.progress-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-fill.success {
  background-color: var(--success);
}

.progress-fill.warning {
  background-color: var(--warning);
}

.progress-fill.accent {
  background-color: var(--accent);
}