/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', Roboto, 'Segoe UI', Arial, sans-serif;
    color: #202124;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #1a73e8;
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #185abc;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.btn-primary.small {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 28px; /* Pill shape for hero button often */
}

/* Navbar */
.navbar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #dadce0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
    font-size: 22px;
    font-weight: 400;
    color: #5f6368;
}

.logo img {
    height: 36px;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #5f6368;
    font-size: 16px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #202124;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 24px 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.tagline {
    font-size: 24px;
    color: #5f6368;
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-actions {
    margin-bottom: 16px;
}

.os-info {
    font-size: 12px;
    color: #5f6368;
    margin-top: 24px;
}

/* Feature Sections */
.feature-section {
    padding: 96px 24px;
}

.bg-white {
    background-color: #ffffff;
}

.bg-light {
    background-color: #f8f9fa;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.split-layout {
    flex-direction: row;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    max-width: 500px;
}

.text-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-content p {
    font-size: 18px;
    color: #5f6368;
    margin-bottom: 32px;
    line-height: 1.6;
}

.learn-more {
    font-weight: 500;
    font-size: 16px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    margin-top: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* Bottom CTA */
.bottom-cta {
    text-align: center;
    padding: 96px 24px;
    background-color: #f8f9fa;
    border-top: 1px solid #dadce0;
}

.bottom-cta h2 {
    font-size: 40px;
    margin-bottom: 32px;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 64px 24px 24px;
    border-top: 1px solid #dadce0;
    font-size: 14px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.footer-column h4 {
    color: #202124;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-column a {
    display: block;
    color: #5f6368;
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: #1a73e8;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid #dadce0;
}

.logo-small {
    font-size: 24px;
    font-weight: 500;
    color: #5f6368;
}

.legal a {
    color: #5f6368;
    margin-left: 24px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .split-layout, .split-layout.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        margin: 0 auto;
    }
    
    .nav-links {
        display: none; /* Simple hiding for mobile */
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* Additions for Article/Blog Layout */

.article-page {
    background-color: #ffffff;
    padding-top: 40px;
    padding-bottom: 80px;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 40px;
}

.article-main {
    flex: 3; /* Occupies 75% of space approx */
    background: #fff;
}

.article-main h1 {
    font-size: 40px;
    margin-bottom: 24px;
    color: #202124;
    line-height: 1.2;
}

.article-meta {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #202124;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #3c4043;
    margin-bottom: 24px;
}

.article-content ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 24px;
}

.article-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #3c4043;
    margin-bottom: 12px;
}

/* Sidebar Styles */
.article-sidebar {
    flex: 1; /* Occupies 25% of space approx */
    padding-left: 20px;
    border-left: 1px solid #dadce0;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-size: 18px;
    color: #202124;
    margin-bottom: 16px;
    border-bottom: 2px solid #1a73e8;
    padding-bottom: 8px;
    display: inline-block;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 12px;
}

.sidebar-list a {
    color: #3c4043;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: #1a73e8;
}

/* Responsive for Article */
@media (max-width: 900px) {
    .article-container {
        flex-direction: column;
    }
    
    .article-sidebar {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #dadce0;
        padding-top: 40px;
    }
}

/* FAQ / Accordion Styles */
.faq-container h2 {
    font-size: 40px;
    font-weight: 700;
    color: #202124;
}

.faq-item {
    border-top: 1px solid #dadce0;
    margin-bottom: 0;
}

.faq-item:last-of-type {
    border-bottom: 1px solid #dadce0;
}

.faq-item[open] {
    padding-bottom: 24px;
}

.faq-item summary {
    padding: 24px 0;
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: #5f6368;
}

.faq-item[open] summary::after {
    content: '—'; /* Em dash or minus sign */
    font-weight: 400;
}

.faq-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #5f6368;
    margin: 0;
    padding-right: 40px;
}

/* Article Card Styles for Homepage */
.article-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 24px;
    display: block;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1a73e8;
    transform: translateY(-2px);
}

.article-card h3 {
    color: #1a73e8;
}

.article-card:hover h3 {
    text-decoration: underline;
}
