/* ============================================
   MysliSrdcom — Dark Mode Agency 2026
   Fonts: Satoshi 400-900 + Instrument Serif
   Theme: Dark (#0a0a0a) + Red accent (#ed1c24)
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --surface: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --red: #ed1c24;
  --red-dark: #c41920;
  --red-glow: rgba(237,28,36,0.3);
  --red-subtle: rgba(237,28,36,0.08);
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 50px;
  --noise-bg: 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)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ---- NOISE OVERLAY ---- */
.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--noise-bg);
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
}

/* ---- ORB ANIMATIONS ---- */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -60px) scale(1.1); }
  50% { transform: translate(-40px, -120px) scale(0.95); }
  75% { transform: translate(-100px, 40px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-70px, 80px) scale(1.08); }
  50% { transform: translate(60px, 40px) scale(0.92); }
  75% { transform: translate(30px, -90px) scale(1.12); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, 70px) scale(1.05); }
  50% { transform: translate(-80px, -30px) scale(1.1); }
  75% { transform: translate(40px, -60px) scale(0.9); }
}

/* ---- GLOW LINE ---- */
.glow-line {
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--border);
  overflow: visible;
}
.glow-line::before,
.glow-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  height: 4px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, var(--red), rgba(237,28,36,0.4) 40%, transparent 70%);
  filter: blur(2px);
}
.glow-line::before {
  animation: glowSweep 2s ease-in-out infinite alternate;
}
.glow-line::after {
  animation: glowSweep 1.4s ease-in-out infinite alternate-reverse;
  opacity: 0.4;
}
@keyframes glowSweep {
  0% { left: 0%; }
  100% { left: 75%; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: white;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

html {
  scrollbar-color: var(--red-dark) var(--bg);
  scrollbar-width: thin;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---- CUSTOM CURSOR ---- */
.cursor,
.cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--red);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(237,28,36,0.4);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: var(--red);
}

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 64px;
  width: auto;
  transition: height 0.3s;
}

.header.scrolled .header-logo-img {
  height: 40px;
}

/* ---- HEADER CENTER (slogan + phone) ---- */
.header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.header.scrolled .header-center {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-slogan {
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.header-center-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

.header-phone {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.header-phone:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header-center {
    display: none;
  }
}

/* ---- HEADER RIGHT (phone + menu) ---- */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 101;
}

.header-phone-mobile {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: border-color 0.3s, background 0.3s;
}

.header-phone-mobile:hover {
  border-color: var(--red);
  background: var(--red-subtle);
}

/* Mobile slogan — next to logo */
.header-slogan-mobile {
  display: none;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}

.header.scrolled .header-slogan-mobile {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .header-phone-mobile {
    display: flex;
  }

  .header-slogan-mobile {
    display: flex;
  }
}

/* ---- MENU TOGGLE ---- */
.menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.3s;
}

.menu-toggle:hover {
  border-color: var(--red);
}

.menu-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle.open .menu-line:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.open .menu-line:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---- FULLSCREEN MENU ---- */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(160deg, #0a0a0a 0%, #1a0a0a 40%, #0d0808 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  overflow: hidden;
}

.fullscreen-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* Menu orbs */
.menu-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.menu-orb-1 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--red-dark), transparent 70%);
  top: -60px;
  right: -60px;
  animation: orbFloat1 14s ease-in-out infinite;
}
.menu-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--red), transparent 70%);
  bottom: -40px;
  left: -40px;
  animation: orbFloat2 18s ease-in-out infinite;
}

.menu-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
}

.menu-link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  /* Stagger: default hidden */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out, color 0.25s;
}

.menu-link:last-child { border-bottom: none; }

.menu-link:hover {
  color: #ffffff;
}

/* Stagger animation on open */
.fullscreen-menu.open .menu-link,
.fullscreen-menu.open .menu-glow-line,
.fullscreen-menu.open .menu-stats,
.fullscreen-menu.open .menu-cta,
.fullscreen-menu.open .menu-footer {
  opacity: 1;
  transform: translateY(0);
}
.fullscreen-menu.open .menu-link:nth-child(1) { transition-delay: 0.08s; }
.fullscreen-menu.open .menu-link:nth-child(2) { transition-delay: 0.14s; }
.fullscreen-menu.open .menu-link:nth-child(3) { transition-delay: 0.20s; }
.fullscreen-menu.open .menu-link:nth-child(4) { transition-delay: 0.26s; }
.fullscreen-menu.open .menu-link:nth-child(5) { transition-delay: 0.32s; }
.fullscreen-menu.open .menu-link:nth-child(6) { transition-delay: 0.38s; }
.fullscreen-menu.open .menu-glow-line { transition-delay: 0.42s; }
.fullscreen-menu.open .menu-stats { transition-delay: 0.48s; }
.fullscreen-menu.open .menu-cta { transition-delay: 0.54s; }
.fullscreen-menu.open .menu-footer { transition-delay: 0.60s; }

/* Glow line in menu */
.menu-glow-line {
  position: relative;
  width: 85%;
  max-width: 600px;
  height: 1px;
  background: var(--border);
  margin: 24px 0;
  overflow: visible;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.menu-glow-line::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 4px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, var(--red), rgba(237,28,36,0.4) 40%, transparent 70%);
  filter: blur(2px);
  animation: glowSweep 1.6s ease-in-out infinite alternate;
}

/* Menu stats */
.menu-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.menu-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  text-align: center;
}
.menu-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.menu-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.menu-stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* Menu CTA */
.menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 24px var(--red-glow);
  width: 85%;
  max-width: 600px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: all 0.35s, opacity 0.35s ease-out, transform 0.35s ease-out;
  opacity: 0;
  transform: translateY(18px);
}
.menu-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.menu-cta:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 40px rgba(237,28,36,0.45);
  transform: translateY(-2px) !important;
}
.menu-cta:hover::before {
  animation: shimmer 0.8s ease-out;
}

.menu-footer {
  position: absolute;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.menu-footer a:hover {
  color: var(--red);
}

.menu-footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(237,28,36,0.25), transparent 70%);
  top: -10%;
  left: 20%;
  animation: orbFloat1 16s ease-in-out infinite;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(196,25,32,0.2), transparent 70%);
  bottom: 10%;
  right: 10%;
  animation: orbFloat2 20s ease-in-out infinite;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(237,28,36,0.15), transparent 70%);
  top: 40%;
  left: 60%;
  animation: orbFloat3 14s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}

/* Hero pills */
/* Hero split layout */
.hero-split {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-split-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  align-self: center;
  margin-top: 70px;
}

.hero-split-arrow {
  width: 32px;
  height: 32px;
  color: var(--red);
  opacity: 0.5;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(6px); opacity: 0.8; }
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 24px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  position: relative;
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

/* Rotating red gradient border */
.hero-pill::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(237,28,36,0.06) 0%,
    rgba(237,28,36,0.03) 20%,
    rgba(237,28,36,0.35) 30%,
    var(--red) 36%,
    rgba(237,28,36,0.35) 42%,
    rgba(237,28,36,0.03) 50%,
    rgba(237,28,36,0.06) 70%,
    rgba(237,28,36,0.03) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  animation: borderGlowRotate 4s linear infinite;
}

/* Stagger each pill's rotation start */
.hero-pill:nth-child(2)::before { animation-delay: -1s; }
.hero-pill:nth-child(3)::before { animation-delay: -2s; }
.hero-pill:nth-child(4)::before { animation-delay: -3s; }

.hero-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(237,28,36,0.15);
}

.hero-pill:hover::before {
  background: conic-gradient(
    from var(--border-angle, 0deg),
    rgba(237,28,36,0.1) 0%,
    rgba(237,28,36,0.06) 20%,
    rgba(237,28,36,0.5) 30%,
    var(--red) 36%,
    rgba(237,28,36,0.5) 42%,
    rgba(237,28,36,0.06) 50%,
    rgba(237,28,36,0.1) 70%,
    rgba(237,28,36,0.06) 100%
  );
}

.hero-pill svg {
  width: 24px;
  height: 24px;
  color: var(--red);
  flex-shrink: 0;
}

.hero-pill-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-pill-text span {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-pill-text small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.2);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-split-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- SHIMMER KEYFRAME ---- */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: white;
  box-shadow: 0 4px 24px var(--red-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 40px rgba(237,28,36,0.45);
  transform: translateY(-3px);
}

.btn-primary:hover::before {
  animation: shimmer 0.8s ease-out;
}

.btn-primary:hover svg {
  animation: arrowBounce 0.6s ease-in-out infinite;
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

/* Rotating border glow */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes borderGlowRotate {
  0% { --border-angle: 0deg; }
  100% { --border-angle: 360deg; }
}

.btn-glow {
  isolation: isolate;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(
    from var(--border-angle, 0deg),
    transparent 0%,
    transparent 25%,
    rgba(255,255,255,0.5) 33%,
    white 38%,
    rgba(255,255,255,0.5) 43%,
    transparent 50%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  animation: borderGlowRotate 3s linear infinite;
}

/* Glass button */
.btn-glass {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

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

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ---- TRUST BAR ---- */
.trust {
  padding: 48px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

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

.trust-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- SECTIONS ---- */
.section {
  padding: 120px 0;
}

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

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}

/* ---- SERVICES ---- */
.services {
  padding-top: 32px;
}
.service-row {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.service-row-reverse {
  grid-template-columns: 340px 1fr;
}

.service-row-reverse .service-visual {
  order: -1;
}

.service-info {
  max-width: 800px;
}

/* Service image */
.service-visual {
  position: sticky;
  top: 120px;
}

.service-img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-placeholder {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

/* Hide placeholder when image loads */
.service-img[style*="url"] .service-img-placeholder {
  display: none;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.service-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.service-platform {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.btn-service {
  margin-top: 24px;
  align-self: flex-start;
}

.service-divider {
  height: 1px;
  background: var(--border);
  position: relative;
}

/* Ďalšie služby */
.service-more {
  padding: 48px 0 0;
}

.service-more-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.service-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-more-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.service-more-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.service-more-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.service-more-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- STATS ---- */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--red);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 4px;
  font-weight: 500;
}

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

/* ---- AI SECTION ---- */
.ai-section {
  background: var(--bg-elevated);
}

.ai-top {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}

.ai-header {
  flex: 1;
}

.ai-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* AI Cards */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid rgba(237,28,36,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: -4px 0 20px rgba(237,28,36,0.06);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), transparent);
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ai-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.ai-card-icon svg {
  width: 22px;
  height: 22px;
}

.ai-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ai-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ai-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-card-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.12);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

/* AI ORB — visual */
.ai-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-orb {
  position: relative;
  width: 360px;
  height: 360px;
}

.ai-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ff3038, var(--red), var(--red-dark));
  border-radius: 50%;
  box-shadow: 0 0 60px var(--red-glow), 0 0 120px var(--red-glow);
  animation: orbPulse 3s ease-in-out infinite;
}

/* Inner glow layer */
.ai-orb-core::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237,28,36,0.25), transparent 70%);
  animation: orbPulse 3s ease-in-out infinite reverse;
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 60px var(--red-glow), 0 0 120px rgba(237,28,36,0.15); }
  50% { transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 0 100px var(--red-glow), 0 0 200px rgba(237,28,36,0.2), 0 0 300px rgba(237,28,36,0.08); }
}

.ai-orb-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid;
}

/* Dots on rings */
.ai-orb-ring::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ai-orb-ring-1 {
  width: 180px;
  height: 180px;
  border-color: rgba(237,28,36,0.3);
  border-style: dashed;
  animation: orbRing 8s linear infinite;
}

.ai-orb-ring-1::before {
  width: 8px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red), 0 0 24px var(--red-glow);
}

.ai-orb-ring-2 {
  width: 260px;
  height: 260px;
  border-color: rgba(237,28,36,0.15);
  border-style: solid;
  animation: orbRing 14s linear infinite reverse;
}

.ai-orb-ring-2::before {
  width: 5px;
  height: 5px;
}

.ai-orb-ring-3 {
  width: 340px;
  height: 340px;
  border-color: rgba(237,28,36,0.08);
  border-style: dotted;
  animation: orbRing 20s linear infinite;
}

.ai-orb-ring-3::before {
  width: 4px;
  height: 4px;
  opacity: 0.6;
}

@keyframes orbRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); border-radius: 50%; }
  25% { border-radius: 44% 56% 48% 52%; }
  50% { transform: translate(-50%, -50%) rotate(180deg); border-radius: 52% 44% 56% 48%; }
  75% { border-radius: 56% 48% 44% 52%; }
  100% { transform: translate(-50%, -50%) rotate(360deg); border-radius: 50%; }
}

/* ---- PAUŠÁLY ---- */
.pausaly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pausaly-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.pausaly-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0.5;
}

.pausaly-card:hover {
  border-color: rgba(237,28,36,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(237,28,36,0.06);
}

.pausaly-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 16px;
}

.pausaly-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
}

.pausaly-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.pausaly-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pausaly-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.pausaly-highlight {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-subtle);
  border: 1px solid rgba(237,28,36,0.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: inline-block;
  letter-spacing: 0.02em;
}

/* ---- PROCESS ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--red), var(--border));
}

.process-step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.process-number {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
  min-width: 64px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- BLOG PREVIEW ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
}

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

.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-subtle);
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.blog-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 20px;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.blog-card:hover .blog-card-link {
  transform: translateX(6px);
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 80px 0 120px;
}

.cta-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
}

.cta-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--red);
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 32px;
}

.cta-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.cta-social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}

.cta-social:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---- FOOTER ---- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo-img {
  height: 108px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--red);
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 0 24px var(--red-glow);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-large {
    grid-column: 1 / -1;
  }

  .bento-medium:nth-child(2),
  .bento-medium:nth-child(3) {
    grid-column: span 1;
  }

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

  .ai-top {
    flex-direction: column;
    text-align: center;
  }

  .ai-orb {
    width: 220px;
    height: 220px;
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-scroll {
    display: none;
  }

  .service-row,
  .service-row-reverse {
    grid-template-columns: 1fr;
  }

  .service-row-reverse .service-visual {
    order: 0;
  }

  .service-visual {
    position: static;
    max-width: 340px;
  }

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

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

  @keyframes arrowPulse {
    0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.4; }
    50% { transform: rotate(90deg) translateX(6px); opacity: 0.8; }
  }

  .hero-pills {
    grid-template-columns: 1fr;
  }

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

  .service-more-grid {
    grid-template-columns: 1fr;
  }

  .bento-medium:nth-child(2),
  .bento-medium:nth-child(3) {
    grid-column: span 1;
  }

  .bento-small {
    grid-column: span 1;
  }

  .stats-grid {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    min-width: 120px;
  }

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

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

  .cta-box {
    padding: 48px 24px;
  }

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

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

  .menu-nav {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .menu-link::before {
    display: none;
  }

  .process-steps::before {
    left: 20px;
  }

  .process-step {
    gap: 24px;
  }

  .process-number {
    min-width: 40px;
    font-size: 1.2rem;
  }
}
