/* Main stylesheet for Breetho landing */

:root {
  --bg-dark: #05070B;
  --bg-dark-2: #0F1317;
  --bg-light: #F8FAFC;
  --card-dark: #0F1317;
  --card-light: #EEF1F5;
  --text-light: #FFFFFF;
  --text-dark: #111827;
  --grad-primary: linear-gradient(135deg, #00C9D8, #1A49FF);
  --grad-secondary: linear-gradient(135deg, #5A7CFF, #9C8DFF);
  --grad-light: linear-gradient(135deg, #6BD1FF, #B7A4FF);
  --stroke-secondary: #00C9D8;
  --surface-header-dark: rgba(7, 10, 15, 0.96);
  --surface-header-light: rgba(243, 247, 252, 0.96);
  --surface-hero-dark: #05070B;
  --surface-hero-light: #F5F7FA;
  --surface-preview-dark: #111B2A;
  --surface-preview-light: #DEE6F2;
  --cut-length: 30px;
  --border-radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  --section-bg: var(--bg-dark);
}

body.theme-light {
  background: var(--bg-light);
  color: var(--text-dark);
  --section-bg: var(--bg-light);
}

header,
section,
footer {
  position: relative;
  z-index: 1;
}

[data-breath-bg] {
  position: relative;
  overflow: visible;
}

[data-breath-bg] > *:not(.breath-bg-canvas) {
  position: relative;
  z-index: 1;
}

.breath-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  mix-blend-mode: screen;
}

body.theme-light .breath-bg-canvas {
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.hero-cards {
  justify-self: center;
}

.dashboard-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.breath-settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.75);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.breath-settings-overlay.is-visible {
  display: flex;
}

.breath-settings-panel {
  max-width: 420px;
  width: 100%;
  background: rgba(8, 12, 20, 0.9);
  border-radius: 24px;
  padding: 28px;
  color: #F8FBFF;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body.theme-light .breath-settings-panel {
  background: rgba(255, 255, 255, 0.95);
  color: #0B1220;
}

.breath-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.breath-settings-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.breath-settings-panel kbd {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 13px;
}

body.theme-light .breath-settings-panel kbd {
  background: rgba(0, 0, 0, 0.08);
}

.breath-settings-control {
  margin: 20px 0;
}

.breath-settings-control label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.breath-settings-control input[type="range"] {
  width: 100%;
}

.breath-settings-control span {
  font-variant-numeric: tabular-nums;
}

.breath-settings-hint {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 16px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--surface-header-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(5, 7, 11, 0.3);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}

body.theme-light header {
  background: var(--surface-header-light);
  border-bottom: 1px solid rgba(15, 19, 23, 0.08);
  box-shadow: 0 18px 28px rgba(17, 24, 39, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-divider {
  font-size: 22px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
}

body.theme-light .logo-divider {
  color: rgba(15, 19, 23, 0.65);
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  transition: filter 0.3s ease;
}

.logo-tagline {
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
}

body.theme-light .logo-tagline {
  color: #0F1317;
}

body.theme-dark .logo-img {
  filter: invert(1) brightness(1.05) contrast(0.85);
}

body.theme-light .logo-img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s ease;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--stroke-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a.is-active {
  color: var(--stroke-secondary);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

body.theme-light .main-nav a {
  color: var(--text-dark);
}

body.theme-light .main-nav a.is-active {
  color: #1A49FF;
}

body.theme-light .main-nav a::after {
  background: #1A49FF;
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

main a:not(.btn) {
  color: var(--stroke-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.3s ease;
}

body.theme-light main a:not(.btn) {
  color: #1A49FF;
}

main a:not(.btn):hover {
  color: #00C9D8;
}

.btn {
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
}

.btn-secondary {
  border: 1px solid var(--stroke-secondary);
  background: transparent;
  color: var(--stroke-secondary);
}

body.theme-light .btn-secondary {
  color: #1A49FF;
  border-color: #1A49FF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,201,216,.3);
}

section {
  padding: 180px 0 140px;
  transition: background 0.3s, color 0.3s;
  --section-bg: inherit;
}

#hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--surface-hero-dark);
  --section-bg: var(--surface-hero-dark);
}

body.theme-light #hero {
  background: var(--surface-hero-light);
  --section-bg: var(--surface-hero-light);
}

h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 80px;
  transition: color 0.3s;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 60px;
  align-items: flex-start;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-self: center;
}

.hero-left h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}

.hero-left p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-left ul {
  list-style: none;
  margin: 0;
}

.hero-left li {
  font-size: 18px;
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  opacity: 0.9;
}

.hero-left li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #00C9D8;
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-buttons .btn {
  margin: 0;
}

.skolkovo-banner {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-radius: 24px;
  background: rgba(5, 7, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 2;
  isolation: isolate;
}

body.theme-light .skolkovo-banner {
  background: #FFFFFF;
  border-color: rgba(15, 19, 23, 0.08);
  box-shadow: 0 20px 40px rgba(15, 19, 23, 0.12);
}

.skolkovo-logo {
  width: 120px;
  flex-shrink: 0;
}

.skolkovo-banner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.skolkovo-card,
.dashboard-card,
.card,
.partner-card,
.b2c-card,
.market-card,
.workflow-step {
  position: relative;
  border-radius: var(--border-radius);
  color: var(--text-light);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  --card-surface: var(--card-dark);
  --card-shadow: 0 14px 30px rgba(5, 7, 11, 0.35);
  filter: drop-shadow(var(--card-shadow));
}

body.theme-light .skolkovo-card,
body.theme-light .dashboard-card,
body.theme-light .card,
body.theme-light .partner-card,
body.theme-light .b2c-card,
body.theme-light .market-card,
body.theme-light .workflow-step {
  --card-surface: var(--card-light);
  color: var(--text-dark);
}

.skolkovo-card::before,
.dashboard-card::before,
.card::before,
.partner-card::before,
.b2c-card::before,
.market-card::before,
.workflow-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--card-surface);
  clip-path: polygon(var(--cut-length) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-length));
  z-index: -2;
  pointer-events: none;
  transition: background 0.3s;
}

.skolkovo-card {
  padding: 24px;
  --card-shadow: 0 10px 20px rgba(0,0,0,.1);
  transition: color 0.3s;
}

body.theme-light .skolkovo-card {
  color: var(--text-dark);
}

.skolkovo-card h4 {
  font-size: 16px;
  font-weight: 700;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-card {
  padding: 40px;
  --card-shadow: 0 20px 40px rgba(0,0,0,.2);
  transition: background 0.3s;
}

body.theme-light .dashboard-card {
  color: var(--text-dark);
}

.dashboard-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-card .card-lead {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 16px;
}

body.theme-light .dashboard-card .card-lead {
  color: var(--text-dark);
  opacity: 0.85;
}

.platform-preview {
  border-radius: 28px;
  margin-bottom: 24px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.platform-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 20px;
  opacity: 0.9;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.cards-4 .card {
  padding: 38px 28px;
}

.cards-4 .card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.card {
  padding: 40px;
  --card-shadow: 0 10px 20px rgba(0,0,0,.1);
  transition: color 0.3s, transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

body.theme-light .card {
  color: var(--text-dark);
}

.card h3 {
  font-size: 24px;
  margin: 24px 0 16px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card p {
  opacity: 0.8;
  line-height: 1.6;
}

.partner-card {
  padding: 48px;
  --card-shadow: 0 20px 40px rgba(0,0,0,.2);
  transition: color 0.3s;
}

body.theme-light .partner-card {
  color: var(--text-dark);
}

.partner-card h3 {
  font-size: 32px;
  margin-bottom: 24px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.partner-card ul {
  list-style: none;
}

.partner-card li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  opacity: 0.9;
}

.partner-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00C9D8;
}

.b2c-cards,
.workflow-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.b2c-card,
.workflow-card {
  padding: 32px;
  --card-shadow: 0 10px 20px rgba(0,0,0,.1);
  transition: color 0.3s, transform 0.3s;
}

.b2c-card:hover,
.workflow-card:hover {
  transform: translateY(-3px);
}

body.theme-light .b2c-card,
body.theme-light .workflow-card {
  color: var(--text-dark);
}

.b2c-card h4,
.workflow-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.b2c-card p,
.workflow-card p {
  opacity: 0.8;
  line-height: 1.5;
  font-size: 14px;
}

.workflow-card {
  position: relative;
}

.workflow-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 46px;
  height: 2px;
  background: rgba(0, 201, 216, 0.35);
  transform: translateY(-50%);
  pointer-events: none;
}

.workflow-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translate(18px, -50%);
  border-left: 12px solid var(--stroke-secondary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  pointer-events: none;
}

body.theme-light .workflow-card:not(:last-child)::after {
  background: rgba(26, 73, 255, 0.25);
}

body.theme-light .workflow-card:not(:last-child)::before {
  border-left-color: #1A49FF;
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.market-card {
  padding: 36px;
  --card-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
  transition: color 0.3s, transform 0.3s;
}

.market-card:hover {
  transform: translateY(-6px);
}

body.theme-light .market-card {
  color: var(--text-dark);
}

.market-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.market-card p {
  opacity: 0.8;
  line-height: 1.6;
}

.workflow-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  position: relative;
  flex-wrap: wrap;
}

.workflow-step {
  flex: 1.2;
  min-width: 0;
  position: relative;
  border-radius: 28px;
  padding: 48px;
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  isolation: isolate;
  color: var(--text-light);
  transition: transform 0.3s, color 0.3s;
}

body.theme-light .workflow-step {
  color: var(--text-dark);
}

.workflow-step:hover {
  transform: translateY(-6px);
}

.workflow-step h3 {
  font-size: 24px;
  margin-bottom: 24px;
  background: var(--grad-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.workflow-step p {
  opacity: 0.85;
  line-height: 1.6;
}

.workflow-step ul,
.market-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workflow-step li,
.market-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
  font-size: 16px;
  opacity: 0.9;
}

.workflow-step li::before,
.market-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C9D8;
}

.workflow-arrow {
  width: 16px;
  height: 2px;
  align-self: center;
  background: rgba(0, 201, 216, 0.35);
  position: relative;
  flex-shrink: 0;
}

.workflow-arrow::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--stroke-secondary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

body.theme-light .workflow-arrow {
  background: rgba(26, 73, 255, 0.25);
}

body.theme-light .workflow-arrow::after {
  border-left-color: #1A49FF;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  text-align: center;
}

.trusted-logo {
  padding: 20px;
  border-radius: 12px;
  background: var(--card-dark);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.trusted-logo:hover {
  opacity: 1;
}

body.theme-light .trusted-logo {
  background: var(--card-light);
}

.trusted-logo-image {
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 12px;
  display: inline-block;
}

.trusted-logo p {
  font-size: 14px;
  opacity: 0.7;
}

.trusted-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  opacity: 0.6;
}

#trusted-by {
  padding: 140px 0;
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.85), rgba(16, 23, 34, 0.75));
  --trusted-panel-bg: rgba(247, 249, 253, 0.95);
  --trusted-panel-border: rgba(255, 255, 255, 0.08);
}

body.theme-light #trusted-by {
  background: linear-gradient(135deg, #F7F9FD, #EEF2FA);
  --trusted-panel-border: rgba(15, 19, 23, 0.08);
}

.trusted-panel {
  background: var(--trusted-panel-bg);
  border-radius: 32px;
  padding: 64px;
  border: 1px solid var(--trusted-panel-border);
  box-shadow: 0 30px 80px rgba(8, 12, 20, 0.25);
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}

.trusted-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(0, 201, 216, 0.12), transparent 55%);
  opacity: 0.7;
}

.trusted-panel h2 {
  color: var(--text-dark);
  margin-bottom: 48px;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.trusted-logo {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid rgba(15, 19, 23, 0.08);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.trusted-logo-image {
  max-width: 480px;
  max-height: 192px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 10px 18px rgba(15, 19, 23, 0.12));
}

.trusted-note-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 19, 23, 0.08);
  box-shadow: 0 24px 60px rgba(15, 19, 23, 0.18);
  color: var(--text-dark);
}

.trusted-note-logo {
  flex-shrink: 0;
  max-width: 140px;
  max-height: 56px;
  filter: none;
}

#contacts {
  position: relative;
  text-align: center;
  background-color: var(--bg-dark);
}

body.theme-light #contacts {
  background-color: var(--bg-light);
}

#contacts h2 {
  margin-bottom: 32px;
}

#contacts p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.contact-grid {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
}

.contact-text {
  flex: 1;
  min-width: 280px;
}

.contact-form-card {
  flex: 1;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

body.theme-light .contact-form-card {
  background: #FFFFFF;
  border-color: rgba(15, 19, 23, 0.08);
  box-shadow: 0 18px 40px rgba(15, 19, 23, 0.12);
}

.contact-form-card h3 {
  margin-bottom: 24px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.25em;
  transition: color 0.2s ease;
}

.form-status.is-success {
  color: #39d98a;
}

.form-status.is-error {
  color: #ff6b6b;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-form label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--stroke-secondary), rgba(255,255,255,0));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  pointer-events: none;
}

.select-wrapper select {
  width: 100%;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  color: var(--text-light);
  font-size: 15px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  transition: border 0.2s, background 0.2s;
}

/* Стили для автозаполнения в темной теме */
.demo-form input:-webkit-autofill,
.demo-form input:-webkit-autofill:hover,
.demo-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-light);
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset;
  transition: background-color 5000s ease-in-out 0s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.theme-light .demo-form input,
body.theme-light .demo-form select,
body.theme-light .demo-form textarea {
  border-color: rgba(15, 19, 23, 0.2);
  background-color: #F8FAFC;
  color: var(--text-dark);
}

/* Стили для автозаполнения в светлой теме */
body.theme-light .demo-form input:-webkit-autofill,
body.theme-light .demo-form input:-webkit-autofill:hover,
body.theme-light .demo-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-dark);
  -webkit-box-shadow: 0 0 0 1000px #F8FAFC inset;
  border: 1px solid rgba(15, 19, 23, 0.2);
}

.demo-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 56px;
  cursor: pointer;
}

.demo-form select option {
  background: var(--bg-dark-2);
  color: var(--text-light);
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: none;
  text-indent: 0;
  direction: ltr;
}

body.theme-light .demo-form select option {
  background: #FFFFFF;
  color: var(--text-dark);
}

.demo-form select option:checked {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  color: var(--text-light);
  font-weight: 500;
}

body.theme-light .demo-form select option:checked {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  color: var(--text-dark);
  font-weight: 500;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--stroke-secondary);
  outline: none;
}

.select-wrapper {
  position: relative;
  display: block;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--stroke-secondary), rgba(255, 255, 255, 0));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  pointer-events: none;
}

body.theme-light .select-wrapper::after {
  background: linear-gradient(135deg, var(--stroke-secondary), rgba(15, 19, 23, 0));
}

.demo-form textarea {
  resize: vertical;
}

.form-note {
  font-size: 13px !important;
  margin-bottom: 0;
  opacity: 0.7;
}

.cta-email {
  font-size: 18px;
  margin-top: 24px;
  opacity: 0.8;
}

.cta-email a {
  font-weight: 600;
}

.cta-email a:hover {
  opacity: 0.9;
}

footer {
  padding: 40px 0;
  background: var(--bg-dark-2);
  text-align: center;
}

body.theme-light footer {
  background: #E5E7EB;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

body.theme-light .footer-links a {
  color: var(--text-dark);
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .container {
    padding: 0 28px;
  }

  section {
    padding: 150px 0 110px;
  }

  #hero {
    padding: 110px 0 80px;
  }

  h2 {
    font-size: 40px;
    margin-bottom: 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .header-inner {
    gap: 20px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero-left h1 {
    font-size: 48px;
  }

  .hero-left p {
    font-size: 18px;
  }

  .cards-4,
  .cards-3,
  .market-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .b2c-cards,
  .workflow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .workflow-step {
    padding: 40px;
  }

  .partner-card {
    padding: 40px;
  }

  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }

  .contact-text,
  .contact-form-card {
    width: 100%;
  }

  .trusted-panel {
    padding: 48px;
  }

  .trusted-logo {
    min-height: 160px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    gap: 16px;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  header {
    padding: 16px 0;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .logo {
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .header-cta {
    width: auto;
    margin-left: auto;
    flex-shrink: 0;
    max-width: 180px;
  }

  section {
    padding: 120px 0 80px;
  }

  #hero {
    padding: 100px 0 60px;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .hero-left p {
    font-size: 18px;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-grid,
  .hero-cards,
  .cards-3,
  .cards-4,
  .market-cards,
  .b2c-cards,
  .workflow-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cards-4 .card,
  .card,
  .partner-card,
  .b2c-card,
  .market-card,
  .workflow-step {
    padding: 32px;
  }

  .workflow-container {
    flex-direction: column;
    gap: 24px;
  }

  .workflow-arrow {
    display: none;
  }

  .skolkovo-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .skolkovo-logo {
    width: 100px;
  }

  #trusted-by {
    padding: 100px 0;
  }

  .trusted-panel {
    padding: 40px 32px;
  }

  .trusted-logos {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .trusted-logo {
    min-height: 140px;
    padding: 20px 16px;
  }

  .trusted-logo-image {
    max-width: 140px;
    max-height: 60px;
  }

  .trusted-logo-image--wide {
    max-width: 300px;
    max-height: 90px;
    object-fit: cover;
    object-position: center;
  }

  .trusted-note-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    flex-direction: column;
    gap: 32px;
  }

  .contact-form-card {
    padding: 28px;
  }

  .partner-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  header {
    padding: 12px 0;
  }

  .logo-divider,
  .logo-tagline {
    display: none;
  }

  .logo-img {
    height: 44px;
  }

  .logo-tagline {
    font-size: 15px;
  }

  section {
    padding: 100px 0 70px;
  }

  #hero {
    padding: 90px 0 50px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .hero-left li {
    font-size: 16px;
    padding-left: 22px;
  }

  .dashboard-card,
  .card,
  .partner-card,
  .b2c-card,
  .market-card,
  .workflow-step {
    padding: 28px;
  }

  .trusted-panel {
    padding: 32px 24px;
  }

  .trusted-logo {
    min-height: 110px;
    padding: 16px 12px;
  }

  .trusted-logos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .trusted-logo-image {
    max-width: 180px;
    max-height: 90px;
  }

  .trusted-logo-image--wide {
    max-width: 240px;
    max-height: 90px;
    object-fit: cover;
    object-position: center;
  }

  .contact-form-card {
    padding: 24px;
  }

  .trusted-logo-image--wide {
    width: 100%;
    height: 90px;
    max-width: none;
    max-height: none;
  }

  .btn,
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    gap: 12px;
  }

  .header-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
}
