/* Reset y variables */
:root {
    --primary: #FFE66D;
    --primary-dark: #FFE66D;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #000;
    --light: #F7FFF7;
    --gradient-bg: linear-gradient(135deg, #0049aa 0%, beige 60%);
    --glass-bg: #fff;
    --font-title: 'Fredoka One', 'Baloo 2', 'Comic Neue', cursive;
    --font-text: 'DM Sans', sans-serif;
}

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

a{
  cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--light);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--light);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
}

section {
    padding: 5rem 0;
}

/* Header */
.header {
    padding: 5px;
    background: #1c1c1c;
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid gold;
}

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

.logo {
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-family: var(--font-title);
}

.logo img{
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.logo:hover {
    transform: scale(1.05);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-text);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* Estilos base para nav en laptops */
.nav-laptop {
  background-color: #000;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.nav-laptop ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-laptop li {
  margin: 0;
}

.nav-laptop a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.nav-laptop a:hover {
  background-color: #ffe6cc;
  color: #c05b00;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    background: #1467d5;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    animation: fadeInUp 1s ease;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* About Section */
.about {
    background: beige;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.about-image{
  background: #FFE66D;
  padding: 10px 15px;
  border-radius: 15px;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-title2{
  color: #5353A3;
}

.about-text {
    max-width: 800px;
    text-align: center;
    color: #5353A3;
}

/* How it works */
.how-it-works {
    position: relative;
    background: #F5F2ED;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section-title{
  color: #5353A3;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    color: #000;
}

.steps h3{
  color: #5353A3;
}

.step-card {
    background: var(--glass-bg);
    color: #5353A3;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.step-icon {
    font-size: 3rem;
    color: #8a70ef;
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #FFE66D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-crear{
  padding: 12px 15px;
  margin: 20px auto;
  width: 250px;
  border: none;
  background: #8a70ef;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.btn-crear a{
  color: #fff;
  text-decoration: none;
  cursor: none;
  font-family: var(--font-text);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    color: #000;
}

.benefit-card {
    background: beige;
    text-align: center;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

.benefit-icon{
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card i{
  font-size: 40px;
  color: #5353A3;
}

.benefit-card h3{
  color: #5353A3;
}

.benefit-card p{
  color: #5353A3;
}

/* CTA Section */
.cta {
    text-align: center;
    background: var(--primary);
    color: var(--dark);
}

.cta-title {
    color: var(--dark);
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #736AE1;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links h3, .footer-social h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    color: #736AE1;
    font-size: 1.2rem;
    cursor: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.pulse {
    animation: pulse 2s infinite;
}

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

/* Efectos de scroll */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fadeIn"] {
    transform: translateY(30px);
}

[data-animate="fadeIn"].animate {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fadeInLeft"] {
    transform: translateX(-30px);
}

[data-animate="fadeInLeft"].animate {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fadeInRight"] {
    transform: translateX(30px);
}

[data-animate="fadeInRight"].animate {
    opacity: 1;
    transform: translateX(0);
}

/*Responsive estra*/

@media (min-width: 760px){
  .nav-laptop{
    display: flex !important;
  }
}

@media (min-width: 760px){

  .btn-crear{
      display: none !important;
    }
    
    .btn{
      display: none;
    }
    
}

@media (max-width: 799px) {
  .nav-laptop {
    display: none;
  }
}

/* Responsive */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
    }

    .hero-content {
        flex: 1;
    }

    .hero-image {
        flex: 1;
    }

    .about-content {
        flex-direction: row;
    }

    .about-text {
        text-align: left;
    }
    
    .btn-crear{
      display: block;
    }
}

@media (max-width: 480px) {
    
    .btn-crear{
      display: block;
    }
    
    section {
        padding: 3rem 0;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .about-text{
      text-align: left;
    }
}

marquee{
  height: 40px;
  display: none;
  align-items: center;
  background: #FFE66D;
  color: #000;
}

/* CSS */
.tab-bar {
  position: fixed;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 100%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #101112;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.tab-item:active {
  transform: scale(0.9);
}

.tab-icon {
  width: 30px;
  height: 30px;
  font-size: 25px;
  color: #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
  transition: transform 0.3s;
}

.tab-item:hover .tab-icon {
  transform: translateY(-3px) scale(1.1);
  color: #FFE66D;
}

.tab-text {
  font-family: 'Comic Sans MS';
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Responsive */
@media (min-width: 768px) {
  .tab-bar {
    padding: 15px 0;
  }
  
  .tab-icon {
    width: 30px;
    height: 30px;
    color: #fff;
  }
  
  .tab-text {
    font-size: 17px;
    color: #fff;
  }
}

@media (min-width: 1200px) {
  .tab-bar {
    width: 80%;
    margin: 0 auto;
    border-radius: 30px 30px 0 0;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
    display: none;
  }
}