/* ==========================
   ECOMMERCE ANALYTICS PAGE v1
   ========================== */

/* ==========================
   HERO SECTION
   ========================== */
/* ==========================
   PROOF STRIP
   ========================== */
.proof-strip {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.proof-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.proof-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.proof-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0ea5e9;
}

.proof-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 4px;
}

.proof-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ==========================
   PROBLEM SPLIT SECTION
   ========================== */
.ecom-problem {
    padding: 0;
    background: #fff;
}

.problem-container-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.problem-half {
    padding: 80px 60px;
    display: flex;
    align-items: center;
}

.problem-bad {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.problem-good {
    background: linear-gradient(165deg, #eff6ff 0%, #ffffff 50%, #dbeafe 100%) !important
}

.problem-inner {
    max-width: 500px;
    margin: 0 auto;
}

.problem-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.problem-badge.bad {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.problem-badge.good {
    background: rgba(5, 67, 182, 0.1);
    color: #05599e;
    border: 1px solid rgba(16, 131, 185, 0.2);
}

.problem-badge svg {
    width: 16px;
    height: 16px;
}

.problem-half h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0a0e27;
    margin-bottom: 16px;
    line-height: 1.2;
}

.problem-lead {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 32px;
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.point-x,
.point-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.point-x {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.point-check {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.problem-point strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 4px;
}

.problem-point p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.solution-cta-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 32px;
     background: #0369a1 !important;
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solution-cta-btn:hover {
    background: #075985 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    text-decoration: none;
}

/* ==========================
   METRICS SECTION - TABBED
   ========================== */
.metrics-section {
    padding: 100px 0;
    background: #f9fafb;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-heading p {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.6;
}

.metrics-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.metrics-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.metric-tab {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metric-tab:hover {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.metric-tab.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #0ea5e9;
    transform: translateX(4px);
}

.tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.metric-tab .tab-icon {
    background: #e5e7eb;
}

.metric-tab.active .tab-icon {
    background: #0ea5e9;
}

.tab-icon svg {
    width: 24px;
    height: 24px;
    stroke: #6b7280;
}

.metric-tab.active .tab-icon svg {
    stroke: #fff;
}

.metric-tab h3 {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    margin: 0;
    line-height: 1.3;
}

.metric-tab.active h3 {
    color: #0a0e27;
}

.metrics-content {
    position: relative;
    min-height: 400px;
}

.metric-panel {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.metric-panel.active {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-visual {
    width: 300px;
    flex-shrink: 0;
}

.panel-visual svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.panel-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

/* ==========================
   PLATFORMS SECTION
   ========================== */
.ecom-platforms {
    padding: 100px 0;
    background: #fff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.platform-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #0ea5e9;
}

.platform-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.platform-badge.ga4 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.platform-badge.gtm {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.platform-badge.looker {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.platform-badge.mixpanel {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.platform-badge.hotjar {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.platform-badge.custom {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.platform-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ==========================
   PROCESS SECTION
   ========================== */
.ecom-process {
    padding: 100px 0;
    background: #f9fafb;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.process-item {
    flex: 1;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #0ea5e9;
}

.process-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.process-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 12px;
}

.process-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.process-arrow {
    font-size: 32px;
    color: #0ea5e9;
    font-weight: 300;
    flex-shrink: 0;
}

/* ==========================
   FEATURES SHOWCASE
   ========================== */
.features-showcase {
    padding: 100px 0;
    background: #fff;
}

.container-wide {
    max-width: 1382px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse > * {
    direction: ltr;
}

.feature-visual svg {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.feature-details h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 16px;
}

.feature-desc {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.feature-list strong {
    color: #0a0e27;
    font-weight: 600;
}

/* Enhanced Feature Content */
.feature-use-case {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
}

.feature-use-case strong {
    display: block;
    color: #0369a1;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #0870b6;
    font-weight: bold;
    font-size: 16px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list strong {
    color: #0f172a;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-subtext {
        font-size: 14px;
    }
    
    .feature-use-case {
        padding: 16px;
        font-size: 14px;
    }
}

/* ==========================
   RESULTS SHOWCASE
   ========================== */
.results-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.results-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.results-hero-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.results-hero-number {
    font-size: 96px;
    font-weight: 900;
    color: #0ea5e9;
    line-height: 1;
    letter-spacing: -0.03em;
}

.results-hero-suffix {
    font-size: 56px;
    font-weight: 700;
    color: #0284c7;
    margin-top: 20px;
}

.results-hero-label {
    font-size: 20px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 16px;
}

.results-hero-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.result-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon svg {
    width: 32px;
    height: 32px;
    stroke: #0ea5e9;
}

.result-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 12px;
}

.result-stat {
    font-size: 42px;
    font-weight: 900;
    color: #0a0e27 !important;
    line-height: 1;
    margin-bottom: 16px;
}

.result-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ==========================
   SERVICES CTA BANNER
   ========================== */
.services-cta-section {
    padding: 30px 0;
    background: #fff;
}

.services-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.services-cta-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(14,165,233,0.05));
    border-radius: 50%;
}

.services-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.services-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.services-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.services-cta-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
    padding: 60px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.services-stat-box {
    text-align: center;
}

.services-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.services-stat-number {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}

.services-stat-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.services-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.services-cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 28px;
}

.services-cta-form {
    display: flex;
    gap: 12px;
}

.services-cta-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.services-cta-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.services-cta-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.services-cta-btn {
    padding: 14px 32px;
    background: #c4ff0d;
    color: #0a0e27;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-cta-btn:hover {
    background: #b8f000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196,255,13,0.3);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BAND - EXACT MATCH TO GEO PAGE
   ═══════════════════════════════════════════════════════════════ */

.cro-cta-band { 
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg,#020c1b 0%,#1a3a6e 40%,#020c1b 100%) !important;
    border-radius: 24px !important;
    padding: 64px 56px !important;
    margin: 60px 60px !important;
    border: 1px solid rgba(41,171,226,0.2) !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    gap: 48px !important;
}

.cro-cta-band::before { 
    content: '' !important;
    position: absolute !important;
    top: -80px !important;
    right: -80px !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle,rgba(41,171,226,0.15) 0%,transparent 65%) !important;
    pointer-events: none !important;
}

.cro-cta-band::after { 
    content: '' !important;
    position: absolute !important;
    bottom: 28px !important;
    left: 56px !important;
    width: 80px !important;
    height: 3px !important;
    background: linear-gradient(90deg,#253a8f,#29abe2,#caef45) !important;
    border-radius: 3px !important;
}

.cro-cta-eyebrow { 
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #caef45 !important;
    margin-bottom: 12px !important;
    display: block !important;
}

.cro-cta-band h2 { 
    font-size: clamp(1.5rem,2.4vw,2rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.3 !important;
    margin: 0 0 20px !important;
}

.cro-cta-band h2 span { 
    color: #caef45 !important;
}

.cro-cta-stats { 
    display: flex !important;
    gap: 28px !important;
    flex-wrap: wrap !important;
}

.cro-cta-stat-val { 
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important; 
    -webkit-text-fill-color: unset !important;
}

.cro-cta-stat-lbl { 
    font-size: 11px !important;
    color: rgba(255,255,255,0.5) !important;
}

.cro-cta-btns { 
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
    min-width: 200px !important;
    position: relative !important;
    z-index: 1 !important;
}

.cro-cta-btn { 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: #caef45 !important;
    color: #0a1628 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.cro-cta-btn:hover { 
    background: #b8e020 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(202,239,69,0.4) !important;
    color: #0a1628 !important;
    text-decoration: none !important;
}

.cro-cta-note { 
    font-size: 11px !important;
    color: rgba(255,255,255,0.55) !important;
    text-align: center !important;
}

/* Remove old cta-band-section wrapper styles */
.cta-band-section {
    display: none !important;
}

@media (max-width: 992px) {
    .cro-cta-band {
        grid-template-columns: 1fr !important;
        padding: 48px 40px !important;
        gap: 32px !important;
    }
    
    .cro-cta-btns {
        width: 100% !important;
    }
    
    .cro-cta-btn {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .cro-cta-band {
        padding: 40px 24px !important;
        margin-bottom: 60px !important;
    }
    
    .cro-cta-stats {
        gap: 20px !important;
    }
    
    .cro-cta-band h2 {
        font-size: 1.5rem !important;
    }
}

/* ==========================
   RESPONSIVE - MOBILE & TABLET
   ========================== */
@media (max-width: 992px) {
    .proof-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .problem-container-full {
        grid-template-columns: 1fr;
    }
    
    .problem-half {
        padding: 60px 30px;
    }
    
    /* Metrics convert to accordion */
    .metrics-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    
    .metrics-nav {
        position: static;
        gap: 0;
    }
    
    .metric-tab {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 20px;
    }
    
    .metric-tab:first-child {
        border-top: 2px solid #e5e7eb;
        border-radius: 14px 14px 0 0;
    }
    
    .metric-tab:last-child {
        border-radius: 0 0 14px 14px;
    }
    
    .metric-tab:hover,
    .metric-tab.active {
        transform: none;
    }
    
    .metric-panel.active {
        grid-template-columns: 1fr;
        padding: 0 20px 24px;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .panel-visual {
        margin-bottom: 24px;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .feature-split,
    .feature-split.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-cta-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .cro-cta-band {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }
    
    .cro-cta-stats {
        justify-content: center;
    }
    
    .cro-cta-btns {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .proof-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .services-cta-form {
        flex-direction: column;
    }
}

/* ==========================
   PROFESSIONAL FEATURE GRAPHICS
   ========================== */

/* Visual Cards - Base */
.visual-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 1px solid #e5e7eb;
}

.vis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.vis-title {
    font-size: 16px;
    font-weight: 700;
    color: #0a0e27;
}

.vis-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #dc2626 !important; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vis-live-dot {
    width: 6px;
    height: 6px;
    background: #0ea5e9;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.vis-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* Feature 1 - Line Chart Dashboard */
.dashboard-card-alt {
    padding: 18px;
}

.realtime-chart-area {
    margin: 20px 0;
}

.chart-labels {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.chart-label-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.label-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.line-chart-container {
    position: relative;
}

.line-chart {
    width: 100%;
    height: auto;
    display: block;
}

.chart-time-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 0;
    font-size: 11px;
    color: #6b7280 !important;
    font-weight: 600;
}

.realtime-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

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

.rt-stat-label {
    font-size: 11px;
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
    margin-bottom: 6px;
}

.rt-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #0a0e27;
    line-height: 1;
    margin-bottom: 4px;
}

.rt-stat-trend {
    font-size: 12px;
    font-weight: 600;
}

.rt-stat-trend.positive {
    color: #047857 !important;
}

/* Feature 2 - Funnel Card */
.funnel-card {
    padding: 24px;
}

.funnel-stage {
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.funnel-stage:hover {
    transform: scale(1.02);
}

.funnel-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.funnel-label strong {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.funnel-label span {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.funnel-arrow {
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

/* Feature 3 - Attribution Cards */
.attribution-card {
    padding: 24px;
}

.attribution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.attr-channel-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.attr-channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: #0ea5e9;
}

.attr-channel-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attr-channel-icon svg {
    width: 28px;
    height: 28px;
}

.attr-channel-name {
    font-size: 14px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 12px;
}

.attr-channel-metric {
    margin-top: 8px;
}

.attr-metric-value {
    font-size: 28px;
    font-weight: 800;
    color: #0a0e27 !important; 
    line-height: 1;
    margin-bottom: 4px;
}

.attr-metric-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Feature 4 - Products Card */
.products-card {
    padding: 24px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.product-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
}

.product-rank {
    width: 40px;
    height: 40px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #4b5563;
}

.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #0a0e27;
}

.product-revenue {
    font-size: 14px;
    font-weight: 800;
    color: #047857 !important;
}

.product-bar-container {
    grid-column: 2;
    width: 100%;
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
}

.product-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

/* Responsive - Feature Graphics */
@media (max-width: 992px) {
    .attribution-grid {
        grid-template-columns: 1fr;
    }
    
    .realtime-stats-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   MINI DASHBOARD COMPONENTS
   ========================== */

/* Mini Dashboard Container */
.metric-mini-dashboard {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
}

.mini-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.mini-dash-title {
    font-size: 13px;
    font-weight: 700;
    color: #0a0e27;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-dash-trend {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.mini-dash-trend.positive {
    color: #047857 !important; 
}

/* Revenue Mini Dashboard */
.mini-dash-main-stat {
    text-align: center;
    margin-bottom: 20px;
}

.main-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #047857 !important;
    line-height: 1;
    margin-bottom: 4px;
}

.main-stat-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mini-dash-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-bar-row {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    align-items: center;
    gap: 10px;
}

.mini-bar-label {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

.mini-bar-track {
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.mini-bar-val {
    font-size: 12px;
    font-weight: 700;
    color: #0a0e27;
    text-align: right;
}

/* Traffic Pie Chart */
.traffic-pie-container {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.traffic-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #4b5563;
    font-weight: 600;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Funnel Stages Compact */
.funnel-stages-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.funnel-stage-compact {
    max-width: 100%;
}

.funnel-stage-bar {
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.funnel-stage-num {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.funnel-stage-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.funnel-arrow-down {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    padding: 4px 0;
}

/* Behavior Metrics Grid */
.behavior-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

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

.behavior-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.behavior-val {
    font-size: 20px;
    font-weight: 800;
    color: #0a0e27;
    line-height: 1;
    margin-bottom: 4px;
}

.behavior-lbl {
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Product Rankings */
.product-rankings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-rank-item {
    display: grid;
    grid-template-columns: 35px 1fr 50px;
    align-items: center;
    gap: 10px;
}

.rank-num {
    font-size: 14px;
    font-weight: 800;
    color: #0a0e27;
}

.rank-bar-wrap {
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
}

.rank-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.rank-val {
    font-size: 12px;
    font-weight: 700;
    color: #0a0e27;
    text-align: right;
}

/* Attribution Channels */
.attribution-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.attr-channel-mini {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.attr-channel-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.attr-ch-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attr-ch-name {
    font-size: 11px;
    font-weight: 700;
    color: #0a0e27;
    margin-bottom: 4px;
}

.attr-ch-roas {
    font-size: 14px;
    font-weight: 800;
    color: #0ea5e9;
}

/* Panel Description */
.panel-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Enhanced Info List */
.info-list li strong {
    color: #0a0e27;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .behavior-metrics-grid,
    .attribution-channels {
        grid-template-columns: 1fr;
    }
    
    .traffic-legend {
        grid-template-columns: 1fr;
    }
}
