/* Services Page Enhanced Styles */
/* Scoped token-like variables for services page only */
html[data-page="services"] {
  --svc-bg: #ffffff;
  --svc-text: #0b0b0c;
  --svc-muted: #4b5563;
  --svc-border: #e5e7eb;
  --svc-elev: #f8fafc;
  --svc-brand: #7C3AED; /* primary */
  --svc-accent: #22D3EE; /* accent */
  --svc-radius: 16px;
  --svc-radius-lg: 24px;
}

/* Services Hero Section */
.services-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--svc-bg);
    color: var(--svc-text);
    padding: 2rem 0;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(92, 51, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(194, 255, 77, 0.02) 0%, transparent 40%);
    opacity: 0.8;
}

.services-hero .hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    position: relative !important;
    z-index: 2;
    /* Override conflicting styles from main CSS */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1.5rem;
}

.services-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--svc-text);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.services-hero .hero-title .hero-line {
    display: block;
    position: relative;
}

.services-hero .hero-title .hero-line:first-child {
    font-size: 0.8em;
    font-weight: 600;
    color: #5C33FF;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.services-hero .hero-title .hero-line:last-child {
    font-weight: 800;
    color: #000000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--svc-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.85;
}

.services-hero .hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-hero .hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    background: var(--svc-brand);
    color: #ffffff;
    border: 2px solid var(--svc-brand);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(92, 51, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
    min-width: 160px;
}

.services-hero .hero-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.services-hero .hero-cta .cta-button:hover::before {
    left: 100%;
}

.services-hero .hero-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(92, 51, 255, 0.3);
    background: #6B2FE8;
    border-color: #6B2FE8;
}

.services-hero .hero-cta .cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(92, 51, 255, 0.2);
}

.services-hero .hero-cta .cta-button.secondary {
    background: transparent;
    color: var(--svc-brand);
    border-color: var(--svc-brand);
}

.services-hero .hero-cta .cta-button.secondary:hover {
    background: var(--svc-brand);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(92, 51, 255, 0.3);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5C33FF, #C2FF4D);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(92, 51, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(92, 51, 255, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsive for Services Hero */
@media (max-width: 768px) {
    .services-overview { padding: 56px 0; }
    .detailed-services { padding: 56px 0; }
    .service-detail { margin-bottom: 2.25rem; }
    .service-detail-content { gap: 1.75rem; }
    .services-hero {
        min-height: 50vh;
        padding: 1rem 0;
    }

    .services-hero .hero-content {
        padding: 0 1rem;
        gap: 1rem;
    }

    .services-hero .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
        margin-bottom: 1rem;
        gap: 0.25rem;
    }

    .services-hero .hero-title .hero-line:first-child {
        font-size: 0.9em;
        margin-bottom: 0.25rem;
    }

    .services-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .services-hero .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .services-hero .hero-cta .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-overview { padding: 48px 0; }
    .detailed-services { padding: 48px 0; }
    .services-hero {
        min-height: 40vh;
    }

    .services-hero .hero-title {
        font-size: clamp(1.8rem, 12vw, 3rem);
    }

    .services-hero .hero-subtitle {
        font-size: 1rem;
    }

    .services-hero .hero-cta .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Viking Game Enhanced Styles */
.viking-game-section {
    padding: var(--section-padding);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.viking-game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e6e6e6 50%, #ffffff 100%);
    pointer-events: none;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.game-canvas-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(92, 51, 255, 0.3), 0 0 40px rgba(194, 255, 77, 0.2);
    background: #fff;
    border: 2px solid rgba(92, 51, 255, 0.3);
}

/* Control mode toggle (mobile) */
.control-toggle {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top));
    right: 10px;
    display: flex;
    gap: 6px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(92, 51, 255, 0.25);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 1101;
}

.control-toggle .toggle-option {
    appearance: none;
    border: 0;
    background: transparent;
    color: #222;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.control-toggle .toggle-option.active,
.control-toggle .toggle-option[aria-pressed="true"] {
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(92,51,255,0.35);
}

@media (min-width: 901px) {
    .control-toggle { display: none; }
}

#gameCanvas {
    display: block;
    border-radius: 20px;
    background: #2d4a3e;
    max-width: 100%;
    height: auto;
    touch-action: none; /* Prevent scroll/pinch interfering with gameplay */
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.4s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.game-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.game-instructions {
    text-align: center;
    color: #000000;
    max-width: 500px;
    padding: 3rem;
}

.game-instructions h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.control-key {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(92, 51, 255, 0.4);
    transition: all 0.3s ease;
}

.control-key:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(92, 51, 255, 0.6);
}

.game-start-btn {
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 12px 35px rgba(92, 51, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(92, 51, 255, 0.6);
}

.game-start-btn:active {
    transform: translateY(-1px);
}

/* Enhanced Game UI */
.game-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(92, 51, 255, 0.05) 0%, rgba(194, 255, 77, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #000000;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 51, 255, 0.3);
}

.stat-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5C33FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Game Over Overlay */
.game-over-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.game-over-content {
    text-align: center;
    color: #000000;
    max-width: 500px;
    padding: 3rem;
}

.game-over-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.game-over-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-over-message {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.game-over-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.final-score, .final-level {
    background: rgba(92, 51, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(92, 51, 255, 0.3);
}

.game-over-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.game-restart-btn, .game-menu-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-restart-btn {
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(92, 51, 255, 0.4);
}

.game-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #000000;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.game-restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(92, 51, 255, 0.6);
}

.game-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Coupon Display */
.game-coupon {
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(92, 51, 255, 0.4);
    animation: couponAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    margin-top: 2rem;
}

@keyframes couponAppear {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.game-coupon h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-coupon p {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.coupon-code {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 2px dashed rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.coupon-code span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 8px;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-1px);
}

.coupon-note {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}

.coupon-bonus {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.bonus-text {
    font-weight: 700;
    color: #000000;
    font-size: 1.1rem;
}

/* Mobile Controls */
#mobileControls {
    position: absolute;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1100; /* Above sticky mobile bar */
}

#mobileControls button {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#mobileControls button:active {
    transform: scale(0.95);
}

/* Services Overview Section */
.services-overview {
    padding: 96px 0;
    position: relative;
    background: #ffffff;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(92, 51, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(194, 255, 77, 0.03) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Ensure all service cards are visible */
.service-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
}

/* Modern Service Cards */
.service-card {
    background: var(--svc-elev);
    border: 1px solid var(--svc-border);
    border-radius: var(--svc-radius-lg);
    padding: 1.75rem 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(120% 120% at 100% 0%, rgba(124,58,237,0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: var(--svc-radius-lg);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(124, 58, 237, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
    animation: cardRotate 6s linear infinite;
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.3); box-shadow: 0 18px 30px rgba(0,0,0,0.08); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 0.25; }

.service-card > * {
    position: relative;
    z-index: 2;
}

/* Service Icons */
.service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    position: relative;
    transition: all 0.25s ease;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--svc-brand);
    transition: all 0.25s ease;
}

.service-card:hover .service-icon { background: rgba(124,58,237,0.18); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.service-card:hover .service-icon svg { color: var(--svc-brand); transform: none; }

/* Service Card Content */
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--svc-text);
    text-align: center;
    transition: all 0.25s ease;
}

.service-card:hover h3 { color: var(--svc-text); transform: translateY(-1px); }

.service-card p {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: center;
    transition: all 0.25s ease;
}

.service-card:hover p { color: rgba(0,0,0,0.85); }

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: rgba(0, 0, 0, 0.6);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--svc-brand);
    font-weight: 700;
    transition: all 0.2s ease;
}

.service-card:hover li {
    color: rgba(0, 0, 0, 0.8);
    transform: translateX(5px);
}

.service-card:hover li::before { transform: translateX(5px); }

/* Service Pricing */
.service-pricing {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--svc-border);
    text-align: center;
}

.pricing-range {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--svc-brand);
    margin-bottom: 0.5rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.55);
}

/* Detailed Services Section */
.detailed-services {
    padding: 96px 0;
    background: var(--svc-bg);
    position: relative;
}

.detailed-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(92, 51, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(194, 255, 77, 0.02) 0%, transparent 50%);
}

.service-detail {
    margin-bottom: 4rem;
    position: relative; /* create local stacking context */
    isolation: isolate;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0A0A0A 0%, var(--svc-brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-detail-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    background: var(--svc-elev);
    border: 1px solid var(--svc-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #f4f5f7;
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #C2FF4D;
    margin-bottom: 0.5rem;
}

.feature p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.service-detail-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.service-detail-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

.service-detail-visual:hover img {
    transform: scale(1.05);
}

/* Process Section Enhancement */
.process-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    min-height: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border-top: 1px solid rgba(92, 51, 255, 0.1);
    border-bottom: 1px solid rgba(92, 51, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(92, 51, 255, 0.05);
    z-index: 10;
}

.process-section .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.process-section .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.process-section .section-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Methodology Intro Section */
.methodology-intro {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.methodology-highlight {
    background: linear-gradient(135deg, rgba(92, 51, 255, 0.1), rgba(194, 255, 77, 0.05)) !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    border: 2px solid rgba(92, 51, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 80px !important;
    box-shadow: 0 4px 15px rgba(92, 51, 255, 0.1) !important;
}

.methodology-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 51, 255, 0.15);
    border-color: rgba(92, 51, 255, 0.2);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #5C33FF !important;
    margin: 0 0 0.25rem 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.highlight-content p {
    margin: 0 !important;
    color: #333 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

/* Methodology Features Section */
.methodology-features {
    margin-bottom: 1.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.feature-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 0.75rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.feature-card {
    background: white !important;
    padding: 1.25rem 1rem !important;
    border-radius: 12px !important;
    border: 2px solid rgba(92, 51, 255, 0.2) !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(92, 51, 255, 0.1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 120px !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 51, 255, 0.15);
    border-color: rgba(92, 51, 255, 0.2);
}

.feature-card .feature-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #5C33FF !important;
    margin-bottom: 0.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.feature-card p {
    font-size: 0.9rem !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(92, 51, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(194, 255, 77, 0.02) 0%, transparent 50%);
}

.process-timeline {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 400px !important;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(92, 51, 255, 0.18), transparent);
    z-index: 1;
}

.process-step {
    text-align: center !important;
    padding: 1.25rem !important;
    position: relative !important;
    transition: all 0.4s ease !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    border: 1px solid var(--svc-border) !important;
    box-shadow: 0 4px 20px rgba(92, 51, 255, 0.1) !important;
    z-index: 2 !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 260px !important;
}

/* Removed the vertical line animation that was causing unwanted lines on hover */

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(124, 58, 237, 0.14) !important;
    border: 2px solid rgba(124, 58, 237, 0.28) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.25s ease;
}

/* Force text color on the step bubble for reliability across global styles */
.process-section .step-number,
.process-timeline .step-number {
    color: #111111 !important;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--svc-brand), #C2FF4D) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.process-step:hover .step-number { background: rgba(124, 58, 237, 0.16); transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }

.process-step:hover .step-number::before {
    opacity: 1;
}

.step-number .counter {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--svc-text) !important; /* always readable on light brand bubble */
    transition: all 0.4s ease;
    display: block;
    line-height: 1;
}

/* Fallback for counters if JS doesn't load */
.step-number .counter::after {
    content: attr(data-target);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--svc-text) !important;
}

.step-number .counter[data-animated="true"]::after {
    opacity: 0;
}

.step-number .counter[data-animated="false"]::after {
    opacity: 1;
}

.process-step:hover .step-number .counter {
    color: #C2FF4D;
}

/* Ensure step index stays legible regardless of base theme */
.process-section .step-number .counter,
.process-timeline .step-number .counter {
    color: #111111 !important;
}

.step-content h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #0A0A0A !important;
    margin-bottom: 0.75rem !important;
    transition: all 0.4s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.process-step:hover .step-content h3 { color: var(--svc-brand); }

.step-content p {
    color: #333 !important;
    line-height: 1.5 !important;
    transition: all 0.4s ease !important;
    margin: 0 0 0.75rem 0 !important;
    font-size: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.process-step:hover .step-content p {
    color: rgba(0, 0, 0, 0.9);
}

/* Step Badge */
.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #5C33FF, #C2FF4D);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(92, 51, 255, 0.3);
    z-index: 3;
}

/* Step Details */
.step-details {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.step-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.step-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--svc-brand);
    font-weight: bold;
    font-size: 1rem;
}

.step-details strong {
    color: var(--svc-brand);
    font-weight: 600;
}

/* Step Duration */
.step-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.duration-icon {
    font-size: 1.2rem;
}

.duration-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--svc-brand);
}

/* Mobile Responsive for Process Section */
@media (max-width: 768px) {
    .process-section {
        padding: 60px 0;
        min-height: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .process-section .section-header {
        margin-bottom: 3rem;
    }

    .process-section .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .process-section .section-subtitle {
        font-size: 1.1rem;
        max-width: 500px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step { padding: 1.5rem; margin-bottom: 1rem; text-align: left !important; }

    .step-number { width: 48px; height: 48px; margin: 18px 0 8px 0; }

    .step-number .counter {
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .step-badge { top: 10px; left: 14px; transform: none; border-radius: 999px; font-size: 12px; padding: 6px 10px; }
    .step-duration { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .process-section {
        padding: 40px 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .process-timeline {
        gap: 1.5rem;
    }

    .process-step {
        padding: 1.25rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

/* CTA Section Enhancement */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #e6e6e6 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(92, 51, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(194, 255, 77, 0.05) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0A0A0A 0%, #5C33FF 50%, #C2FF4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.cta-button:first-child {
    background: linear-gradient(135deg, #5C33FF 0%, #C2FF4D 100%);
    color: #000000;
    border: none;
}

.cta-button.secondary {
    background: transparent;
    color: #0A0A0A;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button:first-child:hover {
    box-shadow: 0 20px 40px rgba(92, 51, 255, 0.4);
}

.cta-button.secondary:hover {
    border-color: #C2FF4D;
    color: #C2FF4D;
    box-shadow: 0 20px 40px rgba(194, 255, 77, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-content.reverse {
        direction: ltr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Improve readability and avoid visual overlap between sections */
    .detailed-services .service-detail {
        margin-bottom: 3rem;            /* more breathing room on mobile */
        padding-bottom: 1rem;           /* prevents margin-collapsing */
        border-bottom: 1px solid var(--svc-border);
    }

    .service-detail-text h3 {
        font-size: 2rem;
        margin-top: 0;                  /* remove any top margin that may collapse */
        position: relative;
        z-index: 1;                     /* keep heading above previous cards if they overlap visually */
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile Game Improvements */
    .viking-game-section {
        padding: 60px 0;
    }
    
    .game-container {
        gap: 1rem;
    }
    
    .game-canvas-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    #gameCanvas {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .game-instructions {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .game-instructions h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .controls {
        flex-direction: column;
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .control-key {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .game-start-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .game-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .stat {
        padding: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .game-coupon {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .game-coupon h4 {
        font-size: 1.5rem;
    }
    
    .coupon-code {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coupon-code span {
        font-size: 1.2rem;
    }
    
    /* Mobile Controls */
    #mobileControls {
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        z-index: 100;
    }
    
    #mobileControls button {
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 50%;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        background: rgba(92, 51, 255, 0.8);
        color: white;
    }
    
    #mobileControls button:nth-child(2) {
        background: rgba(194, 255, 77, 0.8);
        color: black;
    }
    
    #mobileControls button:active {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
    }
    
    /* Extra small mobile game adjustments */
    #gameCanvas {
        max-width: 350px;
    }
    
    .game-instructions {
        padding: 1rem;
    }
    
    .game-instructions h3 {
        font-size: 1.2rem;
    }
    
    .control-key {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .game-start-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    #mobileControls button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Methodology Stats Section */
.methodology-stats {
    margin-top: 2rem !important;
    padding: 2rem 0 !important;
    background: linear-gradient(135deg, rgba(92, 51, 255, 0.02), rgba(194, 255, 77, 0.02)) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(92, 51, 255, 0.1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 200px !important;
}

.stats-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.stat-item {
    text-align: center !important;
    padding: 1.25rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(92, 51, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(92, 51, 255, 0.2) !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 120px !important;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 51, 255, 0.15);
    border-color: rgba(92, 51, 255, 0.2);
}

.stat-item .stat-number {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #5C33FF !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 0 2px 4px rgba(92, 51, 255, 0.3) !important;
}

.stat-item .stat-label {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

.stat-item .stat-description {
    font-size: 0.9rem !important;
    color: #333 !important;
    line-height: 1.3 !important;
    margin: 0 0 0.25rem 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.stat-trend {
    font-size: 0.9rem !important;
    color: #5C33FF !important;
    font-weight: 700 !important;
    background: rgba(92, 51, 255, 0.15) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 12px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 1px solid rgba(92, 51, 255, 0.2) !important;
}

/* Methodology Testimonials Section */
.methodology-testimonials {
    margin: 3rem 0 !important;
    padding: 3rem 2rem !important;
    background: linear-gradient(135deg, rgba(92, 51, 255, 0.02), rgba(194, 255, 77, 0.02)) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(92, 51, 255, 0.1) !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 400px !important;
    position: relative !important;
    z-index: 5 !important;
    display: block !important;
}

/* Hard override to ensure visibility if other globals interfere */
.methodology-testimonials .testimonial-card,
.methodology-testimonials .testimonial-card * {
    color: #111111 !important;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2rem;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.testimonials-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #5C33FF !important;
    margin-bottom: 0.25rem;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.testimonials-header p {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7) !important;
    margin: 0;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-card {
    background: white !important;
    padding: 1.25rem !important;
    border-radius: 12px !important;
    border: 2px solid rgba(92, 51, 255, 0.2) !important;
    box-shadow: 0 5px 20px rgba(92, 51, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 150px !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(92, 51, 255, 0.15);
    border-color: rgba(92, 51, 255, 0.2);
}

.testimonial-content {
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: #5C33FF;
    line-height: 1;
    margin-bottom: 0.25rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.88) !important;
    margin: 0;
    font-style: italic;
    visibility: visible !important;
    opacity: 1 !important;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5C33FF, #C2FF4D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.125rem 0;
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Methodology CTA Section */
.methodology-cta {
    margin-top: 2rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #5C33FF, #C2FF4D);
    border-radius: 20px;
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.methodology-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.methodology-btn.primary {
    background: white;
    color: #5C33FF;
    border: 2px solid white;
}

.methodology-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.methodology-btn:hover::before {
    left: 100%;
}

.methodology-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.methodology-btn.primary:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(92, 51, 255, 0.3);
}

.methodology-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.methodology-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .methodology-intro {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .methodology-highlight {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .highlight-icon {
        font-size: 2rem;
    }

    .highlight-content h3 {
        font-size: 1.1rem;
    }

    .highlight-content p {
        font-size: 0.85rem;
    }

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

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card .feature-icon {
        font-size: 2rem;
    }

    .feature-card h4 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

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

    .testimonial-card {
        padding: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-item .stat-number {
        font-size: 2rem;
    }

    .stat-item .stat-label {
        font-size: 1rem;
    }

    .methodology-cta {
        padding: 2.5rem 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.6rem;
    }

    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .methodology-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .methodology-intro {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .methodology-highlight {
        padding: 1rem;
    }

    .highlight-icon {
        font-size: 1.8rem;
    }

    .highlight-content h3 {
        font-size: 1rem;
    }

    .highlight-content p {
        font-size: 0.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .feature-card .feature-icon {
        font-size: 1.8rem;
    }

    .feature-card h4 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .testimonials-header h3 {
        font-size: 1.6rem;
    }

    .testimonials-header p {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .quote-icon {
        font-size: 2.5rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .author-info h5 {
        font-size: 0.9rem;
    }

    .author-info span {
        font-size: 0.8rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .stat-item .stat-label {
        font-size: 0.95rem;
    }

    .stat-item .stat-description {
        font-size: 0.8rem;
    }

    .stat-trend {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .methodology-cta {
        padding: 2rem 1rem;
    }

    .cta-content h3 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .step-details li {
        font-size: 0.85rem;
        padding-left: 1rem;
    }
} 
