/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; color: #1a1a2e; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; font-size: 100%; }
ul { list-style: none; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }

/* Colors */
:root {
  --indigo: #6366f1;
  --green: #3eab40;
  --green-hover: #359637;
  --dark: #1a1a2e;
  --text: #666666;
  --text-light: #999999;
  --bg-light: #fafaff;
  --bg-hero-start: #f0f0ff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-green-outline { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn-green-outline:hover { background: var(--green); color: #fff; }
.btn-sm { padding: 8px 20px; font-size: 14px; border-radius: 8px; }
.btn-sale {
  position: relative;
  overflow: hidden;
  animation: pulse-sale 2s infinite;
  background: linear-gradient(135deg, #3eab40, #2d8a2e, #3eab40);
  background-size: 200% 200%;
}
.btn-sale::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.5s infinite;
}
.btn-sale:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(62, 171, 64, 0.4);
}
.btn-sale:hover::before { animation: none; opacity: 0; }
@keyframes pulse-sale {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 171, 64, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(62, 171, 64, 0); }
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img { border-radius: 8px; }
.logo-text { font-weight: 700; font-size: 18px; color: var(--dark); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14px; color: #555; transition: color 0.2s; }
.nav a:hover { color: var(--dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  text-align: center;
  padding: 120px 24px 60px;
  background: linear-gradient(180deg, var(--bg-hero-start) 0%, #fff 100%);
}
.hero-label {
  color: var(--indigo);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.text-indigo { color: var(--indigo); }
.hero-desc {
  font-size: 18px;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--text-light); margin-top: 16px; }
.hero-screenshot {
  margin: 40px auto 0;
  border-radius: 16px;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Section common */
.section-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align: center; font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.section-subtitle { text-align: center; color: #888; margin-bottom: 48px; font-size: 16px; }

/* Features */
.features { padding: 80px 0; }
.feature-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.feature-row--reversed { flex-direction: row-reverse; }
.feature-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.feature-text { flex: 1; }
.feature-heading {
  color: var(--indigo);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-text p { color: var(--text); line-height: 1.6; font-size: 15px; }

/* FAQ */
.faq { background: var(--bg-light); padding: 80px 0; }
.faq-list { max-width: 700px; margin: 32px auto 0; }
.faq-item { border-bottom: 1px solid #e0e0e8; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  text-align: left;
}
.faq-chevron { transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p { color: var(--text); font-size: 14px; line-height: 1.6; padding-bottom: 20px; }

/* Contact */
.contact { padding: 80px 0; background: var(--bg-light); }
.contact-card {
  max-width: 600px;
  margin: 32px auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.form-row { display: flex; gap: 16px; }
.form-group { flex: 1; margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
}
.form-group textarea { resize: vertical; }
.submit-btn { width: 100%; justify-content: center; margin-top: 8px; }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Footer */
.footer { background: var(--dark); padding: 40px 24px; }
.footer-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: #aaa; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #333;
  border-radius: 8px;
  color: #ccc;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: #444; color: #fff; }
.footer-email { margin-bottom: 12px; }
.footer-email a { color: #aaa; font-size: 13px; transition: color 0.2s; }
.footer-email a:hover { color: #fff; }
.footer-copyright { color: #666; font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav.open { display: flex; }
  .hamburger { display: flex; }

  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-screenshot { height: 200px; }

  .feature-row,
  .feature-row--reversed { flex-direction: column; }
  .feature-img { width: 100%; min-height: 180px; }

  .section-title { font-size: 28px; }

  .form-row { flex-direction: column; gap: 0; }
}

/* Legal pages */
.legal-page { padding: 100px 0 60px; }
.legal-content { max-width: 700px; margin: 32px auto 0; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }
.legal-content h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin: 16px 0 6px; }
.legal-content p { color: var(--text); line-height: 1.7; font-size: 15px; margin-bottom: 12px; }
.legal-content a { color: var(--indigo); text-decoration: underline; }
.legal-content ol, .legal-content ul { color: var(--text); line-height: 1.7; font-size: 15px; margin: 0 0 12px 24px; }
.legal-content ol { list-style: decimal; }
.legal-content ul { list-style: disc; }
.legal-content li { margin-bottom: 4px; }

/* Success page */
.success-page { padding: 120px 0 60px; }
.success-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.success-icon { margin: 0 auto 24px; }
.success-title { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.success-desc { font-size: 16px; color: var(--text); line-height: 1.6; margin-bottom: 32px; }
.success-steps { text-align: left; margin-bottom: 32px; }
.success-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.success-step:last-child { border-bottom: none; }
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--indigo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.success-step strong { color: var(--dark); font-size: 15px; }
.success-step p { color: var(--text); font-size: 14px; line-height: 1.5; margin-top: 4px; }
