/* ========================================
   MentisViva - Landing Page Styles
   ======================================== */

/* Hero */
.landing-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2a3a 0%, var(--teal-dark) 40%, var(--teal) 70%, var(--green) 100%);
  padding: 80px 0 40px;
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(122, 201, 79, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(43, 138, 158, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.landing-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  margin-bottom: 20px;
}

.landing-hero .hero-logo {
  height: 80px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.landing-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.landing-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* Hero buttons subtitle */
.hero-buttons-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

/* Hero outline buttons */
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  min-width: 180px;
  text-align: center;
}

.btn-hero-outline:hover,
.btn-hero-outline:active {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@media (hover: none) {
  .btn-hero-outline:active {
    background: var(--white);
    color: var(--teal-dark);
    border-color: var(--white);
  }
}

.hero-scroll {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  margin-top: auto;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  animation: float 2s ease-in-out infinite;
}

.hero-scroll i {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

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

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--white);
  z-index: 0;
}

.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -80px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -50px; left: -80px; }
.hero-shape-3 { width: 150px; height: 150px; top: 40%; left: 10%; }

/* Sections Cards */
.landing-sections {
  padding: 100px 0;
}

.landing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.landing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.landing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.landing-card.green-accent::before {
  background: var(--green);
}

.landing-card.celeste-accent::before {
  background: var(--teal-light);
}

.landing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.landing-card:hover::before {
  transform: scaleX(1);
}

.landing-card .card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.landing-card h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.landing-card p {
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.landing-card .card-link {
  font-weight: 600;
  color: var(--teal);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.landing-card .card-link i {
  transition: transform 0.3s ease;
}

.landing-card:hover .card-link i {
  transform: translateX(4px);
}

.landing-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.landing-card .card-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* About section */
.landing-about {
  background: var(--gray-50);
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--teal-bg), var(--green-bg));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 60%;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  background: var(--green);
  opacity: 0.1;
  z-index: 0;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .landing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile hero fixes */
@media (max-width: 768px) {
  .landing-hero {
    padding: 60px 0 24px;
  }

  .landing-hero .hero-content {
    padding: 0 20px;
  }

  .landing-hero .hero-logo {
    height: 60px;
    margin-bottom: 24px;
  }

  .landing-hero h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }

  .landing-hero p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-buttons-subtitle {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn-hero-outline {
    min-width: 140px;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-scroll {
    font-size: 0.75rem;
    min-height: 50px;
  }

  .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .landing-hero h1 {
    font-size: 1.7rem;
  }

  .btn-hero-outline {
    min-width: 120px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}
