@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-dark: #0f172a;
  /* Slate 900 */
  --color-gray-900: #1e293b;
  --color-gray-800: #334155;
  --color-gray-600: #475569;
  --color-gray-500: #64748b;
  --color-gray-200: #e2e8f0;
  --color-gray-100: #f1f5f9;
  --color-gray-50: #f8fafc;

  /* Brand Colors */
  --color-primary: #0ea5e9;
  /* Sky Blue */
  --color-primary-dark: #0284c7;
  --color-primary-light: #e0f2fe;

  --color-accent: #38bdf8;
  /* Light Blue */
  --color-accent-dark: #0284c7;
  --color-accent-light: #e0f2fe;

  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  /* Typography */
  --font-sans: 'Inter', sans-serif;

  /* Utils */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --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);

  /* Layout */
  --header-height: 80px;
  --mobile-bar-height: 72px;
}

/* =========================================
   Reset & Base
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  background-color: var(--color-white);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 3rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.desktop-only {
  display: flex;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn i {
  font-size: 1.25rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

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

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-gray-200);
}

.btn-outline:hover {
  background-color: var(--color-gray-50);
  border-color: var(--color-gray-300);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-lg i {
  font-size: 1.5rem;
}

.btn-block {
  width: 100%;
}

/* =========================================
   Header
   ========================================= */
.header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
}

.logo i {
  color: var(--color-primary);
  font-size: 2rem;
}

.header-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax effect */
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  color: var(--color-white);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.floating-ac {
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
}

.badge i {
  color: var(--color-primary);
  font-size: 1.125rem;
}

.badge:nth-child(2) i {
  color: var(--color-accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-200);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray-200);
  font-weight: 500;
}

.trust-item i {
  color: #fbbf24;
  /* Yellow star */
  font-size: 1.25rem;
}

/* =========================================
   Services Section (Features)
   ========================================= */
.services {
  background-color: var(--color-gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-gray-100);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-card:nth-child(2) .service-icon {
  background-color: var(--color-accent-light);
  color: var(--color-accent-dark);
}

.service-card:nth-child(3) .service-icon {
  background-color: var(--color-gray-100);
  color: var(--color-dark);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.service-desc {
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* =========================================
   Trust & CTA Section
   ========================================= */
.trust-cta {
  background-color: var(--color-white);
}

.trust-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.trust-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.trust-desc {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feat {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-dark);
}

.feat i {
  color: var(--color-whatsapp);
  font-size: 1.5rem;
  background-color: #dcfce7;
  padding: 0.25rem;
  border-radius: 50%;
}

.trust-action-card {
  background-color: var(--color-gray-50);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.trust-action-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.trust-action-card p {
  color: var(--color-gray-600);
  margin-bottom: 2rem;
}

.trust-action-card .btn {
  margin-bottom: 1rem;
}

.trust-action-card .btn:last-child {
  margin-bottom: 0;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

/* =========================================
   Mobile Sticky Bar
   ========================================= */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  height: var(--mobile-bar-height);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-sticky-bar.visible {
  display: flex;
  /* controlled via JS or Media Query initially, but mostly visible on small screens */
}

.sticky-bar-container {
  display: flex;
  width: 100%;
  max-width: 500px;
  /* Limit width on tablets */
  margin: 0 auto;
  padding: 0.5rem;
  gap: 0.5rem;
  justify-content: center;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  height: 100%;
  padding: 0.5rem;
}

.sticky-btn i {
  font-size: 1.5rem;
}

.sticky-btn.whatsapp {
  background-color: var(--color-whatsapp);
}

.sticky-btn.call {
  background-color: var(--color-accent);
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-container {
    grid-template-columns: 1fr;
  }

  .trust-action-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {

  /* Give space for sticky bar */
  body {
    padding-bottom: var(--mobile-bar-height);
  }

  .header-container {
    justify-content: center;
  }

  .mobile-sticky-bar {
    display: block;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.25rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    text-align: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

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

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feat {
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(100vh - var(--header-height) - var(--mobile-bar-height));
    padding: 3rem 0;
  }

  .hero-badges {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .trust-features .feat {
    font-size: 1rem;
  }
}