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

:root {
  --bg-color: #020617; /* Slate 950 */
  --bg-color-rgb: 2, 6, 23;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-color: #f59e0b; /* Amber 500 */
  --accent-secondary: #eab308;
  --accent-glow: rgba(245, 158, 11, 0.4);
  --text-main: #f8fafc; /* Slate 50 */
  --text-muted: #94a3b8; /* Slate 400 */
  --whatsapp-color: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);
}

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

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

/* Background Pattern & Blobs */
.bg-pattern {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -2;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-blobs {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

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

.blob-1 {
  width: 400px; height: 400px;
  background: rgba(245, 158, 11, 0.2);
  top: -10%; left: -10%;
}

.blob-2 {
  width: 600px; height: 600px;
  background: rgba(37, 99, 235, 0.15); /* Subtle blue contrast */
  bottom: 0; right: -10%;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: rgba(245, 158, 11, 0.15);
  top: 40%; left: 50%;
  animation-duration: 25s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 50px) scale(1.1); }
  100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Typography */
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

a { text-decoration: none; color: inherit; }

/* Header */
.glass-header {
  position: fixed;
  top: 0; width: 100%;
  padding: 1.2rem 5%;
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent-color), #ca8a04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--accent-glow);
}

nav ul { display: flex; gap: 2.5rem; list-style: none; }
nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
nav a:hover, nav a.active { color: var(--accent-color); }

.mobile-menu-btn {
  display: none; background: none; border: none; color: #fff; font-size: 1.8rem;
}

/* Glass Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 50px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.hero-tag .dot {
  width: 8px; height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 600px; }

/* Marquee */
.marquee-container {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex; gap: 3rem;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-item {
  font-size: 1.5rem; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 3rem;
}

.marquee-item span { color: var(--accent-color); -webkit-text-stroke: 0; }

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 8rem 5%; }
.container { max-width: 1300px; margin: 0 auto; }
.text-center { text-align: center; }
.section-header { margin-bottom: 4rem; }

/* Grid systems */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem;}
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;}

/* Feature cards */
.feature-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}

.icon-wrapper {
  width: 70px; height: 70px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.02);
}

/* Stats */
.stat-box { text-align: center; padding: 2rem; }
.stat-number { 
  font-size: 4rem; font-weight: 900; 
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.stat-text { color: var(--accent-color); font-weight: 600; text-transform: uppercase; letter-spacing: 2px;}

/* Form / CTA Card in Hero */
.cta-card {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 0 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(245, 158, 11, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease; border: none;
  width: 100%;
}

.btn-primary {
  background: var(--accent-color); color: #000;
  box-shadow: 0 10px 25px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 15px 35px var(--accent-glow); background: #fbbf24;
}

.btn-whatsapp {
  background: var(--whatsapp-color); color: #fff;
  box-shadow: 0 10px 25px var(--whatsapp-glow);
}
.btn-whatsapp:hover {
  transform: translateY(-3px); box-shadow: 0 15px 35px var(--whatsapp-glow); background: #1ebd57;
}

/* Footer & Fixed items unchanged structurally, refined colors */
footer {
  background: rgba(0,0,0,0.3); border-top: 1px solid var(--glass-border);
  padding: 5rem 5% 2rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; max-width: 1300px; margin: 0 auto 4rem; }
.footer-col h4 { color: #fff; font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: var(--text-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--glass-border); color: var(--text-muted); }

.fixed-action-bar {
  position: fixed; bottom: 0; left: 0; width: 100%; padding: 1rem;
  background: rgba(2, 6, 23, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.1); z-index: 999; display: none;
}
.fixed-btn-group { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.fixed-btn { flex: 1; padding: 1rem; border-radius: 12px; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none;}
.fixed-btn-call { background: var(--accent-color); color: #000; }
.fixed-btn-wa { background: var(--whatsapp-color); }

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  h1 { font-size: 3.5rem; }
  .hero-tag { margin: 0 auto 2rem; }
  .hero-content p { margin: 0 auto 2.5rem; }
  .stat-number { font-size: 3rem; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  nav { position: absolute; top: 100%; left: 0; width: 100%; background: #020617; border-bottom: 1px solid var(--glass-border); padding: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease; }
  nav.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  nav ul { flex-direction: column; padding: 2rem; text-align: center; }
  .fixed-action-bar { display: block; }
  body { padding-bottom: 80px; }
  .btn.btn-primary, .btn.btn-whatsapp { display: none; }
}
