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

:root {
  --primary: #0d9488;
  --primary-light: #14b8a6;
  --primary-dark: #0f766e;
  --dark: #1e293b;
  --dark-600: #475569;
  --dark-400: #94a3b8;
  --light: #f8fafc;
  --light-200: #e2e8f0;
  --light-300: #cbd5e1;
  --white: #ffffff;
  --red: #ef4444;
  --red-light: #fef2f2;
  --green: #10b981;
  --green-light: #ecfdf5;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(248, 250, 252, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-icon {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-600);
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--dark);
  background: rgba(13, 148, 136, 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
}

.nav-link--cta {
  color: var(--white) !important;
  background: var(--primary) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background: var(--primary-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  width: 30px;
  height: 24px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
  position: absolute;
  left: 4px;
}

.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* Hamburger animation when menu is open */
.nav-links.open ~ .nav-toggle span:nth-child(1),
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}

.nav-links.open ~ .nav-toggle span:nth-child(2),
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-links.open ~ .nav-toggle span:nth-child(3),
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

/* ===== PAGE SWITCHING ===== */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}

.hero--sub {
  padding: 140px 0 60px;
  text-align: center;
}

.hero--sub .container {
  display: block;
}

.hero--sub .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  width: fit-content;
}

.hero--sub .hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 0;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 100%;
}

.hero--sub .hero-sub {
  max-width: 100%;
}

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

.hero-buttons .btn {
  font-size: 0.95rem;
  padding: 12px 28px;
}

/* Hero trust row */
.hero-trust-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 4px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--dark-400);
  font-weight: 500;
}

/* Hero visual / mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Hero Carousel */
.hero-carousel {
  width: 100%;
  position: relative;
  z-index: 1;
}

.carousel-track {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-200);
  background: var(--white);
  aspect-ratio: 16 / 10;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

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

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--light-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-600);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--light-300);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--light-200);
  position: relative;
  z-index: 1;
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--light);
  border-bottom: 1px solid var(--light-200);
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-300);
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 120px;
  padding: 16px;
  border-right: 1px solid var(--light-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-line {
  height: 8px;
  border-radius: 4px;
  background: var(--light-200);
}

.mockup-line.w60 { width: 60%; }
.mockup-line.w80 { width: 80%; }
.mockup-line.w50 { width: 50%; }
.mockup-line.w70 { width: 70%; }

.mockup-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-chart {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13,148,136,0.08) 0%, rgba(13,148,136,0.02) 100%);
  border: 1px solid rgba(13,148,136,0.12);
  min-height: 120px;
  position: relative;
}

.mockup-chart::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  height: 60%;
  background:
    linear-gradient(90deg,
      transparent 0%, transparent 10%,
      rgba(13,148,136,0.2) 10%, rgba(13,148,136,0.2) 15%,
      transparent 15%, transparent 25%,
      rgba(13,148,136,0.3) 25%, rgba(13,148,136,0.3) 30%,
      transparent 30%, transparent 40%,
      rgba(13,148,136,0.25) 40%, rgba(13,148,136,0.25) 45%,
      transparent 45%, transparent 55%,
      rgba(13,148,136,0.4) 55%, rgba(13,148,136,0.4) 60%,
      transparent 60%, transparent 70%,
      rgba(13,148,136,0.35) 70%, rgba(13,148,136,0.35) 75%,
      transparent 75%, transparent 85%,
      rgba(13,148,136,0.5) 85%, rgba(13,148,136,0.5) 90%,
      transparent 90%
    );
  background-size: 100% 100%;
  background-position: bottom;
  border-radius: 4px;
}

.mockup-cards {
  display: flex;
  gap: 8px;
}

.mockup-card {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  background: var(--light);
  border: 1px solid var(--light-200);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--light-200);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: var(--light-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--white);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--dark-600);
  font-size: 1.1rem;
  margin-top: -32px;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== METRICS / ROI NUMBERS ===== */
.section--metrics {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-200);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-card {
  padding: 24px 16px;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.4;
}

/* ===== PROBLEM CARDS ===== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-200);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card--problem {
  border-top: 3px solid var(--red);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon--red {
  background: var(--red-light);
  color: var(--red);
}

.card p {
  font-size: 1rem;
  color: var(--dark-600);
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  max-width: 220px;
  padding: 0 16px;
  flex: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 56px;
  color: var(--light-300);
  flex-shrink: 0;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.features-grid--4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-200);
  transition: var(--transition);
}

.section--alt .feature-card {
  background: var(--light);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.5;
}

/* ===== MESSENGER SHOWCASE ===== */
.messenger-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.chat-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--light-200);
}

.section--alt .chat-window {
  background: var(--light);
  border-color: var(--light-300);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-status {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
}

.chat-msg--out {
  align-items: flex-end;
}

.chat-msg--in {
  align-items: flex-start;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-bubble--out {
  background: rgba(13, 148, 136, 0.1);
  color: var(--dark);
  border-bottom-right-radius: 4px;
}

.chat-bubble--in {
  background: var(--light);
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

.section--alt .chat-bubble--in {
  background: var(--white);
}

.chat-time {
  font-size: 0.7rem;
  color: var(--dark-400);
  margin-top: 4px;
  padding: 0 4px;
}

.messenger-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.messenger-point {
  display: flex;
  gap: 16px;
}

.messenger-point-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.messenger-point h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.messenger-point p {
  font-size: 0.85rem;
  color: var(--dark-600);
  line-height: 1.5;
}

/* ===== COMPARISON / BEFORE-AFTER ===== */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-col {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-200);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
}

.comparison-header--before {
  background: var(--red-light);
  color: var(--red);
}

.comparison-header--after {
  background: var(--green-light);
  color: var(--green);
}

.comparison-list {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-list li {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.comparison-col--before .comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.3;
}

.comparison-col--after .comparison-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
}

/* ===== INTEGRATION ECOSYSTEM ===== */
.integrations-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.integrations-ring {
  position: relative;
  width: 340px;
  height: 340px;
}

.integration-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid rgba(13, 148, 136, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.integration-center span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.integration-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.integration-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-600);
}

.integration-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light);
  border: 1px solid var(--light-200);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.integration-logo:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.integration-item--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.integration-item--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.integration-item--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.integration-item--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Connection lines */
.integrations-ring::before,
.integrations-ring::after {
  content: '';
  position: absolute;
  background: var(--light-300);
  opacity: 0.5;
  z-index: 1;
}

.integrations-ring::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.integrations-ring::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.integrations-note {
  text-align: center;
}

.integrations-note p {
  font-size: 0.95rem;
  color: var(--dark-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== USE CASES ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--light-200);
  transition: var(--transition);
}

.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.usecase-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.usecase-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

.usecase-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.usecase-link:hover {
  color: var(--primary-dark);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-text--large {
  font-size: 1.15rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--dark-400);
}

/* Highlighted testimonial */
.testimonial-highlight {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-200);
  text-align: center;
}

.testimonial-highlight .testimonial-author {
  justify-content: center;
}

.testimonial-highlight .testimonial-quote {
  display: flex;
  justify-content: center;
}

/* ===== TRUST / SECURITY ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--light-200);
  transition: var(--transition);
}

.trust-item:hover {
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--dark-600);
  line-height: 1.5;
}

/* ===== FOUNDER ===== */
.section--founder {
  padding: 80px 0;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-200);
}

.founder-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 3px solid var(--light-200);
  flex-shrink: 0;
}

.founder-info {
  text-align: center;
}

.founder-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.founder-bg {
  font-size: 0.8rem;
  color: var(--dark-400);
  margin-top: 2px;
}

.founder-text-col {
  flex: 1;
}

.founder-quote {
  border-left: 3px solid var(--primary);
  padding-left: 24px;
}

.founder-quote p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-600);
}

.founder-quote p + p {
  margin-top: 16px;
}

/* ===== PRICING ===== */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--light);
  border-radius: 12px;
  padding: 4px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--light-200);
}

.pricing-toggle-btn {
  flex: 1;
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--dark-600);
  transition: var(--transition);
}

.pricing-toggle-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.pricing-toggle-btn:not(.active):hover {
  color: var(--dark);
}

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

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  transition: var(--transition);
}

.pricing-limit {
  font-size: 0.85rem;
  color: var(--dark-400);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-limit:last-of-type {
  margin-bottom: 20px;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--dark-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== COURSE ===== */
.section--course {
  padding: 80px 0;
  background: transparent;
}

.course-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 56px 48px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.course-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.course-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.course-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.course-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 24px;
}

.course-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.course-price-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.course-price-bonus {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.btn-course {
  background: var(--white);
  color: var(--primary-dark);
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-course:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ===== COMMUNITY ===== */
.section--community {
  padding: 0 0 80px;
}

.community-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-200);
  max-width: 760px;
  margin: 0 auto;
}

.community-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.community-desc {
  font-size: 1rem;
  color: var(--dark-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.community-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.community-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark-600);
}

.community-list li svg {
  flex-shrink: 0;
}

.community-bonus {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  padding: 12px 16px;
  background: rgba(13, 148, 136, 0.06);
  border-radius: 10px;
  display: inline-block;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--light-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: var(--transition);
  gap: 16px;
}

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

.faq-chevron {
  transition: transform 0.3s ease;
  min-width: 20px;
  color: var(--dark-400);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.6;
}

/* ===== SCENARIO / TIMELINE ===== */
.scenario {
  max-width: 640px;
  margin: 0 auto;
}

.scenario-timeline {
  position: relative;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.scenario-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--light-300);
}

.scenario-step {
  position: relative;
  padding-bottom: 32px;
}

.scenario-step:last-child {
  padding-bottom: 0;
}

.scenario-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  z-index: 1;
}

.scenario-step:last-child .scenario-dot {
  background: var(--primary);
}

.scenario-content {
  padding-left: 8px;
}

.scenario-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.scenario-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.scenario-content p {
  font-size: 0.85rem;
  color: var(--dark-600);
  line-height: 1.5;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.screenshot {
  background: var(--light-200);
  border: 2px dashed var(--light-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-400);
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

.screenshot span {
  position: relative;
  z-index: 1;
}

.screenshot--large {
  height: 400px;
}

.screenshots-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.screenshot--half {
  height: 280px;
}

/* ===== CONTACT ===== */
.section--contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--light-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--light);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: var(--dark-400);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--dark-600);
  cursor: pointer;
  line-height: 1.5;
}

.form-group--checkbox input[type="checkbox"] {
  margin-top: 3px;
  min-width: 16px;
  min-height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-group--checkbox a {
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition);
}

.form-group--checkbox a:hover {
  color: var(--primary-dark);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.form-success {
  text-align: center;
  padding: 24px;
  background: rgba(13, 148, 136, 0.08);
  border-radius: var(--radius);
  color: var(--primary-dark);
  font-weight: 600;
  display: none;
}

.form-success.visible {
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--light-200);
  background: var(--light);
}

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

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer p {
  font-size: 0.85rem;
  color: var(--dark-400);
}

.footer-legal {
  font-size: 0.8rem !important;
  color: var(--dark-400);
}

.footer-legal a {
  color: var(--primary);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-dark);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--dark-600);
  transition: var(--transition);
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--primary);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== RESPONSIVE: Tablet ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-visual {
    order: -1;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-mockup {
    max-width: 400px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-buttons .btn {
    font-size: inherit;
    padding: 12px 24px;
  }

  .steps {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .step-arrow {
    display: none;
  }

  .step {
    max-width: none;
    flex: 1 1 200px;
  }

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

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

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

  .course-card {
    padding: 40px 32px;
  }

  .community-card {
    padding: 36px 28px;
  }

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

  .integrations-ring {
    width: 280px;
    height: 280px;
  }

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

/* ===== RESPONSIVE: Mobile ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--light);
    border-bottom: 1px solid var(--light-200);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .nav-link--cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .hero {
    padding: 100px 0 48px;
    text-align: center;
  }

  .hero--sub {
    padding: 120px 0 48px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 36px;
  }

  .section-subtitle {
    margin-top: -20px;
    margin-bottom: 32px;
    font-size: 1rem;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

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

  .features-grid--4 {
    grid-template-columns: 1fr;
  }

  .screenshots-row {
    grid-template-columns: 1fr;
  }

  .screenshot--large {
    height: 240px;
  }

  .screenshot--half {
    height: 200px;
  }

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

  .footer-links {
    justify-content: center;
  }

  .footer-company {
    align-items: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 320px;
  }

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

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

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

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-value {
    font-size: 2rem;
  }

  .testimonial-highlight {
    padding: 32px 24px;
  }

  .testimonial-text--large {
    font-size: 1rem;
  }

  .integrations-ring {
    width: 240px;
    height: 240px;
  }

  .integration-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .integration-logo svg {
    width: 22px;
    height: 22px;
  }

  .integration-center {
    width: 64px;
    height: 64px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .course-card {
    padding: 32px 24px;
  }

  .course-title {
    font-size: 1.4rem;
  }

  .course-price-value {
    font-size: 1.6rem;
  }

  .community-card {
    padding: 28px 20px;
  }

  .community-title {
    font-size: 1.3rem;
  }

  .section--founder {
    padding: 56px 0;
  }

  .founder-card {
    flex-direction: column;
    gap: 28px;
    padding: 32px 24px;
    text-align: center;
  }

  .founder-quote {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--primary);
    padding-top: 20px;
  }

  .founder-quote p {
    font-size: 0.95rem;
  }

  .section--metrics {
    padding: 24px 0;
  }

  .carousel-track {
    border-radius: 12px;
  }
}

/* ===== RESPONSIVE: Small Mobile ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-trust-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .section {
    padding: 48px 0;
  }

  .card {
    padding: 24px 20px;
  }

  .integrations-ring {
    width: 200px;
    height: 200px;
  }

  .integration-item span {
    font-size: 0.7rem;
  }

  .metrics-grid {
    gap: 8px;
  }

  .metric-card {
    padding: 16px 8px;
  }

  .metric-value {
    font-size: 1.6rem;
  }

  .metric-label {
    font-size: 0.8rem;
  }
}
