/* SGI Exacto - Welcome V2 Styles (Light/Clear Theme) */
:root {
  --primary: #1e293b;
  --secondary: #475569;
  --accent: #2563eb;
  --accent-glow: #60a5fa;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(203, 213, 225, 0.4);
  --gradient-main: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  top: -200px;
  left: -200px;
}

.glow-2 {
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

.glow-3 {
  top: 30%;
  right: -300px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand i {
  color: var(--accent);
  font-size: 1.8rem;
}

.nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin: 0 12px;
}

.nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.btn-login {
  background: var(--gradient-accent);
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 9999px;
  font-weight: 600;
  color: white !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.hero-content h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--secondary);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 5rem;
}

.btn-hero-primary {
  background: var(--primary);
  color: white;
  padding: 1.1rem 2.8rem;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(30, 41, 59, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(30, 41, 59, 0.3);
  color: white;
}

.btn-hero-secondary {
  background: white;
  border: 1px solid var(--glass-border);
  color: var(--primary);
  padding: 1.1rem 2.8rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-hero-secondary:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Stats Logic */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 0.75rem;
}

.stat-number i {
  color: var(--accent);
  margin-right: 8px;
}

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

/* Features Detailed */
.features {
  padding: 8rem 0;
  background: white;
  position: relative;
}

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

.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 1.5rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-glow);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* CTA Section Detailed */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-accent);
  color: white;
  border-radius: 2rem;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
}

.footer-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 1rem 1.5rem;
    width: 100%;
    display: block;
    margin-bottom: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}