/* landing.css - Premium Landing Page Stylesheet for Caring Hands Nyali */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --primary: #FF44AB;
  --primary-light: #FF88D1;
  --primary-dark: #DD2289;
  --primary-rgb: 255, 68, 171;
  
  --secondary: #10b981;
  --secondary-rgb: 16, 185, 129;
  
  --accent: #8b5cf6;
  
  --dark-indigo: #0f0c29;
  --dark-purple: #302b63;
  --dark-slate: #24243e;
  
  --bg-gradient: linear-gradient(135deg, #FF88D1, #FF44AB);
  --bg-dark-gradient: linear-gradient(to right, var(--dark-indigo), var(--dark-purple), var(--dark-slate));
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --font-outfit: 'Outfit', sans-serif;
  --font-roboto: 'Roboto', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

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

body.landing-body {
  font-family: var(--font-roboto);
  background-color: #fbfbfd;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-outfit);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--transition-normal) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

/* Landing Layout & Containers */
.landing-navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(251, 251, 253, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar-brand-landing {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
}

.navbar-brand-landing img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-accent {
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 140px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 136, 209, 0.15) 0%, rgba(255, 68, 171, 0.05) 30%, rgba(251, 251, 253, 0) 70%);
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 68, 171, 0.12) 0%, rgba(255, 68, 171, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: rotate-slow 20s linear infinite;
}

.hero-shape-2 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  filter: blur(35px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 68, 171, 0.08);
  border: 1px solid rgba(255, 68, 171, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--primary-dark);
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #FF88D1 0%, #FF44AB 50%, #DD2289 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  font-weight: 400;
}

/* Download Buttons / Badges */
.download-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-download {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #111;
  color: #fff;
  border: 1px solid #222;
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-roboto);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-download:hover::before {
  left: 150%;
}

.btn-download:hover {
  transform: translateY(-4px);
  background-color: #000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 68, 171, 0.4);
}

.btn-download i {
  font-size: 2.2rem;
}

.btn-download .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-download .btn-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.btn-download .btn-title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-outfit);
  line-height: 1.2;
}

/* Hero Showcase Image */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-backdrop {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(255, 68, 171, 0.15) 0%, rgba(255, 136, 209, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(20px);
}

.hero-image-container {
  position: relative;
  z-index: 1;
  max-width: 380px;
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 10px solid #1e293b;
  aspect-ratio: 9 / 19.5;
  background-color: #fff;
  animation: float 6s ease-in-out infinite;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Feature Grid Section */
.features-section {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.section-tag {
  color: var(--primary);
  font-family: var(--font-outfit);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
}

.feature-card {
  background: #fcfcfe;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(255, 68, 171, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
  border-color: rgba(255, 68, 171, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-container {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-container {
  transform: scale(1.1) rotate(2deg);
}

.feature-icon-pink {
  background-color: rgba(255, 68, 171, 0.08);
  color: var(--primary);
}

.feature-icon-green {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--secondary);
}

.feature-icon-purple {
  background-color: rgba(139, 92, 246, 0.08);
  color: var(--accent);
}

.feature-icon-orange {
  background-color: rgba(249, 115, 22, 0.08);
  color: #f97316;
}

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 700;
}

.feature-card-text {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Bilingual Interactive Section */
.bilingual-section {
  padding: 100px 0;
  background-color: #f8fafc;
  overflow: hidden;
  position: relative;
}

.bilingual-card-container {
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.bilingual-toggle-wrapper {
  display: inline-flex;
  background-color: #f1f5f9;
  padding: 6px;
  border-radius: 50px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bilingual-btn {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bilingual-btn.active {
  background-color: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(255, 68, 171, 0.15);
}

.lang-content-pane {
  display: none;
  animation: fadeInUp 0.4s var(--transition-normal);
}

.lang-content-pane.active {
  display: block;
}

.bilingual-list {
  list-style: none;
  margin-top: 24px;
}

.bilingual-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.bilingual-list li i {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* Call to Action (CTA) Section */
.cta-section {
  padding: 80px 0;
  background: var(--bg-dark-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 68, 171, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Premium Footer */
.landing-footer {
  background-color: #0c0a1c;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-roboto);
}

.footer-brand {
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-divider {
  border-color: rgba(255, 255, 255, 0.05);
  margin: 40px 0;
}

/* Login Button in Footer (Requested Specifically) */
.btn-footer-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 68, 171, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(255, 68, 171, 0.3);
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(255, 68, 171, 0.05);
}

.btn-footer-login:hover {
  background: var(--bg-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 68, 171, 0.3);
}

.btn-footer-login i {
  transition: transform 0.2s;
}

.btn-footer-login:hover i {
  transform: translateX(4px);
}

/* Coming Soon Modal */
.modal-content-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.modal-header-glass {
  border-bottom: none;
  padding: 30px 30px 10px;
}

.modal-body-glass {
  padding: 10px 30px 30px;
  text-align: center;
}

.modal-icon-coming-soon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  animation: pulse-soft 2s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .download-buttons-container {
    justify-content: center;
  }
  .hero-image-wrapper {
    margin-top: 50px;
  }
  .bilingual-card-container {
    padding: 30px;
    text-align: center;
  }
  .bilingual-list li {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .btn-download {
    width: 100%;
    justify-content: center;
  }
}
