/*
Theme Name: Rhinoo
Theme URI: https://rhinoo.ai
Author: Rhinoo Team
Author URI: https://rhinoo.ai
Description: Custom high-conversion landing theme for Rhinoo AI Agency. Built with Tailwind CSS + ACF Flexible Content. Mobile-first, neon dark theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhinoo
*/

/* Tailwind will be loaded via CDN in functions.php for quick start.
   For production, replace with your built CSS file. */

:root {
  --accent: #C026D3;
  --accent-dark: #a21caf;
  --neon-purple: #C026D3;
  --neon-pink: #E040FB;
  --bg-primary: #0D0A1F;
  --bg-surface: #1A1535;
}

.glass {
  background: rgba(26, 21, 53, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(192, 38, 211, 0.15);
}

header.glass {
  border-left: none;
  border-right: none;
  border-top: none;
}

header nav .menu,
header nav ul {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav .menu li,
header nav ul li {
  margin: 0;
  padding: 0;
}

.header-nav a,
header nav .menu a,
header nav ul a,
.header-nav-link {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
  .header-nav a,
  header nav .menu a,
  header nav ul a {
    font-size: 1.125rem;
  }
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary) !important;
  position: relative;
  overflow-x: hidden;
}

/* Neon Grid Background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
      linear-gradient(rgba(192, 38, 211, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(192, 38, 211, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Ambient Light Glows */
body::after {
  content: '';
  position: fixed;
  top: 10%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-right {
  position: fixed;
  bottom: 10%;
  right: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.06) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above backgrounds */
header, main, footer, section {
  position: relative;
  z-index: 10;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #140F2D;
}
::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* Neon text & headers */
h1 {
  text-shadow: 0 0 15px rgba(192, 38, 211, 0.4),
               0 0 30px rgba(192, 38, 211, 0.2);
  animation: textGlow 3s ease-in-out infinite alternate;
}

.neon-text {
  text-shadow: 0 0 10px rgba(192, 38, 211, 0.6),
               0 0 20px rgba(192, 38, 211, 0.4);
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px rgba(192, 38, 211, 0.4),
                 0 0 20px rgba(192, 38, 211, 0.2);
  }
  to {
    text-shadow: 0 0 20px rgba(192, 38, 211, 0.7),
                 0 0 35px rgba(192, 38, 211, 0.4),
                 0 0 50px rgba(224, 64, 251, 0.2);
  }
}

/* Neon Glass Cards */
.scroll-animate.bg-white\/5,
#services .grid > div,
.pricing-card {
  background: rgba(26, 21, 53, 0.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(192, 38, 211, 0.15) !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.scroll-animate.bg-white\/5:hover,
#services .grid > div:hover,
.pricing-card:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(224, 64, 251, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 25px rgba(192, 38, 211, 0.25) !important;
}

/* Popular tier extra glow */
.pricing-card.popular {
  border-color: rgba(192, 38, 211, 0.5) !important;
  box-shadow: 0 0 20px rgba(192, 38, 211, 0.2) !important;
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px) !important;
  box-shadow: 0 25px 50px -12px rgba(192, 38, 255, 0.3),
              0 0 35px rgba(192, 38, 211, 0.45) !important;
}

/* Neon buttons with shining sweeps */
.pulse-cta,
.hero-capture-btn,
#contact form button[type="submit"],
.pricing-card.popular button,
#lead-modal button[type="submit"] {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(192, 38, 211, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.pulse-cta:hover,
.hero-capture-btn:hover,
#contact form button[type="submit"]:hover,
.pricing-card.popular button:hover,
#lead-modal button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(192, 38, 211, 0.6) !important;
  filter: brightness(1.1) !important;
}

/* Shiny Sweep Animation */
.pulse-cta::after,
.hero-capture-btn::after,
#contact form button[type="submit"]::after,
.pricing-card.popular button::after,
#lead-modal button[type="submit"]::after {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: -100% !important;
  width: 50% !important;
  height: 200% !important;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.3),
      transparent
  ) !important;
  transition: 0.5s !important;
}

.pulse-cta:hover::after,
.hero-capture-btn:hover::after,
#contact form button[type="submit"]:hover::after,
.pricing-card.popular button:hover::after,
#lead-modal button[type="submit"]:hover::after {
  left: 250% !important;
}

/* Input elements glow on focus */
input, select, textarea {
  transition: all 0.3s ease !important;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--neon-purple) !important;
  box-shadow: 0 0 0 4px rgba(192, 38, 211, 0.2) !important;
  outline: none !important;
}

/* Modals */
#rhinoo-modals-root {
  display: contents;
}

.rhinoo-modal {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 1000000 !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8) !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.rhinoo-modal.is-open,
.rhinoo-modal[data-rhinoo-open="true"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.admin-bar .rhinoo-modal {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .rhinoo-modal {
    top: 46px;
  }
}

#service-modal {
  z-index: 1000001 !important;
}

.timed-cta-modal {
  z-index: 1000000 !important;
}

.rhinoo-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.rhinoo-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  background: #0f0a1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  color: #fff;
}

#service-modal .rhinoo-modal-panel {
  max-width: 48rem;
  max-height: 90vh;
  overflow-y: auto;
}

.rhinoo-modal input,
.rhinoo-modal select,
.rhinoo-modal textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.875rem 1.5rem;
  color: #fff;
}

.rhinoo-modal button[type="submit"],
.rhinoo-modal .timed-cta-action {
  cursor: pointer;
}

body.rhinoo-modal-active {
  overflow: hidden;
}

.modal {
  background: #140F2D !important;
  border: 1px solid rgba(192, 38, 211, 0.3) !important;
  box-shadow: 0 0 30px rgba(192, 38, 211, 0.25) !important;
  animation: modalEnter 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

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

/* Scroll reveal animations fallback settings */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }

/* Pulse for main CTA */
.pulse-cta {
  animation: subtlePulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 15px rgba(192, 38, 211, 0.4); }
  50% { box-shadow: 0 0 25px rgba(192, 38, 211, 0.7); }
}

/* Fix select option color issue */
select option {
  background-color: #0f0a1f !important;
  color: #ffffff !important;
}

/* ==================== AI SERVICES SECTION CUSTOM STYLES ==================== */

.services-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(192, 38, 211, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: #A8A0B8;
}

.services-filter-btn.active {
    background: linear-gradient(90deg, #c026ff, #E040FB);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.5);
}

.services-filter-btn:not(.active):hover {
    background: rgba(192, 38, 211, 0.1);
    border-color: rgba(192, 38, 211, 0.5);
    color: white;
}

.service-grid-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.service-grid-card.hidden-card {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

/* Custom interactive service card style */
.service-eng-card {
    position: relative;
    overflow: hidden;
    background: rgba(26, 21, 53, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-eng-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(224, 64, 251, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.service-eng-card:hover::before {
    opacity: 1;
}

.service-eng-card:hover {
    transform: translateY(-8px);
    border-color: rgba(224, 64, 251, 0.8);
    box-shadow: 0 10px 30px rgba(192, 38, 211, 0.25), 0 0 20px rgba(224, 64, 251, 0.1);
}

/* Custom icon animation */
.service-icon-wrapper {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-eng-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #c026ff, #E040FB);
    box-shadow: 0 0 15px rgba(224, 64, 251, 0.6);
}

/* Card tech stack tags */
.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-eng-card:hover .tech-tag {
    border-color: rgba(192, 38, 211, 0.4);
    background: rgba(192, 38, 211, 0.1);
    color: white;
}

/* Micro SVG icon anims */
.service-eng-card:hover svg path {
    stroke-dasharray: 100;
    animation: dash 1.5s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -200;
    }
}

/* ==================== PREMIUM FOOTER INTERACTIVE STYLES ==================== */

.interactive-footer {
    position: relative;
    background: #0a0618;
    overflow: hidden;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* Ambient glow background that lights up on footer hover */
.interactive-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 38, 255, 0.12) 0%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.6s ease;
    opacity: 0.6;
}

.interactive-footer:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.2);
    background: radial-gradient(circle, rgba(192, 38, 255, 0.2) 0%, rgba(224, 64, 251, 0.05) 50%, rgba(0,0,0,0) 75%);
}

/* Animated top border gradient that activates on footer hover */
.interactive-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 38, 255, 0.2), rgba(224, 64, 251, 0.2), transparent);
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-footer:hover::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(192, 38, 255, 0.6) 20%, 
        rgba(224, 64, 251, 0.9) 50%, 
        rgba(192, 38, 255, 0.6) 80%, 
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(192, 38, 255, 0.3);
}

/* Logo container styling and hover effects */
.footer-logo-container {
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-img {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease;
}

.footer-logo-text {
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.footer-logo-container:hover .footer-logo-img {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 0 8px rgba(192, 38, 255, 0.8));
}

.footer-logo-container:hover .footer-logo-text {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(192, 38, 255, 0.8), 0 0 24px rgba(224, 64, 251, 0.5);
}

/* Footer copyright — flame burst on hover */
.footer-flame-text {
    position: relative;
    display: inline-block;
    cursor: default;
    transition: color 0.35s ease, text-shadow 0.35s ease;
    isolation: isolate;
}

.footer-flame-text--muted {
    color: rgba(255, 255, 255, 0.4);
}

.footer-flame-text::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: -2px;
    height: 140%;
    border-radius: 6px;
    background: radial-gradient(
        ellipse 90% 55% at 50% 100%,
        rgba(253, 224, 71, 0.45) 0%,
        rgba(251, 146, 60, 0.35) 22%,
        rgba(192, 38, 255, 0.3) 48%,
        transparent 72%
    );
    opacity: 0;
    transform: translateY(8px) scale(0.85);
    filter: blur(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: -1;
    pointer-events: none;
}

.footer-flame-text:hover {
    color: #ffffff;
    animation: footerFlameFlicker 0.75s ease-in-out infinite;
}

.footer-flame-text:hover::before {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: footerFlameRise 0.65s ease-in-out infinite alternate;
}

.footer-flame-divider {
    transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.35s ease;
}

.footer-flame-text:hover + .footer-flame-divider,
.footer-flame-divider:has(+ .footer-flame-text:hover) {
    color: rgba(253, 224, 71, 0.85);
    text-shadow:
        0 0 8px rgba(251, 146, 60, 0.7),
        0 0 16px rgba(192, 38, 255, 0.5);
    opacity: 1;
}

@keyframes footerFlameFlicker {
    0%, 100% {
        text-shadow:
            0 0 6px rgba(253, 224, 71, 0.55),
            0 0 14px rgba(251, 146, 60, 0.65),
            0 0 24px rgba(192, 38, 255, 0.75),
            0 0 36px rgba(224, 64, 251, 0.35);
    }
    35% {
        text-shadow:
            0 0 10px rgba(253, 224, 71, 0.95),
            0 0 20px rgba(251, 113, 133, 0.75),
            0 0 32px rgba(192, 38, 255, 0.9),
            0 -3px 18px rgba(236, 72, 153, 0.45);
    }
    70% {
        text-shadow:
            0 0 8px rgba(224, 64, 251, 0.85),
            0 0 22px rgba(192, 38, 255, 0.8),
            0 0 34px rgba(251, 146, 60, 0.5),
            0 -2px 14px rgba(253, 224, 71, 0.4);
    }
}

@keyframes footerFlameRise {
    from {
        opacity: 0.55;
        filter: blur(5px);
        transform: translateY(2px) scale(0.95);
    }
    to {
        opacity: 1;
        filter: blur(9px);
        transform: translateY(-2px) scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-flame-text:hover {
        animation: none;
        text-shadow: 0 0 12px rgba(192, 38, 255, 0.6), 0 0 24px rgba(224, 64, 251, 0.35);
    }

    .footer-flame-text:hover::before {
        animation: none;
    }
}

/* ==================== PAGE LOADER ==================== */

.rhinoo-loader-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 38, 255, 0.2) 0%, transparent 70%);
    animation: loaderGlowPulse 2s ease-in-out infinite;
    pointer-events: none;
}

.rhinoo-loader-brand {
    position: relative;
    z-index: 1;
}

.rhinoo-loader-img {
    animation: loaderLogoHover 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
}

.rhinoo-loader-text {
    animation: loaderTextHover 1.8s ease-in-out infinite;
}

@keyframes loaderLogoHover {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 6px rgba(192, 38, 255, 0.4));
    }
    50% {
        transform: scale(1.15) rotate(8deg);
        filter: drop-shadow(0 0 14px rgba(192, 38, 255, 0.85));
    }
}

@keyframes loaderTextHover {
    0%, 100% {
        color: rgba(255, 255, 255, 0.85);
        text-shadow: none;
    }
    50% {
        color: #ffffff;
        text-shadow: 0 0 12px rgba(192, 38, 255, 0.8), 0 0 24px rgba(224, 64, 251, 0.5);
    }
}

@keyframes loaderGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Link hover micro-animations */
.footer-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.footer-link:hover {
    color: #c026ff !important;
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(192, 38, 255, 0.4);
}

/* ==================== TIMED CTA MODALS & NODDING LOGO ==================== */

.timed-cta-panel {
    animation: modalEnter 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.rhino-logo-animated {
    position: relative;
    width: 96px;
    height: 96px;
}

.rhino-logo-animated::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 38, 255, 0.18) 0%, transparent 70%);
    animation: logoGlowPulse 2.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.rhino-logo-whole {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    transform-origin: 50% 90%;
    animation: rhinoLogoNod 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 14px rgba(192, 38, 255, 0.45));
}

.rhino-logo-animated--eager .rhino-logo-whole {
    animation: rhinoLogoNodEager 1.8s ease-in-out infinite;
}

@keyframes rhinoLogoNod {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    20% { transform: rotate(4deg) translateY(2px); }
    45% { transform: rotate(-2deg) translateY(0); }
    65% { transform: rotate(3deg) translateY(1px); }
    85% { transform: rotate(0deg) translateY(0); }
}

@keyframes rhinoLogoNodEager {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    15% { transform: rotate(5deg) translateY(3px); }
    35% { transform: rotate(-2deg) translateY(0); }
    55% { transform: rotate(4deg) translateY(2px); }
    75% { transform: rotate(-1deg) translateY(0); }
}

@keyframes logoGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.timed-cta-action {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink)) !important;
    box-shadow: 0 4px 15px rgba(192, 38, 211, 0.4);
    position: relative;
    overflow: hidden;
}

.timed-cta-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 38, 211, 0.55);
}

/* ==================== DOCUMENTATION — COMING SOON ==================== */

.docs-soon-card {
    background: rgba(26, 21, 53, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(192, 38, 211, 0.2);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 0 60px rgba(192, 38, 211, 0.08);
    position: relative;
    overflow: hidden;
}

.docs-soon-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(192, 38, 255, 0.04) 50%, transparent 60%);
    animation: docsScanSweep 4s ease-in-out infinite;
    pointer-events: none;
}

.docs-soon-grid {
    background-image:
        linear-gradient(rgba(192, 38, 211, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 38, 211, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.docs-soon-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: docsOrbFloat 8s ease-in-out infinite;
}

.docs-soon-orb--1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: -10%;
    background: rgba(192, 38, 255, 0.12);
}

.docs-soon-orb--2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    right: -8%;
    background: rgba(224, 64, 251, 0.08);
    animation-delay: -3s;
}

.docs-soon-orb--3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    background: rgba(192, 38, 255, 0.06);
    animation-delay: -5s;
}

.docs-floater {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-family: ui-monospace, monospace;
    font-size: 11px;
    color: rgba(192, 38, 255, 0.25);
    animation: docsFloaterDrift 6s ease-in-out infinite;
    animation-delay: var(--d);
    pointer-events: none;
    white-space: nowrap;
}

.docs-soon-orbit {
    position: relative;
    width: 140px;
    height: 140px;
}

.docs-soon-orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(192, 38, 255, 0.3);
    border-radius: 50%;
    animation: docsOrbitSpin 12s linear infinite;
}

.docs-soon-orbit-ring--2 {
    inset: 12px;
    border-style: solid;
    border-color: rgba(224, 64, 251, 0.15);
    animation-direction: reverse;
    animation-duration: 8s;
}

.docs-soon-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #c026ff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(192, 38, 255, 0.8);
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -4px;
    animation: docsOrbitDot 6s linear infinite;
}

.docs-soon-orbit-dot--2 { animation-duration: 8s; animation-delay: -2s; }
.docs-soon-orbit-dot--3 { animation-duration: 10s; animation-delay: -4s; }

.docs-soon-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
}

.docs-soon-badge {
    background: rgba(192, 38, 255, 0.1);
    border: 1px solid rgba(192, 38, 255, 0.35);
    color: #c026ff;
    animation: docsBadgePulse 2.5s ease-in-out infinite;
}

.docs-soon-ping {
    width: 6px;
    height: 6px;
    background: #c026ff;
    border-radius: 50%;
    animation: docsPing 1.5s ease-out infinite;
}

.docs-soon-title {
    background: linear-gradient(90deg, #fff 0%, #e9d5ff 40%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: docsTitleShine 3s linear infinite, docsGlitch 5s steps(1) infinite;
    text-shadow: none;
}

.docs-soon-terminal {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
}

.docs-term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.docs-term-dot--red { background: #ff5f57; }
.docs-term-dot--yellow { background: #febc2e; }
.docs-term-dot--green { background: #28c840; }

.docs-cursor {
    color: #c026ff;
    animation: docsCursorBlink 0.8s step-end infinite;
}

.docs-soon-progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.docs-soon-progress-fill {
    height: 100%;
    width: 67%;
    background: linear-gradient(90deg, #c026ff, #E040FB, #c026ff);
    background-size: 200% 100%;
    border-radius: 99px;
    animation: docsProgressShimmer 2s linear infinite, docsProgressPulse 4s ease-in-out infinite;
}

.docs-soon-chip {
    font-size: 11px;
    font-family: ui-monospace, monospace;
    padding: 0.4rem 0.9rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 38, 255, 0.2);
    color: rgba(255, 255, 255, 0.55);
    animation: docsChipFloat 3s ease-in-out infinite;
}

.docs-soon-chip:nth-child(2) { animation-delay: 0.4s; }
.docs-soon-chip:nth-child(3) { animation-delay: 0.8s; }
.docs-soon-chip:nth-child(4) { animation-delay: 1.2s; }
.docs-soon-chip:nth-child(5) { animation-delay: 1.6s; }

.docs-soon-chip:hover {
    border-color: rgba(192, 38, 255, 0.6);
    color: white;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@keyframes docsOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes docsFloaterDrift {
    0%, 100% { opacity: 0.15; transform: translateY(0); }
    50% { opacity: 0.45; transform: translateY(-12px); }
}

@keyframes docsOrbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes docsOrbitDot {
    0% { transform: rotate(0deg) translateX(70px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

@keyframes docsBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 38, 255, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(192, 38, 255, 0.15); }
}

@keyframes docsPing {
    0% { box-shadow: 0 0 0 0 rgba(192, 38, 255, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(192, 38, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 38, 255, 0); }
}

@keyframes docsTitleShine {
    to { background-position: 200% center; }
}

@keyframes docsGlitch {
    0%, 90%, 100% { transform: translate(0); filter: none; }
    92% { transform: translate(-2px, 1px); filter: hue-rotate(20deg); }
    94% { transform: translate(2px, -1px); }
    96% { transform: translate(-1px, -1px); filter: hue-rotate(-10deg); }
}

@keyframes docsScanSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes docsCursorBlink {
    50% { opacity: 0; }
}

@keyframes docsProgressShimmer {
    to { background-position: 200% 0; }
}

@keyframes docsProgressPulse {
    0%, 100% { width: 62%; }
    50% { width: 72%; }
}

@keyframes docsChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ==================== CASE STUDIES PAGE ==================== */

.case-study-block {
    position: relative;
}

.case-study-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(192, 38, 255, 0.35), rgba(224, 64, 251, 0.35), transparent);
    margin-bottom: 3rem;
    opacity: 0;
    transform: scaleX(0.6);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-block.visible .case-study-divider {
    opacity: 1;
    transform: scaleX(1);
}

.case-study-block:first-child .case-study-divider {
    display: none;
}

.case-study-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    background: rgba(26, 21, 53, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(192, 38, 211, 0.18);
    border-radius: 2rem;
    padding: 2.5rem;
    transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
    overflow: hidden;
    position: relative;
}

.case-study-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224, 64, 251, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.case-study-block:hover .case-study-inner {
    border-color: rgba(224, 64, 251, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(192, 38, 211, 0.12);
    transform: translateY(-4px);
}

.case-study-block:hover .case-study-inner::before {
    opacity: 1;
}

@media (min-width: 1024px) {
    .case-study-inner {
        grid-template-columns: 340px 1fr;
        gap: 3.5rem;
        padding: 3rem;
    }

    .case-study-block--reverse .case-study-inner {
        grid-template-columns: 1fr 340px;
    }

    .case-study-block--reverse .case-study-visual {
        order: 2;
    }

    .case-study-block--reverse .case-study-content {
        order: 1;
    }
}

.case-study-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-study-svg-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 2;
    background: rgba(15, 10, 31, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-svg {
    width: 90%;
    height: 90%;
}

.case-study-visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 38, 255, 0.1), transparent 70%);
    pointer-events: none;
    animation: caseGlowBreathe 4s ease-in-out infinite;
}

.case-study-index {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #c026ff;
    background: rgba(15, 10, 31, 0.9);
    border: 1px solid rgba(192, 38, 255, 0.4);
    border-radius: 10px;
}

.case-study-industry {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c026ff;
    margin-bottom: 0.75rem;
}

.case-study-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .case-study-title {
        font-size: 2rem;
    }
}

.case-study-client {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-study-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.case-study-metric {
    flex: 1;
    min-width: 90px;
    padding: 2px;
    border-radius: 1.125rem;
    background: rgba(192, 38, 255, 0.06);
    border: 1px solid rgba(192, 38, 255, 0.2);
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.case-study-metric-inner {
    padding: 1rem 1.25rem;
    background: rgba(15, 10, 31, 0.9);
    border-radius: 1rem;
    text-align: center;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.case-study-metric:hover {
    transform: translateY(-4px);
    padding: 5px;
    background: linear-gradient(135deg, #c026ff, #E040FB, #c084fc, #E040FB, #c026ff);
    background-size: 300% 300%;
    border-color: #E040FB;
    animation: caseMetricBorderShine 2.5s linear infinite;
    box-shadow:
        0 0 0 1px rgba(192, 38, 255, 0.5),
        0 0 24px rgba(192, 38, 255, 0.45),
        0 12px 32px rgba(0, 0, 0, 0.4);
}

.case-study-metric:hover .case-study-metric-inner {
    background: rgba(20, 12, 40, 0.95);
    box-shadow: inset 0 0 20px rgba(192, 38, 255, 0.1);
}

.case-study-metric:hover .case-study-metric-value {
    text-shadow: 0 0 14px rgba(192, 38, 255, 0.6);
}

@keyframes caseMetricBorderShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.case-study-metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    transition: text-shadow 0.35s ease;
}

.case-study-metric-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
    margin-top: 0.25rem;
}

.case-study-details {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .case-study-details {
        grid-template-columns: 1fr 1fr;
    }

    .case-study-detail--results {
        grid-column: 1 / -1;
    }
}

.case-study-detail h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c026ff;
    margin-bottom: 0.5rem;
}

.case-study-detail p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
}

.case-study-detail--results ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-study-detail--results li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.case-study-detail--results li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #c026ff;
    font-weight: 700;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-study-tag {
    font-size: 11px;
    font-family: ui-monospace, monospace;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #A8A0B8;
    transition: all 0.3s ease;
}

.case-study-block:hover .case-study-tag {
    border-color: rgba(192, 38, 255, 0.35);
    color: white;
}

.case-studies-cta-inner {
    background: rgba(26, 21, 53, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.25);
    border-radius: 2rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.case-studies-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192, 38, 255, 0.08), transparent 70%);
    pointer-events: none;
}

/* SVG animations — activate when block scrolls into view */
.case-svg-draw {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 2s ease;
}

.case-study-block.visible .case-svg-draw {
    stroke-dashoffset: 0;
}

.case-svg-pulse {
    animation: caseSvgPulse 2.5s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.case-svg-pulse--d1 { animation-delay: 0.4s; }
.case-svg-pulse--d2 { animation-delay: 0.8s; }
.case-svg-pulse--d3 { animation-delay: 1.2s; }

.case-svg-orbit {
    transform-origin: center;
    transform-box: fill-box;
    animation: caseSvgOrbit 8s linear infinite;
}

.case-svg-scan {
    animation: caseSvgScan 3s ease-in-out infinite;
}

.case-svg-bar {
    transform-origin: bottom;
    transform-box: fill-box;
    animation: caseSvgBar 2s ease-in-out infinite alternate;
}

.case-svg-bar--1 { animation-delay: 0s; }
.case-svg-bar--2 { animation-delay: 0.3s; }
.case-svg-bar--3 { animation-delay: 0.6s; }
.case-svg-bar--4 { animation-delay: 0.9s; }

.case-study-block.visible .case-svg-bar {
    animation-play-state: running;
}

@keyframes caseGlowBreathe {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes caseSvgPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes caseSvgOrbit {
    to { transform: rotate(360deg); }
}

@keyframes caseSvgScan {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(100px); opacity: 0.9; }
}

@keyframes caseSvgBar {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

/* ===== Portfolio Page ===== */

.portfolio-filters {
    gap: 0.5rem;
}

.portfolio-filter-btn {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #A8A0B8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover {
    border-color: rgba(192, 38, 255, 0.35);
    color: white;
}

.portfolio-filter-btn.active {
    background: rgba(192, 38, 255, 0.15);
    border-color: rgba(192, 38, 255, 0.5);
    color: white;
    box-shadow: 0 0 20px rgba(192, 38, 255, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.portfolio-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card.hidden-card {
    display: none;
}

.portfolio-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    position: relative;
}

.portfolio-card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(192, 38, 255, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-card:hover .portfolio-card-inner {
    border-color: rgba(192, 38, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(192, 38, 255, 0.1);
    transform: translateY(-4px);
}

.portfolio-card:hover .portfolio-card-inner::before {
    opacity: 1;
}

.portfolio-card-visual {
    position: relative;
    aspect-ratio: 3 / 2;
    background: rgba(15, 10, 31, 0.7);
    border-bottom: 1px solid rgba(192, 38, 211, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-card-svg {
    width: 88%;
    height: 88%;
    position: relative;
    z-index: 2;
}

.portfolio-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 38, 255, 0.12), transparent 70%);
    pointer-events: none;
    animation: caseGlowBreathe 4s ease-in-out infinite;
}

.portfolio-card-index {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #c026ff;
    background: rgba(15, 10, 31, 0.9);
    border: 1px solid rgba(192, 38, 255, 0.35);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
}

.portfolio-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.portfolio-card-industry {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c026ff;
    margin-bottom: 0.5rem;
}

.portfolio-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.portfolio-card-client {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.portfolio-card-summary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.portfolio-card-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(192, 38, 255, 0.08);
    border: 1px solid rgba(192, 38, 255, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-card-metric {
    background: rgba(192, 38, 255, 0.14);
    border-color: rgba(192, 38, 255, 0.4);
    box-shadow: 0 0 16px rgba(192, 38, 255, 0.15);
}

.portfolio-card-metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

.portfolio-card-metric-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
}

.portfolio-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-card-tag {
    font-size: 10px;
    font-family: ui-monospace, monospace;
    padding: 0.3rem 0.7rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #A8A0B8;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-card-tag {
    border-color: rgba(192, 38, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.portfolio-cta-inner {
    background: rgba(26, 21, 53, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.25);
    border-radius: 2rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.portfolio-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192, 38, 255, 0.08), transparent 70%);
    pointer-events: none;
}

/* Portfolio SVG animations */
.case-svg-float {
    animation: caseSvgFloat 3s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.case-svg-float--d1 { animation-delay: 0.6s; }

.case-svg-radar {
    transform-origin: 180px 130px;
    animation: caseSvgRadar 4s linear infinite;
}

.case-svg-wave {
    animation: caseSvgWave 2.5s ease-in-out infinite;
}

.case-svg-wave--d1 { animation-delay: 0.4s; }
.case-svg-wave--d2 { animation-delay: 0.8s; }

.portfolio-card.visible .case-svg-draw {
    stroke-dashoffset: 0;
}

.portfolio-card.visible .case-svg-bar {
    animation-play-state: running;
}

@keyframes caseSvgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes caseSvgRadar {
    to { transform: rotate(360deg); }
}

@keyframes caseSvgWave {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== Homepage Hero Background ===== */

.hero-section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 10, 31, 0.55) 0%, rgba(15, 10, 31, 0.7) 50%, rgba(15, 10, 31, 0.88) 100%),
        linear-gradient(90deg, rgba(15, 10, 31, 0.5) 0%, rgba(15, 10, 31, 0.2) 50%, rgba(15, 10, 31, 0.45) 100%);
    pointer-events: none;
}

.hero-section-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-headline-text {
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 32px rgba(13, 10, 31, 0.9), 0 0 60px rgba(13, 10, 31, 0.5);
}

/* ===== Hero Capture Form (below hero) ===== */

.hero-capture {
    position: relative;
    padding-bottom: 2rem;
}

.hero-capture-card {
    position: relative;
    border-radius: 1.75rem;
    padding: 2px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-capture-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-capture-border {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg 60deg,
        rgba(192, 38, 211, 0.9) 120deg,
        rgba(224, 64, 251, 0.7) 180deg,
        rgba(192, 38, 211, 0.5) 240deg,
        transparent 300deg
    );
    animation: heroCaptureBorderSpin 6s linear infinite;
}

@keyframes heroCaptureBorderSpin {
    to { transform: rotate(360deg); }
}

.hero-capture-inner {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 15, 45, 0.97) 0%, rgba(15, 10, 31, 0.98) 100%);
    border-radius: 1.65rem;
    padding: 2rem 1.75rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.hero-capture-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(192, 38, 211, 0.8), transparent);
    box-shadow: 0 0 20px rgba(192, 38, 211, 0.6);
    animation: heroCaptureScan 4s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes heroCaptureScan {
    0%, 100% { top: 12%; opacity: 0; }
    10% { opacity: 0.8; }
    50% { top: 88%; opacity: 0.8; }
    60% { opacity: 0; }
}

.hero-capture-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 1.75rem;
}

.hero-capture-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-capture-orb--1 {
    width: 180px;
    height: 180px;
    top: -40px;
    right: -30px;
    background: rgba(192, 38, 211, 0.25);
    animation: heroCaptureOrbFloat 7s ease-in-out infinite;
}

.hero-capture-orb--2 {
    width: 140px;
    height: 140px;
    bottom: -30px;
    left: -20px;
    background: rgba(224, 64, 251, 0.15);
    animation: heroCaptureOrbFloat 9s ease-in-out infinite reverse;
}

@keyframes heroCaptureOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -8px) scale(1.08); }
}

.hero-capture-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(192, 38, 211, 0.12);
    border: 1px solid rgba(192, 38, 211, 0.35);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.hero-capture-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c026ff;
    box-shadow: 0 0 10px #c026ff;
    animation: heroCapturePulse 2s ease-in-out infinite;
}

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

.hero-capture-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    color: #fff;
}

.hero-capture-title-accent {
    background: linear-gradient(90deg, #e879f9, #c026ff, #a21caf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroCaptureShimmer 4s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes heroCaptureShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-capture-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.5rem;
    max-width: 32rem;
}

.hero-capture-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .hero-capture-fields {
        grid-template-columns: 1fr 1fr;
    }
    .hero-capture-inner {
        padding: 2.25rem 2rem 2rem;
    }
}

.hero-capture-field {
    position: relative;
    opacity: 0;
    transform: translateY(16px);
}

.hero-capture-card.visible .hero-capture-field {
    animation: heroCaptureFieldIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-capture-card.visible .hero-capture-field--1 { animation-delay: 0.15s; }
.hero-capture-card.visible .hero-capture-field--2 { animation-delay: 0.28s; }

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

.hero-capture-field input {
    width: 100%;
    padding: 1.1rem 1rem 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-capture-field input:focus {
    background: rgba(192, 38, 211, 0.06);
    border-color: rgba(192, 38, 211, 0.6);
    box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.15), 0 0 24px rgba(192, 38, 211, 0.12);
}

.hero-capture-field label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-capture-field input:focus + label,
.hero-capture-field input:not(:placeholder-shown) + label {
    top: 0.65rem;
    transform: translateY(0);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c026ff;
}

.hero-capture-field-glow {
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c026ff, transparent);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.hero-capture-field input:focus ~ .hero-capture-field-glow {
    transform: scaleX(1);
}

.hero-capture-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1.05rem 1.5rem;
    border: none;
    border-radius: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
}

.hero-capture-card.visible .hero-capture-btn {
    animation: heroCaptureFieldIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero-capture-btn-ring {
    position: absolute;
    inset: -2px;
    border-radius: 1.05rem;
    border: 2px solid rgba(192, 38, 211, 0.5);
    animation: heroCaptureBtnRing 2.5s ease-out infinite;
    pointer-events: none;
}

@keyframes heroCaptureBtnRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.06); opacity: 0; }
}

.hero-capture-btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: heroCaptureBtnShine 3s ease-in-out infinite;
}

@keyframes heroCaptureBtnShine {
    0%, 70%, 100% { left: -100%; }
    35% { left: 150%; }
}

.hero-capture-btn-text,
.hero-capture-btn-arrow {
    position: relative;
    z-index: 1;
}

.hero-capture-btn-arrow {
    display: flex;
    transition: transform 0.3s ease;
}

.hero-capture-btn:hover .hero-capture-btn-arrow {
    transform: translateX(4px);
}

.hero-capture-btn.is-success {
    background: linear-gradient(90deg, #059669, #10b981) !important;
}

.rhinoo-form-notice {
    display: none;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.rhinoo-form-notice.is-visible {
    display: block;
}

.rhinoo-form-notice.is-success {
    color: #bbf7d0;
    background: rgba(5, 150, 105, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.45);
}

.rhinoo-form-notice.is-error {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.28);
    border: 1px solid rgba(248, 113, 113, 0.4);
}

.docs-soon-notify .rhinoo-form-notice,
form[data-form-type='api_waitlist'] .rhinoo-form-notice,
form[data-form-type='docs_waitlist'] .rhinoo-form-notice {
    width: 100%;
    margin-top: 0.75rem;
}

.custom-leads-form .rhinoo-form-notice {
    text-align: left;
}

.hero-capture-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.hero-capture-note-icon {
    color: #c026ff;
    font-weight: 700;
}

/* ===== About Us Page ===== */

.about-hero {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(192, 38, 211, 0.2);
    min-height: 420px;
    display: flex;
    align-items: stretch;
}

.about-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(13, 10, 31, 0.94) 0%, rgba(13, 10, 31, 0.82) 45%, rgba(13, 10, 31, 0.35) 72%, rgba(13, 10, 31, 0.15) 100%),
        linear-gradient(to top, rgba(13, 10, 31, 0.7), transparent 40%);
    pointer-events: none;
}

.about-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 20% 50%, rgba(192, 38, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .about-hero {
        min-height: 480px;
    }

    .about-hero-content {
        padding: 4rem 3rem;
        max-width: 72%;
    }
}

@media (min-width: 1024px) {
    .about-hero-content {
        max-width: 65%;
        padding: 4.5rem 3.5rem;
    }
}

.about-block-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c026ff;
    margin-bottom: 0.75rem;
}

.about-block-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .about-block-title {
        font-size: 2.5rem;
    }
}

.about-block-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.about-check-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.5rem;
    position: relative;
}

.about-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c026ff;
    font-weight: 700;
}

.about-usp-card {
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.about-usp-card:hover {
    border-color: rgba(192, 38, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(192, 38, 255, 0.08);
    transform: translateY(-3px);
}

.about-usp-visual {
    aspect-ratio: 4 / 3;
    background: rgba(15, 10, 31, 0.7);
    border-bottom: 1px solid rgba(192, 38, 211, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-usp-svg,
.about-split-svg {
    width: 85%;
    height: 85%;
}

.about-usp-body {
    padding: 1.5rem;
}

.about-usp-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.about-usp-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.about-split-inner {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-split-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }

    .about-split-inner--reverse .about-split-visual {
        order: 2;
    }

    .about-split-inner--reverse .about-split-content {
        order: 1;
    }
}

.about-ai-frame,
.about-photo-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(192, 38, 211, 0.2);
    background: rgba(15, 10, 31, 0.6);
}

.about-ai-frame {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-ai-frame-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 38, 255, 0.1), transparent 70%);
    pointer-events: none;
    animation: caseGlowBreathe 4s ease-in-out infinite;
}

.about-photo-frame {
    min-height: 320px;
}

.about-photo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    min-height: 320px;
    background: radial-gradient(ellipse at center, rgba(26, 21, 53, 0.9), #0d0a1f);
    padding: 1rem;
}

.about-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 10, 31, 0.15), rgba(192, 38, 211, 0.08));
    pointer-events: none;
}

.about-photo-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 10, 31, 0.85);
    border: 1px solid rgba(192, 38, 255, 0.35);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.about-mini-cards {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-mini-card {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(192, 38, 255, 0.08);
    border: 1px solid rgba(192, 38, 255, 0.2);
    border-radius: 1rem;
    text-align: center;
}

.about-mini-card-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

.about-mini-card-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
    margin-top: 0.25rem;
}

.about-inline-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c026ff;
    transition: color 0.3s ease;
}

.about-inline-link:hover {
    color: #E040FB;
}

/* Subtle funnel */
.about-funnel-track {
    display: grid;
    gap: 0;
}

@media (min-width: 768px) {
    .about-funnel-track {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

.about-funnel-step {
    position: relative;
    padding: 0 0.5rem 2rem;
}

@media (min-width: 768px) {
    .about-funnel-step {
        padding: 0 1rem 0;
    }
}

.about-funnel-step-marker {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.about-funnel-step-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: ui-monospace, monospace;
    font-size: 13px;
    font-weight: 700;
    color: #c026ff;
    background: rgba(15, 10, 31, 0.9);
    border: 2px solid rgba(192, 38, 255, 0.4);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.about-funnel-step:hover .about-funnel-step-num {
    background: rgba(192, 38, 255, 0.15);
    border-color: #E040FB;
    box-shadow: 0 0 20px rgba(192, 38, 255, 0.25);
}

.about-funnel-connector {
    display: none;
}

@media (min-width: 768px) {
    .about-funnel-connector {
        display: block;
        flex: 1;
        height: 2px;
        margin: 0 0.5rem;
        background: linear-gradient(90deg, rgba(192, 38, 255, 0.4), rgba(192, 38, 255, 0.1));
    }
}

.about-funnel-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.about-funnel-step-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.about-funnel-cta {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c026ff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.about-funnel-cta:hover {
    color: #E040FB;
}

.about-stats-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(192, 38, 211, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
}

@media (min-width: 640px) {
    .about-stats-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.about-stat {
    text-align: center;
    padding: 0.5rem;
}

.about-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.about-stat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
    margin-top: 0.35rem;
}

.about-cta-inner {
    display: grid;
    gap: 2rem;
    align-items: center;
    background: rgba(26, 21, 53, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.25);
    border-radius: 2rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about-cta-inner {
        grid-template-columns: auto 1fr;
        padding: 3rem;
        gap: 3rem;
    }
}

.about-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at left center, rgba(192, 38, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.about-cta-svg {
    width: 120px;
    height: 120px;
}

.about-cta-content {
    position: relative;
    z-index: 1;
}

.about-usp-card.visible .case-svg-draw,
.about-split.visible .case-svg-draw,
.about-cta.visible .case-svg-draw {
    stroke-dashoffset: 0;
}

.about-usp-card.visible .case-svg-bar,
.about-split.visible .case-svg-bar {
    animation-play-state: running;
}

/* ===== Solutions Page ===== */

.solutions-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c026ff;
    margin-bottom: 0.75rem;
}

.solutions-stats-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(192, 38, 211, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
}

@media (min-width: 640px) {
    .solutions-stats-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.solutions-stat {
    text-align: center;
}

.solutions-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.solutions-stat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
    margin-top: 0.35rem;
}

.solutions-pillars {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .solutions-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.solutions-pillar {
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.solutions-pillar:hover {
    border-color: rgba(192, 38, 255, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.solutions-pillar-num {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #c026ff;
    background: rgba(192, 38, 255, 0.1);
    border: 1px solid rgba(192, 38, 255, 0.3);
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.75rem;
}

.solutions-pillar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.solutions-pillar-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.solutions-pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.solutions-pillar-tag {
    font-size: 10px;
    font-family: ui-monospace, monospace;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #A8A0B8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.solutions-card {
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.solutions-card:hover {
    border-color: rgba(192, 38, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(192, 38, 255, 0.08);
}

.solutions-card-visual {
    position: relative;
    aspect-ratio: 3 / 2;
    background: rgba(15, 10, 31, 0.7);
    border-bottom: 1px solid rgba(192, 38, 211, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions-card-svg {
    width: 88%;
    height: 88%;
}

.solutions-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 38, 255, 0.1), transparent 70%);
    animation: caseGlowBreathe 4s ease-in-out infinite;
    pointer-events: none;
}

.solutions-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solutions-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.solutions-card-summary {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    flex: 1;
}

.solutions-card-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    background: rgba(192, 38, 255, 0.08);
    border: 1px solid rgba(192, 38, 255, 0.2);
    border-radius: 0.6rem;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.solutions-card-metric-value {
    font-size: 1rem;
    font-weight: 800;
    color: white;
}

.solutions-card-metric-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #A8A0B8;
}

.solutions-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.solutions-card-tag {
    font-size: 9px;
    font-family: ui-monospace, monospace;
    padding: 0.25rem 0.55rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #A8A0B8;
}

.solutions-process {
    background: rgba(26, 21, 53, 0.4);
    border: 1px solid rgba(192, 38, 211, 0.15);
    border-radius: 2rem;
    padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
    .solutions-process {
        padding: 3rem 2.5rem;
    }
}

.solutions-process-track {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .solutions-process-track {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.solutions-process-step {
    padding: 1.25rem;
    background: rgba(15, 10, 31, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    transition: border-color 0.3s ease;
}

.solutions-process-step:hover {
    border-color: rgba(192, 38, 255, 0.3);
}

.solutions-process-num {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #c026ff;
    margin-bottom: 0.75rem;
}

.solutions-process-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.solutions-process-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.solutions-stack {
    background: rgba(26, 21, 53, 0.4);
    border: 1px solid rgba(192, 38, 211, 0.12);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
}

.solutions-stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.solutions-stack-item {
    font-size: 12px;
    font-family: ui-monospace, monospace;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(192, 38, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.solutions-stack-item:hover {
    border-color: rgba(192, 38, 255, 0.4);
    color: white;
    background: rgba(192, 38, 255, 0.1);
}

.solutions-industries {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .solutions-industries {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.solutions-industry {
    padding: 1.5rem;
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    border-left: 3px solid rgba(192, 38, 255, 0.5);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.solutions-industry:hover {
    border-left-color: #E040FB;
    transform: translateX(4px);
}

.solutions-industry-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
}

.solutions-industry-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
}

.solutions-diff-grid {
    display: grid;
    gap: 1.25rem;
}

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

.solutions-diff-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(26, 21, 53, 0.5);
    border: 1px solid rgba(192, 38, 211, 0.15);
    border-radius: 1.5rem;
    transition: all 0.35s ease;
}

.solutions-diff-card:hover {
    border-color: rgba(192, 38, 255, 0.4);
    box-shadow: 0 0 30px rgba(192, 38, 255, 0.1);
}

.solutions-diff-icon {
    display: block;
    font-size: 1.25rem;
    color: #c026ff;
    margin-bottom: 1rem;
}

.solutions-diff-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

.solutions-diff-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.solutions-cta-inner {
    background: rgba(26, 21, 53, 0.6);
    border: 1px solid rgba(192, 38, 211, 0.25);
    border-radius: 2rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.solutions-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(192, 38, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.solutions-card.visible .case-svg-draw,
.solutions-pillar.visible .case-svg-draw {
    stroke-dashoffset: 0;
}

.solutions-card.visible .case-svg-bar {
    animation-play-state: running;
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */

header.fixed {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}

.interactive-footer {
    padding-bottom: max(4rem, calc(4rem + env(safe-area-inset-bottom)));
}

body.rhinoo-mobile-menu-open {
    overflow: hidden !important;
}

.rhinoo-mobile-menu-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rhinoo-modal-close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (max-width: 767px) {
    .hero-capture-wrap {
        margin-top: 0 !important;
    }

    .hero-capture-inner {
        padding: 1.35rem 1.15rem 1.25rem !important;
    }

    .hero-capture-card {
        border-radius: 1.35rem;
    }

    .docs-soon-card {
        padding: 2rem 1.25rem;
    }

    .docs-soon-floaters {
        display: none;
    }

    .case-study-inner {
        padding: 1.35rem;
        gap: 1.5rem;
    }

    .solutions-stats-inner {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .solutions-stat-value {
        font-size: 1.5rem;
    }

    .solutions-cta-inner {
        padding: 2rem 1.25rem;
    }

    .services-filter-btn {
        padding: 0.65rem 1rem;
        font-size: 12px;
    }

    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filter-btn {
        flex-shrink: 0;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px) !important;
    }

    .legal-content .overflow-x-auto table {
        min-width: 520px;
    }

    .legal-content .overflow-x-auto {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .rhinoo-legal-grid .grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.35rem !important;
    }

    .rhinoo-legal-grid .grid-cols-2 > span:first-child {
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    #mobile-menu a,
    #mobile-menu button {
        min-height: 44px;
    }

    .rhinoo-modal {
        padding: 0.75rem;
        align-items: center;
    }

    .rhinoo-modal-panel {
        padding: 1.25rem !important;
    }

    #service-modal .rhinoo-modal-panel {
        max-height: 88dvh;
    }

    .timed-cta-panel h3 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .footer-logo-text {
        font-size: 1.35rem !important;
    }

    main.pt-20 {
        padding-top: 5rem;
    }
}

@media (max-width: 390px) {
    .hero-headline-text {
        font-size: 2rem !important;
    }

    .rhinoo-page-title,
    .rhinoo-section-title {
        letter-spacing: -0.02em !important;
    }
}