:root {
  --bg: #0C0D1A;
  --bg-card: #16172B;
  --bg-card-hover: #1D1E36;
  --primary: #FF6D40;
  --secondary: #1FD994;
  --text-main: #FFFFFF;
  --text-muted: #A0A3C4;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 109, 64, 0.3);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.logo span {
  color: var(--text-muted);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FF9F1C);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 109, 64, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 109, 64, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(255, 109, 64, 0.1);
  border-color: #FF9F1C;
}

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,109,64,0.15) 0%, rgba(12,13,26,0) 70%);
  z-index: -1;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #FF9F1C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Mockups Section */
.mockups-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  perspective: 1200px;
  height: 550px;
}

.mockup {
  border-radius: 32px;
  border: 8px solid #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: absolute;
}

.mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup.left {
  width: 240px;
  transform: rotateY(15deg) translateZ(-100px) translateX(-280px);
  z-index: 1;
  opacity: 0.6;
}

.mockup.center {
  width: 280px;
  transform: translateZ(50px);
  z-index: 3;
}

.mockup.right {
  width: 240px;
  transform: rotateY(-15deg) translateZ(-100px) translateX(280px);
  z-index: 1;
  opacity: 0.6;
}

.mockups-section:hover .mockup.left {
  transform: rotateY(5deg) translateZ(-50px) translateX(-290px);
  opacity: 0.9;
}
.mockups-section:hover .mockup.right {
  transform: rotateY(-5deg) translateZ(-50px) translateX(290px);
  opacity: 0.9;
}
.mockups-section:hover .mockup.center {
  transform: translateZ(80px);
}

/* Features */
.features {
  padding: 100px 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 109, 64, 0.1);
  color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Free Trial Banner */
.free-trial {
  margin: 100px 0;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(255,109,64,0.1), rgba(31,217,148,0.1));
  border: 1px solid rgba(255,109,64,0.2);
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.free-trial h2 {
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.free-trial p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.free-trial .btn {
  position: relative;
  z-index: 2;
}

.static-snow {
  position: absolute;
  border-radius: 50%;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 10px currentColor; /* Efecto difuminado */
}
/* Tamaños, colores y posiciones aleatorias simulando el canvas */
.static-snow.s1 { top: -5%; left: 5%; width: 6px; height: 6px; background: rgba(255, 109, 64, 0.4); color: rgba(255, 109, 64, 0.4); }
.static-snow.s2 { bottom: 10%; left: 15%; width: 8px; height: 8px; background: rgba(100, 200, 255, 0.4); color: rgba(100, 200, 255, 0.4); }
.static-snow.s3 { top: 20%; right: 10%; width: 5px; height: 5px; background: rgba(255, 109, 64, 0.4); color: rgba(255, 109, 64, 0.4); }
.static-snow.s4 { bottom: -5%; right: 5%; width: 9px; height: 9px; background: rgba(100, 200, 255, 0.4); color: rgba(100, 200, 255, 0.4); }
.static-snow.s5 { top: 40%; left: -5%; width: 12px; height: 12px; background: rgba(255, 109, 64, 0.4); color: rgba(255, 109, 64, 0.4); }
.static-snow.s6 { bottom: 30%; right: 20%; width: 7px; height: 7px; background: rgba(100, 200, 255, 0.4); color: rgba(100, 200, 255, 0.4); }
.static-snow.s7 { top: 10%; left: 40%; width: 4px; height: 4px; background: rgba(255, 109, 64, 0.4); color: rgba(255, 109, 64, 0.4); }

/* Footer */
.footer {
  text-align: center;
  padding: 60px 0 40px;
  background: #8A3015;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer p {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-credits {
  margin-top: 8px;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.4) !important;
}
.footer-credits a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.footer-credits a:hover {
  text-decoration: underline;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  
  background: rgba(12, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-content h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-size: 24px;
  margin-bottom: 12px;
}
.modal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}

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

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .mockups-section {
    height: 450px;
  }
  
  .mockup.left, .mockup.right {
    display: none;
  }
  
  .mockup.center {
    width: 250px;
  }
  
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .btn {
    width: 100%;
  }
}

