/* ============================================================================
   WHITE LABEL PARTNERS PAGE - PREMIUM REDESIGN
   High-End JS & CSS for Agency Partner Showcase
   ============================================================================ */

/* ============================================================================
   GLOBAL STYLES & RESET
   ============================================================================ */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

body {
    background: #000000;
    color: #ffffff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================================
   HERO SECTION (Same as Homepage)
   ============================================================================ */
.white-label-page {
    position: relative;
    padding-top: 0;
}

.wl-hero {
    position: relative;
    overflow: hidden;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: transparent;
}

/* Particles.js Container (same as homepage) */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.wl-hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
    /* opacity: 0; */
    /* transform: translateY(20px); */
}

.hero-badge.visible {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.wl-hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.wl-hero h1.visible {
    animation: fadeInUp 1s ease 0.2s forwards;
}

.highlight-gradient {
    background: linear-gradient(135deg, #00FFFF 0%, #00C3FF 50%, #0099FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.highlight-gradient::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #00FFFF 50%, transparent 100%);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 300;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.hero-subtitle.visible {
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.hero-cta-group.visible {
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* ============================================================================
   BUTTON STYLES
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span, .btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #00FFFF 0%, #00C3FF 100%);
    color: #000000;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #00FFFF;
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: #00FFFF;
    background: rgba(0, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================================================
   TRUST INDICATORS
   ============================================================================ */
.trust-indicators {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.trust-indicators.visible {
    animation: fadeInUp 1s ease 0.8s forwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.trust-item svg {
    flex-shrink: 0;
}

/* ============================================================================
   GLASS CARD COMPONENT
   ============================================================================ */
.glass-card {
    background: linear-gradient(135deg,
        rgba(15, 20, 30, 0.9) 0%,
        rgba(10, 15, 25, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 255, 255, 0.5) 50%,
        transparent 100%);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */
.wl-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    /* opacity: 0; */
    /* transform: translateY(30px); */
}

.section-header.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* ============================================================================
   PROBLEM/SOLUTION SECTION - RENOVATED
   ============================================================================ */
/* Styles moved to renovated section below */


/* Section Header */
.ps-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
    opacity: 1;
    transform: translateY(0);
}

.ps-header.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.ps-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 195, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00FFFF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ps-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.ps-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.6;
}

/* Main Layout */
.ps-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ps-problem-side,
.ps-solution-side {
    opacity: 1;
    transform: translateY(0);
}

.ps-problem-side.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.ps-solution-side.visible {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Card Base Styles */
.ps-card {
    background: rgba(20, 25, 35, 0.7);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ps-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.problem-card {
    background: linear-gradient(145deg, rgba(255, 107, 107, 0.08) 0%, rgba(20, 25, 35, 0.95) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 107, 107, 0.05);
}

/* Problem/Solution Section - Renovated Design */
.problem-solution-section {
    background: linear-gradient(135deg, #0a1419 0%, #0f1f26 50%, #0a1419 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle cyan glow */
.problem-solution-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
  animation: gentleGlow 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay */
.problem-solution-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

@keyframes gentleGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.ps-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.ps-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6B6B;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.ps-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.ps-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.ps-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Common Card Styles */
.ps-card {
    padding: 3rem;
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Problem Card Specifics */
.problem-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, transparent);
}

/* Solution Card Specifics */
.solution-card {
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00FF88, transparent);
}

/* Card Badges */
.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.problem-badge {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
}

.solution-badge {
    background: rgba(0, 255, 136, 0.1);
    color: #00FF88;
}

/* Typography */
.ps-card-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-accent-red { color: #FF6B6B; }
.text-accent-green { color: #00FF88; }

.ps-card-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Pain Grid (2x2 Layout) */
.ps-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pain-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-item:hover {
    background: rgba(255, 107, 107, 0.05);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-5px);
}

.pain-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
}

.pain-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.pain-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Problem CTA */
.problem-cta {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.problem-stat {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-highlight {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FF6B6B;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Solution Features (Vertical List) */
.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.solution-feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.solution-feature:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateX(10px);
}

.feature-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0, 255, 136, 0.3);
    line-height: 1;
}

.solution-feature:hover .feature-number {
    color: #00FF88;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

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

.feature-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(0, 255, 136, 0.1);
    color: #00FF88;
}

/* Solution Stats Grid */
.solution-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.solution-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.stat-number-large {
    font-size: 2rem;
    font-weight: 800;
    color: #00FF88;
    margin-bottom: 0.25rem;
}

.stat-label-large {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-subtext {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Solution CTA */
.solution-cta {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ps-main-layout {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .problem-solution-section {
        padding: 6rem 0;
    }

    .ps-main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ps-header {
        margin-bottom: 4rem;
    }

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

@media (max-width: 768px) {
    .problem-solution-section {
        padding: 4rem 0;
    }

    .ps-card {
        padding: 2rem;
    }

    .ps-card-title {
        font-size: 1.75rem;
    }

    .ps-pain-grid {
        grid-template-columns: 1fr;
    }

    .pain-item,
    .solution-feature {
        flex-direction: column;
        text-align: center;
    }

    .pain-icon,
    .feature-number {
        margin: 0 auto;
    }
}

/* Old problem/solution styles - keeping for backwards compatibility */
.problem-section {
    background:
        radial-gradient(ellipse at top, rgba(0, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(0, 195, 255, 0.03) 0%, transparent 60%);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.problem-card,
.solution-card {
    opacity: 1;
    transform: none;
}

.problem-card.visible,
.solution-card.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 195, 255, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.problem-card h3,
.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-desc {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.card-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pain-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00FFFF;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   CAPABILITIES SECTION - RENOVATED
   ============================================================================ */
.capabilities-section {
    padding: 8rem 0;
    background: #000000;
    position: relative;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.capability-card {
    background: rgba(20, 25, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.capability-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.capability-card:hover .capability-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 255, 255, 0.15);
    border-color: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.capability-card h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.capability-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.tech-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.capability-card:hover .tech-tag {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    color: #00FFFF;
}

.tech-tag:hover {
    transform: translateY(-2px);
    background: #00FFFF !important;
    color: #000000 !important;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.capability-card.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.capability-card[data-delay="0"].visible { animation-delay: 0s; }
.capability-card[data-delay="100"].visible { animation-delay: 0.1s; }
.capability-card[data-delay="200"].visible { animation-delay: 0.2s; }
.capability-card[data-delay="300"].visible { animation-delay: 0.3s; }

.capability-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #00FFFF;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00FFFF;
    transform: translateY(-2px);
}

/* ============================================================================
   CASE STUDIES SECTION
   ============================================================================ */
/* ============================================================================
   CASE STUDIES SECTION - RENOVATED
   ============================================================================ */
.case-studies-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 8rem 0;
    overflow: hidden;
}

.case-studies-section .about-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

#caseStudyParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.case-studies-section .container {
    position: relative;
    z-index: 2;
}

.case-study-wrapper {
    margin-bottom: 6rem;
    /* opacity: 0; */
    /* transform: translateY(40px); */
}

.case-study-wrapper.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.case-study-wrapper:last-child {
    margin-bottom: 0;
}

.case-study-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.case-study-container.reverse {
    direction: rtl;
}

.case-study-container.reverse > * {
    direction: ltr;
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 195, 255, 0.08) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00FFFF;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FFFF;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.case-study-content h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
}

.case-challenge,
.case-solution,
.case-result {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.03);
    border-left: 3px solid rgba(0, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.case-challenge:hover,
.case-solution:hover,
.case-result:hover {
    background: rgba(0, 255, 255, 0.06);
    border-left-color: #00FFFF;
    transform: translateX(5px);
}

.case-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-challenge h5,
.case-solution h5,
.case-result h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #00FFFF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-challenge p,
.case-solution p,
.case-result p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00FFFF;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================================
   CASE STUDY VISUAL (SCREENSHOT)
   ============================================================================ */
.case-screenshot-wrapper {
    position: relative;
}

.screenshot-frame {
    background: linear-gradient(135deg,
        rgba(15, 20, 30, 0.95) 0%,
        rgba(10, 15, 25, 0.9) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.screenshot-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.2);
    border-color: #00FFFF;
}

.frame-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.frame-dots {
    display: flex;
    gap: 0.5rem;
}

.frame-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.frame-dots span:nth-child(1) { background: #FF6B6B; }
.frame-dots span:nth-child(2) { background: #FFA500; }
.frame-dots span:nth-child(3) { background: #00FF88; }

.frame-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.screenshot-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.screenshot-frame:hover .screenshot-image img {
    transform: scale(1.05);
    filter: contrast(1.1);
}

.live-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FF88;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #00FF88;
    backdrop-filter: blur(10px);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FF88;
    animation: pulse 2s ease-in-out infinite;
}

.view-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #00FFFF;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-live-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00FFFF;
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

/* ============================================================================
   ORB ANIMATIONS (Copied from Home/About)
   ============================================================================ */
.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.about-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00FFFF, transparent);
    top: -100px;
    left: -100px;
    animation-duration: 25s;
}

.about-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00C3FF, transparent);
    bottom: -50px;
    right: -50px;
    animation-duration: 30s;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ============================================================================
   PROCESS SECTION
   ============================================================================ */
.process-section {
    background: linear-gradient(135deg, #0a1419 0%, #0f1f26 50%, #0a1419 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle cyan glow */
.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
  animation: gentleGlow 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay */
.process-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-timeline {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}.process-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2.5rem;
    align-items: start;
    /* opacity: 0; */
    /* transform: translateX(-40px); */
}

.process-step.visible {
    animation: slideInFromLeft 0.8s ease forwards;
}

.process-step[data-delay="0"].visible { animation-delay: 0s; }
.process-step[data-delay="100"].visible { animation-delay: 0.1s; }
.process-step[data-delay="200"].visible { animation-delay: 0.2s; }
.process-step[data-delay="300"].visible { animation-delay: 0.3s; }

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-number {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 195, 255, 0.08) 100%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-number span {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00FFFF 0%, #00C3FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    border-color: #00FFFF;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.25) 0%, rgba(0, 195, 255, 0.15) 100%);
}

.step-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.step-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #00FFFF;
}

/* ============================================================================
   ASSURANCE SECTION
   ============================================================================ */
.assurance-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: 8rem 0;
    overflow: hidden;
}

.assurance-section .about-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.assurance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

#assuranceParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.assurance-section .container {
    position: relative;
    z-index: 2;
}

.assurance-card {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    /* opacity: 0; */
    /* transform: translateY(40px); */
}

.assurance-card.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.assurance-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 195, 255, 0.08) 100%);
    border-radius: 25px;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.assurance-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffffff;
}

.assurance-lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-style: italic;
}

.assurance-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.assurance-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.assurance-feature:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00FFFF;
    transform: translateY(-3px);
}

.assurance-footer {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ============================================================================
   FOOTER CTA SECTION
   ============================================================================ */
.wl-footer-cta {
    background: linear-gradient(135deg, #0a1419 0%, #0f1f26 50%, #0a1419 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle cyan glow */
.wl-footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(0, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 60%);
  animation: gentleGlow 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay */
.wl-footer-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

.wl-footer-cta .container {
    position: relative;
    z-index: 2;
}

.footer-cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    /* opacity: 0; */
    /* transform: translateY(40px); */
}

.footer-cta-content.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.footer-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg,
        rgba(15, 20, 30, 0.6) 0%,
        rgba(10, 15, 25, 0.4) 100%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #00FFFF;
    background: linear-gradient(135deg,
        rgba(15, 20, 30, 0.8) 0%,
        rgba(10, 15, 25, 0.6) 100%);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    min-width: 0; /* Critical for flexbox text wrapping */
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a {
    color: #00FFFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    overflow-wrap: anywhere; /* Ensures long emails wrap correctly */
    line-height: 1.4;
}

.contact-details a:hover {
    color: #ffffff;
}

.contact-details span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

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

/* ============================================================================
   ANIMATION UTILITIES
   ============================================================================ */
[data-animate] {
    /* opacity: 0; */
    /* transform: translateY(30px); */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 1200px) {
    .case-study-container {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .wl-section {
        padding: 6rem 0;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .case-study-container,
    .case-study-container.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .process-step {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
    }

    .step-number {
        width: 100px;
        height: 100px;
    }

    .step-number span {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .wl-hero {
        min-height: 80vh;
        padding: 6rem 0 4rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.625rem 1.25rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
    }

    .solution-stats,
    .case-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

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

    .step-number {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .step-number span {
        font-size: 1.75rem;
    }

    .step-content {
        text-align: center;
    }

    .assurance-features {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .wl-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .case-study-content h3 {
        font-size: 1.75rem;
    }

    .tech-tags,
    .step-features {
        justify-content: center;
    }
}
