/* ============================================
   COMPONENTS CSS - ePhilos Website
   ============================================ */
:root {
    /* Primary Brand Color */
    --color-primary: #184773;
    --color-primary-dark: #0f3a5a;
    --color-primary-light: #1e5a8a;
    --color-primary-rgb: 24, 71, 115;
    
    /* Secondary Colors */
    --color-secondary: #0f3a5a;
    --color-accent: #3b82f6;
    
    /* Utility Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    --gradient-primary-br: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    
    /* Shadows */
    --shadow-primary: 0 10px 25px -5px rgba(var(--color-primary-rgb), 0.3);
}

/* --------------------------------------------
   CUSTOM COLOR UTILITY CLASSES
--------------------------------------------- */
/* Background Colors */
.bg-primary {
    background-color: var(--color-primary);
}
.bg-primary-dark {
    background-color: var(--color-primary-dark);
}
.bg-primary-light {
    background-color: var(--color-primary-light);
}

/* Text Colors */
.text-primary {
    color: var(--color-primary);
}
.text-primary-dark {
    color: var(--color-primary-dark);
}

/* Border Colors */
.border-primary {
    border-color: var(--color-primary);
}
.border-primary-dark {
    border-color: var(--color-primary-dark);
}

/* Ring Colors */
.ring-primary {
    --tw-ring-color: var(--color-primary);
}
.focus\:ring-primary:focus {
    --tw-ring-color: var(--color-primary);
}
.focus\:border-primary:focus {
    border-color: var(--color-primary);
}

/* Gradient Stops */
.from-primary {
    --tw-gradient-from: var(--color-primary);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(24, 71, 115, 0));
}
.to-primary-dark {
    --tw-gradient-to: var(--color-primary-dark);
}
.via-primary {
    --tw-gradient-via: var(--color-primary);
}

/* Hover States */
.hover\:bg-primary-dark:hover {
    background-color: var(--color-primary-dark);
}
.hover\:bg-primary-light:hover {
    background-color: var(--color-primary-light);
}
.hover\:text-primary:hover {
    color: var(--color-primary);
}
.hover\:border-primary:hover {
    border-color: var(--color-primary);
}

/* Focus States */
.focus\:border-primary:focus {
    border-color: var(--color-primary);
}
.focus\:ring-primary:focus {
    --tw-ring-color: var(--color-primary);
}

/* --------------------------------------------
   GLOBAL & UTILITIES
--------------------------------------------- */
html {
    scroll-behavior: smooth;
}

/* --------------------------------------------
   ANIMATIONS - Core
--------------------------------------------- */
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}
.animate-blob { animation: blob 10s infinite; }

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
.animate-slide { animation: slide 2s linear infinite; }

@keyframes shine {
    100% { transform: translateX(100%); }
}
.animate-shine { animation: shine 0.7s ease-out; }

@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}
.animate-pulse-slow { animation: pulse-slow 3s ease-in-out infinite; }

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.icon-float { animation: icon-float 3s ease-in-out infinite; }
.group:hover .icon-float { animation: none; }

@keyframes ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.animate-ken-burns { animation: ken-burns 20s ease-out infinite alternate; }

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out forwards; opacity: 0; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 10px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -15px) scale(1.05); }
}
.animate-float-slow { animation: float-slow 12s ease-in-out infinite; }

@keyframes sparkle-float {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    20% { opacity: 0.8; transform: translateY(-20px) scale(1); }
    80% { opacity: 0.6; transform: translateY(-80px) scale(1); }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

@keyframes sparkle-twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 10px rgba(255,255,255,0.8); }
}

/* --------------------------------------------
   SCROLL REVEAL
--------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays */
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-3000 { animation-delay: 3s; }
.animation-delay-4000 { animation-delay: 4s; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* Scroll mouse indicator */
@keyframes scroll-mouse {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}
.animate-scroll-mouse {
    animation: scroll-mouse 1.5s ease-in-out infinite;
}

/* --------------------------------------------
   HERO COMPONENT
--------------------------------------------- */
.sparkle-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}
.sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6);
    animation: sparkle-float linear infinite, sparkle-twinkle ease-in-out infinite;
}
.hero-description {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.film-grain {
    opacity: 0.03;
    pointer-events: none;
    z-index: 10;
}

/* --------------------------------------------
   DIGITAL STRATEGY COMPONENT
--------------------------------------------- */
.system-badge {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}
.scroll-reveal.visible .system-badge {
    opacity: 1;
    transform: translateY(0);
}
.system-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease 0.15s;
}
.scroll-reveal.visible .system-arrow {
    opacity: 1;
    transform: translateX(0);
}
.system-cross {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 0.3s;
}
.scroll-reveal.visible .system-cross {
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------
   FINAL CTA COMPONENT
--------------------------------------------- */
.particle {
    animation: float 12s ease-in-out infinite;
    animation-delay: var(--animation-delay, 0s);
}

/* --------------------------------------------
   FOOTER COMPONENT
--------------------------------------------- */
.social-icon {
    transform: translateZ(0);
    will-change: transform;
}
.social-icon:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.footer-link span.relative {
    display: inline-block;
}
.footer-link-small {
    position: relative;
    padding-bottom: 2px;
}
.footer-link-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}
.footer-link-small:hover::after {
    width: 100%;
}
.back-to-top {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.footer-heading {
    display: inline-block;
}
.footer-col:hover .footer-heading span {
    transform: scaleX(1) !important;
}

/* --------------------------------------------
   VALUE PROPOSITION - Flip Card
--------------------------------------------- */
.perspective {
    perspective: 1500px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 1.5rem;
    overflow: hidden;
}

.flip-card-front {
    transform: rotateY(0deg);
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
    z-index: 1;
    background: var(--gradient-primary-br);
}

.backface-hidden {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.stat-card-flip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-flip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stat-value-flip {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label-flip {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------
   UTILITY CLASSES
--------------------------------------------- */
.bg-grid-pattern {
    background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
}

/* --------------------------------------------
   RESPONSIVE STYLES
--------------------------------------------- */
@media (max-width: 1024px) {
    .system-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .particle {
        display: none;
    }
    .footer-col {
        margin-bottom: 1rem;
    }
}

/* --------------------------------------------
   FORM ELEMENTS
--------------------------------------------- */
/* Custom Checkbox Styling */
input[type="checkbox"] {
    accent-color: var(--color-primary);
}

/* Input Focus Styles */
input:focus, 
textarea:focus,
select:focus {
    border-color: var(--color-primary) !important;
    --tw-ring-color: var(--color-primary) !important;
}

/* Button Hover States */
.btn-primary {
    background-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   SERVICES INDEX PAGE — START
   ============================================ */

/* ── Hero entrance ── */
.hero-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.7s ease forwards;
}
@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Floating orbs ── */
.hero-orb {
    animation: orbFloat 12s ease-in-out infinite alternate;
}
@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.05); }
    100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Scroll reveal (services) ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* H2 scroll animation — added via JS so content is visible if JS fails */
.h2-animate {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.h2-animate.h2-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Service cards ── */
.service-card {
    transition: box-shadow 0.5s ease, transform 0.4s ease, background-color 0.4s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.service-card:hover {
    box-shadow: 0 20px 50px rgba(24, 71, 115, 0.08), 0 8px 20px rgba(0,0,0,0.04);
    transform: translateY(-4px);
}

/* ── Icon bounce on hover ── */
.service-card:hover .icon-container {
    animation: iconPop 0.4s ease;
}
@keyframes iconPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ============================================
   SERVICES INDEX PAGE — END
   ============================================ */

/* ============================================
   SERVICES SHOW PAGE — START
   ============================================ */

/* ── Content typography ── */
.service-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #184773;
    border-image: linear-gradient(to right, #184773, transparent) 1;
    position: relative;
}
.service-content h2:first-child { margin-top: 0; }

.service-content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.75rem;
    margin-bottom: 0.625rem;
}

.service-content p {
    color: #6b7280;
    line-height: 1.85;
    margin-bottom: 1.125rem;
    font-size: 0.9375rem;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0.75rem 0 1.25rem;
}
.service-content li {
    position: relative;
    padding-left: 1.375rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}
.service-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 7px;
    border: 1.5px solid #184773;
    opacity: 0.35;
    border-radius: 1px;
    transform: rotate(45deg);
}

.service-content a {
    color: #184773;
    font-weight: 500;
    text-decoration: none;
    background-image: linear-gradient(#184773, #184773);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.35s ease;
}
.service-content a:hover {
    background-size: 100% 1px;
}

.service-content strong {
    color: #111827;
    font-weight: 600;
}

/* ── Cross-reference callouts ── */
.service-content .content-link {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-left: 3px solid #184773;
    background: linear-gradient(135deg, #f8fafd 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-content .content-link:hover {
    transform: translateX(4px);
    box-shadow: -4px 0 16px rgba(24, 71, 115, 0.06);
}
.service-content .content-link::before {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #184773;
    opacity: 0.15;
    font-weight: 300;
}
.service-content .content-link a {
    color: #184773;
    font-weight: 600;
    font-size: 0.875rem;
    background: none;
}
.service-content .content-link a:hover {
    opacity: 0.8;
}

/* ── CTA buttons in content ── */
.service-content .content-cta {
    margin: 2rem 0;
}
.service-content .content-cta a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #184773 0%, #0f3a5a 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    border-bottom: none;
    background-image: none;
    background-size: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-content .content-cta a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-content .content-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 71, 115, 0.25);
}
.service-content .content-cta a:hover::after {
    opacity: 1;
}

/* ── Sidebar link hover bars ── */
.sidebar-link {
    position: relative;
    transition: padding-left 0.3s ease;
}
.sidebar-link:hover {
    padding-left: 4px;
}

/* ============================================
   SERVICES SHOW PAGE — END
   ============================================ */

/* ============================================
   HERO ILLUSTRATION — START
   ============================================ */

/* Hero gradient — starts from #184773 (matches navbar) for seamless blend */
.hero-gradient-bg {
    background: linear-gradient(
        170deg,
        #184773 0%,
        #153d63 15%,
        #113455 30%,
        #0d2a46 50%,
        #0a2038 72%,
        #07182e 100%
    );
}

/* Subtle dot-grid overlay for tech texture */
.hero-dot-grid {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* ── Float animations with organic multi-keyframe motion ── */
.illus-float-1 {
    animation: illusFloat1 6s ease-in-out infinite;
}
@keyframes illusFloat1 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25%  { transform: translateY(-10px) translateX(3px) rotate(0.4deg); }
    50%  { transform: translateY(-14px) translateX(-1px) rotate(-0.2deg); }
    75%  { transform: translateY(-6px) translateX(-3px) rotate(0.1deg); }
}

.illus-float-2 {
    animation: illusFloat2 7.5s ease-in-out infinite;
}
@keyframes illusFloat2 {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    30%  { transform: translateY(-8px) translateX(-4px) scale(1.01); }
    60%  { transform: translateY(-13px) translateX(2px) scale(1.02); }
    85%  { transform: translateY(-4px) translateX(-1px) scale(1.005); }
}

.illus-float-3 {
    animation: illusFloat3 6.5s ease-in-out infinite 0.4s;
}
@keyframes illusFloat3 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    35%  { transform: translateY(-11px) translateX(5px) rotate(0.5deg); }
    65%  { transform: translateY(-6px) translateX(-2px) rotate(-0.3deg); }
}

.illus-float-4 {
    animation: illusFloat4 5.8s ease-in-out infinite 0.8s;
}
@keyframes illusFloat4 {
    0%, 100% { transform: translateY(0) translateX(0); }
    40%  { transform: translateY(-8px) translateX(-4px); }
    70%  { transform: translateY(-5px) translateX(2px); }
}

.illus-float-5 {
    animation: illusFloat5 8.5s ease-in-out infinite 0.3s;
}
@keyframes illusFloat5 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30%  { transform: translateY(-12px) rotate(4deg); }
    60%  { transform: translateY(-16px) rotate(-2deg); }
    85%  { transform: translateY(-5px) rotate(1deg); }
}

.illus-float-6 {
    animation: illusFloat6 7s ease-in-out infinite 1.2s;
}
@keyframes illusFloat6 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50%  { transform: translateY(-12px) rotate(-3deg) scale(1.05); }
}

/* ── Gear rotations ── */
.illus-gear-spin {
    animation: illusGearSpin 18s linear infinite;
}
@keyframes illusGearSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.illus-gear-spin-reverse {
    animation: illusGearSpinReverse 14s linear infinite;
}
@keyframes illusGearSpinReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ── Typing cursor ── */
.illus-cursor {
    animation: illusCursorBlink 1.1s step-end infinite;
}
@keyframes illusCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── Server LEDs ── */
.illus-blink {
    animation: illusBlink 2s ease-in-out infinite;
}
@keyframes illusBlink {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.12; }
}

.illus-blink-delay {
    animation: illusBlink 2s ease-in-out infinite 0.7s;
}

/* ── Floating dot pulses ── */
.illus-pulse {
    animation: illusPulse 3.5s ease-in-out infinite;
}
@keyframes illusPulse {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.5; }
}

.illus-pulse-delay {
    animation: illusPulseSmall 4.5s ease-in-out infinite 1.2s;
}
@keyframes illusPulseSmall {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

/* ── Screen glow breathing ── */
.illus-screen-glow {
    animation: illusScreenGlow 4s ease-in-out infinite;
}
@keyframes illusScreenGlow {
    0%, 100% { opacity: 0.12; }
    50%  { opacity: 0.3; }
}

/* ── Dashed connection line crawl ── */
.illus-dash-line {
    animation: illusDashCrawl 5s linear infinite;
}
@keyframes illusDashCrawl {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -40; }
}

/* ── Progress bar ── */
.illus-progress {
    animation: illusProgress 3.5s ease-in-out infinite;
}
@keyframes illusProgress {
    0%   { width: 15px; }
    50%  { width: 75px; }
    100% { width: 15px; }
}

/* ── Orbit ring slow rotate ── */
.illus-orbit-ring {
    animation: illusOrbitRing 30s linear infinite;
    transform-origin: 380px 290px;
}
@keyframes illusOrbitRing {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -56; }
}

/* ── Animated bar chart — staggered bounce-in ── */
.illus-bar {
    animation: illusBarGrow 2.5s ease-out forwards;
    transform-origin: bottom;
}
.illus-bar-1 { animation-delay: 0.2s; }
.illus-bar-2 { animation-delay: 0.35s; }
.illus-bar-3 { animation-delay: 0.5s; }
.illus-bar-4 { animation-delay: 0.65s; }
.illus-bar-5 { animation-delay: 0.8s; }
.illus-bar-6 { animation-delay: 0.95s; }

@keyframes illusBarGrow {
    0%   { transform: scaleY(0); opacity: 0; }
    60%  { transform: scaleY(1.08); opacity: 1; }
    80%  { transform: scaleY(0.96); }
    100% { transform: scaleY(1); opacity: 1; }
}

/* ── Notification badge pop ── */
.illus-notif-badge {
    animation: illusNotifPop 3s ease-in-out infinite;
}
@keyframes illusNotifPop {
    0%, 100% { transform: scale(1); }
    10%  { transform: scale(1.25); }
    20%  { transform: scale(0.95); }
    30%  { transform: scale(1.05); }
    40%  { transform: scale(1); }
}

/* ── Entry animation ── */
.hero-illustration {
    animation: illusReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
@keyframes illusReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.88);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .illus-float-1,
    .illus-float-2,
    .illus-float-3,
    .illus-float-4,
    .illus-float-5,
    .illus-float-6,
    .illus-gear-spin,
    .illus-gear-spin-reverse,
    .illus-cursor,
    .illus-blink,
    .illus-blink-delay,
    .illus-pulse,
    .illus-pulse-delay,
    .illus-screen-glow,
    .illus-dash-line,
    .illus-progress,
    .illus-orbit-ring,
    .illus-bar,
    .illus-notif-badge {
        animation: none !important;
    }
    .illus-bar { transform: scaleY(1); opacity: 1; }
    .hero-illustration {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* ============================================
   HERO ILLUSTRATION — END
   ============================================ */
