:root {
    --bg-primary: #070b14;
    --bg-secondary: #0d1322;
    --bg-card: #111827;
    --bg-card-hover: #162032;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --brand-primary: #6366F1;
    --brand-hover: #4F46E5;
    --accent: #22D3EE;
    --border: #1E293B;
    --border-hover: #334155;
    --success: #10B981;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-glow: 0 0 50px -10px rgba(99, 102, 241, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(13, 19, 34, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
}
.logo { font-size: 20px; font-weight: 800; color: #FFFFFF; text-decoration: none; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition); }
nav a:hover, nav a.active { color: var(--accent); }

/* Hero Section with Glow */
.hero {
    position: relative;
    text-align: center;
    padding: 90px 20px 60px 20px;
    max-width: 850px;
    margin: 0 auto;
}
.hero::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(34,211,238,0.05) 70%, transparent 100%);
    z-index: -1;
    filter: blur(40px);
}
.hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; color: #FFFFFF; }
.hero h1 span { background: linear-gradient(135deg, #6366F1 0%, #22D3EE 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 18px; margin-bottom: 32px; max-width: 650px; margin-left: auto; margin-right: auto; }

.btn-primary {
    background: var(--brand-primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* Homepage Grid Container */
.container { 
    max-width: 1200px; 
    margin: 20px auto 80px auto; 
    padding: 0 20px; 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Static Pages Container (Proper Left-Aligned Single Column) */
.static-container {
    max-width: 800px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    text-align: left;
}

.static-container h2 {
    font-size: 24px;
    margin: 35px 0 15px 0;
    color: #FFFFFF;
    font-weight: 700;
}

.static-container p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.static-container ul {
    color: var(--text-muted);
    margin-bottom: 25px;
    padding-left: 20px;
}

.static-container li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
.card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 28px;
}

.meta-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.card h2 { font-size: 22px; margin-bottom: 12px; font-weight: 700; color: #FFFFFF; line-height: 1.4; }
.card h2 a { color: inherit; text-decoration: none; transition: var(--transition); }
.card h2 a:hover { color: var(--accent); }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }

.read-more { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; transition: var(--transition); }
.read-more:hover { gap: 8px; }

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 100px;
}
footer .footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
footer a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
footer a:hover { color: var(--accent); }