:root {
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-primary: #2f6df6;
  --color-primary-dark: #214db0;
  --color-accent: #27ae60;
  --color-text-main: #14151f;
  --color-text-muted: #6c7280;
  --color-border: #e0e4f0;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.18s ease-in-out;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #e8f0ff 0, #f9fafb 45%, #f5f7fb 100%);
  color: var(--color-text-main);
  line-height: 1.6;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(245, 247, 251, 0.9),
    rgba(245, 247, 251, 0.75)
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-main);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 0%, #79a8ff, #2f6df6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(47, 109, 246, 0.35);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.header-cta button {
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(47, 109, 246, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.header-cta button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(47, 109, 246, 0.4);
}

main {
  flex: 1;
}

section {
  padding: 36px 0;
}

section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.4);
}

.hero {
  padding: 48px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 28px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(47, 109, 246, 0.07);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 16px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--color-text-muted);
}

.hero-form-card {
  background: var(--color-surface);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.form-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  display: block;
  margin-bottom: 2px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.field select {
  margin-top: 0;
  margin-bottom: 0;
}

input,
select {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  font-size: 0.9rem;
  outline: none;
  transition: border var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
  background: #f9fafb;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-left: 10px;
  padding-right: 32px;
  cursor: pointer;
}

select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232f6df6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

input:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(47, 109, 246, 0.3);
  background: #ffffff;
}

.error-msg {
  font-size: 0.75rem;
  color: #e11d48;
  display: none;
}

.field.invalid .error-msg {
  display: block;
}

.field.invalid input {
  border-color: #e11d48;
}

.primary-btn {
  margin-top: 4px;
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 24px rgba(47, 109, 246, 0.36);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.primary-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(47, 109, 246, 0.45);
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(47, 109, 246, 0.32);
}

.form-footnote {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-success {
  text-align: center;
  padding: 24px 20px;
  animation: fadeIn 0.3s ease-in-out;
}

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

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

.success-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.success-message {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.shield-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-primary-dark);
  background: #f9fafb;
}

.hero-mockup {
  position: relative;
  min-height: 260px;
}

.mockup-card {
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--color-surface);
  border-radius: 22px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 18px;
  max-width: 420px;
  overflow: hidden;
  min-width: 0;
}

@media (max-width: 900px) {
  .mockup-card {
    position: static;
    max-width: 100%;
  }
  .hero-mockup {
    min-height: 0;
  }
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mockup-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.mockup-tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #f3f4ff;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

@media (max-width: 600px) {
  .mockup-grid {
    grid-template-columns: 1fr;
  }
}

.mockup-chart {
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2f6df6, #45c4ff);
  position: relative;
  overflow: hidden;
}

.mockup-chart::before,
.mockup-chart::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  width: 140%;
  height: 80%;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.14);
  transform: translate(20px, 60px);
}

.mockup-chart::after {
  width: 120%;
  height: 90%;
  background: rgba(255, 255, 255, 0.09);
  transform: translate(-30px, 40px);
}

.mockup-summary {
  font-size: 0.8rem;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 12px;
  background: #f9fafb;
  min-width: 0;
  gap: 8px;
}

.summary-label {
  color: var(--color-text-muted);
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-value {
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.summary-value.positive {
  color: var(--color-accent);
}

.summary-value.negative {
  color: #e11d48;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  max-width: 540px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 880px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1rem;
  background: rgba(47, 109, 246, 0.08);
  color: var(--color-primary);
}

.card-title {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 880px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 880px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-right: 20px;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 6px;
}

.list li::before {
  content: "•";
  position: absolute;
  right: 5px;
  top: 0;
  color: var(--color-primary);
}

.list-checked li::before {
  content: "✓";
  color: var(--color-accent);
  font-size: 0.85rem;
  top: 0.2rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .use-cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.use-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 12px 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.87rem;
}

.use-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  background: rgba(15, 23, 42, 0.03);
  margin-left: 4px;
  color: var(--color-text-muted);
}

.privacy-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 16px 14px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.privacy-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.privacy-shield {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #90caf9, #2f6df6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
}

.faq-list {
  max-width: 700px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: var(--color-surface);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  flex: 1;
}

.faq-toggle {
  margin-right: 10px;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.faq-answer {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  padding: 0 12px 10px;
  display: none;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  background: #f9fafb;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.final-cta {
  text-align: center;
}

.final-cta .section-subtitle {
  margin: 0 auto 18px;
}

.final-cta form {
  max-width: 420px;
  margin: 0 auto;
}

footer {
  padding: 16px 0 24px;
  border-top: 1px solid rgba(209, 213, 219, 0.8);
  background: rgba(248, 250, 252, 0.95);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

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

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.mobile-sticky-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.98);
  padding: 8px 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.mobile-sticky-bar button {
  border: none;
  border-radius: var(--radius-full);
  padding: 7px 18px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 50px;
  }

  /* Fix select positioning on mobile */
  .field {
    gap: 6px;
  }

  .field select {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* iOS minimum touch target */
  }

  label {
    margin-bottom: 4px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.03);
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent);
}

/* Gallery Styles */
.gallery-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-surface);
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  padding: 16px 20px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
  right: 16px;
}

.gallery-next {
  left: 16px;
}

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.gallery-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .gallery-container {
    border-radius: 16px;
  }

  .gallery-slider {
    padding-bottom: 75%; /* 4:3 aspect ratio on mobile */
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .gallery-prev {
    right: 8px;
  }

  .gallery-next {
    left: 8px;
  }

  .gallery-caption {
    padding: 12px 16px 10px;
    font-size: 0.85rem;
  }

  .gallery-dots {
    bottom: 12px;
    padding: 6px 10px;
    gap: 6px;
  }

  .gallery-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .gallery-slider {
    padding-bottom: 100%; /* Square on very small screens */
  }
}

