/* KonoChat Landing Page - Global Styles */

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

/* ===== CSS Variables ===== */
:root {
  --primary-color: #6C63FF;
  --secondary-color: #FF6584;
  --dark: #1a1a2e;
  --text: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #fff;
  --border-radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Base Typography ===== */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

[hidden] {
  display: none !important;
}

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 0;
  transition: all 0.3s ease;
  opacity: 0.9;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(26,26,46,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 10px 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.lang-switcher:hover {
  background: rgba(255,255,255,0.1);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #5a52d5;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

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

  .nav-actions .nav-cta {
  display: none;
}

.nav-login {
  border-color: rgba(255,255,255,0.5) !important;
  color: rgba(255,255,255,0.9) !important;
}
}

/* ===== Hero Section ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-animation {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(255,101,132,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: rgba(108,99,255,0.2);
  border: 1px solid rgba(108,99,255,0.4);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

#hero h1 .highlight {
  background: linear-gradient(135deg, #6C63FF, #FF6584);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.35s both;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-proof span::before {
  content: "•";
  margin-right: 8px;
  color: #8b5cf6;
  font-size: 1rem;
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}

.platform-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 24px 32px;
  max-width: 500px;
  animation: fadeInUp 0.7s ease 0.5s both;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 16px;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(108,99,255,0.1);
  color: var(--primary-color);
  padding: 4px 14px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

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

#audience-scenarios {
  padding: 72px 0 82px;
  background: transparent;
  position: relative;
  z-index: 1;
}

#audience-scenarios .section-header {
  max-width: 860px;
  margin: 0 auto 34px;
  padding-top: 18px;
}

#audience-scenarios .section-header h2 {
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.12;
}

#audience-scenarios .section-header p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.85;
}

.scenario-shell {
  padding: 16px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 22px;
  background: #eef2f7;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.scenario-tab {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.scenario-tab:hover {
  background: rgba(255,255,255,0.82);
  color: #111827;
}

.scenario-tab.active {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  color: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

.scenario-panel {
  display: none;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 18px;
}

.scenario-panel.active {
  display: grid;
}

.scenario-column {
  min-height: 100%;
  padding: 28px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.scenario-panel .scenario-column:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.scenario-panel .scenario-column:nth-child(2) {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.scenario-panel .scenario-column:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

.scenario-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(108,99,255,0.1);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.scenario-panel .scenario-column:nth-child(2) .scenario-label {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}

.scenario-column h3 {
  margin: 18px 0 14px;
  color: #111827;
  font-size: 1.18rem;
  line-height: 1.38;
}

.scenario-column p {
  margin: 0;
  color: #5b6474;
  font-size: 0.95rem;
  line-height: 1.82;
}

.scenario-panel .scenario-column:nth-child(2) h3 {
  color: #fff;
}

.scenario-panel .scenario-column:nth-child(2) p {
  color: rgba(255,255,255,0.78);
}

.scenario-visual-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(540px, 1.08fr) minmax(360px, 0.92fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  min-height: 380px;
}

.scenario-visual-media {
  height: 380px;
  min-height: 380px;
  background: #e9edf5;
}

.scenario-visual-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.scenario-image-lower {
  object-position: center 28%;
}

.scenario-visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
  padding: 34px 34px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.scenario-visual-kicker {
  display: inline-flex;
  align-self: flex-start;
  min-height: 30px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(108,99,255,0.1);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.scenario-visual-copy h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.42rem;
  line-height: 1.34;
}

.scenario-visual-copy p {
  margin: 0;
  color: #5b6474;
  font-size: 0.98rem;
  line-height: 1.84;
}

@media (max-width: 767px) {
  #hero {
    padding: 100px 0 60px;
  }
  .hero-stats {
    padding: 16px 20px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta a {
    text-align: center;
  }
  .hero-proof span {
    width: 100%;
    justify-content: center;
  }
  .scenario-panel {
    grid-template-columns: 1fr;
  }
  .scenario-visual-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .scenario-visual-media {
    height: 240px;
    min-height: 240px;
  }
  .scenario-visual-copy {
    min-height: auto;
    padding: 24px;
  }
  .scenario-tab {
    width: 100%;
  }
}

/* ===== Feature Section ===== */
#features {
  background: var(--bg-light);
}

.feature-highlight {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 24px;
  padding: 56px 60px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-highlight::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.feature-highlight::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,101,132,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.feature-highlight-content {
  position: relative;
  z-index: 1;
}

.feature-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(108,99,255,0.2);
  border: 1px solid rgba(108,99,255,0.35);
  border-radius: 16px;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-highlight h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.feature-highlight p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.feature-highlight-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-highlight-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  transition: background 0.2s, border-color 0.2s;
}

.feature-highlight-card:hover {
  background: rgba(108,99,255,0.12);
  border-color: rgba(108,99,255,0.3);
}

.feature-highlight-card-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.feature-highlight-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-highlight-card-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* 旧的 list 样式保留兼容 */
.feature-highlight-list {
  display: none;
}

@media (max-width: 1023px) {
  .feature-highlight {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 36px;
  }
}

@media (max-width: 767px) {
  .feature-highlight {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .feature-highlight h3 {
    font-size: 1.5rem;
  }
  .feature-highlight-cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .feature-highlight-card {
    padding: 16px;
  }
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-highlight-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-highlight {
    padding: 28px 24px;
  }
  .feature-highlight h3 {
    font-size: 1.4rem;
  }
}

/* ===== Platform Section ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.platform-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.15);
}

.platform-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

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

.platform-method {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

.platform-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.platform-note {
  text-align: center;
  padding: 20px;
  background: rgba(108,99,255,0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(108,99,255,0.1);
}

.platform-note p {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 1023px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Services Section ===== */
#services {
  background: transparent;
}

#services .section-header {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

#services .section-header h2 {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
}

#services .section-header p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #6b7280;
}

#services .services-shell {
  padding: 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.16), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #1f2937 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
}

#services .services-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

#services .services-menu-btn {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: rgba(255,255,255,0.68);
  font-size: 0.94rem;
  font-weight: 650;
  cursor: pointer;
  letter-spacing: 0;
  transition: all 0.22s ease;
}

#services .services-menu-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.94);
  transform: translateY(-1px);
}

#services .services-menu-btn.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,247,250,0.96) 100%);
  color: #111827;
  border-color: rgba(255,255,255,0.88);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

#services .services-panel {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}

#services .services-panel.active {
  display: grid;
}

#services .services-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

#services .services-panel-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 700;
}

#services .services-panel-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1.95rem;
  line-height: 1.16;
  max-width: 560px;
}

#services .services-panel-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,0.76);
  line-height: 1.9;
}

#services .service-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

#services .service-chip {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

#services .service-chip:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.96);
}

#services .service-chip.active {
  background: linear-gradient(135deg, #6366f1 0%, #7c5cff 100%);
  border-color: rgba(255,255,255,0.04);
  color: #fff;
  box-shadow: 0 12px 28px rgba(99,102,241,0.32);
}

#services .services-detail-stage {
  position: relative;
  min-height: 280px;
}

#services .service-detail {
  display: none;
  height: 100%;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.54);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
}

#services .service-detail.active {
  display: flex;
  flex-direction: column;
}

#services .service-detail-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
  color: #4f46e5;
  font-size: 0.9rem;
  font-weight: 800;
}

#services .service-detail h4 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 1.34rem;
  line-height: 1.32;
}

#services .service-detail p {
  margin: 0;
  color: #525f72;
  line-height: 1.9;
}

#services .services-cta {
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1220 0%, #111827 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

#services .services-cta-copy h3 {
  margin: 10px 0 10px;
  font-size: 1.5rem;
  line-height: 1.35;
  color: #fff;
}

#services .services-cta-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.75;
}

#services .services-cta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 700;
}

#services .services-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 252px;
}

#services .services-cta-actions .btn-primary,
#services .services-cta-actions .btn-secondary {
  width: 100%;
  text-align: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}

#services .services-cta-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

#services .services-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

@media (max-width: 1023px) {
  #services .services-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #services .services-panel {
    grid-template-columns: 1fr;
  }
  #services .services-detail-stage {
    min-height: 240px;
  }
  #services .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  #services .services-cta-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  #services .services-shell {
    padding: 10px;
    border-radius: 22px;
  }
  #services .section-header {
    margin-bottom: 26px;
  }
  #services .section-header h2 {
    margin-bottom: 14px;
    font-size: 1.85rem;
    line-height: 1.18;
  }
  #services .section-header p {
    font-size: 0.98rem;
    line-height: 1.8;
  }
  #services .services-menu {
    grid-template-columns: 1fr;
  }
  #services .services-menu-btn {
    min-height: 48px;
  }
  #services .services-panel {
    padding: 20px;
    border-radius: 18px;
  }
  #services .services-panel-copy h3 {
    font-size: 1.4rem;
  }
  #services .service-chip-list {
    gap: 10px;
  }
  #services .service-chip {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  #services .services-detail-stage {
    min-height: 0;
  }
  #services .service-detail {
    padding: 22px 18px;
    border-radius: 18px;
  }
  #services .service-detail h4 {
    font-size: 1.14rem;
  }
  #services .services-cta {
    padding: 24px 20px;
  }
  #services .services-cta-copy h3 {
    font-size: 1.28rem;
  }
}

/* ===== Pricing Section ===== */
#pricing {
  background: var(--bg-light);
}

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

.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px 32px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.pricing-plan-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0 auto 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 700;
}

.pricing-plan-tag-primary {
  background: rgba(108,99,255,0.12);
  color: var(--primary-color);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.12);
}

.pricing-recommended {
  border-color: rgba(108,99,255,0.35);
  transform: scale(1.05);
  box-shadow: 0 24px 64px rgba(108,99,255,0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.pricing-recommended:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 24px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.18);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  text-align: center;
}

.pricing-price {
  text-align: center;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0;
}

.pricing-quota {
  text-align: center;
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 10px;
  font-weight: 600;
}

.pricing-fit {
  min-height: 48px;
  margin: 0 0 20px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6b7280;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.65;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  text-align: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pricing-card .btn-secondary {
  color: var(--dark);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
}

.pricing-card .btn-secondary:hover {
  border-color: rgba(108,99,255,0.45);
  background: rgba(108,99,255,0.05);
}

.pricing-card .btn-primary {
  box-shadow: 0 12px 28px rgba(108,99,255,0.18);
}

.pricing-note {
  text-align: center;
  font-size: 0.95rem;
  color: #6b7280;
}

@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-recommended {
    transform: scale(1);
  }
  .pricing-recommended:hover {
    transform: translateY(-6px);
  }
}

/* ===== FAQ Section ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.faq-question:hover {
  background: rgba(108,99,255,0.03);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-address-label {
  margin-top: 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.footer-email-label {
  margin-top: 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.footer-email {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s;
  word-break: break-word;
}

.footer-email:hover {
  color: #5a52d5;
}

.footer-address {
  max-width: 320px;
  line-height: 1.7;
  word-break: break-word;
}

.footer-telegram {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-telegram:hover {
  color: #5a52d5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ===== Landing Refresh Overrides ===== */
body {
  background:
    linear-gradient(180deg, #0f172a 0, #0f172a 860px, #f5f7fb 860px, #f5f7fb 100%);
}

#hero {
  min-height: auto;
  padding: 132px 0 52px;
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.14), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #111827 52%, #172554 100%);
}

.hero-badge,
.platform-badge {
  backdrop-filter: blur(12px);
}

.hero-content {
  max-width: 620px;
}

.hero-desc {
  max-width: 560px;
  color: rgba(255,255,255,0.8);
}

.hero-stats {
  margin-top: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px 10px;
  width: fit-content;
}

.hero-demo {
  margin-top: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
}

#outcomes {
  padding: 26px 0 82px;
  background: transparent;
}

.compact-header {
  margin-bottom: 28px;
}

.compact-header p {
  max-width: 760px;
}

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

.outcome-card {
  padding: 26px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.outcome-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,99,255,0.1);
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.outcome-card h3 {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #111827;
  margin-bottom: 10px;
}

.outcome-card p {
  color: #6b7280;
  line-height: 1.75;
  font-size: 0.93rem;
}

#trust {
  padding: 0 0 82px;
  background: transparent;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  min-height: 100%;
  padding: 28px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,248,252,0.98) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.trust-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(108,99,255,0.1);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-card h3 {
  margin: 16px 0 16px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #111827;
}

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

.trust-list li {
  position: relative;
  padding-left: 16px;
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.75;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

#compare {
  padding: 0 0 82px;
  background: transparent;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-card {
  min-height: 100%;
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.compare-card-before {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
}

.compare-card-after {
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.compare-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
}

.compare-card-label-primary {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}

.compare-card h3 {
  margin: 18px 0 18px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.compare-card-before h3 {
  color: #111827;
}

.compare-card-after h3 {
  color: #fff;
}

.compare-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding-left: 0;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.78;
  font-size: 0.94rem;
}

.compare-card-before .compare-list li {
  color: #4b5563;
}

.compare-card-after .compare-list li {
  color: rgba(255,255,255,0.78);
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.compare-card-before .compare-list li::before {
  background: rgba(148, 163, 184, 0.9);
}

.compare-list-positive li::before {
  background: #8b5cf6;
}

#features,
#platforms,
#services,
#pricing,
#faq {
  background: transparent;
}

#features .container,
#platforms .container,
#services .container,
#pricing .container,
#faq .container {
  background: #fff;
  border-radius: 28px;
  padding: 54px 40px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

#platforms,
#services,
#pricing,
#faq {
  padding-top: 0;
}

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

.section-header p {
  max-width: 720px;
  font-size: 1rem;
}

.whatsapp-demo-container {
  display: none;
}

.pricing-grid {
  align-items: stretch;
}

.faq-container {
  max-width: 920px;
}

@media (max-width: 1023px) {
  body {
    background: #f5f7fb;
  }

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

  .scenario-panel {
    grid-template-columns: 1fr;
  }

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

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

  #features .container,
  #platforms .container,
  #services .container,
  #pricing .container,
  #faq .container {
    padding: 42px 28px;
  }

  .scenario-shell {
    border-radius: 26px;
  }
}

@media (max-width: 767px) {
  #hero {
    padding: 96px 0 20px;
  }

  .hero-stats {
    width: 100%;
  }

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

  #features .container,
  #platforms .container,
  #services .container,
  #pricing .container,
  #faq .container {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .scenario-shell {
    padding: 8px;
    border-radius: 20px;
  }

  .scenario-tabs {
    gap: 8px;
  }

  .scenario-tab {
    min-height: 44px;
  }

  .scenario-column {
    padding: 18px 16px;
    border-radius: 16px;
  }

  #audience-scenarios {
    padding: 44px 0 64px;
  }

  #audience-scenarios .section-header {
    margin-bottom: 26px;
    padding-top: 10px;
  }
}

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1000;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(108,99,255,0.22);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.floating-cta:hover {
  background: #5a52d5;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(108,99,255,0.26);
}

.floating-icon {
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .floating-text {
    display: none;
  }
  .floating-cta {
    padding: 14px;
    border-radius: 50%;
  }
}


/* ===== Hero Demo Section ===== */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.hero-demo {
  background: #fff;
  border: 1px solid rgba(17, 27, 33, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(17, 27, 33, 0.14);
  overflow: hidden;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  margin-top: 52px;
  flex-shrink: 0;
}

.demo-tabs {
  display: flex;
  gap: 8px;
  background: #f0f2f5;
  border-bottom: 1px solid #d8dee4;
  padding: 12px 14px;
}

.demo-tab {
  flex: 1;
  min-height: 46px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #d6dde5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #31404a;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-tab.active {
  color: #fff;
  background: #00a884;
  border-color: #00a884;
  box-shadow: 0 10px 22px rgba(0, 168, 132, 0.22);
}

.demo-content {
  display: none;
  height: 560px;
  overflow: hidden;
}

.demo-content.active {
  display: flex;
  flex-direction: column;
}

/* Chat Demo */
.chat-statusbar {
  height: 24px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111b21;
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #202c33;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dfe5e7 0%, #bfcad0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54656f;
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-name {
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  font-size: 0.74rem;
  color: rgba(233,237,239,0.74);
  margin-top: 2px;
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1;
}

.chat-back {
  font-size: 1.42rem;
  padding-bottom: 2px;
}

.chat-messages {
  position: relative;
  padding: 14px 12px 10px;
  flex: 1;
  overflow-y: auto;
  background-color: #efeae2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="%23d9d4cc" fill-opacity="0.2"><circle cx="24" cy="26" r="3"/><circle cx="124" cy="38" r="3"/><circle cx="88" cy="92" r="2.5"/><circle cx="150" cy="130" r="3"/><circle cx="34" cy="142" r="2.5"/><path d="M52 54c8 0 8 12 16 12s8-12 16-12 8 12 16 12" fill="none" stroke="%23d9d4cc" stroke-width="2" stroke-linecap="round" stroke-opacity="0.18"/><path d="M20 98c7 0 7 10 14 10s7-10 14-10 7 10 14 10" fill="none" stroke="%23d9d4cc" stroke-width="2" stroke-linecap="round" stroke-opacity="0.18"/></g></svg>');
  scrollbar-width: thin;
  scrollbar-color: rgba(17,27,33,0.28) transparent;
}

.chat-message {
  display: flex;
  margin-bottom: 10px;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  justify-content: flex-start;
}

.chat-message.assistant {
  justify-content: flex-end;
}

.chat-bubble {
  display: inline-block;
  max-width: 82%;
  min-width: 76px;
  padding: 7px 10px 6px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.52;
  position: relative;
  color: #111b21;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
}

.chat-message.user .chat-bubble {
  background: #fff;
  border-top-left-radius: 2px;
}

.chat-message.user .chat-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  border-top: 6px solid #fff;
  border-left: 6px solid transparent;
}

.chat-message.assistant .chat-bubble {
  background: #d9fdd3;
  border-top-right-radius: 2px;
}

.chat-message.assistant .chat-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  right: -6px;
  border-top: 6px solid #d9fdd3;
  border-right: 6px solid transparent;
}

.chat-message-text {
  padding-right: 50px;
}

.chat-time {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 0.68rem;
  white-space: nowrap;
  color: #667781;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.chat-message.assistant .chat-time::after {
  content: '✓✓';
  color: #53bdeb;
  font-size: 0.76rem;
}

.chat-day-separator {
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

.chat-day-separator span {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(255,255,255,0.92);
  color: #54656f;
  font-size: 0.72rem;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
}

.chat-security-note {
  margin: 0 auto 12px;
  max-width: 92%;
  padding: 7px 10px;
  border-radius: 7px;
  background: #fff3c4;
  color: #5c5316;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 1px 1px rgba(11,20,26,0.06);
}

.chat-typing {
  padding: 0 12px 10px;
  background: #efeae2;
}

.chat-typing-bubble {
  background: #fff;
  padding: 11px 14px;
  border-radius: 8px;
  border-top-left-radius: 2px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
  position: relative;
}

.chat-typing-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  border-top: 6px solid #fff;
  border-left: 6px solid transparent;
}

.chat-typing-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing 1.4s infinite;
}

.chat-typing-bubble span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing-bubble span:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-input {
  background: #f0f2f5;
  padding: 8px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-shell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 22px;
  padding-right: 10px;
}

.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 16px;
  border-radius: 22px;
  font-size: 0.9rem;
  outline: none;
  color: #111b21;
}

.chat-input input::placeholder {
  color: #667781;
}

.chat-input-icon,
.chat-input-inline-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #54656f;
  flex: 0 0 auto;
}

.chat-input-inline-icon {
  width: 24px;
  height: 24px;
  color: #667781;
  font-size: 0.95rem;
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  font-size: 0.96rem;
  box-shadow: 0 8px 18px rgba(0,168,132,0.22);
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Analysis Demo */
.analysis-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analysis-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.analysis-badge {
  background: rgba(255,255,255,0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.analysis-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.analysis-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.analysis-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.analysis-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.analysis-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  transition: width 1s ease;
}

.score {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--bg-light);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
}

.analysis-suggestions {
  font-size: 0.9rem;
  line-height: 1.8;
}

.analysis-suggestions p {
  margin-bottom: 8px;
  color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-demo {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-demo {
    margin: 0 -24px;
    border-radius: 0;
  }
  
  .demo-tab {
    font-size: 0.85rem;
    padding: 12px 16px;
  }
  
  .demo-content {
    height: 380px;
  }
}


/* ===== WhatsApp Demo Section ===== */
.whatsapp-demo-container {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f7 100%);
  border-radius: 20px;
}

.whatsapp-phone {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17,27,33,0.18);
  overflow: hidden;
  border: 1px solid rgba(17,27,33,0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 620px;
  max-width: 640px;
  margin: 0 auto;
}


.whatsapp-notch {
  display: none;
}

/* WhatsApp Header */
.whatsapp-statusbar {
  height: 24px;
  padding: 0 14px;
  padding-top: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111b21;
  color: rgba(255,255,255,0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.whatsapp-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.88;
}

.whatsapp-header {
  background: #202c33;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.whatsapp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1;
}

.whatsapp-back {
  font-size: 1.45rem;
  padding-bottom: 2px;
}

.whatsapp-contact {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.whatsapp-contact-info {
  flex: 1;
  min-width: 0;
}

.whatsapp-contact-name {
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whatsapp-contact-status {
  font-size: 0.74rem;
  color: rgba(233,237,239,0.76);
  margin-top: 2px;
}

.whatsapp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* WhatsApp Messages */
.whatsapp-messages {
  background-color: #efeae2;
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><g fill="%23d9d4cc" fill-opacity="0.2"><circle cx="24" cy="26" r="3"/><circle cx="124" cy="38" r="3"/><circle cx="88" cy="92" r="2.5"/><circle cx="150" cy="130" r="3"/><circle cx="34" cy="142" r="2.5"/><path d="M52 54c8 0 8 12 16 12s8-12 16-12 8 12 16 12" fill="none" stroke="%23d9d4cc" stroke-width="2" stroke-linecap="round" stroke-opacity="0.18"/><path d="M20 98c7 0 7 10 14 10s7-10 14-10 7 10 14 10" fill="none" stroke="%23d9d4cc" stroke-width="2" stroke-linecap="round" stroke-opacity="0.18"/><path d="M102 150c6 0 6 10 12 10s6-10 12-10 6 10 12 10" fill="none" stroke="%23d9d4cc" stroke-width="2" stroke-linecap="round" stroke-opacity="0.18"/></g></svg>');
  padding: 14px 12px 10px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(17,27,33,0.28) transparent;
}

.whatsapp-messages::-webkit-scrollbar {
  width: 5px;
}

.whatsapp-messages::-webkit-scrollbar-thumb {
  background: rgba(17,27,33,0.24);
  border-radius: 999px;
}


.whatsapp-day-separator {
  display: flex;
  justify-content: center;
  margin: 4px 0 12px;
}

.whatsapp-day-separator span {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(255,255,255,0.92);
  color: #54656f;
  font-size: 0.72rem;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
}

.whatsapp-security-note {
  margin: 0 auto 12px;
  max-width: 90%;
  padding: 7px 10px;
  border-radius: 7px;
  background: #fff3c4;
  color: #5c5316;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 1px 1px rgba(11,20,26,0.06);
}

.whatsapp-message {
  margin-bottom: 10px;
  display: flex;
  animation: fadeInUp 0.25s ease;
}

.whatsapp-message.received {
  justify-content: flex-start;
}

.whatsapp-message.sent {
  justify-content: flex-end;
}

.whatsapp-bubble {
  max-width: 78%;
  min-width: 72px;
  padding: 7px 10px 6px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.52;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
}

.whatsapp-message-text {
  color: #111b21;
  padding-right: 48px;
}

.whatsapp-message.received .whatsapp-bubble {
  background: #fff;
  border-top-left-radius: 2px;
}

.whatsapp-message.received .whatsapp-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  border-top: 6px solid #fff;
  border-left: 6px solid transparent;
}

.whatsapp-message.sent .whatsapp-bubble {
  background: #d9fdd3;
  border-top-right-radius: 2px;
}

.whatsapp-message.sent .whatsapp-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  right: -6px;
  border-top: 6px solid #d9fdd3;
  border-right: 6px solid transparent;
}

.whatsapp-time {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 0.68rem;
  white-space: nowrap;
  color: #667781;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.whatsapp-message.sent .whatsapp-time::after {
  content: '✓✓';
  color: #53bdeb;
  font-size: 0.76rem;
}

/* WhatsApp Typing Indicator */
.whatsapp-typing {
  padding: 0 12px 10px;
  background: #efeae2;
}

.whatsapp-typing-bubble {
  background: #fff;
  padding: 11px 14px;
  border-radius: 8px;
  border-top-left-radius: 2px;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 1px 1px rgba(11,20,26,0.08);
  position: relative;
}

.whatsapp-typing-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  border-top: 6px solid #fff;
  border-left: 6px solid transparent;
}

.whatsapp-typing-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing 1.4s infinite;
}

.whatsapp-typing-bubble span:nth-child(2) {
  animation-delay: 0.2s;
}

.whatsapp-typing-bubble span:nth-child(3) {
  animation-delay: 0.4s;
}

/* WhatsApp Input */
.whatsapp-input {
  background: #f0f2f5;
  padding: 8px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 16px;
  border-radius: 22px;
  font-size: 0.9rem;
  outline: none;
  color: #111b21;
}

.whatsapp-input input::placeholder {
  color: #667781;
}


.whatsapp-input-shell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 22px;
  padding-right: 10px;
}

.whatsapp-input-inline-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667781;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.whatsapp-input-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #54656f;
  flex: 0 0 auto;
}

.whatsapp-send-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  font-size: 0.96rem;
  box-shadow: 0 8px 18px rgba(0,168,132,0.22);
}

/* WhatsApp Demo Label */
.whatsapp-demo-label {
  padding-left: 20px;
}

.demo-badge {
  display: inline-block;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.whatsapp-demo-label h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.whatsapp-demo-label p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 500px;
}

/* Responsive WhatsApp Demo */
@media (max-width: 1023px) {
  .whatsapp-demo-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  
  .whatsapp-phone {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .whatsapp-demo-label {
    padding-left: 0;
    text-align: center;
  }
  
  .whatsapp-demo-label p {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .whatsapp-demo-container {
    margin: 0 -24px 40px;
    border-radius: 0;
    padding: 24px;
  }
  
  .whatsapp-phone {
    max-width: 100%;
    border-width: 4px;
    border-radius: 20px;
  }
  
  .whatsapp-messages {
    min-height: unset;
    max-height: unset;
  }
  
  .whatsapp-demo-label h3 {
    font-size: 1.4rem;
  }
}

/* Trial Modal */
body.trial-modal-open {
  overflow: hidden;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  overflow-y: auto;
  padding: 24px 0;
}

.trial-modal.show {
  display: grid;
  place-items: start center;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 30, 0.72);
  backdrop-filter: blur(8px);
}

.trial-modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.98));
  border: 1px solid rgba(15, 52, 96, 0.12);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(8, 25, 53, 0.28);
  padding: 32px;
}

.trial-modal-dialog::-webkit-scrollbar {
  width: 8px;
}

.trial-modal-dialog::-webkit-scrollbar-thumb {
  background: rgba(15, 52, 96, 0.22);
  border-radius: 999px;
}

.trial-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 52, 96, 0.08);
  color: var(--dark);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.trial-modal-header {
  margin-bottom: 24px;
}

.trial-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2459d1;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.trial-modal-header h3 {
  font-size: 1.9rem;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.trial-modal-header p,
.trial-form-note,
.trial-success p {
  color: var(--text-light);
  line-height: 1.7;
}

.trial-form {
  display: grid;
  gap: 18px;
}

.trial-form-group label {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.trial-form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 52, 96, 0.14);
  background: rgba(255,255,255,0.96);
  font-size: 1rem;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trial-form-group input:focus {
  outline: none;
  border-color: #2459d1;
  box-shadow: 0 0 0 4px rgba(36, 89, 209, 0.12);
}

.trial-form-error {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.14);
  color: #b42318;
  font-size: 0.95rem;
}

.trial-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}

.trial-form-actions .btn-large {
  min-width: 152px;
}

.trial-cancel {
  background: rgba(15, 52, 96, 0.06);
}

.trial-success {
  text-align: center;
}

.trial-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.trial-success h4 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.trial-success-card {
  margin: 24px 0;
  text-align: left;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15, 52, 96, 0.1);
  padding: 12px 18px;
}

.trial-success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 52, 96, 0.08);
}

.trial-success-row:last-child {
  border-bottom: none;
}

.trial-success-row span {
  color: var(--text-light);
}

.trial-success-row strong {
  color: var(--dark);
  word-break: break-all;
}

.purchase-modal-dialog {
  width: min(620px, calc(100% - 32px));
}

.purchase-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 52, 96, 0.08);
  background: rgba(255,255,255,0.92);
}

.purchase-plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.purchase-plan-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.purchase-methods-label {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: -8px;
}

.purchase-methods {
  display: grid;
  gap: 14px;
}

.purchase-method-option {
  border: 1px solid rgba(15, 52, 96, 0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.purchase-method-option.active {
  border-color: rgba(91, 70, 255, 0.24);
  box-shadow: 0 18px 38px rgba(91, 70, 255, 0.08);
  transform: translateY(-1px);
}

.purchase-method-header {
  width: 100%;
  border: none;
  background: transparent;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.purchase-method-title {
  color: #1e266d;
  font-size: 0.98rem;
  font-weight: 800;
}

.purchase-method-header-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.purchase-method-brands,
.purchase-method-paypal-logo,
.purchase-method-token {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.purchase-method-brands {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.purchase-method-paypal-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0070ba;
}

.purchase-method-paypal-logo span:first-child {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
  font-size: 0.9rem;
}

.purchase-method-token {
  color: #2459d1;
}

.purchase-method-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.purchase-method-brand-visa {
  color: #1a4db3;
  font-weight: 900;
}

.purchase-method-brand-discover {
  color: #f97316;
  font-size: 0.72rem;
}

.purchase-method-brand-amex {
  color: #0f6cbd;
  font-size: 0.72rem;
}

.purchase-method-brand-master,
.purchase-card-brand-master {
  position: relative;
  width: 34px;
  height: 18px;
}

.purchase-method-brand-master span,
.purchase-card-brand-master span {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.purchase-method-brand-master span:first-child,
.purchase-card-brand-master span:first-child {
  left: 0;
  background: rgba(234, 67, 53, 0.95);
}

.purchase-method-brand-master span:last-child,
.purchase-card-brand-master span:last-child {
  right: 0;
  background: rgba(251, 188, 5, 0.95);
  mix-blend-mode: multiply;
}

.purchase-method-chevron {
  color: #1e266d;
  font-size: 0.88rem;
  line-height: 1;
}

.purchase-method-panel {
  padding: 0 28px 26px;
  border-top: 1px solid rgba(15, 52, 96, 0.08);
}

.purchase-usdt-panel {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.purchase-usdt-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.purchase-usdt-panel strong {
  color: var(--dark);
  font-size: 1rem;
}

.purchase-usdt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2459d1;
  font-size: 0.82rem;
  font-weight: 800;
}

.purchase-usdt-panel p {
  color: #dc2626;
  line-height: 1.7;
  max-width: 92%;
  font-weight: 600;
}

.purchase-card-form {
  display: grid;
  gap: 18px;
  padding: 18px 0 2px;
}

.purchase-card-brands {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.purchase-card-form::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 6px;
  background: rgba(15, 52, 96, 0.08);
}

.purchase-card-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.purchase-card-brand-visa {
  color: #1a4db3;
  font-size: 1.05rem;
  font-weight: 900;
}

.purchase-card-brand-discover {
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 800;
}

.purchase-card-brand-amex {
  color: #0f6cbd;
  font-size: 0.74rem;
  font-weight: 800;
}

.purchase-card-field {
  display: grid;
  gap: 10px;
}

.purchase-card-field label {
  color: #5e6a86;
  font-size: 0.98rem;
  font-weight: 600;
}

.purchase-card-field input,
.purchase-paypal-field input {
  width: 100%;
  min-height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(15, 52, 96, 0.14);
  background: #fff;
  padding: 0 20px;
  color: var(--dark);
  font-size: 1.02rem;
}

.purchase-card-field input:focus,
.purchase-paypal-field input:focus {
  outline: none;
  border-color: rgba(91, 70, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(91, 70, 255, 0.08);
}

.purchase-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.purchase-inline-submit {
  min-height: 60px;
  min-width: 204px;
  padding: 0 30px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #5a43ff, #7644f2);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  justify-self: start;
  box-shadow: 0 16px 34px rgba(91, 70, 255, 0.2);
}

.purchase-inline-submit:hover,
.purchase-paypal-cta:hover,
.purchase-paypal-next:hover {
  transform: translateY(-1px);
}

.purchase-inline-secure {
  position: relative;
  padding-left: 32px;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.7;
}

.purchase-inline-secure::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7c3aed, #5b46ff);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18);
}

.purchase-inline-secure::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 6px;
  height: 8px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.purchase-card-terms {
  color: #6b7280;
  font-size: 0.94rem;
  line-height: 1.8;
  max-width: 92%;
}

.purchase-paypal-panel {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.purchase-paypal-cta {
  min-height: 56px;
  min-width: min(100%, 440px);
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid #1f2937;
  background: linear-gradient(180deg, #ffd04d, #f7ba1a);
  color: #003087;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  justify-self: start;
  transition: transform 0.18s ease;
}

.purchase-paypal-cta-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #003087, #009cde);
  color: #fff;
  font-weight: 900;
}

.purchase-alt-stage {
  display: grid;
}

.purchase-paypal-login,
.purchase-maintenance-card {
  border: 1px solid rgba(15, 52, 96, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.98);
  padding: 30px 28px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.purchase-paypal-login {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding-top: 0;
  overflow: hidden;
}

.purchase-paypal-browserbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -28px 28px;
  padding: 14px 18px;
  background: #1f2937;
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
}

.purchase-paypal-browserdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.34);
}

.purchase-paypal-browserurl {
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.purchase-paypal-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}

.purchase-paypal-logo-text {
  color: #111827;
  font-size: 2.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.purchase-paypal-login h4,
.purchase-maintenance-card h4 {
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.purchase-paypal-login p,
.purchase-maintenance-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
}

.purchase-paypal-field {
  margin-bottom: 20px;
}

.purchase-paypal-next,
.purchase-paypal-create,
.purchase-alt-back {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.purchase-paypal-next {
  border: none;
  background: #0070e0;
  color: #fff;
}

.purchase-paypal-divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
  color: #6b7280;
}

.purchase-paypal-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(148, 163, 184, 0.4);
}

.purchase-paypal-divider span {
  position: relative;
  padding: 0 14px;
  background: #fff;
}

.purchase-paypal-create {
  border: 2px solid #111827;
  background: #fff;
  color: #111827;
}

.purchase-alt-back {
  margin-top: 14px;
  border: none;
  background: transparent;
  color: #2459d1;
}

.purchase-paypal-return {
  margin-top: 18px;
  border: none;
  background: transparent;
  color: #2459d1;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.purchase-paypal-languages {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #4b5563;
  font-size: 0.94rem;
}

.purchase-maintenance-card {
  text-align: center;
}

.purchase-maintenance-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  font-size: 0.84rem;
  font-weight: 800;
}

.purchase-maintenance-action {
  min-width: min(100%, 320px);
}

.purchase-maintenance-note {
  margin: 0 auto 22px;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.06);
  color: #2459d1;
  line-height: 1.7;
  font-size: 0.94rem;
  font-weight: 600;
}

.purchase-method-content small,
.purchase-method-loading,
.purchase-method-empty,
.purchase-status-hint {
  color: var(--text-light);
  line-height: 1.6;
  word-break: break-all;
}

.purchase-warning-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: rgba(254, 242, 242, 0.96);
  color: #dc2626;
  font-weight: 700;
  line-height: 1.7;
}

.purchase-warning-note::before {
  content: "!";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dc2626;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 2px;
}

.purchase-status {
  text-align: center;
}

  .purchase-status > p {
    color: #dc2626;
    font-weight: 700;
  }

  .purchase-expiry-banner {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-top: 10px;
      padding: 12px 18px;
      border-radius: 999px;
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.18);
      color: #b91c1c;
    }

  .purchase-expiry-label {
    font-size: 13px;
    font-weight: 700;
  }

  .purchase-expiry-banner strong {
      font-size: 32px;
      line-height: 1;
      letter-spacing: 0;
      color: #dc2626;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      animation: purchaseCountdownPulse 1s ease-in-out infinite;
      transform-origin: center;
    }

  .purchase-expiry-banner.expired {
      background: rgba(107, 114, 128, 0.12);
      border-color: rgba(107, 114, 128, 0.18);
      color: #4b5563;
    }

  .purchase-expiry-banner.expired strong {
      color: #4b5563;
      animation: none;
    }

  @keyframes purchaseCountdownPulse {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.1);
      }
    }

.purchase-payment-card .trial-success-row strong {
  max-width: 64%;
  text-align: right;
}

.purchase-address-row strong {
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  .trial-modal {
    padding: 10px 0;
  }

  .trial-modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    padding: 24px 18px;
    border-radius: 20px;
  }

  .trial-modal-header h3 {
    font-size: 1.5rem;
  }

  .trial-form-actions {
    flex-direction: column-reverse;
  }

  .trial-form-actions .btn-large {
    width: 100%;
  }

  .trial-success-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .purchase-plan-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .purchase-method-header {
    padding: 18px 18px;
    align-items: flex-start;
  }

  .purchase-method-header-right {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .purchase-method-brands {
    gap: 6px;
  }

  .purchase-method-panel {
    padding: 0 18px 20px;
  }

  .purchase-usdt-panel {
    padding-top: 16px;
  }

  .purchase-usdt-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .purchase-card-brands {
    justify-content: flex-start;
  }

  .purchase-inline-submit,
  .purchase-paypal-cta,
  .purchase-maintenance-action {
    width: 100%;
  }

  .purchase-card-terms {
    max-width: 100%;
  }

  .purchase-usdt-panel p {
    max-width: 100%;
  }

  .purchase-paypal-login,
  .purchase-maintenance-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .purchase-paypal-browserbar {
    margin: -24px -18px 24px;
  }

  .purchase-paypal-logo-text {
    font-size: 2rem;
  }

  .purchase-warning-note {
    padding: 12px 14px;
    gap: 8px;
  }

  .purchase-payment-card .trial-success-row strong {
    max-width: 100%;
    text-align: left;
  }
}


/* ===== Product Focus Refresh ===== */
.hero-content {
  max-width: 560px;
}

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.72;
  margin-bottom: 26px;
}

.hero-platforms {
  margin-top: 6px;
}

#compare {
  padding-top: 12px;
}

#services {
  background: transparent;
}

.service-support-grid {
  margin-bottom: 28px;
}

.service-support-card h3 {
  min-height: auto;
}

.service-support-cta {
  margin-top: 0;
}

@media (max-width: 1023px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .hero-cta {
    gap: 12px;
  }

  .hero-platforms {
    gap: 8px;
    font-size: 0.82rem;
  }

  .platform-badge {
    padding: 3px 10px;
    font-size: 0.8rem;
  }

  .hero-demo {
    margin-top: 14px;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
}


/* ===== Product Focus Polish ===== */
.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  line-height: 1.14;
}

.section-header p {
  line-height: 1.75;
}

#features .container,
#platforms .container,
#services .container,
#pricing .container,
#faq .container {
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.features-grid {
  gap: 18px;
}

.feature-card {
  padding: 28px 24px;
}

.pricing-grid {
  gap: 20px;
}

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

.platforms-grid {
  gap: 18px;
}

.faq-question {
  padding: 18px 22px;
}

.faq-answer p {
  padding: 0 22px 18px;
}

@media (max-width: 1023px) {
  .section-header {
    margin-bottom: 38px;
  }

  #features .container,
  #platforms .container,
  #services .container,
  #pricing .container,
  #faq .container {
    padding: 34px 24px;
  }
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.65rem;
    line-height: 1.16;
  }

  .section-header p {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  #hero h1 {
    font-size: 1.95rem;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

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

  .whatsapp-demo-container {
    gap: 18px;
  }

  .feature-highlight {
    padding: 24px 18px;
    border-radius: 18px;
    gap: 20px;
  }

  .feature-highlight-card {
    padding: 14px;
  }

  .features-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px 16px;
  }

  .feature-name {
    font-size: 1rem;
  }

  .feature-desc {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .compare-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .pricing-card {
    padding: 28px 20px 22px;
  }

  .pricing-name {
    font-size: 1.22rem;
  }

  .price-amount {
    font-size: 1.8rem;
  }

  .platform-card {
    padding: 18px 14px;
  }

  .trust-card {
    padding: 22px 18px;
  }

  .services-cta {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.92rem;
  }

  .faq-answer p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
    padding: 12px;
    opacity: 0.86;
  }
}


/* ===== Alignment Sweep ===== */
#hero {
  margin-bottom: 0;
}

#audience-scenarios .scenario-shell,
#features .container,
#pricing .container,
#platforms .container,
#services .container,
#faq .container {
  overflow: hidden;
}

.compare-grid,
.trust-grid,
.features-grid,
.platforms-grid,
.pricing-grid {
  align-items: stretch;
}

.service-support-card,
.feature-card,
.platform-card,
.pricing-card,
.compare-card {
  height: 100%;
}

.floating-cta {
  right: max(14px, calc((100vw - 1200px) / 2 - 72px));
}

@media (max-width: 1399px) {
  .floating-cta {
    right: 14px;
  }
}

@media (max-width: 1023px) {
  #audience-scenarios {
    padding-top: 32px;
  }

  .section-header h2 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .floating-cta {
    box-shadow: 0 8px 20px rgba(108,99,255,0.18);
  }

  #features .container,
  #platforms .container,
  #services .container,
  #pricing .container,
  #faq .container {
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
  }
}


/* ===== Badge Cleanup ===== */
.hero-badge,
.section-tag {
  display: none !important;
}

#hero h1 {
  margin-top: 0;
}

.section-header {
  margin-top: 0;
}

.compact-header {
  margin-top: 0;
}

#audience-scenarios .section-header,
#features .section-header,
#compare .section-header,
#pricing .section-header,
#platforms .section-header,
#services .section-header,
#faq .section-header {
  padding-top: 0;
}

/* ===== Hero Balance ===== */
@media (min-width: 1024px) {
  #hero {
    padding: 112px 0 64px;
  }

  #hero .hero-container {
    align-items: stretch;
    gap: 52px;
  }

  #hero .hero-content {
    min-height: 650px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 56px 0 0;
  }

  #hero h1 {
    font-size: clamp(2.85rem, 3.35vw, 3.95rem);
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 560px;
  }

  #hero .hero-desc {
    max-width: 540px;
    margin-bottom: 28px;
  }

  #hero .hero-cta {
    margin-bottom: 0;
  }

  #hero .hero-platforms {
    margin-top: auto;
    padding-top: 30px;
    max-width: 540px;
  }

  #hero .hero-demo {
    margin-top: 56px;
    align-self: start;
    display: flex;
    flex-direction: column;
  }

  #hero .demo-content {
    height: auto;
    min-height: 544px;
    flex: 1;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  #hero .hero-container {
    gap: 36px;
  }

  #hero h1 {
    font-size: clamp(2.8rem, 4.25vw, 3.8rem);
  }

  #hero .hero-content {
    min-height: 626px;
  }
}


/* ===== Services Typography Tuning ===== */
#services .section-header {
  max-width: 920px;
  margin: 0 auto 34px;
}

#services .section-header h2 {
  max-width: 1120px;
  margin: 0 auto 18px;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: nowrap;
  white-space: nowrap;
}

#services .section-header p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.82;
  color: #667085;
}

@media (max-width: 1023px) {
  #services .section-header h2 {
    max-width: 680px;
    font-size: clamp(2rem, 4.2vw, 2.8rem);
  }

  #services .section-header p {
    max-width: 720px;
    font-size: 0.98rem;
  }
}

@media (max-width: 767px) {
  #services .section-header {
    margin-bottom: 24px;
  }

  #services .section-header h2 {
    max-width: 320px;
    margin-bottom: 14px;
    font-size: 1.9rem;
    line-height: 1.14;
  }

  #services .section-header p {
    max-width: 340px;
    font-size: 0.92rem;
    line-height: 1.7;
  }
}


/* ===== Services Header Refinement ===== */
#services .section-header {
  max-width: 1120px;
  margin: 0 auto 30px;
}

#services .section-header h2 {
  max-width: 1120px;
  margin: 0 auto 16px;
  font-size: clamp(1.8rem, 2.6vw, 2.7rem);
  line-height: 1.14;
  font-weight: 800;
  white-space: nowrap;
}

#services .section-header p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.72;
  color: #667085;
}

@media (max-width: 767px) {
  #services .section-header {
    max-width: 100%;
    margin-bottom: 22px;
  }

  #services .section-header h2 {
    max-width: 290px;
    font-size: 1.72rem;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  #services .section-header p {
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.66;
  }
}


/* ===== Services Subtitle Two Lines ===== */
#services .section-header p {
  text-align: center;
  text-wrap: balance;
}

#services .section-header p br {
  display: block;
}


/* ===== Modal Position Guard ===== */
.trial-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  overflow-y: auto !important;
  background: transparent !important;
}

.trial-modal.show:not([hidden]) {
  display: flex !important;
}

.trial-modal[hidden] {
  display: none !important;
}

.trial-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(6, 14, 30, 0.72) !important;
  backdrop-filter: blur(8px);
}

.trial-modal-dialog {
  position: relative !important;
  z-index: 1 !important;
  width: min(560px, calc(100vw - 32px)) !important;
  max-height: calc(100vh - 48px) !important;
  margin: auto !important;
  overflow-y: auto !important;
}

.purchase-modal-dialog {
  width: min(680px, calc(100vw - 32px)) !important;
}

@media (max-width: 767px) {
  .trial-modal {
    align-items: flex-start !important;
    padding: 10px !important;
  }

  .trial-modal-dialog,
  .purchase-modal-dialog {
    width: min(100%, 560px) !important;
    max-height: calc(100vh - 20px) !important;
  }
}
