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

:root {
  --coral: #FF5C4D;
  --coral-light: #FF7A6E;
  --coral-dark: #E84D3F;
  --pink-bg: #FFF5F3;
  --pink-light: #FFF0ED;
  --orange: #FF8C42;
  --gradient: linear-gradient(135deg, #FF5C4D 0%, #FF8C42 100%);
  --gradient-hero: linear-gradient(135deg, #8B2A4A 0%, #D94F4F 40%, #FF8C42 100%);
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-coral: 0 8px 30px rgba(255,92,77,0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--pink-bg); }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Typography ===== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--pink-light);
  color: var(--coral);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.938rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text-primary); }
.btn-nav {
  padding: 10px 24px;
  background: var(--gradient);
  color: white !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: var(--shadow-coral); }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: var(--pink-bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,92,77,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-content { flex: 1; }
.hero-visual { flex: 0 0 auto; position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-buttons { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient);
  color: white;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255,92,77,0.35); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--text-primary);
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Phone mockup */
.phone-mockup {
  width: 280px;
  height: 580px;
  background: var(--text-primary);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.1);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--text-primary);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-icon.coral { background: var(--pink-light); }
.feature-icon.blue { background: #EFF6FF; }
.feature-icon.green { background: #ECFDF5; }
.feature-icon.purple { background: #F5F3FF; }
.feature-icon.amber { background: #FFFBEB; }
.feature-icon.rose { background: #FFF1F2; }
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-coral);
}
.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== Screenshots Carousel ===== */
.screenshots {
  padding: 100px 0;
  overflow: hidden;
}
.screenshots-track {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshot-item {
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s;
}
.screenshot-item:hover { transform: scale(1.03); }
.screenshot-item img {
  width: 100%;
  display: block;
}
.screenshot-label {
  padding: 14px 16px;
  background: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-secondary);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--gray-200);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  border-color: var(--coral);
  box-shadow: var(--shadow-coral);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient);
  color: white;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-note {
  font-size: 0.875rem;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 24px;
}
.pricing-features {
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.938rem;
  color: var(--text-secondary);
}
.pricing-features li::before {
  content: '✓';
  color: var(--coral);
  font-weight: 700;
  font-size: 1rem;
}
.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-pricing.primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-coral);
}
.btn-pricing.primary:hover { transform: translateY(-2px); }
.btn-pricing.outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--gray-200);
}
.btn-pricing.outline:hover { border-color: var(--coral); color: var(--coral); }

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  text-align: center;
}
.cta-box {
  background: var(--gradient-hero);
  border-radius: 32px;
  padding: 80px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  position: relative;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: white;
  color: var(--coral);
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

/* ===== Footer ===== */
.footer {
  padding: 60px 0 32px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.938rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.938rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--text-light);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-light); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--coral); }

/* ===== Legal Pages ===== */
.legal-page {
  padding: 140px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-date {
  color: var(--text-light);
  font-size: 0.938rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}
.legal-page a { color: var(--coral); text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-inner { gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-title { font-size: 2rem; }
  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .menu-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .phone-mockup { width: 240px; height: 500px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .screenshots-track { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 24px; scroll-snap-type: x mandatory; }
  .screenshot-item { scroll-snap-align: center; width: 200px; }
  .cta-box { padding: 60px 24px; }
  .cta-box h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .legal-page { padding: 120px 24px 60px; }
  .legal-page h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 0.95rem; }
  .phone-mockup { width: 200px; height: 420px; border-radius: 32px; }
  .phone-screen { border-radius: 24px; }
}
