@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --coral: #e07850;
  --coral-light: #f5a882;
  --coral-glow: #ff9b70;
  --coral-deep: #c45a3a;
  --amber: #f4a261;
  --bg-void: #080808;
  --bg-primary: #0c0c0c;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text: #faf9f7;
  --text-secondary: #a8a5a0;
  --text-muted: #6b6865;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.12);
  --grain-opacity: 0.03;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 1000;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coral-light);
}

/* Typography */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, var(--bg-void) 0%, transparent 100%);
  animation: fadeDown 0.8s ease-out;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Ambient glow background */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(224,120,80,0.15) 0%, rgba(224,120,80,0.05) 30%, transparent 70%);
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.beta-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--text);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--coral-light);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.6s ease-out 0.4s both;
}

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

.cta-group {
  animation: fadeUp 0.6s ease-out 0.5s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(224,120,80,0.3);
  text-decoration: none;
  color: var(--text);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-secondary {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Glowing Orb */
.orb-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 3rem auto;
  animation: fadeUp 0.6s ease-out 0.6s both;
}

.orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    var(--coral-light) 0%,
    var(--coral) 40%,
    var(--coral-deep) 70%,
    #8b3a2a 100%
  );
  box-shadow:
    0 0 60px rgba(224,120,80,0.5),
    0 0 120px rgba(224,120,80,0.3),
    inset 0 0 60px rgba(255,200,180,0.3);
  animation: orbFloat 6s ease-in-out infinite, orbGlow 4s ease-in-out infinite;
}

.orb::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 30%;
  height: 30%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes orbGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(224,120,80,0.5), 0 0 120px rgba(224,120,80,0.3), inset 0 0 60px rgba(255,200,180,0.3); }
  50% { box-shadow: 0 0 80px rgba(224,120,80,0.6), 0 0 160px rgba(224,120,80,0.4), inset 0 0 80px rgba(255,200,180,0.4); }
}

.orb-rings {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(224,120,80,0.2);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.orb-rings:nth-child(2) {
  inset: -40px;
  animation-delay: 0.5s;
  border-color: rgba(224,120,80,0.15);
}

.orb-rings:nth-child(3) {
  inset: -60px;
  animation-delay: 1s;
  border-color: rgba(224,120,80,0.1);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* Screenshots Section */
.screenshots {
  padding: 2rem 2rem 6rem;
  position: relative;
}

.screenshots-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1000px;
}

.screenshot {
  width: 260px;
  flex-shrink: 0;
  border-radius: 32px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 0 0 1px var(--border);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: screenshotReveal 0.8s ease-out both;
}

.screenshot:nth-child(1) { animation-delay: 0.1s; }
.screenshot:nth-child(2) { animation-delay: 0.2s; transform: translateY(30px); }
.screenshot:nth-child(3) { animation-delay: 0.3s; }
.screenshot:nth-child(4) { animation-delay: 0.4s; transform: translateY(30px); }

@keyframes screenshotReveal {
  from { opacity: 0; transform: translateY(60px) scale(0.95); }
  to { opacity: 1; }
}

.screenshot:hover {
  transform: translateY(-10px) scale(1.02) !important;
}

/* Section styling */
section {
  position: relative;
}

.section-label {
  display: inline-block;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

/* Features Section */
.features {
  padding: 8rem 2rem;
  background: var(--bg-primary);
  position: relative;
}

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

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}

.features h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--coral) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: var(--border-light);
}

.feature:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.feature h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 8rem 2rem;
  background: var(--bg-void);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224,120,80,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.how-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 2;
}

.how-it-works h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.how-header p {
  color: var(--text-secondary);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 40px rgba(224,120,80,0.3);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(224,120,80,0.3);
}

.step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Privacy Section */
.privacy-section {
  padding: 8rem 2rem;
  background: var(--bg-primary);
  position: relative;
}

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

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

.privacy-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 2rem;
  border: 1px solid var(--border);
}

.privacy-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.privacy-section > .privacy-content > p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.privacy-badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: var(--coral);
  color: var(--text);
}

/* CTA Section */
.cta-section {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(224,120,80,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta-section h2 em {
  font-style: italic;
  color: var(--coral-light);
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

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

/* Privacy Policy Page */
.page-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
}

.page-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.page-content .last-updated {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-content strong {
  color: var(--text);
  font-weight: 600;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--coral);
}

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

  .steps {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .step {
    flex-basis: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
  }

  .orb-container {
    width: 150px;
    height: 150px;
  }

  .screenshots-wrapper {
    gap: 1rem;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot {
    width: 200px;
  }

  .screenshot:nth-child(2),
  .screenshot:nth-child(4) {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features, .how-it-works, .privacy-section {
    padding: 5rem 1.5rem;
  }

  .cta-section {
    padding: 6rem 1.5rem;
  }

  .step {
    flex-basis: 100%;
    max-width: 280px;
  }
}
