:root {
  --bg: #f6f7fb;
  --text: #1b1e38;
  --muted: #646b8c;
  --brand: #6359ff;
  --brand-dark: #463de2;
  --accent: #21d4fd;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 60px rgba(21, 24, 67, 0.08);
  --shadow-card: 0 14px 30px rgba(18, 23, 68, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(246, 247, 251, 0.85);
  border-bottom: 1px solid rgba(99, 89, 255, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--brand);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(17, 21, 67, 0.08);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 89, 255, 0.25);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 10px;
}

.hero-points li::before {
  content: '·';
  color: var(--brand);
  margin-right: 8px;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px rgba(99, 89, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(99, 89, 255, 0.35);
}

.cta-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(99, 89, 255, 0.3);
  box-shadow: 0 12px 32px rgba(99, 89, 255, 0.15);
}

.cta.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(99, 89, 255, 0.2);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-card {
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
}

.mockup-slide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.slide-thumb {
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(160deg, rgba(99, 89, 255, 0.96), rgba(99, 89, 255, 0.7));
}

.slide-thumb.is-original {
  background: linear-gradient(160deg, rgba(99, 89, 255, 0.95), rgba(33, 212, 253, 0.9));
}

.slide-thumb.is-new {
  background: linear-gradient(160deg, rgba(33, 212, 253, 0.92), rgba(99, 89, 255, 0.9));
}

.mockup-caption {
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.cta-section {
  padding: 72px 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 32px;
}

.cta-form {
  display: grid;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

input[type="file"],
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(27, 30, 56, 0.15);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fafbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="file"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 89, 255, 0.12);
}

.form-hint {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.submit-btn {
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.trial-count {
  font-weight: 500;
}

.trial-count.is-depleted {
  color: #d1434b;
}

.form-response {
  min-height: 1.2em;
  font-weight: 500;
}

.form-response.success {
  color: #1f9d64;
}

.form-response.error {
  color: #d1434b;
}

.form-response.info {
  color: var(--muted);
}

.waitlist {
  padding: 72px 0;
}

.waitlist-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.waitlist-copy h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.waitlist-copy p {
  margin: 0 0 20px;
  color: var(--muted);
}

.waitlist-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.waitlist-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.waitlist-points li::before {
  content: '>'; 
  color: var(--brand);
  font-weight: 600;
}

.waitlist-form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}

.waitlist-fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.waitlist-fields input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px;
  border: 1px solid rgba(27, 30, 56, 0.15);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fafbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-fields input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99, 89, 255, 0.12);
}

.waitlist-submit {
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.waitlist-submit:hover {
  transform: translateY(-1px);
}

.waitlist-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.waitlist-response {
  min-height: 1.2em;
  font-weight: 500;
}

.waitlist-response.success {
  color: #1f9d64;
}

.waitlist-response.error {
  color: #d1434b;
}

.waitlist-response.info {
  color: var(--muted);
}

.features,
.workflow,
.testimonials,
.faq {
  padding: 72px 0;
}

.features h2,
.workflow h2,
.testimonials h2,
.faq h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2rem;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}

.feature-card h3 {
  margin: 0;
}

.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.workflow-steps li {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 30px rgba(99, 89, 255, 0.35);
}

.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  margin: 0;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  font-style: italic;
  color: var(--muted);
}

.faq-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.faq-item + .faq-item {
  margin-top: 16px;
}

.site-footer {
  background: #10122b;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-content .logo span {
  color: var(--accent);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 72px;
  }
  .cta-section,
  .features,
  .workflow,
  .testimonials,
  .faq {
    padding: 56px 0;
  }
  .waitlist {
    padding: 56px 0;
  }
  .waitlist-fields {
    flex-direction: column;
  }
  .waitlist-submit {
    width: 100%;
  }
}
