:root {
  --bg-primary: #0A0F0D;
  --bg-secondary: #0F1712;
  --bg-elevated: #14201A;
  --green-deep: #0B3D2E;
  --green-accent: #16A34A;
  --green-glow: #22C55E;
  --text-primary: #F5F7F6;
  --text-secondary: #9CA8A3;
  --border-subtle: rgba(34, 197, 94, 0.15);

  --font-headline: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Canvas */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ambient glow specifically behind the photo */
.ambient-glow {
  position: fixed;
  top: 40%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  animation: pulse-ambient 8s ease-in-out infinite alternate;
}

@keyframes pulse-ambient {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.lp-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- ANIMATIONS --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up-anim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--anim-delay, 0s);
}

@keyframes fade-up-anim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- HERO SECTION --- */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 20px;
  width: 100%;
}

.hero-frame {
  position: relative;
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 60px rgba(22, 163, 74, 0.15);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(34, 197, 94, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 197, 94, 0.05) 1px, transparent 1px);
  animation: bg-fall 20s linear infinite;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

@keyframes bg-fall {
  from { background-position: 0 0; }
  to { background-position: 0 400px; }
}

.hero-frame-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  padding: 24px 16px;
  gap: 20px;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-accent);
}

.headline {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
}

.headline .highlight {
  position: relative;
  color: var(--green-glow);
  display: inline-block;
}

.headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green-accent);
  opacity: 0.4;
}

.subheadline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* --- PHOTO WRAP --- */
.hero-photo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.photo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: var(--green-accent);
  filter: blur(25px);
  opacity: 0.3;
  z-index: 1;
  border-radius: 20px;
  animation: pulse-photo-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-photo-glow {
  0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  /* Initial state for reveal animation */
  filter: brightness(0.8) blur(10px);
  transform: scale(1.05);
  transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-photo.loaded {
  filter: brightness(1) blur(0);
  transform: scale(1);
}

/* --- CTA BUTTONS --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--green-accent), var(--green-deep));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 32px;
  border-radius: 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3), inset 0 2px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-button:hover {
  transform: scale(1.05) translateY(-4px);
  background: linear-gradient(135deg, var(--green-glow), var(--green-accent));
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
}

.cta-button:active {
  transform: scale(0.98) translateY(2px);
}

/* --- PAGE 3D TRANSITION --- */
body.transitioning-out {
  animation: page-3d-out 0.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes page-3d-out {
  0% {
    transform: perspective(1000px) translateZ(0) rotateX(0);
    opacity: 1;
  }
  100% {
    transform: perspective(1000px) translateZ(300px) rotateX(10deg);
    opacity: 0;
  }
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

/* --- URGENCY BANNER --- */
.urgency-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(15, 23, 18, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: 8px;
  max-width: 100%;
  text-align: left;
  margin-top: 16px;
}

.urgency-icon {
  width: 20px;
  height: 20px;
  color: #F59E0B; /* Subtle warning color */
  flex-shrink: 0;
  margin-top: 2px;
}

.urgency-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --- METODOLOGIA SECTION --- */
.method-section {
  position: relative;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.method-bg-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.method-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  width: 100%;
}

.method-card {
  position: relative;
  background: rgba(20, 32, 26, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 32px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.method-card.active,
.method-card:hover {
  transform: translateY(-8px);
  background: rgba(20, 32, 26, 0.8);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.2);
}

.method-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.method-card.active .method-glow,
.method-card:hover .method-glow {
  opacity: 1;
}

.method-num {
  font-family: var(--font-headline);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -20px;
  right: -10px;
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s;
}

.method-card.active .method-num,
.method-card:hover .method-num {
  color: rgba(34, 197, 94, 0.15);
}

.method-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.method-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.method-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- FINAL CTA --- */
.final-cta-section {
  padding: 20px 0 40px;
  text-align: center;
}

/* --- SOCIAL SECTION --- */
.social-section {
  padding: 0 24px 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 20px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-subtle);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 30px rgba(34, 197, 94, 0.1);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  flex-shrink: 0;
  transition: color 0.3s, background 0.3s;
}

.yt-card:hover .social-icon {
  color: #FF0000;
  background: rgba(255,0,0,0.1);
}

.ig-card:hover .social-icon {
  color: #E1306C;
  background: rgba(225,48,108,0.1);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
}

.social-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- FOOTER --- */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- DESKTOP SPECIFIC --- */
@media (min-width: 1024px) {
  .hero-section {
    min-height: calc(100vh - 40px);
    padding-top: 40px;
  }

  .hero-frame-content {
    flex-direction: row;
    align-items: center;
    padding: 32px;
    gap: 40px;
  }

  .hero-text-col {
    flex: 1;
    align-items: flex-start;
    text-align: left;
  }

  .hero-photo-col {
    flex: 0 0 360px;
  }

  .hero-photo-wrap {
    width: 320px;
    height: 400px;
  }
}
