/* Antigravity  - Light Theme */
 
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');
 
:root {
    --ag-bg: #ffffff;
    --ag-bg-alt: #f8f9fa;
    --ag-text: #202124;
    --ag-text-muted: rgba(32, 33, 36, 0.6);
    --ag-accent: #202124;
    --ag-card-bg: #f8f9fa;
    --ag-border: rgba(0, 0, 0, 0.1);
    --ag-btn-bg: #202124;
    --ag-btn-text: #ffffff;
    --ag-icon-opacity: 0.08;
}
 
body.antigravity-theme {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--ag-bg);
    color: var(--ag-text);
    -webkit-font-smoothing: antialiased;
}
 
/* Hero Section */
.ag-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ag-bg);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
 
/* Floating Icons Grid */
.ag-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 40px;
    padding: 60px;
    opacity: var(--ag-icon-opacity);
    z-index: 0;
}
 
.ag-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ag-text);
    font-size: 28px;
}
 
/* Hero Content */
.ag-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin-top: -290px;
}
 
.ag-hero-title {
    font-size: 72px;
    font-weight: 400;
    line-height: 2.05;
    margin-bottom: 24px;
    color: var(--ag-text);
    letter-spacing: -2px;
}
 
.ag-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--ag-text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
 
/* Buttons */
.ag-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}
 
.ag-btn-primary {
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
 
.ag-btn-primary:hover {
    opacity: 0.85;
}
 
.ag-btn-secondary {
    background: transparent;
    color: var(--ag-text);
    padding: 16px 32px;
    border: 1px solid var(--ag-border);
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
 
.ag-btn-secondary:hover {
    border-color: var(--ag-text);
}
 
/* Blog Container */
.ag-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}
 
/* Section Title */
.ag-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ag-text-muted);
    margin-bottom: 48px;
}
 
/* Featured Card */
.ag-featured-card {
    background: var(--ag-card-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 64px;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
 
.ag-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
 
.ag-featured-card-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
 
.ag-featured-card-content {
    padding: 40px;
}
 
.ag-featured-card-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 16px;
}
 
.ag-featured-card-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--ag-text);
    line-height: 1.2;
}
 
.ag-featured-card-excerpt {
    font-size: 16px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
 
.ag-featured-card-link {
    color: var(--ag-text);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
 
.ag-featured-card-link:hover {
    text-decoration: underline;
}
 
/* Blog Grid */
.ag-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
 
.ag-blog-card {
    background: var(--ag-card-bg);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
 
.ag-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
 
.ag-blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
 
.ag-blog-card-content {
    padding: 24px;
}
 
.ag-blog-card-meta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 12px;
}
 
.ag-blog-card-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--ag-text);
    line-height: 1.3;
}
 
.ag-blog-card-excerpt {
    font-size: 14px;
    color: var(--ag-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}
 
.ag-blog-card-link {
    color: var(--ag-text);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}
 
.ag-blog-card-link:hover {
    text-decoration: underline;
}
 
/* Article Page */
.ag-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}
 
.ag-article-header {
    margin-bottom: 48px;
}
 
.ag-article-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    margin-bottom: 24px;
}
 
.ag-article-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--ag-text);
}
 
.ag-article-author {
    font-size: 16px;
    color: var(--ag-text-muted);
    margin-bottom: 16px;
}
 
.ag-article-excerpt {
    font-size: 20px;
    color: var(--ag-text-muted);
    line-height: 1.6;
}
 
.ag-article-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 40px 0;
}
 
.ag-article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ag-text);
}
 
.ag-article-content h2 {
    font-size: 32px;
    font-weight: 400;
    margin-top: 56px;
    margin-bottom: 24px;
    color: var(--ag-text);
}
 
.ag-article-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--ag-text);
}
 
.ag-article-content p {
    margin-bottom: 24px;
}
 
.ag-article-content ul,
.ag-article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}
 
.ag-article-content li {
    margin-bottom: 8px;
}
 
.ag-article-content code {
    background: var(--ag-card-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.9em;
}
 
.ag-article-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 24px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    line-height: 1.6;
}
 
.ag-article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
 
.ag-article-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}
 
.ag-article-content .image-caption {
    text-align: center;
    font-size: 14px;
    color: var(--ag-text-muted);
    margin-top: -20px;
    margin-bottom: 32px;
}
 
.ag-article-content blockquote {
    border-left: 4px solid var(--ag-text);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--ag-text-muted);
}
 
.ag-article-content a {
    color: #1a73e8;
    text-decoration: none;
}
 
.ag-article-content a:hover {
    text-decoration: underline;
}
 
/* Article Section Divider */
.ag-article-divider {
    height: 1px;
    background: var(--ag-border);
    margin: 80px 0;
}
 
/* GitHub Link */
.ag-github-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    padding: 16px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 32px;
    transition: opacity 0.2s;
}
 
.ag-github-link:hover {
    opacity: 0.85;
}
 
.ag-github-link i {
    font-size: 20px;
}
 
/* Presentation Viewer */
.ag-presentation-viewer {
    background: var(--ag-card-bg);
    border-radius: 16px;
    padding: 40px;
    margin: 48px 0;
}
 
.ag-presentation-viewer h3 {
    text-align: center;
    margin-bottom: 32px;
    color: var(--ag-text);
    font-weight: 400;
}
 
.ag-slide-viewer {
    text-align: center;
}
 
.ag-slide-viewer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
 
.ag-slide-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}
 
.ag-slide-btn {
    background: var(--ag-btn-bg);
    color: var(--ag-btn-text);
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.2s;
}
 
.ag-slide-btn:hover {
    opacity: 0.85;
}
 
.ag-slide-btn:disabled {
    background: var(--ag-border);
    color: var(--ag-text-muted);
    cursor: not-allowed;
}
 
.ag-slide-counter {
    color: var(--ag-text-muted);
    font-size: 14px;
}
 
/* Responsive */
@media (max-width: 768px) {
    .ag-hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .ag-hero-subtitle {
        font-size: 16px;
    }
    
    .ag-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .ag-featured-card-title {
        font-size: 28px;
    }
    
    .ag-featured-card-image {
        height: 250px;
    }
    
    .ag-article-title {
        font-size: 32px;
    }
    
    .ag-floating-icons {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, 1fr);
        padding: 20px;
        gap: 20px;
    }
    
    .ag-floating-icon {
        font-size: 20px;
    }
}
