/**
 * Landing Page Styles
 * Uses theme variables from shared/styles/theme.css
 */

/* ========================================
   BASE STYLES
   ======================================== */

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: var(--line-height-normal);
}
/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 122, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-primary);
}

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

.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(135deg, rgba(184, 122, 58, 0.2) 0%, rgba(212, 148, 95, 0.2) 100%);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: var(--line-height-relaxed);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  justify-content: center;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A06A2F 0%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  padding: 16px 32px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}




/* Floating animation for decorative elements */
@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(10px, -15px);
    opacity: 0.6;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-12px, 18px);
    opacity: 0.7;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(15px, 10px);
    opacity: 0.6;
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: translate(-8px, -20px);
    opacity: 0.5;
  }
}

.float-1 {
  animation: float1 6s ease-in-out infinite;
}

.float-2 {
  animation: float2 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.float-3 {
  animation: float3 8s ease-in-out infinite;
  animation-delay: 1s;
}

.float-4 {
  animation: float4 6.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Hands connecting animations */
.left-hand {
  animation: handReachLeft 4s ease-in-out infinite;
  transform-origin: 220px 250px;
}

@keyframes handReachLeft {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(5px) translateY(-3px) rotate(2deg);
  }
}

.right-hand {
  animation: handReachRight 4s ease-in-out infinite;
  animation-delay: 0.2s;
  transform-origin: 380px 250px;
}

@keyframes handReachRight {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(-5px) translateY(-3px) rotate(-2deg);
  }
}

.connection-glow {
  animation: connectionPulse 2.5s ease-in-out infinite;
}

@keyframes connectionPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.connection-core {
  animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.heart-symbol {
  animation: heartBeat 3s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  10% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  20% {
    transform: scale(1);
    opacity: 0.7;
  }
  30% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  40% {
    transform: scale(1);
    opacity: 0.7;
  }
}

.energy-line-1 {
  animation: energyFlow1 2s ease-in-out infinite;
}

.energy-line-2 {
  animation: energyFlow2 2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.energy-line-3 {
  animation: energyFlow3 2s ease-in-out infinite;
  animation-delay: 0.6s;
}

.energy-line-4 {
  animation: energyFlow4 2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.energy-line-5 {
  animation: energyFlow5 2s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes energyFlow1 {
  0%, 100% {
    opacity: 0.3;
    stroke-width: 2;
  }
  50% {
    opacity: 0.6;
    stroke-width: 2.5;
  }
}

@keyframes energyFlow2 {
  0%, 100% {
    opacity: 0.3;
    stroke-width: 2;
  }
  50% {
    opacity: 0.6;
    stroke-width: 2.5;
  }
}

@keyframes energyFlow3 {
  0%, 100% {
    opacity: 0.3;
    stroke-width: 2;
  }
  50% {
    opacity: 0.6;
    stroke-width: 2.5;
  }
}

@keyframes energyFlow4 {
  0%, 100% {
    opacity: 0.2;
    stroke-width: 1.5;
  }
  50% {
    opacity: 0.5;
    stroke-width: 2;
  }
}

@keyframes energyFlow5 {
  0%, 100% {
    opacity: 0.2;
    stroke-width: 1.5;
  }
  50% {
    opacity: 0.5;
    stroke-width: 2;
  }
}

.bg-circle-1 {
  animation: bgPulse1 6s ease-in-out infinite;
}

.bg-circle-2 {
  animation: bgPulse2 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.bg-circle-3 {
  animation: bgPulse3 8s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes bgPulse1 {
  0%, 100% {
    opacity: 0.05;
    transform: scale(1);
  }
  50% {
    opacity: 0.08;
    transform: scale(1.05);
  }
}

@keyframes bgPulse2 {
  0%, 100% {
    opacity: 0.08;
    transform: scale(1);
  }
  50% {
    opacity: 0.12;
    transform: scale(1.05);
  }
}

@keyframes bgPulse3 {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.05);
  }
}

.gentle-smile, .warm-smile {
  animation: smileAnimation 4s ease-in-out infinite;
}

@keyframes smileAnimation {
  0%, 100% {
    d: path("M210 205 Q220 210 230 205");
  }
  50% {
    d: path("M210 205 Q220 212 230 205");
  }
}

.light-ray-1, .light-ray-2 {
  animation: lightShine 3s ease-in-out infinite;
}

@keyframes lightShine {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.6;
  }
}

.sparkle-1 {
  animation: sparkle1 2.5s ease-in-out infinite;
}

.sparkle-2 {
  animation: sparkle2 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

.sparkle-3 {
  animation: sparkle3 2.8s ease-in-out infinite;
  animation-delay: 0.3s;
}

.sparkle-4 {
  animation: sparkle4 3.2s ease-in-out infinite;
  animation-delay: 0.7s;
}

@keyframes sparkle1 {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes sparkle2 {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes sparkle3 {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

@keyframes sparkle4 {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.leaf-1, .leaf-2 {
  animation: leafGrow 4s ease-in-out infinite;
}

@keyframes leafGrow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1) rotate(5deg);
  }
}

.sparkle-1 {
  animation: sparkle1 2s ease-in-out infinite;
}

.sparkle-2 {
  animation: sparkle2 2.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.sparkle-3 {
  animation: sparkle3 3s ease-in-out infinite;
  animation-delay: 1s;
}

.sparkle-4 {
  animation: sparkle4 2.2s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes sparkle1 {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes sparkle2 {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

@keyframes sparkle3 {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes sparkle4 {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.light-ray-1, .light-ray-2 {
  animation: lightShine 3s ease-in-out infinite;
}

@keyframes lightShine {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}

.comfort-dot-1, .professional-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.3);
  }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.section-title {
  font-size: 42px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(212, 148, 95, 0.8) 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xxl);
  margin-top: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--color-background);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(212, 148, 95, 0.5) 100%);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(184, 122, 58, 0.15);
  border-color: var(--color-accent);
  background: var(--color-surface);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184, 122, 58, 0.1) 0%, rgba(212, 148, 95, 0.1) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(184, 122, 58, 0.15) 0%, rgba(212, 148, 95, 0.15) 100%);
  transform: scale(1.1);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.feature-card p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* ========================================
   SUPPORT AREAS SECTION
   ======================================== */

.support-areas {
  position: relative;
}

.support-areas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.area-tag {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-accent) 100%);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  border: 2px solid var(--color-accent);
  transition: all var(--transition-normal);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.area-tag::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.area-tag:hover {
  color: var(--color-surface);
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(184, 122, 58, 0.3);
}

.area-tag:hover::before {
  width: 300px;
  height: 300px;
}

.area-tag span {
  position: relative;
  z-index: 1;
}

.areas-more {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 18px;
  margin-top: var(--spacing-lg);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(212, 148, 95, 0.8) 100%);
  color: var(--color-surface);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 4px 12px rgba(184, 122, 58, 0.3);
  position: relative;
  transition: all var(--transition-normal);
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(184, 122, 58, 0.4);
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(212, 148, 95, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.step:hover .step-number::before {
  opacity: 1;
}

.step-content h3 {
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.step-content p {
  color: var(--color-text-secondary);
  font-size: 15px;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.step-arrow svg {
  width: 32px;
  height: 32px;
}

.step-arrow:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #D4945F 100%);
  color: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--color-surface);
}

.cta-content p {
  font-size: 20px;
  margin-bottom: var(--spacing-xxl);
  opacity: 0.95;
}

.cta-download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xxl);
}

.qr-code-large {
  background: var(--color-surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: inline-block;
}

.qr-code-large p {
  color: var(--color-text-primary);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-medium);
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.store-badge-cta {
  display: inline-block;
  height: 52px;
  width: 156px;
  transition: transform var(--transition-fast);
}

.store-badge-cta:hover {
  transform: scale(1.05);
}

.store-badge-cta img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.hero-content,
.feature-card,
.step,
.area-tag {
  animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    flex-wrap: wrap;
  }
  
  .step-arrow {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  
  
  
  .section-title {
    font-size: 32px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .cta-content h2 {
    font-size: 32px;
  }
  
  .cta-content p {
    font-size: 18px;
  }
  
  .cta-download {
    flex-direction: column;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  
  
  .section-title {
    font-size: 28px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 16px;
  }
}

