:root {
  --charcoal: #0B0F12;
  --gunmetal: #12161B;
  --slate-100: #E6EAF0;
  --slate-600: #556271;
  --teal: #00D4C2;
  --amber: #FFB224;
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--charcoal);
  color: var(--slate-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 2rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

button, .btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
}

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

.btn-primary:hover {
  background: #00F5E0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 194, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--slate-100);
  border: 2px solid var(--slate-600);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-600);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo svg {
  width: 120px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--slate-100);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 18, 0.9) 0%, rgba(11, 15, 18, 0.4) 50%, transparent 100%);
  display: flex;
  align-items: center;
}

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

.hero-content h1 {
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kpis {
  background: var(--gunmetal);
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  padding: 2rem 0;
}

.kpis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.kpi-item strong {
  display: block;
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--gunmetal);
}

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

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--teal);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.card {
  background: rgba(18, 22, 27, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--slate-600);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 12px 30px rgba(0, 212, 194, 0.15);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card h3 {
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-icon {
  font-size: 1.5rem;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--slate-600);
}

.process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 600ms ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.process-number {
  position: absolute;
  left: 0;
  width: 60px;
  height: 60px;
  background: var(--teal);
  color: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(0, 212, 194, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(0, 212, 194, 0.2); }
  50% { box-shadow: 0 0 0 16px rgba(0, 212, 194, 0.1); }
}

@media (prefers-reduced-motion: reduce) {
  .process-number {
    animation: none;
  }
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.package-card {
  border: 2px solid var(--teal);
  text-align: center;
}

.package-name {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 1rem;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1rem;
}

.package-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.package-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.package-note {
  font-size: 0.875rem;
  color: var(--slate-600);
  text-align: center;
  margin-top: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gunmetal);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(11, 15, 18, 0.95), transparent);
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-caption {
  opacity: 1;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.advantage-item {
  text-align: center;
  padding: 1.5rem;
}

.advantage-icon {
  font-size: 3rem;
  color: var(--amber);
  margin-bottom: 1rem;
  display: inline-block;
}

.advantage-item h3 {
  margin-bottom: 0.75rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gunmetal);
  border: 1px solid var(--slate-600);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: transparent;
  color: var(--slate-100);
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
}

.faq-question:hover {
  color: var(--teal);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--slate-600);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--teal);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--amber);
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-details a:hover {
  color: var(--teal);
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  width: 100%;
  margin-top: 1rem;
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.contact-form {
  background: var(--gunmetal);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--slate-600);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background: var(--charcoal);
  border: 1px solid var(--slate-600);
  border-radius: 8px;
  color: var(--slate-100);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.gdpr-note {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-top: 1rem;
}

.gdpr-note a {
  color: var(--teal);
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--teal);
  color: var(--charcoal);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 212, 194, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background: var(--gunmetal);
  border-top: 2px solid var(--slate-600);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--teal);
  margin-bottom: 1rem;
}

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

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

.footer-links a:hover {
  color: var(--teal);
  padding-left: 0.5rem;
  transition: padding var(--transition);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-600);
  color: var(--slate-600);
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.legal-page h1 {
  margin-bottom: 1rem;
}

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

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

.legal-page ul, .legal-page ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 18, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--slate-600);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 300ms ease;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    padding: 1rem 1.5rem;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .packages-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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