/* Reset & Variables */
:root {
  --bg: #050608;
  --fg: #f8fafc;
  --primary: #f97316;
  --primary-fg: #050608;
  --secondary: #1e293b;
  --accent: #f97316;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --border-card: #262134;
  --card-bg: #0b0c13;

  --font-sans:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  --font-serif: 'Didot', 'Playfair Display', 'Times New Roman', serif;

  --container-width: 1200px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative; /* For background blobs */
}

/* Background Blobs - Enhanced to match app */
.background-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  animation: blobFloat 20s ease-in-out infinite;
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.blob-one {
  top: -120px;
  right: -60px;
  width: 500px;
  height: 500px;
  background: rgba(249, 133, 48, 0.25); /* Orange - increased opacity */
  opacity: 0.8;
}

.blob-two {
  bottom: -180px;
  left: -80px;
  width: 600px;
  height: 600px;
  background: rgba(94, 88, 255, 0.14); /* Blue/Purple - increased */
  opacity: 0.7;
  animation-delay: -10s;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 300; /* Matching app's lighter weight */
  font-size: 1.5rem;
  letter-spacing: 4px; /* Increased spacing to match app */
  color: var(--fg);
  text-transform: uppercase;
}

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

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: var(--font-sans);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-fg);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}

/* Hero */
.hero {
  padding: 140px 0 60px;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge i {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.text-accent {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.app-store-badge {
  display: inline-block;
}

.app-store-svg {
  width: 180px;
  height: 60px;
}

.hero-value-props {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.value-prop {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.value-prop i {
  width: 18px;
  height: 18px;
  color: #22c55e;
}

/* App Showcase */
.app-showcase {
  padding: 60px 0 100px;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-items: center;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  background: linear-gradient(145deg, #1a1a1f, #0a0a0d);
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screenshot {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.showcase-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

/* Features */
.features {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* How It Works */
.how-it-works {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.step-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 115, 22, 0.3),
    transparent
  );
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--card-bg);
  border: 2px solid rgba(249, 115, 22, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.3);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* CTA */
.cta {
  padding: 100px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--card-bg), #000);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(
    ellipse at top,
    rgba(249, 115, 22, 0.25),
    transparent 60%
  );
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 115, 22, 0.4),
    transparent
  );
}

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

.cta-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.cta-subtitle {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

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

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  color: #4b5563;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .phone-frame {
    max-width: 200px;
  }
}

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

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

  .nav {
    display: none;
  }

  .hero-value-props {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .value-prop {
    justify-content: center;
    text-align: center;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .phone-frame {
    max-width: 160px;
    border-radius: 28px;
    padding: 6px;
  }

  .phone-screenshot {
    border-radius: 22px;
  }

  .showcase-label {
    font-size: 0.8rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-line {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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