/* --- Cyber-Funk Palette & Global --- */
:root {
    --bg-color: #0f0c29;        
    --text-main: #ffffff;
    --text-muted: #b0a8b9;
    --card-bg: #1a1636;         
    --funky-pink: #ff007f;      
    --funky-cyan: #00f0ff;      
    --funky-yellow: #ffe600;    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
    /* Hide default cursor to use our custom one */
    cursor: none !important; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- The Custom Agency Cursor --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--funky-cyan);
    border-radius: 50%;
    pointer-events: none; /* So it doesn't block clicks */
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: exclusion; /* Gives it that cool inverted look over white text */
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* When hovering over links, the cursor grows */
.custom-cursor.hover-active {
    width: 60px;
    height: 60px;
    background-color: var(--funky-pink);
    mix-blend-mode: normal;
    opacity: 0.5;
}

/* --- Top Announcement Bar --- */
.top-bar {
    background: linear-gradient(90deg, var(--funky-pink), var(--funky-yellow));
    color: #000;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.top-bar a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--funky-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--funky-cyan);
}

.btn-login {
    background: var(--funky-pink);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700 !important;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    transition: all 0.3s ease !important;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 8rem 1rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    color: var(--funky-cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid var(--funky-cyan);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

/* Styles for the JS Text Splitter */
.word {
    display: inline-block;
    overflow: hidden; /* Hides the text before it slides up */
    vertical-align: top;
}
.word span {
    display: inline-block;
    transform: translateY(110%); /* Pushed down initially */
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Subscribe Form --- */
.subscribe-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscribe-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    outline: none;
    font-size: 1rem;
    color: var(--text-main);
}

.subscribe-form button {
    background: var(--funky-cyan);
    color: #000;
    border: none;
    padding: 0 2rem;
    border-radius: 50px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.social-proof {
    margin-top: 1rem;
    font-size: 0.9rem !important;
    color: var(--text-muted);
}

/* --- Articles Grid --- */
.container {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all {
    text-decoration: none;
    color: var(--funky-yellow);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.news-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s ease;
}

.news-card:hover {
    border-color: var(--funky-pink);
}

/* Setup for GSAP Image Parallax */
.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parallax-img {
    width: 100%;
    height: 120%; /* Taller than container to allow scrolling movement */
    object-fit: cover;
    transform: translateY(-10%); /* Centers it initially */
}

.card-content {
    padding: 2rem;
}

.category {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
    color: #000;
}

.category.tag-cyan { background: var(--funky-cyan); }
.category.tag-pink { background: var(--funky-pink); color: #fff; }

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Ad Card Styling */
.ad-card {
    background: transparent;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.ad-space {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    border-radius: 0 0 18px 18px;
    min-height: 250px;
}

/* --- Footer --- */
.site-footer {
    background: #080614;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--funky-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* Prevent flash before GSAP loads */
.gs-reveal, .reveal-up {
    opacity: 0;
}

/* Disable custom cursor on mobile */
@media (max-width: 768px) {
    * { cursor: auto !important; }
    .custom-cursor { display: none; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
}