/* css variables and global resets */
:root {
  /* Color Palette - Premium & Clean (Darker Blues) */
  --primary: #0369a1;
  /* Darker primary blue */
  --primary-dark: #075985;
  /* Even darker for hovers */
  --primary-light: #e0f2fe;
  /* Kept light for backgrounds/badges */

  --secondary: #0f172a;
  /* Very dark navy/slate for text headers */
  --bg-dark: #020617;
  /* Darkest tone for gradients */

  --bg-color: #f8fafc;
  --surface: #ffffff;

  --text-main: #334155;
  --text-muted: #64748b;

  --white: #ffffff;
  --accent: #0284c7;
  /* Darker accent */

  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 800px;
}

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

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

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background-color: #f1f5f9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.23);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--secondary);
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

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

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

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links li a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

.nav-links li a.btn-primary {
  color: var(--white);
}

.nav-links li a:not(.btn):hover {
  color: var(--primary);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  margin-top: 2rem;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
}

.shape-2 {
  bottom: 0;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(56, 189, 248, 0.2);
  animation-delay: -5s;
}

.shape-3 {
  top: 30%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: rgba(14, 165, 233, 0.15);
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

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

.hero-content {
  max-width: 600px;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

.stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: #e2e8f0;
}

.hero-image-wrapper {
  position: relative;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

.image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.demo-image-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.9;
}

.demo-icon {
  width: 80px;
  height: 80px;
  opacity: 0.8;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: float-badge 6s infinite ease-in-out;
}

.badge-top {
  top: 10%;
  left: -10%;
}

.badge-bottom {
  bottom: 10%;
  right: -10%;
  animation-delay: -3s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  color: var(--secondary);
  font-size: 0.95rem;
}

.badge-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@keyframes float-badge {

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

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

/* Trust Section */
.trust-section {
  padding: 3rem 0;
  background-color: var(--surface);
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.trust-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.service-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  border: 1px solid #f1f5f9;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border-color: var(--primary-light);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

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

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features/About */
.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-image {
  position: relative;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
  border-radius: 30px;
}

.features-glass-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.year-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.year-text {
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.year-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.2;
}

.card-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-main);
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
}

.features-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon-wrapper {
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-text {
  font-size: 1rem;
  color: var(--text-muted);
}

.feature-text strong {
  color: var(--secondary);
}

/* Contact CTA */
.cta-glass {
  background: linear-gradient(135deg, var(--secondary), var(--bg-dark));
  padding: 4rem;
  border-radius: 30px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.cta-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.contact-icon {
  background: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--surface);
  padding-top: 5rem;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li,
.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {

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

  .hero-content {
    order: 1;
    text-align: center;
    margin: 0 auto;
  }

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

  .stats-row {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    display: flex;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

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

  .contact-methods {
    flex-direction: column;
  }

  .contact-card {
    width: 100%;
  }
  
  .contact-value {
    font-size: 0.95rem;
    word-break: break-word;
  }
  
  .logo-img {
    height: 40px;
  }
}