:root {
  --primary: #3B82F6;
  --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
  --secondary: #6366F1;
  --accent: #0F172A;
  --success: #10B981;
  --success-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --text: #0F172A;
  --text-muted: #64748B;
  --bg-mesh: #F8FAFC;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(226, 232, 240, 0.8);
  --glass-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  --glass-shadow-hover: 0 30px 60px -15px rgba(15, 23, 42, 0.14), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Ambient Liquid Glass Mesh Background */
.bg-ambient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: floatOrb 14s infinite ease-in-out alternate;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
  top: -50px;
  right: -50px;
}

.orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(16, 185, 129, 0) 70%);
  top: 300px;
  left: -150px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
  top: 800px;
  right: 10%;
  animation-delay: -9s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

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

/* Header (Positioned at Top of Page Only) */
header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

header .container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
}

nav {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem 0 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--glass-shadow-hover);
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.4px;
}

img {
  max-width: 100%;
}

.logo img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 4px;
  background: rgba(241, 245, 249, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 50px;
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-glass-login {
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #2563EB;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass-login:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}

.btn-whatsapp {
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  background: var(--success-gradient);
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.45);
  opacity: 0.95;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B5284 100%);
  color: white;
  box-shadow: 0 8px 20px -5px rgba(30, 58, 138, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px rgba(30, 58, 138, 0.45);
}

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.7);
  color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.btn-hero-glass:hover {
  background: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B5284 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Liquid Glass Card */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), inset 0 1px 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  animation: floatCard 8s infinite ease-in-out alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.glass-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 1.5rem;
}

.glass-preview-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}

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

.glass-stat-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.glass-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.glass-stat-value {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0F172A;
}

.glass-stat-value.green {
  color: #10B981;
}

.glass-stat-value.blue {
  color: #2563EB;
}

/* Features Section */
.features {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #64748B;
  font-size: 1.1rem;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 2.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--glass-shadow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--glass-shadow-hover);
}

.icon-box {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: #2563EB;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-box {
  transform: scale(1.08) rotate(2deg);
  color: #1D4ED8;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
}

.feature-card p {
  color: #64748B;
  font-size: 1rem;
  line-height: 1.65;
}

/* Showcase Section */
.showcase-section {
  padding: 110px 0;
  position: relative;
}

.showcase-card {
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  padding: 3.5rem;
  box-shadow: var(--glass-shadow);
}

.showcase-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.showcase-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-item h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.35rem;
}

.showcase-item p {
  color: #64748B;
  font-size: 1rem;
}

/* Premium Liquid Glass Footer */
footer {
  margin-top: 100px;
  padding: 80px 0 35px;
  background: linear-gradient(180deg, #0F172A 0%, #090D16 100%);
  color: white;
  position: relative;
  border-radius: 32px 32px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -20px 40px -15px rgba(15, 23, 42, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 35px;
}

.footer-brand .logo {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: #3B82F6;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #64748B;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content p {
    margin: 0 auto;
  }

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

  .nav-links {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}