/* --- FORCE HERO FIXES --- */
.agency-hero__content {
    text-align: left !important;
}

.agency-hero__content .badge {
    display: none !important;
}

.agency-hero__visual {
    overflow: visible !important;
}

.agency-hero__title {
    font-size: 3.5rem;
}

@media (min-width: 768px) {
    .agency-hero__title {
        font-size: 4rem;
    }
}

/* --- Feature Deep Dive Grid --- */
.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 120px;
}

@media (min-width: 992px) {
    .deep-dive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card-lg {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.feature-card-lg h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    margin-top: 0;
}

.feature-card-lg p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Simulated UI Elements */
.ui-mockup-frame {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
    flex-grow: 1;
    width: 100%;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* tilt effect */
    transform: perspective(1000px) rotateX(2deg) translateY(10px);
    transform-origin: bottom center;
    transition: transform 0.4s ease;
}

.feature-card-lg:hover .ui-mockup-frame {
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

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

.ui-dots {
    display: flex;
    gap: 6px;
}

.ui-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.ui-title-bar {
    height: 8px;
    width: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Specific Card Themes */
.theme-portal .ui-mockup-frame {
    border-top: 2px solid #10b981;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.theme-ops .ui-mockup-frame {
    border-top: 2px solid #9333ea;
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.theme-ai .ui-mockup-frame {
    border-top: 2px solid #f205e2;
    background: linear-gradient(180deg, rgba(242, 5, 226, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.theme-crm .ui-mockup-frame {
    border-top: 2px solid #3b82f6;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.ui-row {
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    margin-bottom: 8px;
}

.ui-row.short {
    width: 60%;
}

.ui-row.highlight {
    background: rgba(255, 255, 255, 0.1);
}

.ui-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.ui-tag.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.ui-tag.purple {
    background: rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

.ui-tag.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}


/* COMPARISON SECTION */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
    /* Match height */
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
        /* Strict 2 columns */
        gap: 40px;
    }
}

.comparison-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.chaos-card {
    border-color: rgba(239, 68, 68, 0.3);
}

.order-card {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.05);
}

.card-header-chaos,
.card-header-order {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header-chaos h3 {
    color: #ef4444;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.card-header-order h3 {
    color: #10b981;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.neon-icon-red {
    stroke: #ef4444;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.8));
}

.neon-icon-green {
    stroke: #10b981;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.8));
}

.chaos-item,
.order-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    align-items: flex-start;
}

.order-item {
    background: rgba(16, 185, 129, 0.05);
}

.x-mark-neon {
    color: #ef4444;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 5px #ef4444;
    margin-top: 2px;
}

.check-mark-neon {
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 5px #10b981;
    margin-top: 2px;
}

.chaos-item strong {
    color: #fca5a5;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.order-item strong {
    color: #86efac;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.chaos-item p,
.order-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    text-align: left;
}

/* Remove old overlay */
.chaos-overlay {
    display: none;
}

.order-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Hide VS Badge */
.vs-badge {
    display: none;
}