/* VARIABLES */
:root {
  --color-primary-dark: #0f172a; /* Dark blue */
  --color-primary: #1e3a8a;
  --color-secondary: #0ea5e9; /* Bright light blue */
  --color-accent: #22c55e; /* Soft green */
  --color-accent-hover: #16a34a;
  --color-bg: #f8fafc;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-white: #ffffff;
  
  --font-main: 'Poppins', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: clamp(20px, 5vw, 40px);
}

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

/* GLASSMORPHISM */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline-light:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: background-color 0.3s;
}

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

.logo {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -1px;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px; /* Offset for navbar */
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 15px;
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.image-wrapper img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-dark);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-card .icon {
  font-size: 2rem;
}

.floating-card .label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.floating-card .value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

/* BG Shapes */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-1 {
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  opacity: 0.4;
}

.shape-2 {
  bottom: -10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  opacity: 0.2;
}

/* SERVICES */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-secondary);
}

.service-icon {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  color: var(--color-primary-dark);
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* EMOTIONAL SECTION */
.emotional-container {
  padding: clamp(30px, 6vw, 60px) clamp(20px, 4vw, 60px);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.emotional-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
}

.emotional-container h2 {
  font-size: clamp(1.3rem, 5vw, 2.2rem);
  color: var(--color-primary-dark);
  margin-bottom: clamp(15px, 4vw, 30px);
}

.emotional-container p {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  color: var(--color-text);
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* PLANS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}

.plan-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s;
  position: relative;
}

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

.plan-card.popular {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-secondary);
  z-index: 2;
}

.plan-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-name {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-price {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 25px;
}

.plan-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.plan-card.green .plan-name { color: var(--color-accent); }
.plan-card.blue .plan-name { color: var(--color-secondary); }
.plan-card.purple .plan-name { color: #8b5cf6; }

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  color: var(--color-text);
  display: flex;
  align-items: center;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: bold;
  margin-right: 10px;
}

.plan-card .btn {
  width: 100%;
}

.plan-card.green .btn { background-color: var(--color-accent); color: white; }
.plan-card.blue .btn { background-color: var(--color-secondary); color: white; }
.plan-card.purple .btn { background-color: #8b5cf6; color: white; }

/* FAST CREDIT SECTION */
.fast-credit {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  padding: 60px 0;
  margin: 40px 0;
}

.fast-credit-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.fast-credit-header h2 {
  font-size: clamp(1.3rem, 4.5vw, 2.5rem);
  color: #b45309;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pulse-text {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.fast-credit-header p {
  color: var(--color-text);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 30px;
}

.fc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.fc-input-group {
  flex: 1;
  min-width: 200px;
}

.fc-input-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.fc-input-group input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-warning {
  background-color: #f59e0b;
  color: white;
  font-size: 1.1rem;
  padding: 15px 30px;
  width: 100%;
  margin-top: 10px;
}

.btn-warning:hover {
  background-color: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* CAPTURE FORM */
.capture {
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="%23e0f2fe" opacity="0.4"/></svg>') no-repeat center center;
  background-size: cover;
}

.capture-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px;
  border-radius: var(--radius-lg);
}

.capture-text {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.capture-text h2 {
  font-size: clamp(1.3rem, 4.5vw, 2.2rem);
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.capture-text p {
  color: var(--color-text-light);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 30px;
}

.phrases-slider {
  margin-top: 20px;
  padding: 15px;
  border-left: 4px solid var(--color-secondary);
  background: rgba(14, 165, 233, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.fade-text {
  font-style: italic;
  color: var(--color-primary);
  transition: opacity 0.5s ease;
}

.capture-form-wrapper {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.input-group {
  margin-bottom: 20px;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* FOOTER */
.footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 60px 0 30px;
  text-align: center;
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp svg {
  fill: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .plan-card.popular {
    transform: scale(1);
  }
  
  .plan-card.popular:hover {
    transform: scale(1) translateY(-5px);
  }
  
  .capture-container {
    padding: 30px 20px;
  }
  
  .floating-whatsapp span {
    display: none;
  }
  
  .floating-whatsapp {
    padding: 15px;
    border-radius: 50%;
  }
}
