/* main-style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --bg-deep: #051014;
    --accent-cyan: #00F2EA;
    --text-main: #E0F7FA;
    --text-muted: #6C8D9B;
    --side-padding: 10%;
}

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

body { 
    background-color: var(--bg-deep); 
    color: var(--text-main); 
    font-family: 'Outfit', sans-serif; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header { padding: 3rem var(--side-padding) 1rem; }

.studio-logo { 
    height: 50px; 
    width: auto; 
    display: block; 
}

main { padding: 0 var(--side-padding) 100px; max-width: 1200px; margin: 0 auto; }

h1 { 
    font-size: clamp(2.5rem, 10vw, 6rem); 
    font-weight: 300;
    line-height: 1.1; 
    margin: 4rem 0 3rem; 
    background: linear-gradient(to right, #fff, var(--text-muted)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    letter-spacing: -2px;
}

/* The Grid Layout */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    margin-bottom: 80px; 
}

.card { 
    background: #0B1E27; 
    border: 1px solid rgba(0, 242, 234, 0.1); 
    padding: 2.5rem; 
    border-radius: 24px; 
    text-decoration: none; 
    color: white; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.card:hover { 
    transform: translateY(-8px); 
    border-color: var(--accent-cyan); 
    background: #0e2631;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.label { 
    color: var(--accent-cyan); 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    display: block; 
    margin-bottom: 1rem; 
    letter-spacing: 1px;
}

.card h2 { font-size: 1.8rem; margin-bottom: 0.5rem; font-weight: 400; }
.card p { color: var(--text-muted); font-size: 1rem; line-height: 1.5; }

/* Blog Section on Home Page */
.blog-section { 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding-top: 60px; 
}

.blog-post { margin-bottom: 40px; }
.blog-date { 
    color: var(--accent-cyan); 
    font-family: monospace; 
    font-size: 0.8rem; 
    display: block;
    margin-bottom: 0.5rem;
}

.archive-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(108, 141, 155, 0.3);
    padding-bottom: 4px;
    transition: 0.3s;
}

.archive-link:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

footer { 
    padding: 4rem var(--side-padding); 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    :root { --side-padding: 8%; }
    header { padding-top: 2rem; }
    h1 { margin: 2rem 0 2.5rem; }
    .card { padding: 1.8rem; }
    footer { flex-direction: column; align-items: flex-start; }
}