:root {
    --primary: #0a42f5;
    --primary-dark: #002299;
    --secondary: #00e5ff;
    --bg-dark: #050b14;
    --bg-card: #0c162d;
    --text-main: #f0f4f8;
    --text-muted: #9ba4b5;
    --accent: #ff3366;
    --border: #1e293b;
    --glass: rgba(12, 22, 45, 0.7);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

.header {
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a.active {
    color: var(--secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    color: #fff;
}

.hero {
    padding: 12rem 2rem 6rem;
    text-align: center;
    background: radial-gradient(circle at center, #102040 0%, var(--bg-dark) 70%);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ffffff" fill-opacity="0.05"/></svg>');
    pointer-events: none;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer {
    background-color: #03060a;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

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

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.blog-post {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-post {
        flex-direction: row;
    }
}

.blog-img {
    width: 100%;
    height: 250px;
    background-color: #1a2942;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blog-img {
        width: 40%;
        height: auto;
    }
}

.blog-content {
    padding: 3rem;
    width: 100%;
}

@media (min-width: 768px) {
    .blog-content {
        width: 60%;
    }
}

.blog-date {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.blog-title {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.content-page {
    padding: 10rem 2rem 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #fff;
}

.content-page h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #fff;
}

.content-page p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content-page ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.content-page li {
    margin-bottom: 0.5rem;
}

.legal-text {
    font-size: 1rem;
    color: #a0aec0;
}

.legal-text p {
    margin-bottom: 1rem;
}

/* Sitelink style blocks */
.sitelink-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .sitelink-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sitelink-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sitelink-card h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.sitelink-card p {
    font-size: 0.9rem;
    margin: 0;
}
