/* ============================================
   MeetScribe Landing Page Styles
   Modern, refined design with dark/light contrast
   ============================================ */

/* === CSS Variables === */
:root {
  /* Colors */
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #DBEAFE;
  --primary-glow: rgba(37, 99, 235, 0.4);

  --dark: #0F172A;
  --dark-alt: #1E293B;
  --dark-lighter: #334155;

  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-light: #F1F5F9;
  --text-muted: #94A3B8;

  --bg-white: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --border-dark: #334155;

  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  /* Spacing */
  --container-max: 1280px;
  --section-gap: 160px;
  --section-gap-mobile: 80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px var(--primary-glow);
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.section-header--light {
  color: var(--text-light);
}

.section-header--light .section-subtitle {
  color: var(--text-muted);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn i {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 18px;
}

.btn--block {
  width: 100%;
}

/* === Icons === */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 10px;
}

.nav__logo-icon i {
  width: 20px;
  height: 20px;
  color: white;
}

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

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.nav__links a:hover {
  color: white;
}

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

.nav__mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav__mobile-toggle i {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--dark);
  padding: 100px 24px 40px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu__content a {
  font-size: 24px;
  font-weight: 600;
  color: white;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  animation: float 18s ease-in-out infinite;
}

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

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

.hero__content {
  color: white;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 32px;
}

.hero__badge i {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.hero__platforms span {
  font-size: 14px;
  color: var(--text-muted);
}

.hero__platforms-logos {
  display: flex;
  gap: 12px;
}

.platform-logo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-alt);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.platform-logo svg {
  width: 20px;
  height: 20px;
}

.platform-logo:hover {
  background: var(--dark-lighter);
  color: white;
}

.platform-logo--soon {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.5;
}

/* Hero Visual - Terminal */
.hero__visual {
  position: relative;
}

.terminal {
  background: var(--dark-alt);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.terminal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--dark-lighter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal__dots {
  display: flex;
  gap: 8px;
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red { background: #EF4444; }
.terminal__dot--yellow { background: #F59E0B; }
.terminal__dot--green { background: #10B981; }

.terminal__title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.terminal__body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.terminal__line {
  margin-bottom: 16px;
}

.terminal__prompt {
  color: var(--success);
  margin-right: 12px;
}

.terminal__text {
  color: var(--text-light);
}

.terminal__progress {
  height: 6px;
  background: var(--dark-lighter);
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.terminal__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--success));
  border-radius: 3px;
  transition: width 2s ease-out;
}

.terminal--animated .terminal__progress-bar {
  width: 100%;
}

.terminal__results {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.terminal--animated .terminal__results {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.8s;
}

.terminal__result {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-10px);
}

.terminal--animated .terminal__result {
  opacity: 1;
  transform: translateX(0);
}

.terminal--animated .terminal__result:nth-child(1) { transition: all 0.3s ease 2s; }
.terminal--animated .terminal__result:nth-child(2) { transition: all 0.3s ease 2.2s; }
.terminal--animated .terminal__result:nth-child(3) { transition: all 0.3s ease 2.4s; }
.terminal--animated .terminal__result:nth-child(4) { transition: all 0.3s ease 2.6s; }
.terminal--animated .terminal__result:nth-child(5) { transition: all 0.3s ease 2.8s; }

.terminal__result i {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.terminal__result span:first-of-type {
  flex: 1;
}

.terminal__value {
  color: var(--primary);
  font-weight: 500;
}

.terminal__line--output {
  color: var(--text-muted);
  opacity: 0;
}

.terminal--animated .terminal__line--output {
  opacity: 1;
  transition: opacity 0.5s ease 3.2s;
}

.terminal__arrow {
  color: var(--success);
  margin-right: 8px;
}

.terminal__link {
  color: var(--primary);
  text-decoration: underline;
}

/* Floating Elements */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--dark-alt);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero__float i {
  width: 24px;
  height: 24px;
}

.hero__float--1 {
  top: -20px;
  right: 20%;
  animation: floatElement 6s ease-in-out infinite;
}

.hero__float--2 {
  bottom: 20%;
  right: -30px;
  animation: floatElement 5s ease-in-out infinite 0.5s;
}

.hero__float--3 {
  top: 40%;
  left: -40px;
  animation: floatElement 7s ease-in-out infinite 1s;
}

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

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll i {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* === Problem/Solution Section === */
.problem-solution {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
}

.problem-solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.problem-block,
.solution-block {
  padding: 48px;
  border-radius: 24px;
}

.problem-block {
  background: white;
  border: 1px solid var(--border);
}

.solution-block {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
  color: white;
}

.problem-block__header,
.solution-block__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.problem-block__icon,
.solution-block__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.problem-block__icon {
  background: #FEE2E2;
  color: var(--error);
}

.problem-block__icon--problem {
  background: rgba(239, 68, 68, 0.1);
}

.solution-block__icon {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary);
}

.problem-block__icon i,
.solution-block__icon i {
  width: 24px;
  height: 24px;
}

.problem-block__title,
.solution-block__title {
  font-size: 24px;
}

.problem-block__items,
.solution-block__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.problem-item__icon,
.solution-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.problem-item__icon {
  background: var(--bg-alt);
  color: var(--text-secondary);
}

.solution-item__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--success);
}

.problem-item__icon i,
.solution-item__icon i {
  width: 20px;
  height: 20px;
}

.problem-item p,
.solution-item p {
  font-size: 16px;
  line-height: 1.5;
  padding-top: 8px;
}

.problem-item p {
  color: var(--text-secondary);
}

.solution-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* === How It Works Section === */
.how-it-works {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.step--reverse {
  grid-template-columns: auto 1.2fr 1fr;
}

.step--reverse .step__content {
  order: 2;
}

.step--reverse .step__visual {
  order: 1;
}

.step__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 20px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.step__content {
  padding-top: 8px;
}

.step__title {
  font-size: 24px;
  margin-bottom: 12px;
}

.step__text {
  color: var(--text-secondary);
  font-size: 16px;
}

.step__connector {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin-left: 24px;
  color: var(--border);
}

.step__connector svg {
  width: 24px;
  height: 60px;
}

/* Step Mockups */
.step__visual {
  perspective: 1000px;
}

/* Telegram Mock */
.telegram-mock {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.telegram-mock__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0088CC;
  color: white;
}

.telegram-mock__avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  border-radius: 50%;
}

.telegram-mock__avatar i {
  width: 20px;
  height: 20px;
}

.telegram-mock__name {
  font-weight: 600;
  font-size: 15px;
}

.telegram-mock__status {
  font-size: 13px;
  opacity: 0.8;
}

.telegram-mock__chat {
  padding: 16px;
  background: #E5DDD5;
  min-height: 200px;
}

.telegram-mock__message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  position: relative;
}

.telegram-mock__message--out {
  background: #DCF8C6;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.telegram-mock__message--in {
  background: white;
  display: flex;
  gap: 10px;
  border-bottom-left-radius: 4px;
}

.telegram-mock__status-icon {
  color: var(--success);
  flex-shrink: 0;
  padding-top: 2px;
}

.telegram-mock__status-icon i {
  width: 18px;
  height: 18px;
}

.telegram-mock__message p {
  margin-bottom: 4px;
  line-height: 1.4;
}

.telegram-mock__meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.telegram-mock__note {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.telegram-mock__time {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  position: absolute;
  bottom: 6px;
  right: 10px;
}

/* Meeting Mock */
.meeting-mock {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.meeting-mock__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--dark-alt);
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.meeting-mock__time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--error);
}

.recording-dot {
  width: 8px;
  height: 8px;
  fill: var(--error);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.meeting-mock__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
}

.meeting-mock__participant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--dark-alt);
  border-radius: 12px;
}

.meeting-mock__avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-lighter);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.meeting-mock__participant span {
  font-size: 13px;
  color: var(--text-muted);
}

.meeting-mock__participant--bot {
  border: 2px solid var(--primary);
  position: relative;
}

.meeting-mock__avatar--bot {
  background: var(--primary);
}

.meeting-mock__avatar--bot i {
  width: 24px;
  height: 24px;
}

.meeting-mock__recording {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--success);
  margin-top: 4px;
}

.meeting-mock__recording i {
  width: 12px;
  height: 12px;
}

/* App Mock */
.app-mock {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.app-mock__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.app-mock__dots {
  display: flex;
  gap: 6px;
}

.app-mock__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.app-mock__url {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.app-mock__content {
  padding: 20px;
}

.app-mock__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.app-mock__title-row h4 {
  font-size: 18px;
}

.app-mock__date {
  font-size: 13px;
  color: var(--text-secondary);
}

.app-mock__player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: 10px;
  margin-bottom: 16px;
}

.app-mock__play {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
}

.app-mock__play i {
  width: 16px;
  height: 16px;
}

.app-mock__progress {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
}

.app-mock__progress::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: var(--primary);
  border-radius: 2px;
}

.app-mock__player span {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.app-mock__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: 10px;
  margin-bottom: 16px;
}

.app-mock__tab {
  flex: 1;
  padding: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.app-mock__tab--active {
  background: white;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.app-mock__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-mock__section h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.app-mock__section p {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.app-mock__decision,
.app-mock__task {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
}

.app-mock__decision i {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.app-mock__task i {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.app-mock__task small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* === Features Section === */
.features {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
}

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

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-card__icon i {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Protocol Preview */
.protocol-preview {
  width: 100%;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
}

.protocol-preview__section {
  margin-bottom: 20px;
}

.protocol-preview__section:last-child {
  margin-bottom: 0;
}

.protocol-preview__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 10px;
}

.protocol-preview__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.protocol-preview__lines span {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}

.protocol-preview__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.protocol-preview__item i {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.protocol-preview__item span {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}

/* === Security Section === */
.security {
  padding: var(--section-gap) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.security__bg {
  position: absolute;
  inset: 0;
}

.security__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.security__orb--1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.security__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

.security__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 20px;
}

.security__badge i {
  width: 16px;
  height: 16px;
}

.security__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.security-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--transition-base);
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.security-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--primary);
}

.security-card__icon i {
  width: 24px;
  height: 24px;
}

.russia-flag {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
}

.security-card__title {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
}

.security-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.security__notice {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.security__notice i {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.security__notice p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* === Pricing Section === */
.pricing {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

.pricing-card__header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.pricing-card__name {
  font-size: 20px;
  margin-bottom: 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 40px;
  font-weight: 700;
}

.pricing-card__period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-card__volume {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.pricing-card__features i {
  width: 18px;
  height: 18px;
  color: var(--success);
}

.pricing__info {
  max-width: 600px;
  margin: 0 auto;
}

.pricing__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: 12px;
}

.pricing__info-card i {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing__info-card strong {
  display: block;
  margin-bottom: 4px;
}

.pricing__info-card p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* === FAQ Section === */
.faq {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item--open {
  border-color: var(--primary);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__question i {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform var(--transition-base);
}

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

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item--open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 24px 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Articles Section === */
.articles {
  padding: var(--section-gap) 0;
  background: var(--bg-white);
}

.articles__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.articles__tab {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.articles__tab:hover {
  color: var(--text-primary);
  background: var(--bg-alt);
}

.articles__tab--active {
  background: var(--dark);
  color: white;
}

.articles__tab--active:hover {
  background: var(--dark);
  color: white;
}

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

.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  color: var(--text-muted);
}

.article-card__placeholder i {
  width: 48px;
  height: 48px;
}

.article-card__content {
  padding: 24px;
}

.article-card__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 12px;
}

.article-card__title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-card__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card__meta i {
  width: 14px;
  height: 14px;
}

.articles__cta {
  text-align: center;
}

.articles__cta .btn {
  gap: 8px;
}

.articles__cta i {
  width: 18px;
  height: 18px;
}

/* === CTA Section === */
.cta {
  padding: var(--section-gap) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta__orb--1 {
  width: 600px;
  height: 600px;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
}

.cta__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
}

.cta__content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(32px, 5vw, 48px);
  color: white;
  margin-bottom: 20px;
}

.cta__subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* === Footer === */
.footer {
  padding: 80px 0 40px;
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 10px;
}

.footer__logo-icon i {
  width: 20px;
  height: 20px;
  color: white;
}

.footer__tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-alt);
  border-radius: 10px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--primary);
  color: white;
}

.footer__social i {
  width: 18px;
  height: 18px;
}

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

.footer__column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer__column ul {
  list-style: none;
}

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

.footer__column a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer__column a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
  font-size: 14px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a:hover {
  color: white;
}

/* === Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Typewriter Effect */
.typewriter {
  display: inline;
}

.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === Responsive === */
@media (max-width: 1024px) {
  :root {
    --section-gap: 120px;
  }

  .nav__links {
    display: none;
  }

  .nav__actions .btn {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__float {
    display: none;
  }

  .problem-solution__grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: auto 1fr;
  }

  .step--reverse {
    grid-template-columns: auto 1fr;
  }

  .step--reverse .step__content,
  .step--reverse .step__visual {
    order: unset;
  }

  .step__visual {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 20px auto 0;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card--large {
    grid-column: span 2;
  }

  .security__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .articles__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  body {
    font-size: 16px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .terminal {
    font-size: 12px;
  }

  .problem-block,
  .solution-block {
    padding: 32px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step__number {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step__content {
    padding-left: 64px;
  }

  .step__connector {
    margin-left: 0;
    justify-content: flex-start;
    padding-left: 24px;
  }

  .step__visual {
    margin-left: 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .feature-card__visual {
    margin-top: 24px;
  }

  .security__grid {
    grid-template-columns: 1fr;
  }

  .articles__tabs {
    flex-wrap: wrap;
  }

  .articles__grid {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__platforms {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta__actions {
    flex-direction: column;
  }

  .cta__actions .btn {
    width: 100%;
  }
}
