/* Font loading optimization with fallbacks */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Inter Light'), local('Inter-Light');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'), local('Inter-Regular');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Inter SemiBold'), local('Inter-SemiBold');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Montserrat Regular'), local('Montserrat-Regular');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Montserrat SemiBold'), local('Montserrat-SemiBold');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Montserrat Bold'), local('Montserrat-Bold');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold');
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Accordion / FAQ Section Styles */
.faq-item {
    position: relative;
    border-radius: 1.25rem !important;
    background: 
        radial-gradient(circle at top left, var(--card-accent-alpha, rgba(255, 255, 255, 0.01)) 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(var(--card-accent-alpha, rgba(255, 255, 255, 0.02)) 1px, transparent 1px) !important;
    background-size: 100% 100%, 16px 16px !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background 0.4s ease !important;
    overflow: hidden;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-3px) !important;
    border-color: var(--card-accent-faded, rgba(255, 255, 255, 0.15)) !important;
    box-shadow: 0 15px 30px -15px var(--card-glow, rgba(0, 0, 0, 0.4)) !important;
    background: 
        radial-gradient(circle at top left, var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.03)) 0%, rgba(255, 255, 255, 0.03) 100%),
        radial-gradient(var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.05)) 1px, transparent 1px) !important;
    background-size: 100% 100%, 16px 16px !important;
}

.faq-item.faq-active {
    border-color: var(--card-accent) !important;
    box-shadow: 0 20px 40px -15px var(--card-glow, rgba(0, 0, 0, 0.5)) !important;
    background: 
        radial-gradient(circle at top left, var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.04)) 0%, rgba(255, 255, 255, 0.03) 100%),
        radial-gradient(var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.06)) 1px, transparent 1px) !important;
    background-size: 100% 100%, 16px 16px !important;
}

.faq-header {
    width: 100%;
    padding: 1.5rem 1.75rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1.5rem;
}

.faq-number {
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--card-accent);
    opacity: 0.4;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item:hover .faq-number,
.faq-item.faq-active .faq-number {
    opacity: 0.9;
    transform: scale(1.05);
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5e7eb;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.faq-item:hover .faq-question,
.faq-item.faq-active .faq-question {
    color: #ffffff;
}

.faq-icon-wrapper {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item:hover .faq-icon-wrapper {
    border-color: var(--card-accent);
    background: var(--card-accent-alpha);
    transform: scale(1.05);
}

.faq-item.faq-active .faq-icon-wrapper {
    border-color: var(--card-accent);
    background: var(--card-accent);
    color: #ffffff;
    box-shadow: 0 0 15px 0 var(--card-accent-faded);
    transform: scale(1.05);
}

.faq-icon {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.faq-active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq-content.active {
    opacity: 1;
}

.faq-answer {
    padding: 0 1.75rem 1.75rem 3.5rem; /* Align text with start of the question text */
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.625;
    transition: color 0.3s ease;
}

.faq-item.faq-active .faq-answer {
    color: #d1d5db;
}

/* Timeline Container & Animations (Option 1 - Border Beam) */
.timeline-container {
    perspective: none;
}

.timeline-item {
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.slide-left, .slide-right {
    transform: translateY(45px) scale(0.95);
}

.timeline-item.show {
    opacity: 1;
}

.timeline-item.show.slide-left,
.timeline-item.show.slide-right {
    transform: translateY(0) scale(1);
}

@media (max-width: 767px) {
    .slide-left, .slide-right {
        transform: translateY(30px) scale(0.97);
    }
    .timeline-item.show.slide-left,
    .timeline-item.show.slide-right {
        transform: translateY(0) scale(1);
    }
}

/* Timeline Dashed Line & Active Fill */
.timeline-dashed-line {
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0,
        rgba(255, 255, 255, 0.1) 6px,
        transparent 6px,
        transparent 12px
    );
}

/* Timeline dots animation trigger */
.timeline-dot {
    position: absolute;
    top: 1.75rem; /* Aligns with card header on mobile */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    transform: translate(-50%, 0) scale(0.3);
    opacity: 0;
}

.timeline-item.show .timeline-dot {
    transform: translate(-50%, 0) scale(1.15);
    opacity: 1;
}

@media (min-width: 768px) {
    .timeline-dot {
        top: 50% !important;
        transform: translate(-50%, -50%) scale(0.3) !important;
    }
    .timeline-item.show .timeline-dot {
        transform: translate(-50%, -50%) scale(1.15) !important;
    }
}

.timeline-item.show .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: dot-pulse-glow 2s infinite;
}

@keyframes dot-pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Premium Option 1 Border-Beam Card */
.timeline-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    padding: 1px; /* The border border-beam width */
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Inner Container for Glassmorphic Blur & Background */
.timeline-card-inner {
    position: relative;
    background: rgba(12, 12, 14, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: calc(1.25rem - 1px);
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: background 0.5s ease;
}

.timeline-card.card-theme-teal {
    --card-accent: #51A3A3;
    --card-glow: rgba(81, 163, 163, 0.25);
}

.timeline-card.card-theme-red {
    --card-accent: #D40F50;
    --card-glow: rgba(212, 15, 80, 0.25);
}

/* Border Beam Effect */
.timeline-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 50%,
        var(--card-accent, #51A3A3) 80%,
        transparent 100%
    );
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.timeline-item.show .timeline-card::after {
    opacity: 0.6;
    animation: border-beam-anim 6s linear infinite;
}

.timeline-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 40px -15px var(--card-glow, rgba(0, 0, 0, 0.3)) !important;
}

.timeline-card:hover::after {
    opacity: 1;
    animation-duration: 3s;
}

@keyframes border-beam-anim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pulse Animation for Timeline Steps */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.timeline-step-active::before {
    content: '';
    position: absolute;
    left: -5px;
    top: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Lightbox zoom & pan */
.lightbox-zoom-container {
    overflow: hidden;
    touch-action: none;
    cursor: default;
}

.lightbox-zooming {
    cursor: grab;
}

.lightbox-zooming-dragging {
    cursor: grabbing;
}

.lightbox-zoom-controls {
    pointer-events: none;
}

.lightbox-zoom-controls button {
    pointer-events: auto;
}

/* Testimonials Bento Grid Layout */
.testimonial-card {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    border-radius: 1.25rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease !important;
    overflow: hidden;
    z-index: 1;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1px; /* Border width */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 20px 40px -15px var(--testimonial-glow, rgba(81, 163, 163, 0.25)) !important;
}

.testimonial-card:hover::before {
    background: linear-gradient(135deg, 
        var(--testimonial-accent, #51A3A3) 0%, 
        var(--testimonial-accent-faded, rgba(81, 163, 163, 0.3)) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
}

.testimonial-card.theme-teal {
    --testimonial-accent: #51A3A3;
    --testimonial-accent-faded: rgba(81, 163, 163, 0.3);
    --testimonial-glow: rgba(81, 163, 163, 0.25);
}

.testimonial-card.theme-red {
    --testimonial-accent: #D40F50;
    --testimonial-accent-faded: rgba(212, 15, 80, 0.3);
    --testimonial-glow: rgba(212, 15, 80, 0.25);
}

.testimonial-quote-bg {
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 8rem;
    font-family: 'Montserrat', serif;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: color 0.4s ease;
}

.testimonial-card:hover .testimonial-quote-bg {
    color: rgba(255, 255, 255, 0.035);
}

/* Floating Animation for Hero Badge */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Premium Glassmorphism and Transitions */
.glass-panel {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.glass-panel-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-panel-hover:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(81, 163, 163, 0.3) !important; /* brand-teal glow */
    box-shadow: 0 10px 30px -10px rgba(81, 163, 163, 0.15) !important;
}

/* Glow input fields */
.glow-input {
    transition: all 0.3s ease-in-out !important;
}

.glow-input:focus {
    border-color: #51A3A3 !important;
    box-shadow: 0 0 12px rgba(81, 163, 163, 0.35) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Custom Card transitions */
.card-transition {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Card styling with partial border and light gradient background matching its icon */
/* Card styling with custom clipped corners, blueprint grid background, and premium hover interactions */
.module-card {
    position: relative;
    background: 
        radial-gradient(circle at top left, var(--card-accent-alpha, rgba(255, 255, 255, 0.02)) 0%, rgba(255, 255, 255, 0.03) 100%),
        radial-gradient(var(--card-accent-alpha, rgba(255, 255, 255, 0.05)) 1px, transparent 1px) !important;
    background-size: 100% 100%, 16px 16px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease !important;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.module-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px; /* Border width */
    background: linear-gradient(135deg, 
        var(--card-accent, rgba(255, 255, 255, 0.1)) 0%, 
        rgba(255, 255, 255, 0.05) 35%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

/* Hover state styling */
.module-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 25px 50px -12px var(--card-glow, rgba(0, 0, 0, 0.4)) !important;
    background: 
        radial-gradient(circle at top left, var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.05)) 0%, rgba(255, 255, 255, 0.04) 100%),
        radial-gradient(var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.1)) 1px, transparent 1px) !important;
    background-size: 100% 100%, 16px 16px !important;
}

.module-card:hover::before {
    background: linear-gradient(135deg, 
        var(--card-accent, rgba(255, 255, 255, 0.3)) 0%, 
        var(--card-accent-faded, rgba(255, 255, 255, 0.1)) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
}

/* Micro-interaction sliding accent bar */
.module-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--card-accent);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.module-card:hover::after {
    width: 30%;
}

/* High-tech index tag */
.module-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--card-accent);
    opacity: 0.4;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.module-card:hover .module-tag {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Wireframe rotating icon container */
.module-icon-container {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--card-accent, #ffffff);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.module-icon-container::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid var(--card-accent);
    border-radius: 0.85rem;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.module-card:hover .module-icon-container {
    background: radial-gradient(circle at center, var(--card-accent-alpha-hover) 0%, transparent 100%);
    border-color: var(--card-accent);
    color: #ffffff;
    box-shadow: 0 0 15px 0 var(--card-accent-alpha-hover);
    transform: scale(1.05) rotate(-3deg);
}

.module-card:hover .module-icon-container::after {
    opacity: 0.5;
    transform: scale(1.05);
}

.module-icon-container svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-card:hover .module-icon-container svg {
    transform: scale(1.1);
}

/* Typography styles for module titles and descriptions */
.module-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.module-card:hover .module-title {
    color: var(--card-accent);
}

.module-desc {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.625;
    transition: color 0.3s ease;
}

.module-card:hover .module-desc {
    color: #e5e7eb;
}

/* Module card theme definitions */
.card-red {
    --card-accent: #D40F50;
    --card-accent-faded: rgba(212, 15, 80, 0.3);
    --card-accent-alpha: rgba(212, 15, 80, 0.03);
    --card-accent-alpha-hover: rgba(212, 15, 80, 0.1);
    --card-glow: rgba(212, 15, 80, 0.25);
}
.card-teal {
    --card-accent: #51A3A3;
    --card-accent-faded: rgba(81, 163, 163, 0.3);
    --card-accent-alpha: rgba(81, 163, 163, 0.03);
    --card-accent-alpha-hover: rgba(81, 163, 163, 0.1);
    --card-glow: rgba(81, 163, 163, 0.25);
}
.card-purple {
    --card-accent: #a855f7;
    --card-accent-faded: rgba(168, 85, 247, 0.3);
    --card-accent-alpha: rgba(168, 85, 247, 0.03);
    --card-accent-alpha-hover: rgba(168, 85, 247, 0.1);
    --card-glow: rgba(168, 85, 247, 0.25);
}
.card-blue {
    --card-accent: #3b82f6;
    --card-accent-faded: rgba(59, 130, 246, 0.3);
    --card-accent-alpha: rgba(59, 130, 246, 0.03);
    --card-accent-alpha-hover: rgba(59, 130, 246, 0.1);
    --card-glow: rgba(59, 130, 246, 0.25);
}
.card-yellow {
    --card-accent: #eab308;
    --card-accent-faded: rgba(234, 179, 8, 0.3);
    --card-accent-alpha: rgba(234, 179, 8, 0.03);
    --card-accent-alpha-hover: rgba(234, 179, 8, 0.1);
    --card-glow: rgba(234, 179, 8, 0.25);
}
.card-rose {
    --card-accent: #f43f5e;
    --card-accent-faded: rgba(244, 63, 94, 0.3);
    --card-accent-alpha: rgba(244, 63, 94, 0.03);
    --card-accent-alpha-hover: rgba(244, 63, 94, 0.1);
    --card-glow: rgba(244, 63, 94, 0.25);
}
.card-green {
    --card-accent: #22c55e;
    --card-accent-faded: rgba(34, 197, 94, 0.3);
    --card-accent-alpha: rgba(34, 197, 94, 0.03);
    --card-accent-alpha-hover: rgba(34, 197, 94, 0.1);
    --card-glow: rgba(34, 197, 94, 0.25);
}
.card-orange {
    --card-accent: #f97316;
    --card-accent-faded: rgba(249, 115, 22, 0.3);
    --card-accent-alpha: rgba(249, 115, 22, 0.03);
    --card-accent-alpha-hover: rgba(249, 115, 22, 0.1);
    --card-glow: rgba(249, 115, 22, 0.25);
}
.card-indigo {
    --card-accent: #6366f1;
    --card-accent-faded: rgba(99, 102, 241, 0.3);
    --card-accent-alpha: rgba(99, 102, 241, 0.03);
    --card-accent-alpha-hover: rgba(99, 102, 241, 0.1);
    --card-glow: rgba(99, 102, 241, 0.25);
}
.card-emerald {
    --card-accent: #10b981;
    --card-accent-faded: rgba(16, 185, 129, 0.3);
    --card-accent-alpha: rgba(16, 185, 129, 0.03);
    --card-accent-alpha-hover: rgba(16, 185, 129, 0.1);
    --card-glow: rgba(16, 185, 129, 0.25);
}
.card-cyan {
    --card-accent: #06b6d4;
    --card-accent-faded: rgba(6, 182, 212, 0.3);
    --card-accent-alpha: rgba(6, 182, 212, 0.03);
    --card-accent-alpha-hover: rgba(6, 182, 212, 0.1);
    --card-glow: rgba(6, 182, 212, 0.25);
}
.card-pink {
    --card-accent: #ec4899;
    --card-accent-faded: rgba(236, 72, 153, 0.3);
    --card-accent-alpha: rgba(236, 72, 153, 0.03);
    --card-accent-alpha-hover: rgba(236, 72, 153, 0.1);
    --card-glow: rgba(236, 72, 153, 0.25);
}

/* Unique Cyber-Bento Service Cards */
.service-card {
    position: relative;
    border-radius: 1.25rem !important; /* rounded-2xl */
    background: linear-gradient(135deg, var(--card-accent-alpha) 0%, transparent 50%), rgba(10, 10, 12, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--card-accent-faded) !important;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Background Cyber Grid Pattern */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 50%, var(--card-accent-alpha, rgba(255, 255, 255, 0.01)) 0%, transparent 80%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px, 24px 24px;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

/* Hover Glowing Liquid Gradient Mesh */
.service-card .card-glow-bg {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, var(--card-accent-alpha-hover, rgba(255, 255, 255, 0.05)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.service-card:hover .card-glow-bg {
    opacity: 1;
    transform: scale(1);
    animation: liquidMesh 8s linear infinite;
}

@keyframes liquidMesh {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(8%, -8%) scale(1.05);
    }
    66% {
        transform: translate(-8%, 8%) scale(0.95);
    }
}

/* Noise overlay inside the card */
.service-card .card-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

/* Hover state for the card itself */
.service-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--card-accent) !important;
    box-shadow: 0 25px 50px -12px var(--card-glow, rgba(0, 0, 0, 0.5)), 0 0 20px -2px var(--card-accent-faded) !important;
}

/* Grid lines become brighter on hover */
.service-card:hover::before {
    opacity: 0.8;
    background: 
        radial-gradient(circle at 50% 50%, var(--card-accent-alpha-hover) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px, 24px 24px;
}

/* Service Card Inner Elements */
.service-card .icon-container {
    width: 3rem;
    height: 3rem;
    background: var(--card-accent-alpha);
    border: 1px solid var(--card-accent-faded);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--card-accent, #ffffff);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-card:hover .icon-container {
    background: var(--card-accent);
    color: #ffffff;
    box-shadow: 0 0 20px 0 var(--card-accent-faded);
    transform: scale(1.05) rotate(3deg);
}

.service-card .icon-container svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .icon-container svg {
    transform: scale(1.1);
}

/* Client Badges Float Animation */
@keyframes client-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.client-badge-animated {
    animation: client-float 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulsing Dot animation */
@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(81, 163, 163, 0.7);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 8px 2px rgba(81, 163, 163, 0.4);
    }
}

.client-dot-animated {
    animation: dot-pulse 2s ease-in-out infinite;
}

/* Parent container hover interactions */
.clients-container:hover .client-badge-animated:not(:hover) {
    opacity: 0.5;
    transform: scale(0.95);
}

.client-badge-animated:hover {
    color: #ffffff !important;
    transform: translateY(-6px) scale(1.05) !important;
}

/* ==========================================================================
   Showcase Sandbox Redesign Styles (Option 1)
   ========================================================================== */

/* Active brand accent transitions */
#showcase {
    --active-brand-color: #51A3A3;
    --active-brand-glow: rgba(81, 163, 163, 0.25);
    transition: --active-brand-color 0.5s ease, --active-brand-glow 0.5s ease;
}

/* Custom Scrollbar styling for client lists */
#sandbox-client-list::-webkit-scrollbar {
    width: 4px;
}
#sandbox-client-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
#sandbox-client-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
#sandbox-client-list::-webkit-scrollbar-thumb:hover {
    background: var(--active-brand-color, rgba(81, 163, 163, 0.5));
}

/* Sandbox Client Button */
.sandbox-client-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sandbox-client-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.5);
}

.sandbox-client-btn-active {
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-2px);
    font-weight: 800;
}

/* Sandbox Step Tab button */
.sandbox-step-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sandbox-step-tab:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

/* Mockup browser frame border transitions */
.sandbox-browser-mockup {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(12, 12, 14, 0.9);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.sandbox-browser-mockup:hover {
    border-color: var(--active-brand-color, rgba(255, 255, 255, 0.2));
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--active-brand-glow);
}

/* Image preview scaling & cross-fade effects */
#sandbox-browser-image {
    transition: opacity 0.25s ease, transform 0.25s ease;
    will-change: opacity, transform;
}

.scale-98 {
    transform: scale(0.98) !important;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .sandbox-client-list-container {
        position: relative;
        width: 100%;
        /* Smooth gradient fade mask on the right edge of horizontal scroll */
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }
    
    #sandbox-client-list {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.75rem;
        padding-right: 4rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }
    
    #sandbox-client-list::-webkit-scrollbar {
        display: none; /* WebKit */
    }
    
    .sandbox-client-btn {
        width: auto !important;
        flex-shrink: 0;
        padding: 0.75rem 1.25rem !important;
    }
    
    #sandbox-step-tabs {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-right: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }
    
    #sandbox-step-tabs::-webkit-scrollbar {
        display: none; /* WebKit */
    }
    
    .sandbox-step-tab {
        flex-shrink: 0 !important;
    }
    
    .lg\:sticky {
        position: static !important;
    }
}

/* ==========================================================================
   Why EventRSVP Section Styles (Option 2 Bento Grid & Geometric Mesh)
   ========================================================================== */
.why-card-bento {
    position: relative;
    border-radius: 1.25rem !important; /* rounded-2xl */
    background: 
        radial-gradient(circle at 100% 100%, var(--why-accent-mesh, rgba(81, 163, 163, 0.08)) 0%, transparent 60%),
        radial-gradient(circle at 0% 0%, var(--why-accent-mesh-alt, rgba(212, 15, 80, 0.08)) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' preserveAspectRatio='none'%3E%3Cpath d='M30,80 L140,40 L260,90 L200,220 L80,240 L30,80 M140,40 L200,220 M30,80 L200,220 M260,90 L80,240 M140,40 L80,240' stroke='rgba(255,255,255,0.025)' stroke-width='0.75' fill='none'/%3E%3Ccircle cx='30' cy='80' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='140' cy='40' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='260' cy='90' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='200' cy='220' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='80' cy='240' r='1.5' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E"),
        #0b0b0d !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
    border: 2px solid rgba(255, 255, 255, 0.04) !important;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, border-color 0.4s ease !important;
    opacity: 0;
    will-change: transform, opacity;
}

/* Alternate entry animations for snapping kinetic reveal */
.why-card-bento.slide-from-left {
    transform: translateX(-50px) scale(0.95);
}
.why-card-bento.slide-from-right {
    transform: translateX(50px) scale(0.95);
}

.why-card-bento.reveal-active {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

.why-card-bento::before {
    content: "";
    position: absolute;
    inset: -2px; /* Pull border outwards slightly */
    border-radius: 1.25rem;
    padding: 2px; /* Border width */
    background: linear-gradient(135deg, 
        var(--why-accent-border, rgba(81, 163, 163, 0.4)), 
        var(--why-accent-border-alt, rgba(212, 15, 80, 0.4))
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.3; /* Base opacity */
}

.why-card-bento:hover::before {
    opacity: 1; /* Brighten border on hover */
}

.why-card-bento:hover {
    transform: translateY(-8px) scale(1.015) !important;
    border-color: transparent !important; /* Hide fallback border on hover to show gradient border */
    background: 
        radial-gradient(circle at 100% 100%, var(--why-accent-mesh-hover, rgba(81, 163, 163, 0.2)) 0%, transparent 60%),
        radial-gradient(circle at 0% 0%, var(--why-accent-mesh-alt-hover, rgba(212, 15, 80, 0.2)) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300' preserveAspectRatio='none'%3E%3Cpath d='M30,80 L140,40 L260,90 L200,220 L80,240 L30,80 M140,40 L200,220 M30,80 L200,220 M260,90 L80,240 M140,40 L80,240' stroke='rgba(255,255,255,0.04)' stroke-width='0.75' fill='none'/%3E%3Ccircle cx='30' cy='80' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='140' cy='40' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='260' cy='90' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='200' cy='220' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='80' cy='240' r='1.5' fill='rgba(255,255,255,0.12)'/%3E%3C/svg%3E"),
        #0b0b0d !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100% !important;
    box-shadow: 0 25px 50px -15px var(--why-glow, rgba(81, 163, 163, 0.35)) !important;
}

.why-card-bento:hover::before {
    background: linear-gradient(135deg, 
        var(--why-accent, #51A3A3) 0%, 
        var(--why-accent-faded, rgba(81, 163, 163, 0.3)) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
}

/* Themes matching the bento mesh color strategy */
.why-card-bento.theme-teal {
    --why-accent: #51A3A3;
    --why-accent-border: #51A3A3;
    --why-accent-border-alt: rgba(212, 15, 80, 0.2); /* split accent */
    --why-accent-mesh: rgba(81, 163, 163, 0.12);
    --why-accent-mesh-alt: rgba(212, 15, 80, 0.04);
    --why-accent-mesh-hover: rgba(81, 163, 163, 0.22);
    --why-accent-mesh-alt-hover: rgba(212, 15, 80, 0.08);
    --why-glow: rgba(81, 163, 163, 0.35);
}

.why-card-bento.theme-red {
    --why-accent: #D40F50;
    --why-accent-border: #D40F50;
    --why-accent-border-alt: rgba(81, 163, 163, 0.2); /* split accent */
    --why-accent-mesh: rgba(212, 15, 80, 0.12);
    --why-accent-mesh-alt: rgba(81, 163, 163, 0.04);
    --why-accent-mesh-hover: rgba(212, 15, 80, 0.22);
    --why-accent-mesh-alt-hover: rgba(81, 163, 163, 0.08);
    --why-glow: rgba(212, 15, 80, 0.35);
}

/* Icon container decoration */
.why-icon-container {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--why-accent, #ffffff);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    margin-bottom: 1.5rem;
}

.why-card-bento:hover .why-icon-container {
    background: var(--why-accent);
    color: #ffffff;
    box-shadow: 0 0 20px 0 var(--why-accent-faded);
    transform: scale(1.05) rotate(3deg);
}

.why-icon-container svg {
    width: 1.75rem;
    height: 1.75rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card-bento:hover .why-icon-container svg {
    transform: scale(1.1);
}

/* ==========================================================================
   About Section - Option 2 (Editorial Split Deck) Styles
   ========================================================================== */

/* Split Grid Layout */
.about-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-split-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

/* Left Deck - Tab Buttons */
.about-tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.about-tab-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.about-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.about-tab-btn.active {
    color: #ffffff;
    background: rgba(81, 163, 163, 0.1);
    border-color: rgba(81, 163, 163, 0.3);
    box-shadow: 0 0 15px -3px rgba(81, 163, 163, 0.2);
}

.about-tab-btn.active:nth-child(2) {
    background: rgba(212, 15, 80, 0.1);
    border-color: rgba(212, 15, 80, 0.3);
    box-shadow: 0 0 15px -3px rgba(212, 15, 80, 0.2);
}

.about-tab-btn.active:nth-child(3) {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 15px -3px rgba(168, 85, 247, 0.2);
}

/* Left Deck - Content Switcher with animations */
.about-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.about-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Right Deck - Canvas Preview Mockup */
.about-canvas-card {
    position: relative;
    border-radius: 1.5rem;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%), #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.about-canvas-card:hover {
    border-color: rgba(81, 163, 163, 0.2);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(81, 163, 163, 0.15);
}

.about-canvas-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.5;
    pointer-events: none;
}

/* Floating Status Pills/Cards inside Mockup */
.about-floating-card {
    position: absolute;
    padding: 0.75rem 1rem;
    background: rgba(26, 26, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    user-select: none;
}

.about-floating-card:hover {
    transform: scale(1.05) !important;
    border-color: var(--card-border-hover, rgba(255, 255, 255, 0.2));
    background: rgba(26, 26, 30, 0.95);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.6);
}

/* Animations for Floating Pills */
@keyframes about-float-1 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes about-float-2 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes about-float-3 {
    0%, 100% { transform: translateY(0px) rotate(0.5deg); }
    50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.float-pill-1 {
    animation: about-float-1 7s ease-in-out infinite;
}

.float-pill-2 {
    animation: about-float-2 8s ease-in-out infinite;
    animation-delay: 1.5s;
}

.float-pill-3 {
    animation: about-float-3 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* Active states driven by parent class on .about-canvas-card */
/* Central Orb */
.about-canvas-card.active-mission #canvas-orb {
    background: radial-gradient(circle, rgba(81, 163, 163, 0.25) 0%, transparent 70%);
    opacity: 0.8;
}
.about-canvas-card.active-heritage #canvas-orb {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    opacity: 0.8;
}
.about-canvas-card.active-philosophy #canvas-orb {
    background: radial-gradient(circle, rgba(212, 15, 80, 0.25) 0%, transparent 70%);
    opacity: 0.8;
}

/* Target Pill Highlighting */
.about-canvas-card.active-mission #pill-branded {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    transform: scale(1.08) !important;
}
.about-canvas-card.active-heritage #pill-heritage {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    transform: scale(1.08) !important;
}
.about-canvas-card.active-philosophy #pill-popia {
    border-color: rgba(81, 163, 163, 0.6);
    box-shadow: 0 0 15px rgba(81, 163, 163, 0.3);
    transform: scale(1.08) !important;
}
.about-canvas-card.active-philosophy #pill-bespoke {
    border-color: rgba(212, 15, 80, 0.6);
    box-shadow: 0 0 15px rgba(212, 15, 80, 0.3);
    transform: scale(1.08) !important;
}
.about-canvas-card.active-philosophy #pill-reports {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
    transform: scale(1.08) !important;
}

/* Noise and grain texture overlay for background elements */
.noise-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015; /* Extremely subtle organic grain */
    pointer-events: none;
    z-index: 1;
}

/* Glowing tech divider lines */
.laser-divider {
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--divider-color-1, #51A3A3) 25%, var(--divider-color-2, #D40F50) 75%, transparent 100%);
    box-shadow: 0 0 15px 1px var(--divider-glow, rgba(81, 163, 163, 0.4));
    opacity: 0.6;
    z-index: 5;
    pointer-events: none;
}

/* Typewriter animation for tech accents */
@keyframes tech-type {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes cursor-blink {
    50% { border-color: transparent; }
}

.tech-typewriter {
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden;
    white-space: nowrap;
    border-right: 1px solid currentColor;
    width: 0;
    animation: 
        tech-type 1s steps(18, end) forwards,
        cursor-blink 0.8s step-end infinite;
}

/* Alternate colors for typewriter text */
.tech-color-teal {
    color: #51A3A3;
    opacity: 0.75;
    text-shadow: 0 0 4px rgba(81, 163, 163, 0.3);
}

.tech-color-cyan {
    color: #06b6d4;
    opacity: 0.85;
    text-shadow: 0 0 4px rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   Request a Quote Form Enhancements & Ticket Preview Styles
   ========================================================================== */

/* Step Indicators Styles */
.step-indicator {
    transition: all 0.3s ease;
}
.step-indicator.active span:first-child {
    background-color: #51A3A3 !important;
    color: #000000 !important;
    box-shadow: 0 0 10px rgba(81, 163, 163, 0.4);
}
.step-indicator.active span:last-child {
    color: #ffffff !important;
}
.step-indicator.completed span:first-child {
    background-color: #D40F50 !important;
    color: #ffffff !important;
}
.step-indicator.completed span:last-child {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Custom Interactive Checkbox Tiles */
.module-tile-check {
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.module-tile-check:hover {
    border-color: rgba(81, 163, 163, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
}
.module-tile-check:has(input:checked) {
    border-color: #51A3A3 !important;
    background-color: rgba(81, 163, 163, 0.08) !important;
    box-shadow: 0 0 15px rgba(81, 163, 163, 0.15), inset 0 0 10px rgba(81, 163, 163, 0.05);
}
.module-tile-check:has(input:checked) span:first-of-type {
    color: #51A3A3 !important;
}

/* Date Badge Tags */
.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(81, 163, 163, 0.08);
    border: 1px solid rgba(81, 163, 163, 0.2);
    color: #51A3A3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
    animation: badge-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes badge-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.date-badge:hover {
    background: rgba(81, 163, 163, 0.15);
    border-color: rgba(81, 163, 163, 0.4);
}
.date-badge .remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #51A3A3;
    font-size: 9px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
}
.date-badge .remove-btn:hover {
    background: #D40F50;
    color: #ffffff;
}

/* Input Glowing Effects */
.glow-input {
    transition: all 0.25s ease;
}
.glow-input:focus {
    outline: none !important;
    border-color: #51A3A3 !important;
    box-shadow: 0 0 10px rgba(81, 163, 163, 0.2) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Specs Ticket Styling */
.quote-preview-ticket {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111216;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.quote-preview-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #51A3A3 0%, #D40F50 100%);
    opacity: 0.6;
}
.quote-preview-ticket:hover {
    border-color: rgba(81, 163, 163, 0.25) !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(81, 163, 163, 0.15) !important;
}

/* Barcode hover scan line animation */
@keyframes scan-line-anim {
    0% {
        top: 0%;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}
.quote-preview-ticket::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #51A3A3;
    box-shadow: 0 0 8px 1px #51A3A3;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}
.quote-preview-ticket:hover::after {
    animation: scan-line-anim 3s linear infinite;
}

/* Calendar Date Picker dark theme overrides */
#event-date-picker {
    color-scheme: dark;
}

/* Event Format Visual Tiles */
.format-tile {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.format-tile:hover {
    border-color: rgba(81, 163, 163, 0.4);
    background: rgba(255, 255, 255, 0.08);
}
.format-tile.active {
    border-color: #51A3A3 !important;
    background: rgba(81, 163, 163, 0.08) !important;
    box-shadow: 0 0 15px rgba(81, 163, 163, 0.15), inset 0 0 10px rgba(81, 163, 163, 0.05);
}
.format-tile.active svg {
    color: #51A3A3 !important;
}
.format-tile.active span:first-of-type {
    color: #ffffff !important;
}

/* Roadshow Stops UI Builder */
.roadshow-stops-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
}
.roadshow-stop-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    animation: badge-fade-in 0.25s ease forwards;
}
@media (min-width: 640px) {
    .roadshow-stop-row {
        flex-direction: row;
        align-items: center;
    }
}
.roadshow-stop-remove-btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(212, 15, 80, 0.1);
    color: #D40F50;
    border: 1px solid rgba(212, 15, 80, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}
@media (min-width: 640px) {
    .roadshow-stop-remove-btn {
        align-self: center;
    }
}
.roadshow-stop-remove-btn:hover {
    background: #D40F50;
    color: #ffffff;
    border-color: #D40F50;
}

/* Sticky Right Column Container */
@media (min-width: 1024px) {
    .sticky-ticket-container {
        position: sticky;
        top: 2rem;
        align-self: start;
    }
}

/* ==========================================================================
   Services Grid Optimization (Option B)
   ========================================================================== */

/* Mobile viewport adjustments (< 768px) */
@media (max-width: 767px) {
    .services-grid .service-card.lg\:col-span-2 {
        gap: 0.75rem !important; /* Matches standard paragraph mb-3 of single-width cards */
    }
}

/* Tablet viewport adjustments (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Ensure double-width cards occupy the full row */
    .services-grid .service-card.lg\:col-span-2 {
        grid-column: span 2 !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 2rem !important;
    }
    
    /* Adapt double-width columns */
    .services-grid .service-card.lg\:col-span-2 > div.flex-col {
        width: 33.333% !important;
        flex-shrink: 0 !important;
    }
    
    .services-grid .service-card.lg\:col-span-2 > p {
        flex-grow: 1 !important;
    }

    /* Set flex/grid order on tablet to prevent gaps:
       Cards 1 & 2 -> Row 1 (1 col each)
       Card 3 -> Row 2 (2 cols)
       Card 4 & 6 -> Row 3 (1 col each - reordered to fill the row)
       Card 5 -> Row 4 (2 cols)
       Card 7 -> Row 5 (2 cols)
       Card 8 -> Row 6 (2 cols)
    */
    .services-grid .service-card:nth-of-type(1) { order: 1; }
    .services-grid .service-card:nth-of-type(2) { order: 2; }
    .services-grid .service-card:nth-of-type(3) { order: 3; }
    .services-grid .service-card:nth-of-type(4) { order: 4; }
    .services-grid .service-card:nth-of-type(6) { order: 5; } /* Move Card 6 before Card 5 on tablet */
    .services-grid .service-card:nth-of-type(5) { order: 6; } /* Move Card 5 after Card 6 on tablet */
    .services-grid .service-card:nth-of-type(7) { order: 7; }
    .services-grid .service-card:nth-of-type(8) { order: 8; }
}


/* Reset order and apply horizontal layout on Desktop (1024px+) */
@media (min-width: 1024px) {
    .services-grid .service-card {
        order: initial !important;
    }

    /* lg:flex-row is missing from the pre-built Tailwind, so apply it explicitly */
    .services-grid .service-card.lg\:col-span-2 {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 2rem !important;
    }

    .services-grid .service-card.lg\:col-span-2 > div.flex-col {
        width: 33.333% !important;
        flex-shrink: 0 !important;
    }

    .services-grid .service-card.lg\:col-span-2 > p {
        flex-grow: 1 !important;
        align-self: flex-start !important;
        padding-top: 4.5rem !important; /* icon 3rem + margin-bottom 1.5rem = aligns p with h3 */
    }
}
