/* ==========================================================================
   1. HERO SECTION - Innerpages
   ========================================================================== */
.hero-section {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(48, 105, 175, 0.92), rgba(62, 125, 195, 0.82)), 
        url('../images/bg-banner-01.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.inner-hero-section {
    padding: 160px 48px 80px;
}

.inner-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}

.inner-hero-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.45);
    padding: 6px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.inner-hero-title {
    font-size: var(--font-size-hero);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.inner-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
    line-height: 1.6;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   2. CONTENT SECTIONS & SIDEBAR CARDS
   ========================================================================== */
.content-section {
    padding: 110px 48px 60px;
    background: var(--bg-color);
}

.content-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.content-sidebar-card {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 4px 0 4px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 992px) {
    .content-sidebar-card {
        border-left: none;
        padding-left: 0;
    }
}

.content-sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
}

.content-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-sidebar-list li {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   3. STATS SECTION
   ========================================================================== */
.stats-section {
    background: var(--bg-ash);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 48px;
}

.stats-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.16, 1, .3, 1), transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.25s; }
.stat-item:nth-child(3) { transition-delay: 0.4s; }

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--google-blue);
    letter-spacing: -.03em;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================================================
   4. PAGE-SPECIFIC MODULES (About & Contact)
   ========================================================================== */
.about-content-wrapper,
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-content-wrapper h2,
.contact-form-wrapper h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text-main);
}

.about-content-wrapper p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background: #fff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.submit-btn {
    background: var(--google-blue);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--google-blue-hover);
}

/* ==========================================================================
   5. SPLIT-SCREEN SERVICES & THEMES MODULES
   ========================================================================== */
.split-section {
    padding: 120px 48px;
    background: var(--bg-color);
}

.split-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.split-sticky-col {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.split-sticky-col span.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--google-blue);
    text-transform: uppercase;
}

.split-sticky-col h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--text-main);
}

.split-sticky-col p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.split-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--google-blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    transition: var(--transition);
    margin-top: 12px;
}

.split-cta-btn:hover {
    background: var(--google-blue-hover);
    transform: translateY(-2px);
}

.split-cards-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-list-card {
    background: var(--bg-ash);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
}

.service-list-card:hover {
    background: #ffffff;
    border-color: rgba(26, 115, 232, 0.4);
    transform: translateX(6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-row h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -.02em;
}

.card-num-badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--google-blue);
    background: rgba(26, 115, 232, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
}

.service-list-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: var(--transition);
}

.service-list-card:hover .service-pill {
    background: var(--bg-ash);
    border-color: rgba(26, 115, 232, 0.2);
}

/* Themes Grid Module */
.themes-container {
    max-width: 1200px;
    margin: auto;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.theme-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
}

.theme-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(26, 115, 232, 0.3);
}

.theme-preview {
    position: relative;
    width: 100%;
    height: 220px;
    background: var(--bg-ash);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.theme-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.theme-card:hover .theme-preview img {
    transform: scale(1.05);
}

.theme-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--google-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.theme-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.theme-category {
    color: var(--google-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-tag {
    color: var(--text-muted);
    background: var(--bg-ash);
    padding: 3px 8px;
    border-radius: 6px;
}

.theme-info h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--text-main);
}

.theme-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.theme-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.theme-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.theme-btn.secondary {
    background: var(--bg-ash);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.theme-btn.secondary:hover {
    background: var(--border-color);
}

.theme-btn.primary {
    background: var(--google-blue);
    color: #fff;
}

.theme-btn.primary:hover {
    background: var(--google-blue-hover);
}

/* ==========================================================================
   6. BUNDLE PACKAGE MODULE
   ========================================================================== */
.bundle-section {
    padding: 100px 48px;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.bundle-container {
    max-width: 1200px;
    margin: auto;
    background: var(--bg-ash);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.bundle-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bundle-badge {
    display: inline-block;
    background: rgba(26, 115, 232, 0.1);
    color: var(--google-blue);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

.bundle-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.bundle-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bundle-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.bundle-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.bundle-features li svg {
    color: var(--google-blue);
    flex-shrink: 0;
}

.bundle-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.bundle-pricing {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-price-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bundle-price-text {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -.01em;
}

.bundle-price-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.bundle-cta-btn {
    background: var(--google-blue);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.bundle-cta-btn:hover {
    background: var(--google-blue-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .content-container,
    .split-container,
    .bundle-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .split-sticky-col {
        position: relative;
        top: 0;
    }
    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bundle-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 20px 24px;
    }
    .inner-hero-section,
    .content-section,
    .stats-section,
    .split-section,
    .themes-section,
    .bundle-section {
        padding-left: 24px;
        padding-right: 24px;
    }
    .inner-hero-section {
        padding-top: 130px;
    }
    .content-section,
    .split-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-list-card {
        padding: 24px;
    }
    .themes-grid {
        grid-template-columns: 1fr;
    }
    .bundle-container,
    .bundle-card {
        padding: 24px;
    }
}


/* ==========================================================================
   7. BLOG & LAB
   ========================================================================== */

/* Blog Container & Grid Layout */
.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

/* Individual Blog Card Styling */
.blog-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.blog-card h2 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.blog-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover {
    color: #0066cc;
}

.article-row-excerpt {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.article-row-excerpt p {
    margin: 0 0 1rem 0;
}

/* Tag Cloud Styling */
.blog-card .tagcloud {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.blog-card .tagcloud a {
    color: #666;
    text-decoration: none;
}

.blog-card .tagcloud a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Pagination Navigation */
.pagination-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1rem 0;
    border-top: 1px solid #eaeaea;
}

.pagination-nav a {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pagination-nav a:hover {
    background: #f4f4f4;
}