:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(26, 34, 53, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --accent-green: #10b981;
    --accent-green-bg: rgba(16, 185, 129, 0.1);
    
    --accent-blue: #3b82f6;
    --accent-blue-bg: rgba(59, 130, 246, 0.1);
    
    --accent-pink: #ec4899;
    --accent-pink-bg: rgba(236, 72, 153, 0.1);
    
    --accent-orange: #f97316;
    --accent-orange-bg: rgba(249, 115, 22, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.05), transparent 25%);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem;
    overflow-x: hidden;
}

.dashboard-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }

/* Glassmorphism Cards */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.3);
}

.card { padding: 2rem; transition: transform 0.3s ease, border-color 0.3s ease; }
.card:hover { border-color: rgba(255, 255, 255, 0.2); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; }

/* Typography & Badges */
.gradient-text { background: linear-gradient(to right, #10b981, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge, .badge-small { display: inline-block; border-radius: 999px; font-weight: 600; letter-spacing: 0.05em; background: rgba(255, 255, 255, 0.1); color: var(--text-primary); border: 1px solid var(--border-color); }
.badge { padding: 0.25rem 0.75rem; font-size: 0.75rem; text-transform: uppercase; }
.badge-small { padding: 0.1rem 0.5rem; font-size: 0.65rem; }
.badge-green { background: var(--accent-green-bg); color: var(--accent-green); border-color: rgba(16, 185, 129, 0.2); }
.badge-blue { background: var(--accent-blue-bg); color: var(--accent-blue); border-color: rgba(59, 130, 246, 0.2); }

/* Grids */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-60-40 { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; }

/* Hero Section */
.hero-section { position: relative; overflow: hidden; }
.hero-content { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.hero-text { max-width: 65%; }
.hero-name { font-size: 4.5rem; font-weight: 700; line-height: 1.1; margin: 1rem 0 0.5rem; letter-spacing: -0.02em; }
.hero-title { font-size: 1.5rem; color: var(--text-secondary); font-weight: 400; margin-bottom: 2rem; }
.hero-headline { font-size: 1.75rem; margin-bottom: 0.5rem; }
.hero-subheadline { color: var(--text-secondary); font-size: 1.1rem; }
.hero-visual { position: relative; width: 200px; height: 200px; display: flex; justify-content: center; align-items: center; }
.pulse-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--accent-blue); opacity: 0.5; animation: pulse 3s infinite; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 0; } }
.avatar-placeholder { width: 160px; height: 160px; background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 50%; border: 4px solid var(--card-bg); display: flex; justify-content: center; align-items: center; font-size: 3rem; font-weight: 800; font-family: var(--font-heading); color: rgba(255, 255, 255, 0.8); position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.avatar-image { width: 160px; height: 160px; border-radius: 50%; border: 4px solid var(--card-bg); object-fit: cover; object-position: center 25%; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Horizontal Growth Framework */
.fw-section { padding: 2rem; }
.fw-grid { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
.fw-grid::-webkit-scrollbar { height: 6px; }
.fw-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
.fw-card { flex: 1; min-width: 220px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; transition: background 0.3s; }
.fw-card:hover { background: rgba(255,255,255,0.05); }
.fw-highlight { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.02); }
.fw-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.fw-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-color); border: 2px solid var(--border-color); display: flex; justify-content: center; align-items: center; color: var(--text-secondary); }
.glow-icon { border-color: var(--accent-green); color: var(--accent-green); box-shadow: 0 0 10px var(--accent-green-bg); }
.fw-card h4 { font-size: 1.1rem; color: var(--text-primary); }
.fw-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }

/* Core Engines Setup */
.engine-card .card-header, .warning-card .card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.engine-card h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; display: flex; justify-content: center; align-items: center; }
.green-tint { background: var(--accent-green-bg); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.2); }
.blue-tint { background: var(--accent-blue-bg); color: var(--accent-blue); border: 1px solid rgba(59, 130, 246, 0.2); }
.orange-tint { background: var(--accent-orange-bg); color: var(--accent-orange); border: 1px solid rgba(249, 115, 22, 0.2); }

.engine-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.engine-list li { display: flex; flex-direction: column; gap: 0.25rem; padding-left: 1.25rem; position: relative; }
.engine-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background-color: var(--text-secondary); }
.seo-card .engine-list li::before { background-color: var(--accent-green); }
.ads-card .engine-list li::before { background-color: var(--accent-blue); }
.orange-list li::before { background-color: var(--accent-orange); }
.engine-list strong { font-size: 1.1rem; color: var(--text-primary); }
.engine-list span { font-size: 0.9rem; color: var(--text-secondary); }

/* Topical Authority Visual */
.section-title { font-size: 1.5rem; padding-left: 0.75rem; border-left: 4px solid var(--accent-blue); margin-bottom: 0.5rem; }
.tagline { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2rem; padding-left: 1rem; }
.tree-diagram { display: flex; flex-direction: column; align-items: center; margin-top: 1rem; }
.node { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); padding: 0.75rem 1.5rem; border-radius: 8px; text-align: center; display: flex; flex-direction: column; gap: 0.2rem; }
.root-node { border-color: var(--accent-blue); box-shadow: 0 0 15px var(--accent-blue-bg); position: relative; z-index: 2; background: var(--accent-blue-bg); }
.root-node strong { font-size: 1.2rem; color: var(--text-primary); }
.root-node span { font-size: 0.75rem; color: var(--text-secondary); }
.tree-connectors { width: 80%; }
.tree-branches { display: flex; justify-content: space-between; width: 100%; gap: 1rem; }
.cluster-node { flex: 1; border-color: rgba(255,255,255,0.1); }
.cluster-node strong { font-size: 0.9rem; }

/* Metrics Section & Image Proofs */
.metrics-section { display: flex; flex-direction: column; gap: 1.5rem; }
.metric-card { display: flex; flex-direction: column; padding: 1.5rem; }
.metric-header { margin-bottom: 1rem; }
.metric-header h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.project-tag { font-size: 0.8rem; color: var(--text-secondary); }
.metric-main { margin-bottom: 1rem; }
.metric-value { font-size: 3rem; font-weight: 700; line-height: 1; font-family: var(--font-heading); }
.green-text { color: var(--accent-green); }
.blue-text { color: var(--accent-blue); }
.pink-text { color: var(--accent-pink); }
.metric-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.5rem; }
.metric-stats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.stat-pill { display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.8rem; font-weight: 600; }
.negative-pill { background: var(--accent-green-bg); color: var(--accent-green); }
.blue-pill { background: var(--accent-blue-bg); color: var(--accent-blue); }
.pink-pill { background: var(--accent-pink-bg); color: var(--accent-pink); }

.proof-frame { 
    margin-top: auto; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.1); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); 
    position: relative; 
    background: #111;
}
.proof-frame img { 
    width: 100%; 
    height: 120px; 
    object-fit: cover; 
    object-position: top; 
    display: block; 
    opacity: 0.8; 
    transition: opacity 0.3s, transform 0.3s; 
}
.proof-frame:hover img { opacity: 1; transform: scale(1.02); }
.proof-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.1em;
    z-index: 2;
    pointer-events: none;
}

/* Data Analytics Mini Dash */
.mini-dashboard { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border-color); margin-top: 1.5rem; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.live-indicator { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
.dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 8px var(--accent-green); animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dash-badges { display: flex; gap: 0.5rem; }
.dash-badges .badge { font-size: 0.65rem; border-color: rgba(255,255,255,0.05); }
.dash-metrics-row { display: flex; justify-content: space-between; }
.d-metric { display: flex; flex-direction: column; }
.d-lbl { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.d-val { font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); }

/* Testimonial Box */
.testimonial-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 160px; border: 1px dashed rgba(255,255,255,0.2); border-radius: 12px; margin-top: 1.5rem; background: rgba(255,255,255,0.01); }
.quote-icon { font-size: 4rem; color: rgba(255,255,255,0.05); font-family: serif; line-height: 0.5; margin-bottom: 1rem; }
.testimonial-empty p { font-style: italic; color: var(--text-secondary); margin-bottom: 0.5rem; }
.testimonial-empty span { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* Timeline */
.card-title { font-size: 1.25rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.timeline { display: flex; flex-direction: column; gap: 1.5rem; position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; }
.timeline-dot { position: absolute; left: -1.7rem; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-blue); box-shadow: 0 0 0 4px var(--card-bg); }
.timeline-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.timeline-content p { font-size: 0.85rem; color: var(--text-secondary); }

/* Tech Stack Text Badges */
.stack-strip { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 12px; }
.strip-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); text-align: center; }
.text-badges-container { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.text-badge {
    background: #1e293b;
    color: #f8fafc;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.text-badge:hover {
    background: #334155;
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.text-badge-partner { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border-color: rgba(59, 130, 246, 0.3); font-style: italic; }

/* BIG Contact Footer */
.big-contact-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 1rem;
}
.big-contact-footer h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.big-contact-footer p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2.5rem; }
.b-contact-links { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: center; }
.b-link { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--text-primary); 
    text-decoration: none; 
    padding: 1rem 2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}
.b-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateY(-3px); box-shadow: 0 0 20px rgba(255,255,255,0.1); }
.email-link svg { color: var(--accent-pink); }
.email-link:hover { box-shadow: 0 0 25px rgba(236, 72, 153, 0.3); border-color: rgba(236, 72, 153, 0.4); }
.phone-link svg { color: var(--accent-green); }
.phone-link:hover { box-shadow: 0 0 25px rgba(16, 185, 129, 0.3); border-color: rgba(16, 185, 129, 0.4); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .grid-60-40 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { padding: 1rem; }
    .dashboard-container { gap: 1rem; }
    
    .hero-content { flex-direction: column-reverse; text-align: center; gap: 2rem; }
    .hero-text { max-width: 100%; }
    .hero-name { font-size: 3rem; margin: 0.5rem 0; }
    .hero-headline { font-size: 1.4rem; }
    .hero-subheadline { font-size: 1rem; }
    
    .card { padding: 1.25rem; }
    .fw-section { padding: 1.25rem; }
    
    .grid-2-col, .grid-3-col { grid-template-columns: 1fr; }
    
    .engine-card .card-header, .warning-card .card-header { flex-direction: column; text-align: center; }
    .engine-list li { padding-left: 1rem; }
    
    .metric-value { font-size: 2.5rem; }
    .metric-header { display: flex; flex-direction: column; gap: 0.2rem; }
    
    .tree-connectors { display: none; }
    .tree-branches { flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
    
    .dash-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    
    .b-contact-links { flex-direction: column; gap: 1rem; width: 100%; }
    .b-link { justify-content: center; width: 100%; font-size: 1rem; padding: 1rem; }
    
    .big-contact-footer { padding: 2.5rem 1rem; }
    .big-contact-footer h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 2.5rem; }
    .hero-headline { font-size: 1.25rem; }
    .card { padding: 1rem; }
    .fw-section { padding: 1rem; }
    
    .dash-metrics-row { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
    .d-metric { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; width: 100%; }
    .d-metric:last-child { border-bottom: none; padding-bottom: 0; }
    
    .text-badges-container { gap: 0.5rem; }
    .text-badge { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
}
