/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --coral: #FF6B6B;
  --coral-dark: #E85A5A;
  --mint: #4ECDC4;
  --mint-light: #CFF3F0;
  --yellow: #F4C430;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --text-primary: #1F2933;
  --text-secondary: #6B7280;
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--coral);
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--surface);
  background: var(--coral);
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--coral-dark);
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: var(--coral);
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-secondary {
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #F3F4F6;
}

/* === Hero === */
.hero {
  padding: 140px 0 80px;
  background: var(--surface);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phone Mockup */
.hero-visual {
  flex-shrink: 0;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--text-primary);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 26px;
  padding: 32px 16px 16px;
  overflow: hidden;
}

.mockup-header {
  height: 32px;
  width: 60%;
  background: var(--coral);
  border-radius: 8px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.mockup-card {
  height: 72px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
}

.mockup-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: var(--mint-light);
  border-radius: 8px;
}

.mockup-card::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 72px;
  width: 100px;
  height: 12px;
  background: var(--border);
  border-radius: 4px;
}

.mockup-card.short::after {
  width: 70px;
}

/* === Features === */
.features {
  padding: 96px 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--mint-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.icon-mint {
  background: var(--mint-light);
  color: var(--mint);
}

.feature-icon.icon-yellow {
  background: #FEF3C7;
  color: #D69E2E;
}

.feature-icon.icon-coral {
  background: #FEE2E2;
  color: var(--coral);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* === Download === */
.download {
  padding: 96px 0;
  background: var(--surface);
}

.download-inner {
  text-align: center;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  transition: background 0.2s;
}

.store-badge:hover {
  background: #374151;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge div {
  text-align: left;
}

.store-badge-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  line-height: 1;
}

.store-badge-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* === Footer === */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.3s; }

.store-badge.reveal:nth-child(2) { transition-delay: 0.1s; }

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

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
