/* ================================================================
   UNEXLY — Awwwards-Level Marketing Site
   Cinematic dark + gradient orbs + glass cards + 3D tilt + grain
   ================================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #09090B;
  --bg-subtle: #111113;
  --bg-card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);

  --text: #F1F1F3;
  --text-secondary: #8A8A93;
  --text-muted: #55555E;

  --accent: #7C5CFC;
  --accent-light: #A78BFA;
  --teal: #00D4AA;
  --gradient: linear-gradient(135deg, #7C5CFC, #00D4AA);
  --gradient-text: linear-gradient(135deg, #A78BFA, #00D4AA);
  --glow-accent: rgba(124,92,252,0.4);
  --glow-teal: rgba(0,212,170,0.3);

  --green: #10B981;
  --red: #EF4444;
  --orange: #F59E0B;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; }
button { font: inherit; cursor: none; border: none; background: none; }

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

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor.hovering {
  width: 48px;
  height: 48px;
  background: var(--accent);
  mix-blend-mode: normal;
  opacity: 0.5;
}
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-follower.hovering {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 200;
  transition: none;
}

/* ---------- Web Mesh Background ---------- */
.web-mesh-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: none;
}
.btn:active { transform: scale(0.96); }
.btn-glow {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: 0 0 24px var(--glow-accent), 0 0 48px rgba(124,92,252,0.15);
}
.btn-glow:hover {
  box-shadow: 0 0 32px var(--glow-accent), 0 0 80px rgba(124,92,252,0.25);
  transform: translateY(-2px);
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-glow:hover::before { left: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-card);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(124,92,252,0.05);
}
.btn-white {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 4px 24px rgba(255,255,255,0.1);
}
.btn-white:hover {
  box-shadow: 0 8px 40px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-large { padding: 20px 52px; font-size: 17px; }
.btn-full { width: 100%; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.nav-cta {
  background: var(--gradient) !important;
  color: var(--bg) !important;
  padding: 8px 22px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  box-shadow: 0 0 16px var(--glow-accent);
}
.nav-cta:hover { background: var(--gradient) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
}
.orb--1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -10%; left: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}
.orb--2 {
  width: 500px; height: 500px;
  background: var(--teal);
  top: 20%; right: -10%;
  animation: orbFloat2 25s ease-in-out infinite;
}
.orb--3 {
  width: 400px; height: 400px;
  background: #4F46E5;
  bottom: -10%; left: 30%;
  animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 30px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -40px) scale(0.9); }
  66% { transform: translate(50px, 70px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(1.05); }
  66% { transform: translate(-30px, -70px) scale(0.92); }
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content { position: relative; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.2);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulsing 2s ease-out infinite;
}
@keyframes pulsing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Hero title */
.hero-title {
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(20deg);
  animation: wordReveal 0.7s var(--ease) forwards;
  transform-origin: bottom left;
}
.hero-line--accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.4s forwards;
}
.hero-micro {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.6s forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 2s forwards;
  z-index: 3;
}
.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-secondary);
  border-radius: 100px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  animation: photoIn 1.2s var(--ease) 0.5s forwards;
}
.hero-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0.1) 0%, rgba(9,9,11,0.6) 100%);
  pointer-events: none;
}
@keyframes photoIn {
  to { opacity: 1; transform: scale(1); }
}

/* Glass Cards */
.glass-card {
  position: absolute;
  background: rgba(20,20,25,0.75);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
  opacity: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  will-change: transform;
}
.glass-card--notif {
  top: 40px;
  left: -40px;
  animation: glassIn 0.8s var(--ease) 1.4s forwards;
}
.glass-card--metric {
  bottom: 100px;
  right: -30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  animation: glassIn 0.8s var(--ease) 1.7s forwards;
}
.glass-card--ai {
  bottom: 0;
  left: 30px;
  animation: glassIn 0.8s var(--ease) 2.0s forwards;
}
@keyframes glassIn {
  from { opacity: 0; transform: translateY(24px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.glass-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.glass-icon--green { background: rgba(16,185,129,0.15); }
.glass-icon--purple { background: rgba(167,139,250,0.15); }
.glass-text strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--text);
}
.glass-text span { font-size: 12px; color: var(--text-secondary); }
.glass-metric-label { font-size: 11px; color: var(--text-secondary); }
.glass-metric-value {
  font-size: 32px; font-weight: 800; color: var(--text);
  line-height: 1; letter-spacing: -0.02em;
}
.glass-metric-change {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--green); font-weight: 600;
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  background: var(--bg-subtle);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.marquee-item {
  font-size: 15px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.marquee-item strong {
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}
.marquee-divider {
  color: var(--accent);
  font-size: 10px;
  opacity: 0.5;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================================
   MANIFESTO (word-by-word reveal)
   ================================================================ */
.manifesto {
  padding: 200px 0;
  position: relative;
}
.manifesto-text {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-text .word {
  display: inline-block;
  color: var(--text-muted);
  transition: color 0.5s var(--ease);
}
.manifesto-text .word.lit {
  color: var(--text);
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

/* ================================================================
   FEATURES
   ================================================================ */
.features { padding: 0; }
.feat { padding: 120px 0; }
.feat--alt { background: var(--bg-subtle); }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.feat-grid--reverse { direction: rtl; }
.feat-grid--reverse > * { direction: ltr; }

.feat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.feat-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.feat-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.feat-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-checks li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.feat-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1.5px solid var(--green);
}
.feat-checks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.feat-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.feat-stat { display: flex; flex-direction: column; gap: 4px; }
.feat-stat-val {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feat-stat-label { font-size: 13px; color: var(--text-muted); }

/* Feature visuals */
.feat-visual { position: relative; }
.feat-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.feat-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,0) 50%, rgba(9,9,11,0.4) 100%);
  pointer-events: none;
}
.feat-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.feat-photo-wrap:hover .feat-photo {
  transform: scale(1.03);
}

/* Feature glass overlays */
.feat-glass {
  position: absolute;
  z-index: 5;
  background: rgba(20,20,25,0.75);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(24px) translateZ(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible .feat-glass {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition-delay: 0.4s;
}

.feat-glass--chat { bottom: -20px; right: -20px; }
.feat-glass--calendar { bottom: -20px; left: -20px; }
.feat-glass--panel { bottom: -20px; right: -20px; }
.feat-glass--crm { bottom: -20px; left: -20px; }

/* Mini chat */
.minichat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
}
.minichat-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.45;
  max-width: 85%;
}
.minichat-msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}
.minichat-msg--bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

/* Mini calendar */
.minical {
  padding: 16px;
  width: 240px;
}
.minical-header {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.minical-slot {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
}
.minical-slot--booked { background: rgba(79,70,229,0.15); color: #A5B4FC; }
.minical-slot--auto { background: rgba(16,185,129,0.12); color: #6EE7B7; }
.minical-slot--reschedule { background: rgba(245,158,11,0.12); color: #FCD34D; }

/* Mini panel */
.minipanel {
  padding: 12px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.minipanel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
}
.minipanel-row--active { background: rgba(255,255,255,0.04); }
.minipanel-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white; flex-shrink: 0;
}
.minipanel-name { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; }
.minipanel-tag {
  font-size: 9px; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; text-transform: uppercase;
}
.minipanel-tag--green { background: rgba(16,185,129,0.12); color: #6EE7B7; }
.minipanel-tag--blue { background: rgba(124,92,252,0.12); color: #A78BFA; }
.minipanel-tag--orange { background: rgba(245,158,11,0.12); color: #FCD34D; }

/* Mini CRM */
.minicrm {
  padding: 16px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.minicrm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.minicrm-label { font-size: 11px; color: var(--text-muted); }
.minicrm-val { font-size: 13px; font-weight: 700; color: var(--text); }
.minicrm-val--accent { color: var(--teal); }

/* ================================================================
   MODULES
   ================================================================ */
.modules {
  padding: 160px 0;
  position: relative;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.module-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  cursor: none;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.module-card:hover::before { opacity: 1; }
.module-card:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.mc-icon { display: block; font-size: 24px; margin-bottom: 12px; }
.mc-name {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.mc-desc {
  display: block; font-size: 12px;
  color: var(--text-muted); line-height: 1.4;
}
.module-card--soon { opacity: 0.4; }
.module-card--soon:hover {
  transform: none;
  box-shadow: none;
  background: var(--bg-card);
  border-color: var(--border);
}
.module-card--soon::before { display: none; }
.mc-soon {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 8px; border-radius: 100px;
  background: rgba(124,92,252,0.1);
  color: var(--accent-light);
}

/* ================================================================
   SECURITY
   ================================================================ */
.security {
  padding: 160px 0;
  background: var(--bg-subtle);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.security-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.security-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.sec-icon { font-size: 28px; margin-bottom: 20px; }
.security-card h4 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.security-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}

/* ================================================================
   PRICING
   ================================================================ */
.pricing { padding: 160px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s var(--ease);
}
.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.price-card--pro {
  border-color: rgba(124,92,252,0.3);
  box-shadow: 0 0 0 1px rgba(124,92,252,0.2), 0 20px 60px rgba(124,92,252,0.1);
}
.price-card--pro::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  background: var(--gradient);
  z-index: -1;
  opacity: 0.15;
}
.price-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--bg);
  font-size: 12px; font-weight: 700;
  padding: 5px 18px; border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(124,92,252,0.3);
}
.price-header { margin-bottom: 32px; }
.price-name {
  display: block; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-secondary); margin-bottom: 12px;
}
.price-row { display: flex; align-items: baseline; gap: 4px; }
.price-amount {
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
}
.price-period { font-size: 16px; color: var(--text-muted); }
.price-sub { font-size: 14px; color: var(--accent-light); font-weight: 600; margin-top: 4px; }
.price-old {
  font-size: 20px; font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
  opacity: 0.6;
}
.price-note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.price-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.price-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
}
.pricing-costs {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 680px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.pricing-costs-icon {
  flex-shrink: 0;
  color: var(--accent-light);
  margin-top: 2px;
}
.pricing-costs-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.pricing-costs-text strong {
  color: var(--text-secondary);
}

/* ================================================================
   DEMO SECTION
   ================================================================ */
.demo {
  padding: 120px 0;
  position: relative;
}
.demo-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 64px 56px;
  text-align: center;
  overflow: hidden;
}
.demo-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: var(--gradient);
  opacity: 0.06;
  z-index: -1;
  filter: blur(48px);
}
.demo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(124, 92, 252, 0.15);
  margin-bottom: 28px;
}
.demo-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.demo-title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.demo-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.demo-desc strong {
  color: var(--accent-light);
}
.demo-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.demo-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.demo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.demo-step-arrow {
  color: var(--text-muted);
  opacity: 0.4;
  display: flex;
}
.demo-micro {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .demo-card { padding: 40px 24px; }
  .demo-step-arrow { display: none; }
  .demo-steps { flex-direction: column; gap: 12px; }
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.cta {
  padding: 200px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.cta-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb--4 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: 50%; left: 20%;
  transform: translate(-50%, -50%);
  animation: orbFloat1 18s ease-in-out infinite;
}
.orb--5 {
  width: 400px; height: 400px;
  background: var(--teal);
  top: 50%; right: 10%;
  transform: translate(0, -50%);
  animation: orbFloat2 22s ease-in-out infinite;
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-title .word {
  display: inline-block;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 44px;
}
.cta-micro {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(16px);
  color: #6ee7b7;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.toast.toast--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast.toast--error {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact {
  padding: 120px 0;
  position: relative;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
}
.section-desc strong {
  color: var(--accent-light);
}
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  backdrop-filter: blur(16px);
}
.contact-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: var(--gradient);
  opacity: 0.08;
  z-index: -1;
  filter: blur(32px);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-field label svg {
  opacity: 0.6;
}
.contact-field input,
.contact-field textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-muted);
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  background: rgba(124, 92, 252, 0.04);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.12), 0 4px 24px rgba(124, 92, 252, 0.06);
}
.contact-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-promise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6ee7b7;
  font-weight: 500;
}
@media (max-width: 600px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px; }
  .contact-footer { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo {
  height: 28px; width: auto;
  opacity: 0.9;
  object-fit: contain;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); }
.footer-nav { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-secondary); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .feat-grid, .feat-grid--reverse { grid-template-columns: 1fr; gap: 48px; direction: ltr; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  a, button { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  .nav-links {
    display: none; position: fixed;
    inset: 0;
    background: rgba(9,9,11,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 28px; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; color: var(--text); }
  .nav-toggle { display: flex; z-index: 101; }
  .hero { padding: 120px 20px 80px; }
  .hero-photo { height: 380px; }
  .glass-card--notif { left: 10px; top: 20px; }
  .glass-card--metric { right: 10px; bottom: 80px; }
  .glass-card--ai { left: 10px; bottom: 10px; }
  .manifesto { padding: 120px 0; }
  .manifesto-text { font-size: clamp(22px, 5vw, 36px); }
  .feat { padding: 80px 0; }
  .feat-photo { height: 320px; }
  .feat-glass { display: none; }
  .modules { padding: 100px 0; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .security { padding: 100px 0; }
  .security-grid { grid-template-columns: 1fr; }
  .pricing { padding: 100px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .cta { padding: 120px 0; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 38px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .feat-stats { flex-direction: column; gap: 20px; }
  .module-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .module-card { padding: 16px; }
  .glass-card { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .word { opacity: 1; transform: none; animation: none; }
  .hero-badge, .hero-sub, .hero-actions, .hero-micro { opacity: 1; animation: none; }
  .hero-photo { opacity: 1; transform: none; animation: none; }
  .glass-card { opacity: 1; animation: none; }
  .orb { animation: none; }
  .floating-icon { transition: none; }
  .marquee-track { animation: none; }
  .scroll-indicator { opacity: 1; animation: none; }
}

