:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --accent: #38bdf8;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Navbar */
header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-main), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  gap: 4rem;
  padding-bottom: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(248,250,252,0) 70%);
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

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

.phone-mockup {
  width: 260px;
  border-radius: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 8px solid #0F172A;
  background: #0F172A;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
  transform: translateY(-10px);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-1 {
  position: relative;
  z-index: 2;
  transform: rotate(-5deg) translateY(20px);
}

.mockup-2 {
  position: absolute;
  right: 10%;
  top: 10%;
  z-index: 1;
  transform: rotate(5deg) scale(0.9);
  opacity: 0.9;
  filter: blur(1px);
}

/* App Sections */
.app-section {
  padding: 8rem 0;
}

.app-section.light {
  background: var(--card-bg);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.app-row.reverse {
  flex-direction: row-reverse;
}

.app-info {
  flex: 1;
}

.app-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.app-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
}

.app-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* How It Works */
.how-it-works {
  padding: 8rem 0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-desc {
  color: var(--text-muted);
}

/* CTA & Badges */
.app-store-badge {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-badge img {
  height: 56px;
  width: auto;
}

/* Footer */
footer {
  background: #0F172A;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.footer-links a {
  color: #94A3B8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: #64748B;
  font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .mockup-2 {
    display: none;
  }
  
  .app-row, .app-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-list li {
    justify-content: center;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
