/* ============================================
   NEUROOPS.AI - CUSTOM CSS
   Comprehensive component styles, overrides,
   and landing page polish.
   ============================================ */

/* ============================================
   0. FADE-IN SAFETY NET
   If JS fails to add .visible, elements still show.
   ============================================ */
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* REMOVED - was causing invisible elements
.js-animate .fade-in { opacity: 0 !important; }
.js-animate .slide-in-left { opacity: 0 !important; }
.js-animate .slide-in-right { opacity: 0 !important; }
.js-animate .scale-in { opacity: 0 !important; }
*/

/* ============================================
   1. HERO SECTION
   ============================================ */
/* Hero container extra padding to center content */
.hero .container {
    padding-left: clamp(2rem, 5vw, 4rem) !important;
    padding-right: clamp(2rem, 5vw, 4rem) !important;
}

.hero-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* FORCE hero visibility */
.hero-content {
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    color: #f1f0ff;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-content .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(241, 240, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #6C5CE7, #A855F7) !important;
    color: #fff !important;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(108, 92, 231, 0.4);
    opacity: 1 !important;
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    opacity: 1 !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(168, 85, 247, 0.08);
    color: #A855F7;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1), inset 0 0 20px rgba(168, 85, 247, 0.05);
    animation: glow-pulse 3s ease-in-out infinite;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
}

.metric-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #A855F7, #22d3ee) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    opacity: 1 !important;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
    font-weight: 500;
    opacity: 1 !important;
}

.hero-metrics {
    opacity: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    margin-top: 48px;
}

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

.scroll-indicator {
    text-align: center;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.4);
    animation: bounce-subtle 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
}

/* ============================================
   2. SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header .badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   3. SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A855F7, transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15), 0 0 60px rgba(168, 85, 247, 0.05);
    background: rgba(255, 255, 255, 0.06);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    background: rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-price {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-link {
    color: #A855F7;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #c084fc;
    gap: 10px;
}

/* ============================================
   4. METHODOLOGY STEPS
   ============================================ */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.methodology-step,
.step-card {
    background: rgba(17, 11, 48, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.methodology-step:hover,
.step-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #A855F7);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.methodology-step h4,
.step-card h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.methodology-step p,
.step-card p {
    color: rgba(241, 240, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   5. RESULTS GRID
   ============================================ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.06), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.result-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.12);
}

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

.result-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.1;
    background: linear-gradient(135deg, #A855F7, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.result-detail {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-block;
}

/* ============================================
   6. COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead {
    position: relative;
}

.comparison-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight-col {
    background: rgba(168, 85, 247, 0.08);
    color: #A855F7;
    font-weight: 600;
}

.comparison-table thead .highlight-col {
    background: rgba(168, 85, 247, 0.15);
    color: #fff;
}

/* Table responsive wrapper */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    -webkit-overflow-scrolling: touch;
}

/* ============================================
   7. CASES GRID
   ============================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #A855F7, #22d3ee, #00E676);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.case-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.1);
}

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

.case-industry {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.case-card > p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.case-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.case-metric:hover {
    border-color: rgba(34, 211, 238, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.case-metric strong {
    display: block;
    font-size: 1.3rem;
    color: #22d3ee;
    font-weight: 800;
    line-height: 1.2;
}

.case-metric span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 4px;
}

/* ============================================
   8. STACK GRID
   ============================================ */
.stack-grid {
    display: grid;
    gap: 16px;
}

.stack-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stack-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
}

.stack-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.stack-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   9. PRICING GRID
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.12);
}

.pricing-card.popular {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.05);
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.12);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 16px 48px rgba(168, 85, 247, 0.2);
}

.pricing-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #A855F7, #6D28D9);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.pricing-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A855F7, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.pricing-period {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-features li::before {
    content: '\2713';
    color: #00E676;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================
   10. ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.about-text p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.about-highlight:hover {
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

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

.about-highlight span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   11. ECOSYSTEM CARDS
   ============================================ */
.ecosystem-cards {
    display: grid;
    gap: 20px;
}

.ecosystem-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.1);
}

.ecosystem-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ecosystem-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   12. FORM CONTAINER & BASE FORM STYLES
   ============================================ */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

.neuroops-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.neuroops-form .form-group {
    margin-bottom: 20px;
}

.neuroops-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
}

.neuroops-form .required {
    color: #EF4444;
}

.neuroops-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neuroops-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.neuroops-form .form-control:focus {
    border-color: #A855F7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.neuroops-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.neuroops-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.neuroops-form select.form-control option {
    background: #0a0520;
    color: #fff;
}

/* Form validation states */
.neuroops-form .form-control.is-invalid {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.neuroops-form .form-control.is-valid {
    border-color: #00E676;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.neuroops-form .form-error {
    color: #EF4444;
    font-size: 0.82rem;
    margin-top: 6px;
    display: block;
}

/* ============================================
   13. FORM WIZARD (multi-step)
   ============================================ */

/* Form wizard steps - CRITICAL for navigation */
.form-step {
    display: none !important;
}

.form-step.active {
    display: block !important;
    animation: fadeInUp 0.4s ease-out;
}

/* Form progress bar */
.form-progress {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px 0;
}

.form-progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(108, 92, 231, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.form-progress-step.active {
    background: linear-gradient(135deg, #6C5CE7, #A855F7);
    border-color: #A855F7;
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.form-progress-step.completed {
    background: rgba(0, 230, 118, 0.15);
    border-color: #00E676;
    color: #00E676;
}

.form-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.form-step-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

/* Form navigation buttons */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(108, 92, 231, 0.15);
}

.form-nav .btn {
    min-width: 140px;
}

/* ============================================
   14. AGENT OPTIONS (radio cards)
   ============================================ */
.agent-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.agent-option input[type="radio"] {
    display: none;
}

.agent-option-label {
    display: block;
    padding: 20px;
    background: rgba(17, 11, 48, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agent-option-label:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(17, 11, 48, 0.8);
    transform: translateY(-2px);
}

.agent-option input[type="radio"]:checked + .agent-option-label {
    border-color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.agent-option-label .agent-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.agent-option-label h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

.agent-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    line-height: 1.5;
}

.agent-price-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #A855F7;
}

/* ============================================
   15. TIER CARDS
   ============================================ */
.tier-cards,
.tier-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.tier-card input[type="radio"],
.tier-option input[type="radio"] {
    display: none;
}

.tier-card-label,
.tier-option-label {
    display: block;
    padding: 24px;
    background: rgba(17, 11, 48, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tier-card-label:hover,
.tier-option-label:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(17, 11, 48, 0.8);
}

.tier-card input[type="radio"]:checked + .tier-card-label,
.tier-option input[type="radio"]:checked + .tier-option-label {
    border-color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.tier-card-label .tier-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.tier-card-label h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.tier-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #A855F7;
    margin: 8px 0;
}

.tier-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* ============================================
   16. ORDER SUMMARY
   ============================================ */
.order-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.order-summary h4 {
    margin-bottom: 16px;
    color: #A855F7;
    font-size: 1.1rem;
    font-weight: 700;
}

.order-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-line:last-child {
    border-bottom: none;
}

.order-line span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
}

.order-line strong {
    color: #fff;
    font-weight: 600;
}

.order-line.total {
    border-top: 2px solid rgba(168, 85, 247, 0.3);
    margin-top: 8px;
    padding-top: 12px;
    border-bottom: none;
}

.order-line.total span {
    font-weight: 700;
    color: #A855F7;
    font-size: 1.1rem;
}

.order-line.total strong {
    font-size: 1.1rem;
    color: #A855F7;
}

/* ============================================
   17. TESTIMONIALS / SOCIAL PROOF
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 3rem;
    color: rgba(168, 85, 247, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.08);
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.92rem;
}

.testimonial-role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   18. FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(168, 85, 247, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.faq-question:hover {
    color: #A855F7;
}

.faq-answer {
    padding: 0 24px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   19. CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   20. FOOTER
   ============================================ */
.site-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #A855F7;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

/* ============================================
   21. BLOG ARTICLE STYLES
   ============================================ */
.blog-article h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.blog-article h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.blog-article h4 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.blog-article p {
    margin-bottom: 20px;
}

.blog-article ul,
.blog-article ol {
    margin: 16px 0 24px 24px;
    list-style: disc;
}

.blog-article ol {
    list-style: decimal;
}

.blog-article li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.blog-article blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    background: rgba(108, 92, 231, 0.08);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-article code {
    padding: 2px 8px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--primary-light);
}

.blog-article pre {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow-x: auto;
}

.blog-article pre code {
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.blog-article img {
    border-radius: 12px;
    margin: 24px 0;
}

.blog-article a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article a:hover {
    color: var(--primary-light);
}

.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.blog-article th,
.blog-article td {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.blog-article th {
    background: rgba(108, 92, 231, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

.blog-article td {
    color: var(--text-secondary);
}

/* ============================================
   22. TAGS & PAGINATION
   ============================================ */
.blog-article .wp-block-tag-cloud a,
a[rel="tag"] {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--primary-light);
    text-decoration: none;
    margin: 4px;
    transition: all 0.3s ease;
}

a[rel="tag"]:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--primary);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============================================
   23. WORDPRESS BLOCKS
   ============================================ */
.wp-block-image img {
    border-radius: 12px;
}

.wp-block-separator {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

.wp-block-button .wp-block-button__link {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ============================================
   24. TYPEBOT & WIDGETS
   ============================================ */
#typebot-bubble {
    z-index: 998 !important;
}

/* ============================================
   25. CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary, #030014);
}

::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 92, 231, 0.6);
}

/* ============================================
   26. SELECTION & FOCUS
   ============================================ */
::selection {
    background: rgba(108, 92, 231, 0.3);
    color: var(--text-primary);
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   27. UTILITY STATES
   ============================================ */
.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   28. TOAST NOTIFICATIONS
   ============================================ */
.neuroops-toast {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10000;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    backdrop-filter: blur(12px);
}

.neuroops-toast.success {
    background: rgba(0, 230, 118, 0.95);
    color: #030014;
}

.neuroops-toast.error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.neuroops-toast.info {
    background: rgba(168, 85, 247, 0.95);
    color: white;
}

/* ============================================
   29. WORKFLOW FACTORY EXTRAS
   ============================================ */

/* Typing cursor effect */
.typing-cursor::after {
    content: '|';
    animation: typing-cursor 1s step-end infinite;
    color: var(--cyan, #22d3ee);
    font-weight: 300;
    margin-left: 2px;
}

/* Shimmer loading effect on cards */
.shimmer-loading {
    position: relative;
    overflow: hidden;
}

.shimmer-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(108, 92, 231, 0.05) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Neural background accent blobs */
.neural-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.neural-glow--purple {
    background: rgba(168, 85, 247, 0.15);
}

.neural-glow--blue {
    background: rgba(59, 130, 246, 0.1);
}

.neural-glow--cyan {
    background: rgba(34, 211, 238, 0.08);
}

/* Gradient text helpers */
.text-purple-gradient {
    background: linear-gradient(135deg, #A855F7, #6D28D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan-gradient {
    background: linear-gradient(135deg, #22d3ee, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-green-gradient {
    background: linear-gradient(135deg, #00E676, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glowing border utility */
.glow-border {
    position: relative;
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(34, 211, 238, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glow-border:hover::after {
    opacity: 1;
}

/* ============================================
   30. RESPONSIVE - LARGE TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
    .hero-two-col {
        grid-template-columns: 1fr !important;
    }

    .hero-visual {
        display: none !important;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

    .methodology-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

    .pricing-card.popular {
        transform: scale(1);
    }

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

    .about-content {
        grid-template-columns: 1fr !important;
    }

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

    .agent-options {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ============================================
   31. RESPONSIVE - TABLET (768px)
   ============================================ */
@media (max-width: 768px) {
    .hero-two-col {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .methodology-steps {
        grid-template-columns: 1fr !important;
    }

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

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

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

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .agent-options {
        grid-template-columns: 1fr !important;
    }

    .tier-cards,
    .tier-options {
        grid-template-columns: 1fr;
    }

    .neuroops-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 24px;
    }

    .stack-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ecosystem-cards {
        grid-template-columns: 1fr !important;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.88rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }

    .case-metrics {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   32. RESPONSIVE - MOBILE (576px)
   ============================================ */
@media (max-width: 576px) {
    .form-container {
        padding: 20px;
        border-radius: 16px;
    }

    .pricing-card {
        padding: 24px;
    }

    .service-card {
        padding: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.82rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }

    .agent-options {
        grid-template-columns: 1fr !important;
    }

    .tier-cards,
    .tier-options {
        grid-template-columns: 1fr !important;
    }

    .ecosystem-cards {
        grid-template-columns: 1fr !important;
    }

    .stack-grid {
        grid-template-columns: 1fr !important;
    }

    .result-value {
        font-size: 2.2rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .form-nav {
        flex-direction: column;
        gap: 12px;
    }

    .form-nav .btn {
        width: 100%;
    }
}

/* ============================================
   33. KEYFRAME ANIMATIONS (custom.css scope)
   ============================================ */
@keyframes typing-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   34. PRINT STYLES
   ============================================ */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .hero-visual,
    .scroll-indicator,
    .form-container,
    .site-footer,
    .neuroops-toast {
        display: none !important;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
