/* Core Variables & Resets */
:root {
    --bg-black: #050505;
    --bg-dark: #121212;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --accent-blue: #1877F2; /* Professional, sharp blue */
    --accent-blue-hover: #145dbf;
    --border-color: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; display: inline-block; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}
.logo span { color: var(--accent-blue); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-light); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-blue); }
.nav-btn {
    background: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 4px;
}
.nav-btn:hover { background: var(--accent-blue-hover); color: white !important; }

/* Mobile Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1001; }
.hamburger span { width: 25px; height: 3px; background: white; transition: 0.3s; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: #111; /* Fallback */
    /* Add a background image URL below when ready */
    background-image: linear-gradient(to bottom, rgba(5,5,5,0.3), var(--bg-black)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

/* Buttons */
.cta-btn {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}
.primary-btn { background: var(--accent-blue); color: #fff; border: 1px solid var(--accent-blue); }
.primary-btn:hover { background: var(--accent-blue-hover); border-color: var(--accent-blue-hover); }
.outline-btn { background: transparent; color: var(--accent-blue); border: 1px solid var(--accent-blue); }
.outline-btn:hover { background: var(--accent-blue); color: #fff; }

/* Sections & Layouts */
.section { padding: 100px 0; }
.dark-bg { background-color: var(--bg-dark); }
.black-bg { background-color: var(--bg-black); }

h2 { font-size: 2.2rem; margin-bottom: 15px; }
.blue-line { height: 3px; width: 60px; background: var(--accent-blue); margin-bottom: 30px; }
.center-line { margin: 0 auto 40px auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }

.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* Cards & Elements */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.service-card {
    background: var(--bg-dark);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }
.service-card h3 { color: var(--accent-blue); margin-bottom: 15px; font-size: 1.4rem; }

/* Demos */
.demo-card {
    background: var(--bg-black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
.iframe-wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.iframe-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.demo-info { padding: 25px; display: flex; justify-content: space-between; align-items: center; }

/* Blog */
.blog-card { background: var(--bg-dark); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); }
.blog-img { height: 200px; background: #222; }
.blog-content { padding: 25px; }
.blog-date { font-size: 0.85rem; color: var(--accent-blue); display: block; margin-bottom: 10px; }
.blog-content h3 { margin-bottom: 10px; font-size: 1.2rem; }
.blog-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.read-more { color: var(--text-light); font-weight: 600; font-size: 0.9rem; }
.read-more:hover { color: var(--accent-blue); }

/* Footer - 4 Columns */
.site-footer { background: #020202; padding: 80px 0 20px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.footer-logo span { color: var(--accent-blue); }
.footer-col p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.footer-col h3 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-light); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent-blue); }
.social-icons a { display: inline-block; margin-right: 15px; color: var(--text-light); border: 1px solid var(--border-color); padding: 8px 12px; border-radius: 4px; }
.social-icons a:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.footer-bottom { text-align: center; padding-top: 40px; margin-top: 60px; border-top: 1px solid var(--border-color); color: #555; font-size: 0.9rem; }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .layout-split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 250px; height: 100vh;
        background: rgba(10,10,10,0.98);
        flex-direction: column; justify-content: center;
        transition: 0.4s ease; border-left: 1px solid var(--border-color);
    }
    .nav-links.active { right: 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .demo-info { flex-direction: column; align-items: flex-start; gap: 15px; }
}