/* --- Variables & Reset --- */
:root {
  --color-bg: #0a0a12;
  --color-text: #e0e0e0;
  --color-text-muted: #a0a0b0;
  --color-accent-primary: #00f2ea; /* Cyan holographic */
  --color-accent-secondary: #ff0055; /* Magenta holographic */
  --color-accent-tertiary: #7000ff; /* Purple aurora */

  --font-main: "Outfit", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  --container-width: 1240px;
  --header-height: 80px;

  --radius-fluid: 40% 60% 70% 30% / 40% 50% 60% 50%; /* Органическая форма */
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* --- Aurora Background --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(112, 0, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(0, 242, 234, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 0, 85, 0.08) 0%,
      transparent 50%
    );
  filter: blur(40px);
  pointer-events: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  z-index: 1;
  color: #fff;
}

.btn--glow {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px; /* Более мягкий радиус для гармонии с organic стилем */
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.btn--glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    var(--color-accent-primary),
    var(--color-accent-secondary)
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  border-radius: 30px;
}

.btn--glow:hover::before {
  opacity: 0.2;
}

.btn--glow:hover {
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
  border-color: var(--color-accent-primary);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.header__logo-img {
  width: 32px;
  height: 32px;
}

.header__logo-text {
  background: linear-gradient(90deg, #fff, var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__list {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  position: relative;
}

.header__link:hover {
  color: #fff;
}

.header__link::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-primary);
  border-radius: 50%;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition: var(--transition);
  filter: blur(2px);
}

.header__link:hover::after {
  transform: translateX(-50%) scale(1);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__toggle,
.header__close {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* --- Mobile Nav --- */
@media (max-width: 991px) {
  .header__toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    padding: 40px;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .header__link {
    font-size: 1.5rem;
  }

  .header__close {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
}

/* --- Footer --- */
.footer {
  padding: 80px 0 30px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px; /* Временный отступ пока нет контента */
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer__logo-img {
  width: 24px;
  height: 24px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

/* Декоративный элемент "blob" под заголовком */
.footer__title::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--color-accent-tertiary);
  opacity: 0.3;
  filter: blur(10px);
  z-index: -1;
  left: -10px;
  top: -5px;
  border-radius: var(--radius-fluid);
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-accent-primary);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer__icon {
  min-width: 20px;
  width: 20px;
  color: var(--color-accent-secondary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

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

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__col--brand {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-accent-primary);
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent-primary);
  animation: pulse 2s infinite;
}

/* Typography */
.hero__title {
  font-family: var(--font-heading);
  font-size: 4.5rem; /* Large size requested */
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-accent-primary),
    var(--color-accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero__desc {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.btn-icon {
  width: 18px;
  vertical-align: middle;
  margin-left: 8px;
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

.hero__info-icon {
  width: 16px;
  color: var(--color-accent-primary);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Visuals (Breaking the grid) */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__blob {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    var(--color-accent-tertiary) 0%,
    transparent 70%
  );
  opacity: 0.4;
  filter: blur(60px);
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}

/* Glassmorphism Card Style */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 24px;
  width: 320px;
  transform: rotate(-5deg) translateY(0);
  transition: var(--transition);
  animation: floatCard 8s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.glass-card__header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.glass-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.typing-text {
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 20px;
}

.graph-bar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
}

.bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: height 0.5s;
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-accent-primary);
  animation: fillBar 2s ease-out forwards;
}

.bar:nth-child(2)::after {
  animation-delay: 0.2s;
}
.bar:nth-child(3)::after {
  animation-delay: 0.4s;
}
.bar:nth-child(4)::after {
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 234, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 242, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 234, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 20px);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-20px);
  }
}

@keyframes fillBar {
  to {
    height: 100%;
  }
}

/* Адаптив Hero */
@media (max-width: 991px) {
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__actions,
  .hero__stats,
  .hero__badge {
    justify-content: center;
  }
  .hero__desc {
    margin: 0 auto 40px;
  }
  .hero__title {
    font-size: 3rem;
  }
  .hero__visual {
    height: 400px;
    margin-top: 40px;
  }
}
@media (max-width: 576px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

/* --- Common Section Styles --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-accent-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --- Solutions: Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.bento-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  border-radius: 30px; /* Soft organic corners */
}

/* Specific Sizes */
.bento-card--large {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
}

.bento-card--wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
}

.bento-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.bento-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Icons & Badges */
.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 234, 0.1);
  color: var(--color-accent-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box--secondary {
  background: rgba(255, 0, 85, 0.1);
  color: var(--color-accent-secondary);
}

.icon-box--tertiary {
  background: rgba(112, 0, 255, 0.1);
  color: var(--color-accent-tertiary);
}

.bento-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-accent-secondary);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

/* Interactive Elements */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--color-accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow i {
  width: 16px;
  transition: transform 0.3s;
}

.link-arrow:hover i {
  transform: translate(3px, -3px);
}

/* Mockups inside cards */
.visual-mockup {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 8px;
}
.w-75 {
  width: 75%;
}

.mockup-btn {
  width: 100px;
  height: 24px;
  background: var(--color-accent-primary);
  border-radius: 4px;
  margin-top: 16px;
  opacity: 0.8;
}

.spinning-icon {
  width: 64px;
  height: 64px;
  color: var(--color-accent-primary);
  animation: spin 10s linear infinite;
  opacity: 0.5;
}

.row-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- Technology Section --- */
.glass-panel {
  background: rgba(10, 10, 18, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px;
  padding: 60px;
}

.tech-grid {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

.tech-item {
  flex: 1;
  padding: 0 20px;
  text-align: center;
}

.tech-num {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  margin-bottom: -20px;
  z-index: -1;
  position: relative;
}

.tech-item h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.tech-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.tech-note {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* --- Animation Classes (Intersection Observer) --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--large,
  .bento-card--wide {
    grid-column: span 1;
  }
  .tech-grid {
    flex-direction: column;
    gap: 40px;
  }
  .tech-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent
    );
  }
}

/* --- Process Section --- */
.process {
  position: relative;
  overflow: hidden;
}

.process-bg-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    var(--color-accent-tertiary) 0%,
    transparent 70%
  );
  opacity: 0.15;
  filter: blur(80px);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  gap: 20px;
}

.process-step {
  flex: 1;
  position: relative;
  text-align: center;
}

.step-marker {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 30px 20px;
  transition: var(--transition);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent-primary);
  background: rgba(255, 255, 255, 0.05);
}

.step-card--highlight {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.1);
}

.step-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 1.5rem;
}

.step-card h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

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

.step-connector {
  flex: 0.5;
  align-self: center;
  height: 20px;
  opacity: 0.5;
}

.step-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* --- Blog Section --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: rgba(10, 10, 18, 0.6);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.blog-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
}

.blog-category {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto; /* Push to bottom */
}

.blog-link i {
  width: 16px;
  transition: transform 0.3s;
}

.blog-card:hover .blog-link i {
  transform: translateX(5px);
}

/* Responsive Process & Blog */
@media (max-width: 991px) {
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .step-connector {
    display: none; /* Скрываем стрелки на мобильном */
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .step-card {
    padding: 40px 20px 30px; /* Больше места сверху для номера */
  }

  .step-marker {
    top: 10px;
    font-size: 3rem;
  }
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Info Side */
.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-item h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.method-item p {
  color: var(--color-text-muted);
}

.contact-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #27c93f; /* Green for security */
  background: rgba(39, 201, 63, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
}

.contact-note i {
  width: 16px;
}

/* Form Styling */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 15px rgba(0, 242, 234, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.form-input:focus + .input-icon {
  /* Note: CSS sibling selector won't work for prev element, handled by focus-within or JS, but icon color change is optional */
  color: var(--color-accent-primary);
}
.input-wrapper:focus-within .input-icon {
  color: var(--color-accent-primary);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  display: block;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  min-width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.check-text a {
  color: #fff;
  text-decoration: underline;
}

/* Fake Captcha */
.captcha-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  width: fit-content;
}

.custom-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-captcha input {
  position: absolute;
  opacity: 0;
}

.captcha-box {
  width: 24px;
  height: 24px;
  border: 2px solid #a0a0b0;
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: var(--transition);
}

.custom-captcha input:checked ~ .captcha-box {
  border-color: transparent;
}

.custom-captcha input:checked ~ .captcha-box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid #27c93f; /* Green check */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.9rem;
  color: #fff;
  margin-right: 20px;
}

.captcha-logo {
  width: 24px;
  opacity: 0.5;
}

/* Button & Success */
.btn--full {
  width: 100%;
  margin-top: 10px;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotate 1s linear infinite;
  margin: 0 auto;
}

.btn.loading .btn-text {
  display: none;
}
.btn.loading .btn-loader {
  display: block;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.form-message {
  display: none;
  text-align: center;
  background: rgba(39, 201, 63, 0.1);
  border: 1px solid #27c93f;
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
  animation: scaleIn 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-message i {
  color: #27c93f;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.form-message h3 {
  color: #fff;
  margin-bottom: 8px;
}
.form-message p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 600px;
  background: rgba(10, 10, 18, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-icon {
  font-size: 2rem;
  color: var(--color-accent-secondary);
}

.cookie-text h4 {
  color: #fff;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-text p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.cookie-text a {
  color: var(--color-accent-primary);
  text-decoration: underline;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* --- Policy Pages Styles (Generic) --- */
.pages {
  padding-top: 140px; /* Учитываем хедер */
  padding-bottom: 80px;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 40px;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 20px;
}

.pages p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
  color: var(--color-text-muted);
}

.pages li {
  margin-bottom: 10px;
}

.pages strong {
  color: #fff;
}

.pages a {
  color: var(--color-accent-primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
