/* 
  💇‍♀️ BEAUTY SALON TELEGRAM BOT LANDING PAGE - PREMIUM WHITE DESIGN SYSTEM
  UI/UX PRO MAX SKILL - NO EXTERNAL LIBRARIES, ONLY CUSTOM SVG
  REALISTIC IPHONE MOCKUP & iOS STATUS BARS
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Color Palette - Premium White & Soft Rose Gold/Violet */
  --bg-dark: #f8fafc; /* Clean off-white slate */
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-border: rgba(15, 23, 42, 0.08);
  --color-primary: #7c3aed; /* Electric Violet */
  --color-primary-glow: rgba(124, 58, 237, 0.15);
  --color-accent: #475569; /* Cool Slate Grey */
  --color-gold: #b45309; /* Premium Warm Gold */
  --color-rose: #f472b6; /* Soft Rose */
  --text-main: #334155; /* Slate 700 */
  --text-heading: #0f172a; /* Slate 900 */
  --text-muted: #64748b; /* Slate 500 */
  
  /* Telegram LIGHT Chat Mock Colors */
  --tg-bg: #e7ebf0; /* Classic Telegram light background */
  --tg-header-bg: #5288c1; /* Classic Telegram Header Blue */
  --tg-message-in: #ffffff; /* White bubbles */
  --tg-message-out: #eeffde; /* Light green outgoing bubbles */
  --tg-button-bg: #ffffff; /* White button base */
  --tg-button-text: #2f6ea5; /* Telegram Blue link */
  --tg-button-border: #d9e1e8;
  --tg-text: #1c1c1e;
  
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 20px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: inherit;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #e2e8f0 0%, var(--bg-dark) 50%);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.15;
  background: linear-gradient(135deg, #0f172a 40%, #7c3aed 75%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 1.25rem;
}

h2 span {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1.1rem;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
}

.logo-icon {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  filter: drop-shadow(0 0 4px var(--color-primary-glow));
  transition: var(--transition);
}

.logo-link:hover .logo-icon {
  transform: rotate(-12deg) scale(1.08);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-heading);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding-top: 9.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  width: max-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: #6d28d9;
}

.badge svg {
  width: 15px;
  height: 15px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 1.25rem;
}

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

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}

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

/* Real iOS iPhone Mockup Frame - Ultra Thin Bezels - Compact 310px */
.phone-mockup {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 4px;
  background: #000000; /* Deep black border */
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.2),
    0 0 0 2px #1e293b, /* Thin metallic border band */
    0 0 20px rgba(124, 58, 237, 0.04);
  border: none;
  overflow: visible;
}

/* Enforce native-like fonts on all phone sub-elements (prefer Roboto/Inter for anti-aliasing) */
.phone-mockup, 
.phone-mockup *,
.tg-webapp,
.tg-webapp * {
  font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", sans-serif !important;
}

/* Physical Side Buttons */
.phone-button {
  position: absolute;
  width: 3px;
  background: #1e293b; /* Matches chassis rim */
  border-radius: 2px 0 0 2px;
  z-index: -1;
}

.phone-button.action {
  top: 75px;
  left: -5px;
  height: 20px;
}

.phone-button.volume-up {
  top: 110px;
  left: -5px;
  height: 38px;
}

.phone-button.volume-down {
  top: 160px;
  left: -5px;
  height: 38px;
}

.phone-button.power {
  top: 125px;
  right: -5px;
  height: 55px;
  border-radius: 0 2px 2px 0;
}

/* Speaker Slot at Top */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #1e293b;
  border-radius: 4px;
  z-index: 110;
}

.phone-screen {
  background-color: var(--tg-bg);
  border-radius: 36px;
  height: 650px; /* Compact 19.5:9 Screen Ratio */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1.5px solid #000000; /* Slim screen divider boundary */
}

/* iPhone Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 105;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.1);
  pointer-events: none;
}

/* iPhone Status Bar (WiFi, Signal, Battery, Time) */
.iphone-status-bar {
  height: 40px;
  padding: 0 20px;
  background-color: var(--tg-header-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  font-size: 0.7rem;
  font-weight: 500;
  color: #ffffff;
}

.status-bar-left {
  display: flex;
  align-items: center;
}

.status-bar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-bar-icon {
  width: 12px;
  height: 12px;
  color: #ffffff;
}

/* Telegram Header */
.tg-header {
  height: 48px;
  background-color: var(--tg-header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 10;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.tg-back-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 0;
}

.tg-back-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.tg-back-text {
  font-size: 0.88rem;
  font-weight: 400;
}

.tg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.tg-info, .tg-info-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.tg-info {
  pointer-events: none;
}

.tg-info-link {
  pointer-events: auto;
  cursor: pointer;
}

.tg-avatar-link {
  text-decoration: none;
}

.tg-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.tg-status {
  font-size: 0.68rem;
  color: #b3d1ff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tg-status::before {
  display: none;
}

.tg-status.typing::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #86efac;
}

/* Telegram Messages Content Area - iOS Style Chat */
.tg-chat {
  flex-grow: 1;
  padding: 8px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Telegram Chat */
.tg-chat::-webkit-scrollbar {
  width: 2.5px;
}
.tg-chat::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.tg-msg-group {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  max-width: 85%;
  gap: 2px;
}

.tg-msg-group.out {
  align-self: flex-end;
}

.tg-msg {
  padding: 7px 12px 15px;
  border-radius: 15px;
  font-size: 0.84rem;
  line-height: 1.35;
  position: relative;
  word-wrap: break-word;
  white-space: pre-line;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  max-width: 100%;
}

.tg-msg.in {
  background-color: var(--tg-message-in);
  color: var(--tg-text);
  align-self: flex-start;
  border-bottom-left-radius: 0;
  margin-left: 8px;
  min-width: 60px;
}

/* 1-to-1 iOS Telegram Curved Tail for Incoming Messages */
.tg-msg.in::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 7px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M7 0C7 6 0 12 0 12H7V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.tg-msg.out {
  background-color: var(--tg-message-out);
  color: var(--tg-text);
  align-self: flex-end;
  border-bottom-right-radius: 0;
  margin-right: 8px;
  min-width: 75px;
}

/* 1-to-1 iOS Telegram Curved Tail for Outgoing Messages */
.tg-msg.out::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 7px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M0 0C0 6 7 12 7 12H0V0Z' fill='%23eeffde'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.tg-msg-time {
  font-size: 0.58rem;
  color: #8c9096;
  position: absolute;
  bottom: 2px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  line-height: 1;
}

.tg-msg.out .tg-msg-time {
  color: #4f924f; /* Green checkmarks and clock */
}

/* Inline Keyboard Attached Directly to Bubble - iOS 1-to-1 style */
.tg-keyboard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: calc(100% - 16px);
  margin: 4px 8px;
}

.tg-kbd-btn {
  background-color: rgba(0, 0, 0, 0.04); /* iOS semi-transparent button style */
  color: #2f6ea5; /* iOS Link Blue */
  border: none; /* No border! */
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-kbd-btn:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.tg-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Telegram Bottom Input Bar */
.tg-input-bar {
  height: 50px;
  background-color: #f6f6f6;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.1);
  z-index: 15;
  flex-shrink: 0;
}

.tg-menu-btn {
  background: none;
  border: none;
  color: #2f6ea5;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.tg-input-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 0 8px 0 12px;
  height: 34px;
}

.tg-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  color: #000000;
  font-size: 0.88rem;
  height: 100%;
  padding: 0;
}

.tg-input::placeholder {
  color: #a8a8a8;
}

.tg-attachment-btn {
  background: none;
  border: none;
  color: #2f6ea5;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tg-attachment-btn:hover {
  color: #179cde;
}

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

.tg-send-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f6ea5; /* Blue mic initially */
  border-radius: 50%;
  transition: var(--transition);
}

.tg-send-btn.active {
  background-color: #2f6ea5;
  color: #ffffff; /* Blue plane circle when writing */
}

.tg-send-btn svg {
  width: 18px;
  height: 18px;
}

/* Telegram WebApp Bottom Drawer */
.tg-webapp {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 82%;
  background-color: #f4f4f5;
  z-index: 120;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.94, 0.6, 1);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tg-webapp.active {
  transform: translateY(0);
}

.tg-webapp-header {
  height: 50px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
}

.tg-webapp-close {
  color: #2f6ea5;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
}

.tg-webapp-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}

.tg-webapp-more {
  width: 20px;
  height: 20px;
  color: #2f6ea5;
  cursor: pointer;
}

.tg-webapp-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1c1c1e;
}

/* Booking WebApp Elements */
.webapp-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.webapp-grid-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.webapp-category-card {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.webapp-category-card.active {
  border-color: #2f6ea5;
  background: #f0f7ff;
  color: #2f6ea5;
}

/* Masters Selector */
.webapp-masters-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.webapp-master-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.webapp-master-card.active {
  border-color: #2f6ea5;
  background: #f0f7ff;
}

.webapp-master-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.webapp-master-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.webapp-master-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.webapp-master-role {
  font-size: 0.72rem;
  color: #8e8e93;
}

.webapp-master-rating {
  font-size: 0.72rem;
  color: #b45309;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Date & Time WebApp Slider */
.webapp-date-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.webapp-date-slider::-webkit-scrollbar {
  height: 2px;
}

.webapp-date-card {
  background: #ffffff;
  min-width: 60px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.webapp-date-card.active {
  border-color: #2f6ea5;
  background: #f0f7ff;
  color: #2f6ea5;
}

.webapp-date-day {
  font-size: 0.7rem;
  color: #8e8e93;
}

.webapp-date-card.active .webapp-date-day {
  color: #2f6ea5;
}

.webapp-date-num {
  font-size: 0.95rem;
  font-weight: 700;
}

.webapp-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.webapp-time-slot {
  background: #ffffff;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: all 0.2s;
}

.webapp-time-slot.active {
  border-color: #2f6ea5;
  background: #f0f7ff;
  color: #2f6ea5;
}

.webapp-btn-confirm {
  background-color: #2f6ea5;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(47, 110, 165, 0.2);
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.webapp-btn-confirm:hover {
  background-color: #245782;
}

/* E-Commerce Shop WebApp Layout */
.webapp-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.webapp-product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.webapp-product-thumb {
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f3ff 0%, #fae8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.webapp-product-thumb svg {
  width: 40px;
  height: 40px;
}

.webapp-product-title {
  font-size: 0.8rem;
  font-weight: 600;
  min-height: 36px;
  line-height: 1.25;
}

.webapp-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.webapp-product-price {
  font-weight: 700;
  font-size: 0.88rem;
}

.webapp-product-btn {
  background-color: rgba(47, 110, 165, 0.08);
  color: #2f6ea5;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.webapp-product-btn:hover {
  background-color: #2f6ea5;
  color: #fff;
}

.webapp-shop-footer {
  background: #ffffff;
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-radius: 12px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
  flex-shrink: 0;
}

.webapp-cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.webapp-cart-total {
  font-size: 0.95rem;
  font-weight: 700;
}

.webapp-cart-count {
  font-size: 0.72rem;
  color: #8e8e93;
}

/* iOS Home Indicator Bar */
.home-indicator-bar {
  height: 16px;
  background-color: #ffffff;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.02);
}

.home-indicator-bar::after {
  content: '';
  width: 120px;
  height: 5px;
  background-color: #334155;
  border-radius: 10px;
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 6px 0;
  align-items: center;
}

.typing-indicator span {
  width: 5px;
  height: 5px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: bounce 1.3s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.08);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--text-heading);
}

/* Pricing Section */
.pricing-tabs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

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

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

.price-card {
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  transition: var(--transition);
}

.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.price-card.featured::before {
  content: 'ПОПУЛЯРНЫЙ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.04em;
}

.price-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-heading);
}

.price-cost {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.price-cost span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 0.2rem;
}

.price-desc {
  font-size: 0.92rem;
  min-height: 48px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.price-features svg {
  width: 17px;
  height: 17px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.price-features li.disabled {
  color: var(--text-muted);
  opacity: 0.45;
}

.price-features li.disabled svg {
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.faq-item.active {
  border-color: rgba(124, 58, 237, 0.2);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

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

.faq-item.active .faq-answer {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  width: 90%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.modal-desc {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-input, .form-select {
  height: 50px;
  padding: 0 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  color: var(--text-heading);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  padding-right: 2.5rem;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 3px;
}

.form-success {
  display: none;
  text-align: center;
}

.form-success svg {
  width: 60px;
  height: 60px;
  color: #10b981;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding: 4rem 0 2rem;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  /* Contacts column spans full width on 2-col layout */
  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  font-size: 0.92rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--text-heading);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.social-link:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link[aria-label="Telegram"]:hover {
  background: #29a8e0;
  border-color: #29a8e0;
  color: #fff;
}

.social-link[aria-label="WhatsApp"]:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

/* Responsiveness Settings */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-info {
    align-items: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  .phone-mockup {
    max-width: 345px;
  }
  .nav-links {
    display: none;
  }
}

/* ── Billing Period Switcher ── */
.billing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 2.5rem;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
}

.billing-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.billing-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
  font-weight: 600;
}

.billing-btn:hover:not(.active) {
  color: var(--text-primary);
}

.billing-badge {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  background: #22c55e;
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.billing-badge.best {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Price card discount badge */
.price-discount-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
}

.price-card {
  position: relative;
}

/* Price cost wrap — original strikethrough + new price */
.price-cost-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-original {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.6;
  line-height: 1;
}

/* Price amount animate on change */
.price-amount {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.price-amount.updating {
  transform: scale(0.85);
  opacity: 0;
}

/* Language Switcher Switch */
/* ── Language Switcher Dropdown ── */

.lang-switcher {
  position: relative;
  margin-right: 0.5rem;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 30px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--text-primary);
}

.lang-trigger:hover {
  background: rgba(15, 23, 42, 0.1);
}

.lang-arrow {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  list-style: none;
  padding: 6px;
  margin: 0;
  min-width: 150px;
  z-index: 9999;
  animation: dropdownIn 0.18s ease;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

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

.lang-dropdown li {
  list-style: none;
}

.lang-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 9px;
  transition: background 0.15s;
  color: var(--text-primary);
  white-space: nowrap;
}

.lang-btn span {
  font-size: 0.9rem;
  font-family: var(--font-main);
}

.lang-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.lang-btn.active {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  font-weight: 600;
}

/* ==========================================================================
   🔗 HOW IT WORKS SECTION (UI/UX PRO MAX)
   ========================================================================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  margin-top: 1rem;
}

.step-card {
  position: relative;
  padding: 3rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.3);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3.5rem;
  font-weight: 800;
  opacity: 0.12;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-glow), rgba(124, 58, 237, 0.03));
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--color-primary), #a78bfa);
  color: #ffffff;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   ⭐ TESTIMONIALS SECTION (UI/UX PRO MAX)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.review-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.12);
}

.stars-wrapper {
  display: flex;
  gap: 4px;
  color: #f59e0b; /* Golden stars */
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.rev-gradient-1 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.rev-gradient-2 { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.rev-gradient-3 { background: linear-gradient(135deg, #10b981, #34d399); }

.pricing-footnote {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 2.25rem;
  font-family: var(--font-body);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar-section {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}

.trust-logo-item:hover {
  color: var(--text-heading);
}

.trust-logo-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */
.comparison-section {
  background: radial-gradient(circle at 50% 50%, #f1f5f9 0%, var(--bg-dark) 70%);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

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

.comparison-col {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
}

.comparison-without {
  border-color: rgba(239, 68, 68, 0.15);
}

.comparison-with {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(255,255,255,0.85);
}

.comparison-header-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.comparison-header-block svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.comparison-without .comparison-header-block svg { color: #ef4444; }
.comparison-with .comparison-header-block svg { color: #22c55e; }

.comparison-header-block h3 {
  font-size: 1.3rem;
  margin: 0;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

.comparison-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   MASTERS SECTION
   ========================================================================== */
.masters-section {
  border-top: 1px solid rgba(15, 23, 42, 0.03);
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.master-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.master-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.25);
}

.master-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--border-radius) - 2px) calc(var(--border-radius) - 2px) 0 0;
}

.master-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.master-card:hover .master-photo {
  transform: scale(1.04);
}

.master-online-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.master-online-badge svg {
  width: 8px;
  height: 8px;
}

.master-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.master-info h3 {
  font-size: 1.4rem;
  margin: 0;
}

.master-specialty {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.master-stats {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0 0.75rem;
}

.master-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.master-stat-val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.master-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.master-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.master-card-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(255,255,255,0.8) 100%);
  border-style: dashed;
  border-color: rgba(124, 58, 237, 0.2);
}

.master-cta-content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  height: 100%;
  justify-content: center;
}

.master-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-glow), rgba(124,58,237,0.05));
  border: 1px dashed rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.master-cta-icon svg {
  width: 26px;
  height: 26px;
}

.master-cta-content h3 {
  font-size: 1.25rem;
  margin: 0;
}

.master-cta-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.cta-final-section {
  padding: 5rem 0;
}

.cta-final-inner {
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem;
  text-align: center;
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(255,255,255,0.9);
}

.cta-final-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-final-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-glow);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-final-badge svg {
  width: 14px;
  height: 14px;
}

.cta-final-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0;
}

.cta-final-inner p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0;
}

.cta-final-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-final-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
}

.cta-final-btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-final-btn-secondary {
  padding: 0.9rem 2rem;
}

.cta-final-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .cta-final-inner { padding: 3rem 1.5rem; }
  .trust-bar-inner { gap: 1rem; }
  .trust-divider { display: none; }
  .masters-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SEO CONTENT SECTION
   ========================================================================== */
.seo-content-section {
  background: radial-gradient(circle at 30% 50%, rgba(124,58,237,0.03) 0%, transparent 60%);
  border-top: 1px solid rgba(15,23,42,0.04);
}

.seo-content-h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
  }
  .seo-content-sidebar { order: -1; }
  .seo-content-h2 { text-align: center; }
}

.seo-content-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seo-content-body p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.75;
}

.seo-content-body h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.seo-content-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.seo-content-body a:hover { opacity: 0.7; }

.seo-sidebar-card {
  padding: 1.75rem;
}

.seo-sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.seo-facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.seo-facts-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.seo-facts-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seo-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.seo-tag:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Setup fee line in pricing cards */
.setup-fee-line {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-glow);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-block;
  margin-top: 0.5rem;
}

