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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Hero Animations */
.hero-badge {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-buttons {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Scroll Animations */
.feature-card, .step-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-card.visible, .step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button Shimmer Effect */
/* Removed shimmer animation from buttons */
.btn-lg:not(.btn-outline) {
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
}

/* Landing Page Styles */
:root {
  --hero-gradient: linear-gradient(135deg, #111111 0%, #222222 100%);
  --surface-color: #ffffff;
  --surface-hover: #fcfcfc;
  --text-on-primary: #ffffff;
}

body.landing-page {
  display: block;
  padding: 0;
  background: #ffffff;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  background: #ffffff;
  text-align: center;
  position: relative;
}

/* Subtle luxury background pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 50%, rgba(197, 160, 89, 0.03), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 0, 0, 0.02), transparent 25%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: var(--accent-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 32px;
  border: 1px solid var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--primary-color);
  background: none;
  -webkit-text-fill-color: initial;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: 4px; /* Sharper corners for luxury feel */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features Section */
.features {
  padding: 120px 24px;
  background: #050505; /* Deep black */
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

/* Subtle grid background for features */
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 1;
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 20px;
  color: #888888;
  line-height: 1.6;
  font-weight: 300;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 0; /* Sharp corners for luxury feel */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

/* Hover effect: subtle lift and border glow */
.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 24px;
  background: rgba(197, 160, 89, 0.1); /* Muted gold background */
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* Sharp corners */
  color: var(--accent-color);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: #aaaaaa;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Decorative line on hover */
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* How It Works */
.how-it-works {
  padding: 120px 24px;
  background: #080808; /* Deep dark grey/black */
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-card h3 {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.step-card p {
  color: #aaaaaa;
  line-height: 1.6;
}

.step-number {
  width: 60px;
  height: 60px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 0; /* Sharp corners */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 32px;
  font-size: 24px;
  font-family: var(--font-heading);
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: white;
  padding: 80px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 60px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 20px;
  font-family: var(--font-heading);
}

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

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

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* Auth Modal */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: all;
}

.auth-modal .container {
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.close-modal {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  width: auto;
  margin: 0;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  
  .navbar {
    padding: 20px;
  }
  
  .nav-links {
    display: none;
  }
}
