
/* VAZIRMATN GLOBAL ENFORCEMENT */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, button, select, textarea {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, 
.hero-main-title, .sec-headline, .brand-title, 
.plan-h, .plan-digits, .btn-nous, strong, b {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 800 !important;
}

.hero-main-title {
    font-weight: 900 !important;
    letter-spacing: -0.02em;
}

code, pre, .terminal-inner, .t-prompt {
    font-family: var(--font-mono), 'Vazirmatn', monospace !important;
}

/*
Theme Name: MrHermes
Theme URI: https://mrhermes.ir
Author: Rick Sanchez
Author URI: https://mrhermes.ir
Description: Ultra-fast, responsive, pure monochrome Dark Mode AI theme for WordPress
Version: 3.1.0
License: MIT
Text Domain: mrhermes
*/

:root {
  --bg-primary: #000000;
  --bg-secondary: #08080a;
  --bg-card: #0f0f12;
  --bg-card-hover: #16161b;
  --bg-input: #131316;
  --border-subtle: #222226;
  --border-card: #27272a;
  --border-bright: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-white: #ffffff;
  --accent-black: #000000;
  --glow-white: rgba(255, 255, 255, 0.15);
  --font-sans: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --header-height: 76px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  direction: rtl;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  min-height: 100vh;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.65;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

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

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: #0d0d10;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  text-align: center;
  position: relative;
  z-index: 201;
}

.announcement-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.ann-badge {
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.ann-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.ann-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.ann-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.75rem;
  transition: background 0.3s ease;
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wing-svg {
  width: 24px;
  height: 48px;
  transform: rotate(45deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.brand-link:hover .wing-svg {
  transform: rotate(90deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links-center {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-btn-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Authentic Monochrome Buttons */
.btn-nous {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  min-height: 42px;
  white-space: nowrap;
  user-select: none;
}

.btn-nous:active {
  transform: scale(0.98);
}

.btn-solid-white {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-solid-white:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-trans-white {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-card);
}

.btn-trans-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-bright);
}

.w-100 { width: 100%; }
.flex-1 { flex: 1; }
.text-center { text-align: center; }

/* Mobile Hamburger Toggle */
.mobile-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0;
  transition: background 0.2s ease;
}

.mobile-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-toggle-btn.is-active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle-btn.is-active .bar-2 {
  opacity: 0;
}

.mobile-toggle-btn.is-active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #09090b;
  border-left: 1px solid var(--border-card);
  z-index: 300;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.is-open {
  right: 0;
}

.mobile-drawer-inner {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: space-between;
  gap: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-bright);
}

.mobile-nav-link .m-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-auth-row {
  display: flex;
  gap: 0.75rem;
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.is-open {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  max-width: 1100px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.hero-main-title {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  width: 100%;
}

/* Terminal Window (Monochrome Nous Style) */
.terminal-window {
  width: 100%;
  max-width: 860px;
  background: #08080a;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-align: right;
  direction: ltr;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.terminal-titlebar {
  background: #111114;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27272a;
}

.terminal-inner {
  padding: 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #d4d4d8;
  overflow-x: auto;
}

.t-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.t-code {
  color: #ffffff;
  font-weight: 600;
  word-break: break-all;
}

.t-prompt {
  color: #71717a;
}

.t-btn-copy {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--border-card);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.t-btn-copy:hover {
  background: #fff;
  color: #000;
}

.t-log-ok {
  color: #e4e4e7;
  font-weight: 600;
}

/* ==========================================================================
   Content Sections & Grid
   ========================================================================== */
.content-section {
  max-width: 1240px;
  margin: 5rem auto;
  padding: 0 1.5rem;
  width: 100%;
}

.sec-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sec-category-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.sec-headline {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.sec-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0.85rem auto 0 auto;
  font-size: 1.05rem;
}

/* 3-Step Simple Guide (Beginner UX) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Interactive Telegram Chat Simulator
   ========================================================================== */
.chat-sim-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.chat-sim-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.sim-tab:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.sim-tab.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.sim-tab-icon {
  font-size: 1.1rem;
}

.telegram-mockup {
  background: #0d0d10;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tg-header {
  background: #151518;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-user-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tg-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tg-avatar-svg {
  width: 18px;
  height: 36px;
  transform: rotate(45deg);
}

.tg-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tg-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
}

.tg-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tg-badge-agent {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  color: #ffffff;
}

.tg-chat-body {
  display: none;
  padding: 2rem 1.75rem;
  flex-direction: column;
  gap: 1.5rem;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  min-height: 340px;
}

.tg-chat-body.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

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

.tg-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.tg-user-msg {
  align-self: flex-start;
  text-align: right;
}

.tg-user-msg .tg-bubble {
  background: #1f1f23;
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px 16px 4px 16px;
  padding: 1rem 1.25rem;
  font-size: 0.96rem;
  line-height: 1.7;
}

.tg-bot-msg {
  align-self: flex-end;
  text-align: right;
}

.tg-bot-msg .tg-bubble {
  background: #09090b;
  color: #f4f4f5;
  border: 1px solid var(--border-bright);
  border-radius: 16px 16px 16px 4px;
  padding: 1.25rem 1.5rem;
  font-size: 0.96rem;
  line-height: 1.8;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.tg-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  padding: 0 0.5rem;
}

.tg-code-snippet {
  background: #000000;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  margin: 0.75rem 0;
  color: #e4e4e7;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.plan-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
}

.plan-box.popular {
  border: 2px solid var(--border-bright);
  background: #111115;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-h {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 48px;
  line-height: 1.6;
}

.plan-cost-wrap {
  margin: 1.85rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.plan-digits {
  font-family: var(--font-mono);
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

.plan-period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: #d4d4d8;
  line-height: 1.5;
}

.plan-list li svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Developer / Technical Section
   ========================================================================== */
.dev-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.dev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.dev-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.dev-item-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.dev-item-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  gap: 1rem;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ==========================================================================
   Modal Popup (Optimized Bottom Sheet for Mobile)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-card {
  background: #0d0d10;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
}

.modal-h h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-x {
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.modal-x:hover {
  color: #fff;
}

.fg {
  margin-bottom: 1.25rem;
  text-align: right;
}

.fg label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #e4e4e7;
}

.fg input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.95rem 1.15rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fg input:focus {
  border-color: var(--border-bright);
  background: #18181c;
}

.calc-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #ffffff;
  color: #000000;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toast-msg.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  margin-top: auto;
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand-title {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.footer-brand-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-meta-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Floating Telegram Support Widget
   ========================================================================== */
.floating-tg-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 190;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.floating-tg-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.floating-tg-btn:hover .floating-tg-inner {
  transform: translateY(-2px) scale(1.02);
  background: #e4e4e7;
}

.tg-float-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.tg-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: tgPulse 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

@keyframes tgPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links-center { display: none; }
  .mobile-toggle-btn { display: inline-flex; }
  .header-user-btn, .header-logout-btn { display: none; }
}

@media (max-width: 768px) {
  .site-header { padding: 0.85rem 1.15rem; }
  .hero-section { margin: 2.25rem auto 1.5rem auto; padding: 0 1rem; }
  .hero-main-title { font-size: 2.4rem; }
  .hero-cta-wrap { flex-direction: column; width: 100%; gap: 0.75rem; }
  .hero-cta-wrap .btn-nous { width: 100%; min-height: 48px; }
  
  .terminal-window { border-radius: var(--radius-sm); }
  .terminal-inner { padding: 1.15rem; font-size: 0.82rem; }
  
  .content-section { margin: 3.5rem auto; padding: 0 1rem; }
  .sec-title-wrap { margin-bottom: 2.25rem; }
  
  .plan-box { padding: 2rem 1.5rem; }
  .popular-badge { font-size: 0.68rem; top: -12px; }
  
  /* Bottom Sheet on Mobile */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  
  .modal-card {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom)) 1.5rem;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-meta-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Chat Simulator Mobile Adjustments */
  .tg-msg { max-width: 96%; }
  .tg-chat-body { padding: 1.25rem 1rem; }
  .tg-user-msg .tg-bubble, .tg-bot-msg .tg-bubble { padding: 0.95rem 1.15rem; font-size: 0.9rem; }
  .sim-tab { font-size: 0.82rem; padding: 0.5rem 1rem; }

  /* Floating Telegram Button on Mobile */
  .floating-tg-btn {
    bottom: 1.25rem;
    left: 1.25rem;
  }
  .floating-tg-inner {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .brand-title { font-size: 1.1rem; }
  .brand-sub { display: none; }
  .header-cta-btn { font-size: 0.8rem; padding: 0.5rem 0.85rem; }
  .t-row { flex-direction: column; align-items: flex-start; }
  .t-btn-copy { align-self: flex-start; }
  .ann-text { font-size: 0.75rem; }
  .floating-tg-text { display: none; }
  .floating-tg-inner { padding: 0.75rem; border-radius: 50%; }
}
