:root {
    --bg-deep: #020617; /* Slate-950 */
    --bg-surface: #0f172a;
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-alpha: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.6);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* GLASS-CARD CORE STYLE */
.glass-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--glass-bg);
    border: 1px solid var(--border-alpha);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px var(--border-alpha);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.glass-card:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* GRADIENT TEXT & UI ELEMENTS */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-overlay {
    position: relative;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), var(--bg-deep)), url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* AD MONETIZATION PLACEHOLDERS */
.ad-container {
    min-height: 280px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 3rem auto;
    border-radius: 16px;
    max-width: 970px;
    transition: var(--transition);
}

.ad-container::after {
    content: 'Advertisement';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #1e293b;
    padding: 2px 10px;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
}

/* VISUAL DATA & FORM */
#resultChart {
    max-width: 100%;
    margin-top: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

input, select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border-alpha);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* SUCCESS STORIES / TRUSTED BY */
.social-proof {
    padding: 4rem 0;
    opacity: 0.8;
    filter: grayscale(1) invert(0.5);
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

/* NETWORK SEO FOOTER */
#network-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-alpha);
    margin-top: 5rem;
}

.network-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.network-link:hover {
    color: var(--primary);
}

/* ANIMATIONS */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.4); }
}

.animate-cta {
    animation: pulse-glow 3s infinite;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

button.cta-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

button.cta-primary:hover {
    transform: scale(1.02);
    filter: brightness(1.15);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}