/* ============================================================
   AI.ROSTIGAR.RU | Warm Obsidian Design System v3 — AI Landing
   Palette: Charcoal + Cyan + Amber + Purple
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- Variables --- */
:root {
  --bg-primary: #0f1419;
  --bg-secondary: #1a2332;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-bright: rgba(255, 255, 255, 0.16);
  --glass-top: rgba(245, 166, 35, 0.06);

  --cyan: #00b4d8;
  --cyan-dim: rgba(0, 180, 216, 0.12);
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.12);
  --purple: #8b5cf6;
  --purple-dim: rgba(139, 92, 246, 0.12);
  --green: #22c55e;
  --red: #f43f5e;

  --text-primary: #e8edf4;
  --text-secondary: rgba(232, 237, 244, 0.55);
  --text-muted: rgba(232, 237, 244, 0.28);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  /* Offset anchor scroll targets below the fixed nav bar */
  scroll-padding-top: 25px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 15px;
}

html:not(.keyboard-navigation),
html:not(.keyboard-navigation) *,
body:not(.keyboard-navigation),
body:not(.keyboard-navigation) * {
  cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=') 0 0, none !important;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #80e8ff;
}

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

/* Обертка отвечает ТОЛЬКО за координаты через transform: translate3d */
#cursor-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
}

/* Физическое кольцо отвечает ТОЛЬКО за эффекты / анимации (scale/borders) */
#cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 1.5px solid rgba(245, 166, 35, 0.65);
  border-radius: 50%;
  transform: scale(0.636);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.2), background 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
  will-change: transform, background, border-color;
}

#cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: #f5a623;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.8);
  will-change: transform;
  top: 0;
  left: 0;
}

body.cursor-hover #cursor-ring {
  transform: scale(1);
  background: rgba(245, 166, 35, 0.10);
  border-color: rgba(245, 166, 35, 0.90);
}

body.cursor-click #cursor-ring {
  transform: scale(0.4);
  background: rgba(245, 166, 35, 0.50);
}

/* ============================================================
   Canvas Background
   ============================================================ */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  display: none;
  /* Moved to GPU compute inside warmobsidian.js ShaderMaterial */
}


/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: linear-gradient(135deg, rgba(30, 25, 45, 0.75) 0%, rgba(15, 20, 25, 0.88) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 95%;
  max-width: 1280px;
  height: auto;
  min-height: 60px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
  justify-self: start;
}

.nav-links {
  justify-self: center;
}

.nav-hamburger {
  justify-self: end;
}

.nav-brand:hover {
  opacity: 0.85;
}

.nav-logo {
  display: inline-block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: -2px;
  font-family: var(--font-serif);
  background: linear-gradient(135deg, #f5a623, #8b5cf6, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.35));
}

.nav-tag {
  font-size: 12px;
  color: rgba(0, 180, 216, 0.7);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.2);
  margin-top: 1px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 5px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
  color: #0f1419;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.45);
}

/* --- Hamburger Menu --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary, #e8e0d5);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 3px 0;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Dynamic Navbar Progressive Collapse Helper Classes */
.is-collapsed {
  display: none !important;
}

.is-visible {
  display: flex !important;
}

.is-hidden {
  display: none !important;
}

.nav-links.is-collapsed {
  display: none !important;
}

/* Glassmorphism Dropdown Menu */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(28, 28, 30, 0.96);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-top: none;
  border-radius: 20px;
  margin-top: 12px;
  padding: 20px;
  gap: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.nav-dropdown.active {
  display: flex;
}

.nav-dropdown-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  transition: var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active,
.nav-dropdown-link.nav-link--active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 88px);
  font-variation-settings: 'wght' var(--font-weight, 900);
  font-weight: var(--font-weight, 900);
  transition: font-weight 0.1s ease, font-variation-settings 0.1s ease;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), #80e8ff, var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--amber), #e8943a);
  color: #0f1419;
  font-weight: 700;
  font-size: 16px;
  padding: 0 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
  height: 72px;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245, 166, 35, 0.50);
  color: #0f1419;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  height: 72px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--amber);
  text-shadow: 0 0 12px rgba(245, 166, 35, 0.4);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 120px 0;
  border-top: none;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5a623, #00b4d8, transparent);
  background-size: 200% 100%;
  animation: divider-glow 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.3), 0 0 24px rgba(0, 180, 216, 0.15);
}

@keyframes divider-glow {
  0%, 100% { background-position: 0% center; opacity: 0.7; }
  50% { background-position: 100% center; opacity: 1; }
}


.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-badge {
  margin-bottom: 16px;
  display: inline-flex;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0, 180, 216, 0.25);
}

.badge-amber {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.25);
}

.badge-green {
  background: rgba(34, 197, 94, 0.10);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-purple {
  background: var(--purple-dim);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ============================================================
   Cards / Glass
   ============================================================ */
.card {
  background: linear-gradient(135deg, rgba(28, 28, 30, 0.88) 0%, rgba(18, 18, 20, 0.95) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  z-index: 1;
  background-clip: padding-box;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  container-type: inline-size;
  container-name: bento-card;
}

/* --- Spotlight Hover --- */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 180, 216, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 180, 216, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 180, 216, 0.1);
  border-color: transparent;
}

.card-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: 28px;
}

/* ============================================================
   Catalog Tabs
   ============================================================ */
.tabs-wrapper {
  margin-top: 48px;
}

.tabs-list {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  cursor: none !important;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.tab-content {
  display: none;
  animation: fade-in 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Catalog Grid (Bento Grid + Anti-Grid Organic Forms)
   ============================================================ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
  perspective: 1000px;
}

@media (min-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Feature cards span more space */
  .catalog-grid .card:nth-child(2),
  .catalog-grid .card:nth-child(3),
  .catalog-grid .card:nth-child(9) {
    grid-column: span 2;
    border-radius: 32px;
  }

  /* Organic softness (Liquid Anti-Grid) */
  .catalog-grid .card:nth-child(2n) {
    border-radius: 16px 40px 16px 40px;
  }

  .catalog-grid .card:nth-child(3n) {
    border-radius: 40px 16px 40px 16px;
  }
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border-bright);
}

.service-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.service-provider {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Tariff rows */
.tariff-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tariff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.tariff-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.tariff-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-height: 44px;
  min-width: 0;
}

.tariff-label {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tariff-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 166, 35, 0.25);
  white-space: nowrap;
}

.tariff-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tariff-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: var(--font-mono);
}

.tariff-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.tariff-save {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.tariff-btn {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--amber), #e8943a);
  color: #0f1419;
  font-weight: 700;
  font-size: 12px;
  border: none;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: none !important;
}

.tariff-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
}

/* ============================================================
   Expandable Premium Card
   ============================================================ */
.premium-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-card .card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.premium-card .card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border-bright);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-card .service-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px currentColor);
}

.premium-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  flex-grow: 1;
  margin: 0;
}

.premium-card .card-tag {
  background: var(--amber-dim);
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.premium-card .card-price {
  margin-bottom: 20px;
}

.premium-card .old-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 4px;
}

.premium-card .new-price {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.premium-card .duration {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-main);
}

.premium-card .card-details-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0px;
}

.premium-card.expanded .card-details-wrapper {
  grid-template-rows: 1fr;
  margin-bottom: 24px;
}

.card-details {
  overflow: hidden;
}

.features-list {
  list-style: none;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
}

.features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.desc-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.btn-expand {
  width: 100%;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid transparent;
  margin-bottom: 12px;
  margin-top: auto;
  padding: 12px 20px;
  font-size: 14px;
}

.btn-expand:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.btn-expand svg {
  transition: transform 0.3s;
}

.premium-card.expanded .btn-expand svg {
  transform: rotate(180deg);
}

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

  .tabs-list {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   Steps (How it works)
   ============================================================ */
.steps-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.step-card {
  flex: 1;
  max-width: 340px;
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num {
  font-size: 64px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 166, 35, 0.25);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
  user-select: none;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 44px;
  height: 44px;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: auto;
}

.step-arrow {
  flex-shrink: 0;
  opacity: 0.3;
  align-self: center;
}

/* ============================================================
   Advantages
   ============================================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage-card {
  padding: 32px 28px;
}

.adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adv-icon svg {
  width: 36px;
  height: 36px;
}

.adv-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.adv-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Order Form
   ============================================================ */
.order-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.order-form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.order-form .form-actions {
  margin-top: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.form-select,
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-main);
  animation: field-pulse 3s ease-in-out infinite;
  transition: var(--transition);
  outline: none;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
  animation: none;
}

@keyframes field-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(0, 180, 216, 0.15); }
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(26, 35, 50, 1) inset, 0 0 0 3px rgba(245, 166, 35, 0.15);
  -webkit-text-fill-color: var(--text-primary);
  border-color: var(--amber);
  caret-color: var(--text-primary);
  transition: background-color 5000s ease-in-out 0s;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Order summary */
.order-summary {
  padding: 16px 20px;
  margin-bottom: 24px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-sm);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.summary-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 166, 35, 0.15);
}

/* Checkbox */
.form-checkbox-group {
  margin-bottom: 28px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.form-checkbox-label input[type="checkbox"]:hover {
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.1);
}

.form-checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #f5a623, #00b4d8);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.2), 0 0 10px rgba(245, 166, 35, 0.15);
}

.form-checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #0f1419;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox-label a {
  color: var(--cyan);
}

.form-checkbox-label a:hover {
  text-decoration: underline;
}

/* Actions */
.form-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  min-height: 48px;
  /* WCAG 2.2 Touch target Minimum */
  border-radius: var(--radius-sm);
  border: none;
  cursor: none !important;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #00e0ff);
  color: #0f1419;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.25);
}

.form-actions .btn-primary {
  flex: 1;
  justify-content: center;
  background: linear-gradient(135deg, #f5a623, #00b4d8);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.2), 0 4px 20px rgba(0, 180, 216, 0.15);
  animation: cta-glow 3s ease-in-out infinite;
}

.form-actions .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3), 0 8px 30px rgba(0, 180, 216, 0.25);
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 166, 35, 0.2), 0 4px 20px rgba(0, 180, 216, 0.15); }
  50% { box-shadow: 0 4px 28px rgba(245, 166, 35, 0.35), 0 4px 28px rgba(0, 180, 216, 0.25); }
}

.premium-card .btn-primary {
  width: 100%;
  justify-content: center;
  flex-shrink: 0;
}

.btn-primary:not([disabled]):hover {
  background: #00e0ff;
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
}

/* --- Magnetic Btn --- */
.btn-magnetic {
  border: 1.5px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
}

.btn-magnetic.primary {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
}

.btn-magnetic:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 30px var(--cyan-dim), 0 0 60px rgba(0, 180, 216, 0.08);
}

.btn-magnetic:active {
  transform: scale(0.95);
  transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Order info sidebar */
.order-info {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.order-info .info-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.order-info .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.payment-icons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.pay-icon {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pay-icon:hover {
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.12);
  transform: translateY(-2px);
}

.pay-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 44px;
  padding: 4px 6px;
  box-sizing: border-box;
}

.pay-icon-svg:nth-child(1) { animation: pay-float 3s ease-in-out infinite; }
.pay-icon-svg:nth-child(2) { animation: pay-float 3s ease-in-out 0.4s infinite; }
.pay-icon-svg:nth-child(3) { animation: pay-float 3s ease-in-out 0.8s infinite; }
.pay-icon-svg:nth-child(4) { animation: pay-float 3s ease-in-out 1.2s infinite; }

@keyframes pay-float {
  0%, 100% { transform: translateY(0); border-color: rgba(255, 255, 255, 0.10); }
  50% { transform: translateY(-2px); border-color: rgba(0, 180, 216, 0.2); }
}

@keyframes tg-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.1); box-shadow: none; }
  50% { border-color: rgba(42, 171, 238, 0.25); box-shadow: 0 0 12px rgba(42, 171, 238, 0.08); }
}

.pay-icon-svg svg {
  height: 18px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: auto;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: none;
  padding: 80px 0 40px;
  margin-top: 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5a623, #00b4d8, transparent);
  background-size: 200% 100%;
  animation: divider-glow 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.3), 0 0 24px rgba(0, 180, 216, 0.15);
}

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

.footer-brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 900;
  display: inline-block;
  background: linear-gradient(135deg, #f5a623, #8b5cf6, #00b4d8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: footer-brand-glow 5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 20px rgba(245, 166, 35, 0.15));
  margin-bottom: 16px;
}

@keyframes footer-brand-glow {
  0%, 100% { background-position: 0% center; filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.35)) drop-shadow(0 0 20px rgba(245, 166, 35, 0.15)); }
  50% { background-position: 100% center; filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 24px rgba(245, 166, 35, 0.25)); }
}

.footer-legal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  font-family: var(--font-mono);
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding: 6px 0;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

  .container {
    padding: 0 20px;
  }

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

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

  .order-wrapper {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .nav {
    padding: 8px 20px;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-hamburger.is-visible {
    display: flex !important;
  }

  .nav-links {
    display: flex !important;
  }

  .nav-links.is-collapsed {
    display: none !important;
  }

  .section {
    padding: 60px 0;
  }

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

  .step-card {
    width: 100%;
    max-width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

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

  .hero-actions-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    height: auto;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .tariff-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tariff-pricing {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .tariff-btn {
    order: 4;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 160px 0 40px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  /* Hide custom cursor on mobile */
  #cursor,
  #cursor-dot {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  body {
    cursor: auto !important;
  }
}

/* ============================================================
   Cookie Banner & Form Validation States
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: rgba(20, 28, 38, 0.92);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.cookie-text a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: none !important;
  transition: var(--transition);
}

.cookie-btn-primary {
  background: var(--amber);
  color: #0f1419;
  border: none;
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.3);
}

.cookie-btn-primary:hover {
  background: #f5b94f;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

.btn:disabled {
  opacity: 0.5;
  filter: grayscale(1);
  cursor: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   Glassmorphic Custom Service Modal
   ============================================================ */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 20, 25, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-overlay,
.custom-modal-overlay * {
  cursor: none !important;
}

.custom-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal {
  background: var(--bg-card);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  margin: 20px;
  box-sizing: border-box;
}

.custom-modal-overlay.active .custom-modal {
  transform: scale(1) translateY(0);
}

.custom-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: none !important;
  transition: var(--transition);
}

.custom-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  border-color: var(--glass-border-bright);
}

.custom-modal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--cyan), #80e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.custom-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.custom-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.custom-modal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  cursor: none !important;
}

.custom-modal-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

.custom-modal-btn {
  width: 100%;
  margin-top: 8px;
}

.custom-modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
  animation: fade-in 0.4s ease forwards;
}

.custom-modal-success svg {
  color: var(--green);
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.4));
  margin-bottom: 16px;
}

.custom-modal-success h4 {
  font-size: 24px;
  font-family: var(--font-serif);
  margin-bottom: 8px;
  color: #fff;
}

.custom-modal-success p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   Accessibility (WCAG 2.2) - Keyboard Navigation
   ============================================================ */
body.keyboard-navigation,
body.keyboard-navigation *,
body.keyboard-navigation *:hover {
  cursor: auto !important;
}

body.keyboard-navigation #cursor-wrapper,
body.keyboard-navigation #cursor-dot,
body.keyboard-navigation #cursor-ring {
  display: none !important;
}

body.keyboard-navigation :focus-visible {
  outline: 3px solid var(--amber) !important;
  outline-offset: 4px;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
  transition: outline-offset 0.2s ease;
  z-index: 10;
  border-radius: inherit;
}

/* ============================================================
   TACTILE MAXIMALISM & MOTION TOGGLE
   ============================================================ */
.squish-shadow-active {
  box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.8), 0 0 0 rgba(0, 0, 0, 0) !important;
  transition: box-shadow 0.1s ease !important;
}

.motion-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(40, 40, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.motion-toggle:hover {
  background: rgba(60, 60, 64, 0.8);
  transform: scale(1.1);
}

.motion-toggle.disabled {
  color: #ff4b4b;
}

/* ============================================================
   BENTO GRID 2.0 CONTAINER QUERIES
   ============================================================ */
@container bento-card (min-width: 500px) {
  .service-card .card-header .card-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .service-card p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Custom Select Dropdown UI */
.cs-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.cs-trigger {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-trigger:hover,
.cs-wrapper.open .cs-trigger {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 175, 54, 0.1);
}

.cs-trigger:after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.cs-wrapper.open .cs-trigger:after {
  transform: rotate(180deg);
  opacity: 1;
}

.cs-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #11141a;
  /* deep surface */
  border: 1px solid rgba(255, 175, 54, 0.3);
  /* subtle amber glow */
  border-radius: 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.cs-wrapper.open .cs-dropdown {
  max-height: 350px;
  opacity: 1;
  visibility: visible;
}

.cs-scroll {
  overflow-y: auto;
  max-height: 350px;
  padding: 8px 0;
}

.cs-scroll::-webkit-scrollbar {
  width: 6px;
}

.cs-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cs-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cs-optgroup {
  padding: 12px 16px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  opacity: 0.8;
}

.cs-optgroup:first-child {
  border-top: none;
  margin-top: 0;
}

.cs-option {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cs-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cs-option.selected {
  color: var(--amber);
  background: rgba(255, 175, 54, 0.05);
  font-weight: 600;
}

.cs-option-name {
  font-weight: 500;
  flex: 1 1 auto;
}

.cs-option-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  text-align: right;
}

.cs-option-period {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.cs-option-price {
  opacity: 1;
  font-weight: 700;
  color: var(--amber);
  font-size: 13px;
}

/* Telegram App Button */
.btn-telegram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: tg-pulse 3s ease-in-out infinite;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  width: 100%;
}

.btn-telegram svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-telegram:hover {
  background: rgba(42, 171, 238, 0.1);
  border-color: rgba(42, 171, 238, 0.4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.15);
}

.btn-telegram:hover svg {
  transform: scale(1.1) rotate(-5deg);
}

.btn-telegram:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
  background: rgba(42, 171, 238, 0.15);
}

/* Aggressive Email Link Targeting (Bypassing Cloudflare Obfuscation) */
.info-block .info-text {
  margin-bottom: 32px !important;
}

.info-block .info-text a,
.info-block .info-text a span {
  color: var(--cyan) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px dashed rgba(0, 180, 216, 0.5) !important;
  padding-bottom: 2px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-block !important;
}

.info-block .info-text a:hover,
.info-block .info-text a:hover span {
  color: #ffffff !important;
  border-bottom-color: var(--cyan) !important;
  text-shadow: 0 0 12px rgba(0, 180, 216, 0.8) !important;
  transform: translateY(-2px) !important;
}

/* Floating Action Button (Telegram) */
/* Telegram FAB */
.tg-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 180, 216, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.25);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.tg-fab:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--accent-cyan, #00b4d8);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.5);
}

.tg-fab:active {
  transform: translateY(2px) scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 180, 216, 0.25);
}

.tg-fab svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 4px var(--accent-cyan, #00b4d8));
}

.tg-fab:hover svg {
  transform: rotate(-10deg) scale(1.1);
  filter: drop-shadow(0 0 8px var(--accent-cyan, #00b4d8));
}

.tg-fab::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent-cyan, #00b4d8);
  z-index: 1;
  animation: tg-pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

@keyframes tg-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
}

@media (max-width: 768px) {
  .tg-fab {
    bottom: 24px !important;
    right: 24px !important;
    width: 50px !important;
    height: 50px !important;
  }
}