/* ==========================================================================
   L | F.I.S. Agency — Premium Digital Production & AI Engineering
   Vanilla CSS Design System (Obsidian Dark Theme + Crisp Alabaster Light Theme)
   ========================================================================== */

:root {
  /* Common typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ================= DARK THEME (DEFAULT) ================= */
[data-theme="dark"] {
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-card: rgba(13, 17, 26, 0.72);
  --bg-card-hover: rgba(20, 26, 40, 0.88);
  --bg-surface: #101522;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(99, 102, 241, 0.25);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;

  --glow-primary: rgba(99, 102, 241, 0.16);
  --glow-cyan: rgba(56, 189, 248, 0.12);
  --glow-orb-1: rgba(99, 102, 241, 0.08);
  --glow-orb-2: rgba(56, 189, 248, 0.05);
  --glow-orb-3: rgba(168, 85, 247, 0.04);

  --glass-bg: rgba(11, 15, 25, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.15);

  --nav-bg: rgba(7, 9, 14, 0.85);
  --hero-gradient: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  --section-divider: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ================= LIGHT THEME (CRISP ALABASTER) ================= */
[data-theme="light"] {
  --bg-primary: #f7f8fc;
  --bg-secondary: #eef0f6;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-surface: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.06);
  --border-medium: rgba(15, 23, 42, 0.12);
  --border-glow: rgba(99, 102, 241, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  --accent-emerald: #059669;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;

  --glow-primary: rgba(99, 102, 241, 0.14);
  --glow-cyan: rgba(6, 182, 212, 0.1);
  --glow-orb-1: rgba(99, 102, 241, 0.06);
  --glow-orb-2: rgba(6, 182, 212, 0.05);
  --glow-orb-3: rgba(124, 58, 237, 0.04);

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(15, 23, 42, 0.07);
  --glass-blur: 24px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 36px -10px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 32px rgba(99, 102, 241, 0.14);

  --nav-bg: rgba(247, 248, 252, 0.9);
  --hero-gradient: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  --section-divider: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  min-height: 100vh;
}

/* Grain texture overlay for premium depth */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

[data-theme="light"] .grain-overlay {
  opacity: 0.03;
}

/* Ambient glow orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-normal);
}

.glow-1 {
  top: -120px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: var(--glow-orb-1);
}

.glow-2 {
  top: 30%;
  right: -120px;
  width: 600px;
  height: 600px;
  background: var(--glow-orb-2);
}

.glow-3 {
  bottom: 8%;
  left: -160px;
  width: 650px;
  height: 650px;
  background: var(--glow-orb-3);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
}

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

/* Glassmorphism panel base */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

[data-theme="light"] .glass-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.06);
}

.glass-panel-glow {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .glass-panel-glow {
  border-top: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}

/* Status indicator pulse */
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.live {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

/* Gradients */
.gradient-text {
  background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.gradient-text-alt {
  background: linear-gradient(180deg, #ffffff 20%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(180deg, #0f172a 20%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .gradient-text-alt {
  background: linear-gradient(180deg, #0f172a 10%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-primary-hover) 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow-primary);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--glow-primary);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* ================= HEADER & NAVBAR ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo mark styling matching logo.jpg */
.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1;
}

.logo-l {
  font-weight: 800;
}

.logo-pipe {
  font-weight: 300;
  color: var(--accent-primary);
  margin: 0 1px;
}

.logo-fis {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo-dots {
  color: var(--accent-primary);
  font-size: 0.6rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  transition: width var(--transition-fast);
  border-radius: 1px;
}

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

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

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

/* ================= LANGUAGE SWITCHER ================= */
.lang-switcher {
  position: relative;
  z-index: 110;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-current:hover {
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-label {
  letter-spacing: 0.04em;
}

.lang-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

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

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all var(--transition-fast);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}

.lang-option.active {
  color: var(--accent-primary);
  background: rgba(129, 140, 248, 0.08);
  font-weight: 700;
}

[data-theme="light"] .lang-option.active {
  background: rgba(99, 102, 241, 0.08);
}

/* Theme toggle button */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-theme-toggle svg {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
}

.btn-theme-toggle:hover {
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* Hamburger button */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--glass-bg);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

.btn-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.btn-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.btn-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding: 24px 14px;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  letter-spacing: -0.02em;
  text-align: center;
}

.stat-symbol {
  color: var(--accent-primary);
  font-size: 1.45rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-value > .stat-symbol:first-child {
  margin-left: 0;
  margin-right: 2px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: center;
}

/* Hero graphic card 3D Parallax Hub */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-graphic-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform-style: preserve-3d;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
  will-change: transform;
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
}

.card-system-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-system-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.crosshair-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
  line-height: 1;
}

.badge-status-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-emerald);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.hero-interactive-screen {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 50%, rgba(129, 140, 248, 0.1) 0%, rgba(6, 8, 16, 0.96) 80%);
  transform-style: preserve-3d;
}

[data-theme="light"] .hero-interactive-screen {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.06) 0%, #f1f5f9 85%);
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.hero-canvas:active {
  cursor: grabbing;
}

.screen-overlay-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  border: 1px solid var(--border-medium);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  transition: transform 0.15s ease-out;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .floating-badge {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.floating-badge.badge-top-right {
  top: 14px;
  right: 14px;
}

.floating-badge.badge-bottom-left {
  bottom: 14px;
  left: 14px;
}

.floating-badge.badge-center-right {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.badge-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.badge-icon-wrap svg {
  width: 15px;
  height: 15px;
}

.badge-title {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.canvas-hint-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 24, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.72rem;
  color: var(--text-muted);
  pointer-events: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hint-svg {
  width: 12px;
  height: 12px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

[data-theme="light"] .canvas-hint-pill {
  background: rgba(255, 255, 255, 0.75);
}

.hero-canvas-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-canvas-action {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-canvas-action svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.btn-canvas-action:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.btn-canvas-action.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.hero-telemetry-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-muted);
}

.telemetry-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= SECTION COMMON ================= */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

/* Decorative divider between sections */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--section-divider);
}

.hero-section::before {
  display: none;
}

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

.section-header.text-center {
  text-align: center;
}

.section-tag {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ================= SCROLL REVEAL ================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children reveal */
.pillars-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.pillars-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.process-steps-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.process-steps-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.process-steps-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.faq-accordion-wrap .reveal-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.faq-accordion-wrap .reveal-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.faq-accordion-wrap .reveal-on-scroll:nth-child(4) { transition-delay: 0.18s; }

/* ================= DIRECTIONS / THREE PILLARS ================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.pillar-badge-category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
}

.pillar-badge-category .category-svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.pillar-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.pillar-card:hover .pillar-img {
  transform: scale(1.06);
}

.pillar-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-card) 100%);
}

.pillar-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.tech-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.tech-chip {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  color: var(--text-main);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.tech-chip:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

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

.pillar-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pillar-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-cta {
  margin-top: auto;
}

/* ================= SHOWCASE ================= */
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px var(--glow-primary);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity 0.3s;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.case-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.case-card:hover .case-thumb {
  transform: scale(1.05);
}

.case-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.case-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ================= CALCULATOR ================= */
.calc-card {
  padding: 36px;
  border-radius: var(--radius-xl);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.calc-group {
  margin-bottom: 30px;
}

.calc-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

.calc-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.calc-radio-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
}

.calc-radio-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.calc-radio-card.active {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

.radio-svg {
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
}

.calc-radio-card:hover .radio-svg {
  transform: translateY(-2px);
}

.radio-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.radio-title {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.radio-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Checkbox modules */
.calc-checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-checkbox-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-checkbox-card input {
  position: absolute;
  opacity: 0;
}

.custom-chk {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.calc-checkbox-card input:checked + .custom-chk {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.calc-checkbox-card input:checked + .custom-chk::after {
  content: '✓';
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.calc-checkbox-card.active {
  border-color: var(--border-glow);
}

.chk-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chk-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.chk-price {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Urgency selector */
.urgency-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.urgency-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.urgency-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-main);
}

.urgency-svg {
  width: 14px;
  height: 14px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.urgency-btn span {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-main);
}

.urgency-btn small {
  font-size: 0.6875rem;
  color: var(--text-subtle);
}

.urgency-btn:hover {
  border-color: var(--border-medium);
}

.urgency-btn.active {
  border-color: var(--accent-primary);
  background: rgba(129, 140, 248, 0.06);
  box-shadow: 0 0 14px var(--glow-primary);
}

/* Calc Result Box */
.calc-result-box {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  background: var(--bg-surface);
}

.calc-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.result-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.live-dot-pulse {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  animation: pulse-dot 2s infinite;
}

.calc-summary-item {
  margin-bottom: 20px;
}

.summary-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.calc-price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
}

.calc-price-display .currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.calc-price-display #calc-total-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  transition: color var(--transition-fast);
}

.calc-price-display .price-suffix {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.calc-days-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.calc-days-display svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

.calc-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.calc-benefit {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.calc-disclaimer {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 1.4;
  text-align: center;
}

/* ================= PROCESS ================= */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================= FAQ ================= */
.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

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

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 26px;
}

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

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ================= CONTACT ================= */
.contact-card {
  padding: 48px;
  border-radius: var(--radius-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 14px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-method-item:hover {
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.method-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.method-icon-wrap.tg {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
}

.method-icon-wrap.mail {
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-primary);
}

.method-icon-wrap.crm {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-emerald);
}

.method-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-bottom: 2px;
}

.method-val {
  font-weight: 700;
  color: var(--text-main);
}

.method-link {
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Contact form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px var(--glow-primary);
}

.form-calc-attached {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.form-privacy {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.4;
}

/* ================= FOOTER ================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 80px 0 36px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand .brand-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-about {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Floating TG Button */
.floating-tg-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
  z-index: 99;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-tg-btn svg {
  width: 24px;
  height: 24px;
}

.floating-tg-btn:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.5);
}

/* Toast container */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toast-in 0.3s ease-out forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animations helper */
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-desc {
    margin: 0 auto;
  }

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

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

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

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

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

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

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

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .btn-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-links.active {
    transform: translateY(0);
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .calc-radio-grid {
    grid-template-columns: 1fr;
  }

  .urgency-selector {
    grid-template-columns: 1fr;
  }

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

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-card, .calc-card {
    padding: 24px 18px;
  }

  .section {
    padding: 80px 0;
  }

  .lang-dropdown {
    right: -20px;
  }
}
