/* ================= VARIABLES (LIFTMIND PROTOCOL) ================= */
:root {
    --primary: #00e676; 
    --primary-glow: rgba(0, 230, 118, 0.4);
    --secondary: #69f0ae;
    --accent: #ff3d00;
    --bg-dark: #050505;
    --surface: rgba(30, 30, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
}

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

body {
    font-family: "Outfit", sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(41, 98, 255, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= BUTTONS ================= */
.cta-button {
    background: var(--primary); color: #000; border: none; padding: 12px 30px;
    border-radius: 50px; font-weight: 700; font-family: "Outfit", sans-serif;
    cursor: pointer; transition: var(--transition); box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
    font-size: 1rem;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 0 25px var(--primary-glow); }

.secondary-button {
    background: transparent; color: var(--text-main); border: 1px solid var(--glass-border);
    padding: 12px 30px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: "Outfit", sans-serif;
}
.secondary-button:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05); }

/* ================= HEADER ================= */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0;
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 10px; font-size: 1.5rem;
    font-weight: 800; letter-spacing: -1px;
}
.logo i { color: var(--primary); }
.logo span { 
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* CSP FIX: Class for logo */
.logo-img {
    height: 40px; 
    width: auto; 
    margin-right: 10px;
}

nav ul { display: flex; gap: 30px; }
nav a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); position: relative; }
nav a:hover { color: var(--primary); }
nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
nav a:hover::after { width: 100%; }

/* ================= HERO SECTION ================= */
.hero {
    padding: 180px 0 100px; text-align: center; position: relative;
}

.hero h1 {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 20px;
    line-height: 1.2; letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px;
}

.hero-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }

/* ================= BLOG GRID ================= */
.blog-section { padding: 50px 0 100px; }

.section-title {
    text-align: center; font-size: 2.5rem; margin-bottom: 60px; font-weight: 700;
    color: #fff;
}

/* CSP FIX: Moved from inline HTML */
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    display: flex; flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(30,30,35,1), rgba(0,0,0,1));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: var(--primary);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

/* Scanline effect */
.blog-image::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 230, 118, 0.05) 3px);
    pointer-events: none;
}

.blog-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }

.blog-category {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--primary);
    border: 1px solid rgba(0, 230, 118, 0.3);
    background: rgba(0, 230, 118, 0.05);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.blog-content h3 {
    font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; color: #fff;
}

.blog-content p {
    color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; flex-grow: 1;
}

.read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; text-decoration: none; font-weight: 600;
    font-family: "Outfit", sans-serif;
    transition: var(--transition); margin-top: auto;
}

.read-more i { color: var(--primary); transition: var(--transition); }
.read-more:hover { gap: 15px; color: var(--primary); }

/* ================= FOOTER ================= */
footer {
    background: #000; border-top: 1px solid var(--glass-border);
    padding: 80px 0 0; margin-top: 50px;
}

.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; padding-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.1rem; margin-bottom: 20px; color: #fff; position: relative; padding-bottom: 10px;
}

.footer-column h3::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--primary);
}

.footer-column p {
    color: var(--text-muted); font-size: 0.9rem;
}

.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-column ul li a:hover { color: var(--primary); }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { 
    width: 35px; height: 35px; background: rgba(255,255,255,0.1); 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; color: #fff;
}
.social-links a:hover { background: var(--primary); color: #000; }

.copyright {
    text-align: center; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05);
    color: #555; font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    nav ul { display: none; }
}