/* ==========================================================================
   Korf Digital — custom styles (Tailwind CDN handles utility classes)
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0B0B0C;
}

::selection {
  background: rgba(138, 43, 226, 0.4);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0B0B0C;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #007AFF, #8A2BE2);
  border-radius: 999px;
  border: 2px solid #0B0B0C;
}

/* ==========================================================================
   Cursor glow
   ========================================================================== */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, rgba(0, 122, 255, 0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* ==========================================================================
   Mesh / animated background
   ========================================================================== */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  will-change: transform;
}

.mesh-blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -150px;
  background: #007AFF;
  animation: driftA 22s ease-in-out infinite;
}

.mesh-blob-2 {
  width: 550px;
  height: 550px;
  top: 30%;
  right: -200px;
  background: #8A2BE2;
  animation: driftB 26s ease-in-out infinite;
}

.mesh-blob-3 {
  width: 500px;
  height: 500px;
  bottom: -220px;
  left: 30%;
  background: #007AFF;
  opacity: 0.2;
  animation: driftC 30s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 60px) scale(1.1); }
}
@keyframes driftC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.2); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

main, header, footer {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.glass-nav {
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#navbar.scrolled .glass-nav {
  background: rgba(11, 11, 12, 0.75);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.6);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-link {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}
.mobile-link:hover {
  color: #fff;
}

/* ==========================================================================
   Glass panel (cards, form)
   ========================================================================== */
.glass-panel {
  background: rgba(20, 20, 22, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.float-card {
  background: rgba(20, 20, 22, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Reveal-on-scroll (Intersection Observer driven)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Gradient text shift
   ========================================================================== */
.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.typing-cursor {
  color: #8A2BE2;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(138, 43, 226, 0.5);
  box-shadow: 0 20px 60px -20px rgba(138, 43, 226, 0.35), 0 0 0 1px rgba(138, 43, 226, 0.2);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  width: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0,122,255,0.15), rgba(138,43,226,0.15));
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s ease;
}
.service-card:hover .icon-wrap {
  transform: rotate(-6deg) scale(1.08);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Portfolio cards
   ========================================================================== */
.portfolio-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.portfolio-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.portfolio-card:hover .portfolio-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
  transform: translateY(6%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-content {
  transform: translateY(0);
}
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  transition: border-color 0.4s ease;
  pointer-events: none;
  z-index: 3;
}
.portfolio-card:hover::after {
  border-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, #007AFF, #8A2BE2);
}

.timeline-dot {
  position: absolute;
  left: -0.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #0B0B0C;
  border: 2px solid #8A2BE2;
  box-shadow: 0 0 0 6px rgba(138, 43, 226, 0.12);
}

.process-card {
  background: rgba(20, 20, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  max-width: 20rem;
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.4);
}

/* ==========================================================================
   Floating label form
   ========================================================================== */
.floating-group {
  position: relative;
}

.floating-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 1.15rem 1rem 0.55rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-input::placeholder {
  color: transparent;
}

.floating-input:focus {
  border-color: #8A2BE2;
  background: rgba(138, 43, 226, 0.05);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15), 0 0 30px -8px rgba(0, 122, 255, 0.4);
}

.floating-label {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  font-size: 0.9rem;
  color: #6b7280;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s ease, color 0.2s ease, top 0.2s ease;
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
  top: 0.5rem;
  transform: scale(0.72);
  color: #a78bfa;
}

select.floating-input {
  color: #fff;
  cursor: pointer;
}
select.floating-input:invalid {
  color: #6b7280;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-link {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  transition: all 0.3s ease;
}
.social-icon:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #007AFF, #8A2BE2);
  transform: translateY(-3px);
}
.social-icon.social-icon-whatsapp:hover {
  background: #25D366;
}
.social-icon.social-icon-telegram:hover {
  background: #229ED9;
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-mask {
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brand-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.brand-logo:hover {
  opacity: 1;
}

/* ==========================================================================
   Hero SVG chart animation
   ========================================================================== */
.chart-path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: draw 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.chart-nodes {
  opacity: 0;
  animation: fadeIn 0.8s ease 2s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.orbit-spin {
  animation: spin 18s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Back to top button
   ========================================================================== */
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   FAQ accordion (native details/summary — zero JS)
   ========================================================================== */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.faq-item[open],
.faq-item:hover {
  border-color: rgba(138, 43, 226, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}
.faq-item p {
  margin-top: 0.9rem;
  color: #9ca3af;
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ==========================================================================
   Service hero graphics — SEO ranking gauge
   ========================================================================== */
.seo-rank-badge {
  animation: rankPop 2.6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
@keyframes rankPop {
  0%, 60%, 100% { transform: scale(1); }
  70% { transform: scale(1.12); }
  80% { transform: scale(0.98); }
}
.keyword-chip {
  position: absolute;
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #d1d5db;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Service hero graphics — SMM social orbit
   ========================================================================== */
.smm-orbit-ring {
  animation: spin 20s linear infinite;
}
.smm-orbit-ring-reverse {
  animation: spinReverse 26s linear infinite;
}
@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.smm-heart-pulse {
  animation: heartPulse 1.6s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ==========================================================================
   Service hero graphics — Google Ads search mock
   ========================================================================== */
.search-typing {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #8A2BE2;
  width: 0;
  animation: typeSearch 3s steps(24, end) infinite;
}
@keyframes typeSearch {
  0% { width: 0; }
  40% { width: 15ch; }
  85% { width: 15ch; }
  100% { width: 0; }
}
.click-ripple {
  position: absolute;
  border-radius: 999px;
  border: 2px solid #007AFF;
  animation: rippleOut 2.2s ease-out infinite;
}
@keyframes rippleOut {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================================================
   Service hero graphics — Meta/Facebook feed mock
   ========================================================================== */
.feed-heart-burst {
  animation: heartBurst 2.4s ease-in-out infinite;
}
@keyframes heartBurst {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  40% { transform: scale(1.3); opacity: 1; }
  60% { transform: scale(1); opacity: 1; }
}
.feed-bar {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
}

/* ==========================================================================
   Blog post content (author-authored HTML from the admin panel)
   ========================================================================== */
.prose-content {
  color: #c3c7ce;
  font-size: 1.05rem;
  line-height: 1.85;
}
.prose-content p {
  margin-bottom: 1.4rem;
}
.prose-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-content a {
  color: #007AFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-content a:hover {
  color: #8A2BE2;
}
.prose-content ul, .prose-content ol {
  margin: 0 0 1.4rem 1.4rem;
  color: #c3c7ce;
}
.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li { margin-bottom: 0.5rem; }
.prose-content img {
  border-radius: 1rem;
  margin: 2rem 0;
}
.prose-content blockquote {
  border-left: 3px solid #8A2BE2;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #9ca3af;
  font-style: italic;
}
.prose-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  font-size: 0.9em;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}
.breadcrumb a {
  color: #9ca3af;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .sep {
  color: #3f3f46;
}
.breadcrumb .current {
  color: #d1d5db;
}

/* ==========================================================================
   Tabs (interactive "who it's for" / approach switcher)
   ========================================================================== */
.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-btn:hover {
  color: #fff;
  border-color: rgba(138, 43, 226, 0.4);
}
.tab-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Animated stat bars (scroll-triggered)
   ========================================================================== */
.stat-bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.stat-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-bar-fill.filled {
  width: var(--fill, 0%);
}

/* ==========================================================================
   Pricing / package cards
   ========================================================================== */
.pricing-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
}
.pricing-card.featured {
  border-color: rgba(138, 43, 226, 0.5);
  background: linear-gradient(180deg, rgba(138,43,226,0.08), rgba(0,122,255,0.03));
  box-shadow: 0 20px 60px -20px rgba(138, 43, 226, 0.4);
}
.pricing-card .badge-featured {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Tool / platform badges
   ========================================================================== */
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  font-weight: 500;
  color: #d1d5db;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tool-badge:hover {
  border-color: rgba(0, 122, 255, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   Mini article cards (related posts on service pages)
   ========================================================================== */
.mini-article-card {
  display: block;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.mini-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 122, 255, 0.35);
}

/* ==========================================================================
   Nav dropdown (Services — hover on desktop, tap-to-expand on mobile)
   ========================================================================== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown-trigger .nav-chevron {
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger .nav-chevron,
.nav-dropdown:focus-within .nav-dropdown-trigger .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 21rem;
  padding: 0.75rem;
  border-radius: 1.25rem;
  background: rgba(20, 20, 22, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge so the panel doesn't close when moving the cursor down to it */
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  transition: background-color 0.2s ease;
}
.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav-dropdown-item .icon-wrap {
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
}
.nav-dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}
.nav-dropdown-item-desc {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.1rem;
}
.nav-dropdown-footer {
  margin-top: 0.25rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile submenu (native details/summary, tap to expand) */
.mobile-submenu summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-submenu summary::-webkit-details-marker {
  display: none;
}
.mobile-submenu .mobile-submenu-chevron {
  transition: transform 0.3s ease;
}
.mobile-submenu[open] .mobile-submenu-chevron {
  transform: rotate(180deg);
}
.mobile-submenu-list {
  padding-top: 0.5rem;
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-submenu-list a {
  font-size: 0.9rem;
  color: #9ca3af;
  padding: 0.35rem 0;
}
.mobile-submenu-list a:hover {
  color: #fff;
}

/* ==========================================================================
   Automotive case-study motion graphic (speed lines + drifting car icon)
   ========================================================================== */
.auto-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.auto-scene .speed-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.07) 0px,
    rgba(255, 255, 255, 0.07) 2px,
    transparent 2px,
    transparent 44px
  );
  animation: speedScroll 2.6s linear infinite;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 35%, transparent 88%);
}
@keyframes speedScroll {
  from { background-position: 0 0; }
  to { background-position: -176px 0; }
}
.auto-scene .auto-car-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: carDrift 3.4s ease-in-out infinite;
}
@keyframes carDrift {
  0%, 100% { transform: translate(-50%, -50%) translateX(0); }
  50% { transform: translate(-50%, -50%) translateX(8px); }
}
.auto-scene .auto-car-icon {
  filter: drop-shadow(0 0 24px rgba(0, 122, 255, 0.55));
}
.auto-scene .headlight-glow {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 70%);
  animation: headlightPulse 1.8s ease-in-out infinite;
}
@keyframes headlightPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
.auto-scene .auction-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 600;
  color: #d1d5db;
}

/* ==========================================================================
   Admin WYSIWYG editor
   ========================================================================== */
.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 0.85rem 0.85rem 0 0;
  background: rgba(255, 255, 255, 0.03);
}
.wysiwyg-toolbar button {
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.wysiwyg-toolbar button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.wysiwyg-toolbar button.is-active {
  background: rgba(138, 43, 226, 0.2);
  color: #fff;
}
.wysiwyg-editable {
  min-height: 180px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 0.85rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  outline: none;
  line-height: 1.7;
}
.wysiwyg-editable:focus {
  border-color: #8A2BE2;
}
.wysiwyg-editable h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
.wysiwyg-editable h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.8rem 0 0.4rem;
}
.wysiwyg-editable p {
  margin-bottom: 0.75rem;
}
.wysiwyg-editable ul, .wysiwyg-editable ol {
  margin: 0.5rem 0 0.75rem 1.25rem;
}
.wysiwyg-editable ul { list-style: disc; }
.wysiwyg-editable ol { list-style: decimal; }
.wysiwyg-editable a {
  color: #007AFF;
  text-decoration: underline;
}

/* ==========================================================================
   ROI / Lost-Profit Calculator
   ========================================================================== */
.roi-card {
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 2rem;
}
@media (min-width: 640px) {
  .roi-card { padding: 2.75rem; }
}

.roi-slider-row + .roi-slider-row {
  margin-top: 2rem;
}
.roi-slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.85rem;
}
.roi-slider-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007AFF, #8A2BE2);
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(138, 43, 226, 0.15), 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007AFF, #8A2BE2);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 5px rgba(138, 43, 226, 0.15), 0 4px 14px rgba(0, 0, 0, 0.5);
}
.roi-slider::-moz-range-track {
  background: rgba(255, 255, 255, 0.08);
  height: 6px;
  border-radius: 999px;
}

.roi-cpl-badge {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1d5db;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-cpl-badge i {
  color: #8A2BE2;
  flex-shrink: 0;
}
.roi-cpl-badge span {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #007AFF, #8A2BE2);
  font-weight: 800;
}

.roi-results {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .roi-results { grid-template-columns: 1fr 1fr; }
}
.roi-result-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.roi-result-card.roi-save {
  border-color: rgba(0, 122, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.08), rgba(138, 43, 226, 0.02));
}
.roi-result-card.roi-lost {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.02));
  animation: roiLostPulse 2.4s ease-in-out infinite;
}
@keyframes roiLostPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 30px 0 rgba(239, 68, 68, 0.15); }
}
.roi-result-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.roi-result-card.roi-lost .roi-result-label { color: #f87171; }
.roi-result-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  margin-top: 0.4rem;
  line-height: 1;
}
.roi-result-card.roi-save .roi-result-value {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, #007AFF, #8A2BE2);
}
.roi-result-card.roi-lost .roi-result-value {
  color: #f87171;
}
.roi-result-note {
  font-size: 0.825rem;
  color: #9ca3af;
  margin-top: 0.6rem;
  line-height: 1.5;
}

.roi-cta-form {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Currency toggle */
.roi-currency-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.roi-currency-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6b7280;
  transition: color 0.3s ease;
}
.roi-currency-label.is-active-currency {
  color: #fff;
}
.roi-currency-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.roi-currency-toggle.is-eur {
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
  border-color: transparent;
}
.roi-currency-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.roi-currency-toggle.is-eur .roi-currency-toggle-thumb {
  transform: translateX(24px);
}

/* Low-CPL easter egg */
.roi-easter-egg {
  margin-top: 2.75rem;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.12), rgba(250, 204, 21, 0.02));
  animation: roiEasterPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes roiEasterPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.roi-easter-egg-emoji {
  font-size: 2.5rem;
  display: inline-block;
  animation: roiWobble 1.6s ease-in-out infinite;
}
@keyframes roiWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}
.roi-easter-egg-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin-top: 0.75rem;
  color: #facc15;
}
.roi-easter-egg-text {
  color: #d1d5db;
  margin-top: 0.5rem;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Locked contact form (shown during the low-CPL easter egg) */
[data-roi-cta-wrap] form {
  transition: filter 0.35s ease;
}
[data-roi-cta-wrap].roi-form-locked form {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}
.roi-form-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.roi-form-lock-overlay i {
  animation: roiLockPulse 1.8s ease-in-out infinite;
  margin-bottom: 0.25rem;
}
@keyframes roiLockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   Free SEO Analysis tool
   ========================================================================== */
.seo-analysis-card {
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 2rem;
}
@media (min-width: 640px) {
  .seo-analysis-card { padding: 2.75rem; }
}

/* URL input */
.seo-url-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.seo-url-input::placeholder { color: #6b7280; }
.seo-url-input:focus {
  border-color: #8A2BE2;
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15);
}

/* Loading state */
.seo-scan-ring {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
}
.seo-scan-ring::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #007AFF;
  border-right-color: #8A2BE2;
  animation: seoScanSpin 1s linear infinite;
}
.seo-scan-ring i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes seoScanSpin {
  to { transform: rotate(360deg); }
}
.seo-loading-progress {
  max-width: 20rem;
  margin: 0 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.seo-loading-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #007AFF, #8A2BE2);
  transition: width 0.2s linear;
}

/* Gauge */
.seo-gauge-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seo-gauge-svg { width: 100%; height: 100%; }
.seo-gauge-fill-circle {
  filter: drop-shadow(0 0 14px rgba(138, 43, 226, 0.65)) drop-shadow(0 0 4px rgba(0, 122, 255, 0.5));
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.seo-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.seo-gauge-score {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}
.seo-gauge-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
}
.seo-gauge-tag {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Metric cards */
.seo-metric-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px);
  animation: seoCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--stagger, 0) * 130ms);
}
@keyframes seoCardIn {
  to { opacity: 1; transform: translateY(0); }
}
.seo-metric-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.9rem;
}

.seo-speed-bar-track {
  margin-top: 1.1rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.seo-speed-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.seo-speed-value {
  margin-top: 0.6rem;
  font-weight: 700;
  color: #f87171;
  font-size: 0.9rem;
}

.seo-check-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.seo-check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #d1d5db;
}
.seo-check-list li.is-ok i { color: #34d399; }
.seo-check-list li.is-warn i { color: #fbbf24; }
.seo-check-list li.is-warn { color: #fbbf24; }

.seo-vitals-chart {
  width: 100%;
  height: 60px;
  margin-top: 1rem;
}
.seo-vitals-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: seoVitalsDraw 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}
@keyframes seoVitalsDraw {
  to { stroke-dashoffset: 0; }
}

/* Soft CTA block */
.seo-cta-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  text-align: center;
}
.seo-cta-message {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.5;
}
.seo-cta-offer {
  margin-top: 0.9rem;
  color: #9ca3af;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-size: 0.925rem;
}
.seo-magnetic-btn {
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
