:root {
  --color-bg: #07131f;
  --color-bg-soft: #0d2230;
  --color-surface: #102b3a;
  --color-surface-light: #f5f8fb;
  --color-text: #eaf3f6;
  --color-text-muted: #a7bac4;
  --color-white: #ffffff;
  --color-accent: #20d6b5;
  --color-accent-hover: #68f2d5;
  --color-border: rgba(255, 255, 255, 0.14);
  --container-width: 1180px;
  --header-height: 76px;
  --radius-small: 8px;
  --radius-medium: 14px;
  --radius-large: 24px;
  --shadow-small: 0 14px 36px rgba(0, 0, 0, 0.18);
  --shadow-large: 0 30px 90px rgba(0, 0, 0, 0.32);
  --transition: 220ms ease;
}

html[data-theme="light"] {
  --color-bg: #f4f8f9;
  --color-bg-soft: #e8f1f2;
  --color-surface: #ffffff;
  --color-surface-light: #ffffff;
  --color-text: #0c1e29;
  --color-text-muted: #526977;
  --color-white: #081923;
  --color-accent: #0b9f8a;
  --color-accent-hover: #067563;
  --color-border: rgba(8, 25, 35, 0.14);
  --shadow-small: 0 14px 34px rgba(18, 56, 70, 0.12);
  --shadow-large: 0 28px 80px rgba(18, 56, 70, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-accent-hover);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.container,
.header-container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.section-light {
  color: #13242e;
  background: var(--color-surface-light);
}

.section-dark {
  background:
    radial-gradient(circle at 12% 14%, rgba(32, 214, 181, 0.12), transparent 28%),
    var(--color-bg);
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-intro h2,
.simple-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-heading p:last-child,
.section-light .section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--color-text-muted);
  font-size: 1.06rem;
}

.section-light .section-heading p:last-child,
.section-light .card p,
.section-light .large-text + p {
  color: #5c7180;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #05251f;
  background: var(--color-accent);
  box-shadow: 0 12px 28px rgba(32, 214, 181, 0.22);
}

.button-primary:hover {
  background: var(--color-accent-hover);
}

.button-secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-border);
}

.button-secondary:hover {
  border-color: rgba(104, 242, 213, 0.55);
  background: rgba(104, 242, 213, 0.1);
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(16, 43, 58, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 214, 181, 0.48);
  box-shadow: var(--shadow-large);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  background: rgba(7, 19, 31, 0.9);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 850;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
}

.main-navigation,
.navigation-list {
  display: flex;
  align-items: center;
}

.main-navigation {
  gap: 24px;
}

.navigation-list {
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation-list > li {
  position: relative;
}

.navigation-list a,
.submenu-toggle {
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition);
}

.navigation-list a {
  display: inline-flex;
  padding: 10px 0;
}

.navigation-list a:hover,
.navigation-list a.active,
.submenu-toggle:hover {
  color: var(--color-white);
}

.navigation-list > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.navigation-list > li > a:hover::after,
.navigation-list > li > a.active::after {
  transform: scaleX(1);
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(13, 34, 48, 0.98);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-large);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-small);
}

.submenu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  flex-shrink: 0;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tool-toggle {
  min-width: 56px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  font-weight: 850;
  cursor: pointer;
  transition:
    transform var(--transition),
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.tool-toggle:hover {
  color: var(--color-white);
  background: rgba(32, 214, 181, 0.12);
  border-color: rgba(32, 214, 181, 0.42);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 78px) 0 86px;
  background:
    radial-gradient(circle at 78% 16%, rgba(32, 214, 181, 0.22), transparent 28%),
    linear-gradient(135deg, #06111b 0%, #0b2030 54%, #0c3539 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}

.hero-metric {
  padding-left: 16px;
  border-left: 2px solid rgba(32, 214, 181, 0.5);
}

.hero-metric strong,
.hero-metric span {
  display: block;
}

.hero-metric span {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-product {
  padding: 34px;
}

.hero-product::before,
.featured-product::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(32, 214, 181, 0.22), transparent 32%);
}

.hero-product > * {
  position: relative;
}

.product-status {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: var(--color-accent-hover);
  background: rgba(32, 214, 181, 0.1);
  border: 1px solid rgba(32, 214, 181, 0.28);
  border-radius: var(--radius-small);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.hero-product p,
.card p,
.process-step p,
.product-description,
.contact-intro p,
.simple-card p {
  color: var(--color-text-muted);
}

.app-preview {
  margin-top: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
}

.word-card {
  display: grid;
  gap: 6px;
  min-height: 170px;
  place-items: center;
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.word-card small {
  color: var(--color-accent);
  font-weight: 800;
}

.word-card strong {
  font-size: 1.45rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--color-accent);
  font-weight: 900;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 76px;
}

.large-text {
  margin-top: 0;
  color: inherit;
  font-size: 1.32rem;
  font-weight: 650;
}

.value-list,
.services-grid,
.projects-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.value-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px;
  color: var(--color-text);
}

.value-item > span,
.service-number,
.process-number {
  color: var(--color-accent);
  font-weight: 900;
}

.value-item h3,
.value-item p,
.service-card h3,
.service-card p,
.project-card h3,
.project-card p,
.process-step h3,
.process-step p {
  margin: 0;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 300px;
  padding: 28px;
}

.service-number {
  display: block;
  margin-bottom: 34px;
  font-size: 0.82rem;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.example-list {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: #c8d8df;
}

.featured-product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  overflow: hidden;
}

.product-content {
  position: relative;
  z-index: 1;
  padding: 54px;
}

.product-category,
.project-category {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
}

.product-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--color-accent-hover);
  text-decoration: none;
  font-weight: 850;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}

.phone-preview {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 42px;
  background:
    radial-gradient(circle at 50% 40%, rgba(104, 242, 213, 0.36), transparent 28%),
    linear-gradient(145deg, #0e3843, #0ba18e);
}

.phone-frame {
  width: 255px;
  padding: 10px;
  background: #06111b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  box-shadow: var(--shadow-large);
  transform: rotate(2deg);
  transition: transform var(--transition);
}

.featured-product:hover .phone-frame {
  transform: rotate(0deg) translateY(-4px);
}

.phone-screen {
  min-height: 470px;
  padding: 26px 18px;
  background: #0d2230;
  border-radius: 26px;
}

.phone-header {
  margin-bottom: 50px;
  font-weight: 850;
}

.phone-progress {
  height: 6px;
  margin-top: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.phone-progress span {
  display: block;
  width: 65%;
  height: 100%;
  background: var(--color-accent);
}

.secondary-product {
  margin-top: 18px;
  padding: 28px;
}

.product-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.product-roadmap-card {
  min-height: 280px;
  padding: 26px;
}

.product-roadmap-card h3,
.product-roadmap-card p {
  margin-top: 0;
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  min-height: 360px;
}

.project-visual {
  min-height: 150px;
  background:
    linear-gradient(135deg, rgba(32, 214, 181, 0.16), transparent),
    linear-gradient(145deg, #123449, #0b1b28);
}

.project-visual::before {
  content: "";
  display: block;
  width: 82px;
  height: 82px;
  margin: 34px auto 0;
  border: 1px solid rgba(104, 242, 213, 0.42);
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(104, 242, 213, 0.7) 49%, transparent 51%),
    linear-gradient(0deg, transparent 48%, rgba(104, 242, 213, 0.7) 49%, transparent 51%);
  transform: rotate(8deg);
  transition: transform var(--transition);
}

.project-card:hover .project-visual::before {
  transform: rotate(0deg) scale(1.04);
}

.project-card-content {
  padding: 26px;
}

.project-card h3 {
  margin-bottom: 10px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  padding: 28px;
}

.process-number {
  display: block;
  margin-bottom: 36px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
  align-items: start;
}

.contact-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--color-accent-hover);
  font-size: 1.15rem;
  font-weight: 850;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label,
.privacy-checkbox {
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.form-group select option {
  color: #10212b;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  outline: 3px solid rgba(104, 242, 213, 0.22);
}

.form-group [aria-invalid="true"] {
  border-color: #ff7b8a;
}

.field-error,
.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.field-error {
  min-height: 1.3em;
  color: #ffb8c0;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.privacy-checkbox input {
  margin-top: 5px;
  accent-color: var(--color-accent);
}

.privacy-checkbox a {
  color: var(--color-accent-hover);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: fit-content;
}

.notice,
.error-message {
  padding: 14px 16px;
  border-radius: var(--radius-small);
  font-weight: 700;
}

.notice {
  color: #082a25;
  background: var(--color-accent-hover);
}

.error-message {
  color: #fff1f1;
  background: #8f2530;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.simple-page,
.product-page,
.support-page,
.legal-page {
  padding: calc(var(--header-height) + 72px) 0 96px;
}

.simple-card,
.legal-content,
.product-detail,
.support-layout {
  padding: 42px;
}

.simple-card {
  max-width: 860px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h1,
.product-detail h1,
.support-layout h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
}

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

.support-list a {
  display: block;
  padding: 14px 16px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}

.support-list a:hover {
  border-color: rgba(32, 214, 181, 0.5);
  transform: translateY(-2px);
}

.product-hero {
  padding: calc(var(--header-height) + 78px) 0 86px;
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 214, 181, 0.24), transparent 30%),
    linear-gradient(135deg, #06111b 0%, #0c2535 58%, #0b3d3c 100%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 62px;
  align-items: center;
}

.availability-badge {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 13px;
  color: var(--color-accent-hover);
  background: rgba(32, 214, 181, 0.1);
  border: 1px solid rgba(32, 214, 181, 0.28);
  border-radius: var(--radius-small);
  font-weight: 850;
}

.feature-groups,
.benefits-grid,
.screenshots-grid,
.language-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.feature-groups {
  grid-template-columns: repeat(3, 1fr);
}

.feature-group,
.benefit-card,
.language-card,
.screenshot-card,
.faq-item {
  padding: 26px;
}

.feature-group h3,
.benefit-card h3,
.language-card h3,
.faq-item h3 {
  margin-top: 0;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--color-text-muted);
}

.benefits-grid,
.screenshots-grid,
.language-grid {
  grid-template-columns: repeat(3, 1fr);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-bg-soft);
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.how-step {
  padding: 26px;
  counter-increment: step;
}

.how-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: var(--color-accent);
  font-weight: 900;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  color: var(--color-text);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.4rem;
}

.faq-item.open .faq-question::after {
  content: "–";
}

.faq-answer {
  margin-top: 14px;
  color: var(--color-text-muted);
}

.faq-list.enhanced .faq-answer[hidden] {
  display: none;
}

.import-page {
  padding: calc(var(--header-height) + 72px) 0 96px;
}

.import-layout {
  display: grid;
  gap: 34px;
}

.import-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.import-state h2 {
  margin-top: 0;
}

.warning-text {
  padding: 16px;
  color: #2d2100;
  background: #ffe39b;
  border-radius: var(--radius-small);
  font-weight: 800;
}

.import-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.import-meta div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.import-meta dt {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.import-meta dd {
  margin: 6px 0 0;
  font-weight: 850;
}

.import-word-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}

.import-word-list li {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
}

.import-word-list strong,
.import-word-list span {
  display: block;
}

.import-word-list span {
  color: var(--color-text-muted);
}

.more-words {
  margin-bottom: 0;
}

.import-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 68px 0 24px;
  color: rgba(255, 255, 255, 0.68);
  background: #040c13;
}

.site-footer .brand,
.site-footer h2 {
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 0.94rem;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a,
.footer-bottom a {
  text-decoration: none;
  transition: color var(--transition);
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--color-accent-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

html[data-theme="light"] .site-header {
  background: rgba(250, 253, 253, 0.9);
}

html[data-theme="light"] .brand,
html[data-theme="light"] .navigation-list a,
html[data-theme="light"] .submenu-toggle,
html[data-theme="light"] .faq-question {
  color: var(--color-text);
}

html[data-theme="light"] .navigation-list a:hover,
html[data-theme="light"] .navigation-list a.active,
html[data-theme="light"] .submenu-toggle:hover {
  color: var(--color-accent-hover);
}

html[data-theme="light"] .hero,
html[data-theme="light"] .product-hero {
  background:
    radial-gradient(circle at 78% 16%, rgba(11, 159, 138, 0.2), transparent 28%),
    linear-gradient(135deg, #f7fbfb 0%, #e9f3f4 54%, #d8eeee 100%);
}

html[data-theme="light"] .section-dark {
  background:
    radial-gradient(circle at 12% 14%, rgba(11, 159, 138, 0.12), transparent 28%),
    #f1f7f8;
}

html[data-theme="light"] .section-soft,
html[data-theme="light"] .site-footer {
  background: #e8f1f2;
}

html[data-theme="light"] .site-footer {
  color: #526977;
}

html[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .app-preview,
html[data-theme="light"] .word-card,
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .support-list a,
html[data-theme="light"] .import-meta div,
html[data-theme="light"] .import-word-list li,
html[data-theme="light"] .tool-toggle {
  background: rgba(8, 25, 35, 0.04);
}

html[data-theme="light"] .button-primary {
  color: #ffffff;
}

html[data-theme="light"] .button-secondary:hover {
  color: #07352f;
  background: rgba(11, 159, 138, 0.1);
}

html[data-theme="light"] .submenu {
  background: rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .menu-toggle span {
  background: var(--color-text);
}

html[data-theme="light"] .phone-preview {
  background:
    radial-gradient(circle at 50% 40%, rgba(11, 159, 138, 0.24), transparent 28%),
    linear-gradient(145deg, #d8eeee, #0b9f8a);
}

html[data-theme="light"] .phone-screen {
  background: #f8fcfc;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    width: min(88vw, 410px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 26px;
    background: rgba(7, 19, 31, 0.98);
    border-left: 1px solid var(--color-border);
    transform: translateX(105%);
    transition: transform var(--transition);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html[data-theme="light"] .main-navigation {
    background: rgba(250, 253, 253, 0.98);
  }

  .main-navigation.open {
    transform: translateX(0);
  }

  .navigation-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex: 0 0 auto;
  }

  .navigation-list a,
  .submenu-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 13px 4px;
  }

  .navigation-list > li > a::after {
    display: none;
  }

  .main-navigation .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 4px 0 8px 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-submenu.open .submenu {
    display: block;
  }

  .main-navigation .header-cta,
  .main-navigation .header-tools {
    flex: 0 0 auto;
  }

  .hero-container,
  .product-hero-grid,
  .split-layout,
  .featured-product,
  .contact-layout,
  .product-detail,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .product-roadmap-grid,
  .feature-groups,
  .benefits-grid,
  .screenshots-grid,
  .language-grid,
  .how-it-works,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .header-container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .main-navigation {
    left: 0;
    width: 100%;
    padding: 22px 20px 34px;
    border-left: 0;
    border-top: 1px solid var(--color-border);
    transform: translateX(100%);
  }

  .main-navigation.open {
    transform: translateX(0);
  }

  .header-tools {
    justify-content: flex-start;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 56px) 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .hero-metrics,
  .import-meta,
  .services-grid,
  .projects-grid,
  .process-grid,
  .product-roadmap-grid,
  .feature-groups,
  .benefits-grid,
  .screenshots-grid,
  .language-grid,
  .how-it-works,
  .form-row,
  .product-features,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-product,
  .product-content,
  .contact-form,
  .simple-card,
  .legal-content,
  .product-detail,
  .support-layout {
    padding: 26px;
  }

  .phone-preview {
    min-height: 430px;
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
