:root {
    /* g2g Tech Palette */
    --primary-color: #25D366;
    /* WhatsApp Green inspired */
    --primary-dark: #128C7E;
    --secondary-color: #075E54;
    --accent-color: #34B7F1;

    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --bg-light: #F0F2F5;
    /* Light mode bg if needed, but going dark/tech */

    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --text-inverse: #121212;

    /* Typography */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Roboto', system-ui, -apple-system, sans-serif;

    --container-width: 1100px;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.brand-logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: #000;
    padding: 100px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Features Grid */
.features-section {
    background: #151515;
    padding: 80px 0;
}

.feature-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15);
    border: 1px solid #333;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Article Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.article-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 25px;
}

.article-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
}

/* Footer */
footer {
    background-color: #000;
    border-top: 1px solid #222;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 25px;
    font-size: 0.8rem;
    color: #666;
}

/* Mobile */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        /* Add JS toggle logic later */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        border-bottom: 1px solid #333;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-grid {
        flex-direction: column;
    }
}