/* Gift Lantern Landing Page Styles */

/* CSS Variables */
:root {
  --primary-purple: #7c3aed;
  --primary-purple-dark: #6d28d9;
  --secondary-purple: #a78bfa;
  --accent-pink: #ec4899;
  --background-light: #f9fafb;
  --background-white: #ffffff;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --success-green: #10b981;
  --error-red: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo {
  font-size: 2rem;
}

.brand-name {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary-purple);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

/* Problem Section */
.problem-section {
  background: var(--background-white);
}

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

.problem-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--background-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Solution Section */
.solution-section {
  background: var(--background-light);
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.solution-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.check {
  color: var(--success-green);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Phone Mockup */
.phone-mockup {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 350px;
  margin: 0 auto;
}

.phone-screen {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
}

.mockup-card {
  text-align: center;
}

.mockup-image {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.mockup-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mockup-price {
  font-size: 1.5rem;
  color: var(--primary-purple);
  font-weight: 700;
  margin-bottom: 1rem;
}

.mockup-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: var(--background-light);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* How It Works */
.how-it-works {
  background: var(--background-white);
}

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

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  color: white;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Demo Section */
.demo-section {
  background: var(--background-light);
}

.demo-container {
  max-width: 500px;
  margin: 3rem auto;
}

.swipe-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.swipe-card.swipe-left-animation {
  animation: swipeLeft 0.5s ease-out forwards;
}

.swipe-card.swipe-right-animation {
  animation: swipeRight 0.5s ease-out forwards;
}

@keyframes swipeLeft {
  to {
    transform: translateX(-150%) rotate(-30deg);
    opacity: 0;
  }
}

@keyframes swipeRight {
  to {
    transform: translateX(150%) rotate(30deg);
    opacity: 0;
  }
}

.card-content {
  padding: 2rem;
  text-align: center;
}

.card-image {
  font-size: 8rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.card-price {
  font-size: 2rem;
  color: var(--primary-purple);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.card-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 1rem;
}

.swipe-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.swipe-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.swipe-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.swipe-left {
  background: var(--error-red);
  color: white;
}

.swipe-right {
  background: var(--success-green);
  color: white;
}

.btn-icon {
  font-size: 2rem;
  font-weight: bold;
}

.btn-text {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.swipe-counter {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-gray);
  font-size: 1rem;
}

.demo-note {
  background: var(--background-white);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
  border-left: 4px solid var(--primary-purple);
}

.demo-note p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Features Section */
.features-section {
  background: var(--background-white);
}

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

.feature-card {
  padding: 2rem;
  background: var(--background-light);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

/* Partnership Section */
.partnership-section {
  background: var(--background-light);
}

.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.partnership-text h3,
.partnership-benefits h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.use-cases {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.use-case {
  background: var(--background-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-purple);
}

.use-case h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.use-case p {
  color: var(--text-gray);
  line-height: 1.6;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  padding-left: 1.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

.api-usage-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--background-white);
  border-radius: 1rem;
}

.usage-stat {
  text-align: center;
  padding: 1.5rem;
}

.stat-title {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-detail {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Beta Section */
.beta-section {
  background: var(--background-white);
  text-align: center;
}

.beta-badge {
  display: inline-block;
  background: var(--primary-purple);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.beta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.beta-text {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-gray);
  font-size: 1.125rem;
  line-height: 1.6;
}

.beta-timeline {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  text-align: left;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--background-light);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.timeline-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.timeline-item.completed .timeline-icon {
  background: var(--success-green);
  color: white;
}

.timeline-item.current .timeline-icon {
  background: var(--primary-purple);
  color: white;
}

.timeline-item.upcoming .timeline-icon {
  background: var(--background-white);
  color: var(--text-light);
  border: 2px solid var(--border-color);
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.timeline-content p {
  color: var(--text-gray);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section a,
.footer-section p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .solution-content,
  .partnership-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .phone-mockup {
    max-width: 280px;
  }

  .swipe-actions {
    gap: 1rem;
  }

  .swipe-btn {
    width: 4rem;
    height: 4rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background: var(--primary-purple);
  color: white;
}
