/* Google Ecosystem Design System (Material 3 Inspired) */
:root {
    /* Google Brand Colors */
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;

    /* Surface Colors */
    --surface-light: #FFFFFF;
    --surface-dim: #F8F9FA;
    --surface-border: #DADCE0;

    /* Text Colors */
    --text-primary: #202124;
    --text-secondary: #5F6368;
    --text-tertiary: #80868B;

    /* Typography */
    --font-heading: 'Product Sans', 'Roboto', 'Inter', sans-serif;
    --font-body: 'Roboto', 'Inter', system-ui, sans-serif;

    /* Spacing & Layout */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows (Material Elevation) */
    --shadow-1: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-2: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    --shadow-3: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);

    /* Compatibility Variables */
    --color-bg: var(--surface-light);
    --color-bg-secondary: var(--surface-dim);
    --color-text: var(--text-primary);
    --color-text-muted: var(--text-secondary);
    --color-accent-1: var(--google-blue);
    --color-accent-2: var(--google-red);
    --color-accent-3: var(--google-green);
    --gradient-primary: linear-gradient(135deg, var(--google-blue), #1a73e8);
    --gradient-secondary: linear-gradient(135deg, var(--google-green), #0f9d58);
}

/* PITECHPEDIA Home Page Styles - Narrative System */

/* --- Common Letter Badge --- */
.letter-badge {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--google-blue);
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Product Sans', sans-serif;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3);
}

.letter-badge.white {
    background: #fff;
    color: var(--text-primary);
}

.letter-badge.soft {
    background: #e8f0fe;
    color: var(--google-blue);
}

.letter-badge.dark {
    background: #333;
    color: #0f9d58;
    border: 1px solid #0f9d58;
}

.letter-badge.glow {
    background: #fff;
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* --- P: Powering (Hero) --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    /* Fallback */
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Aurora Background Animation */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: aurora-float 20s infinite ease-in-out;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: #e8f0fe;
    /* Light Blue */
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: #f3e8fd;
    /* Light Purple */
    top: 20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vw;
    height: 40vw;
    background: #e0f2f1;
    /* Light Cyan */
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes aurora-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Above aurora */
    text-align: center;
    max-width: 1200px;
    padding: 0 1rem;
}

.hero-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* --- New: Global Impact --- */
.section-impact {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.impact-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.impact-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--google-blue), var(--google-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- New: Trending Paths --- */
.section-trending {
    padding: 8rem 0;
    background: #fcfcfc;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trend-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trend-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.trend-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--google-blue);
    font-weight: 600;
    text-decoration: none;
}

/* --- New: Success Stories --- */
.section-stories {
    padding: 8rem 0;
    background: #fff;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.story-card {
    background: var(--surface-light);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
}

.story-quote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-style: italic;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- I: Intelligent Systems --- */
.section-i {
    padding: 8rem 0;
    background: #fff;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.int-card {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.int-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--google-red);
    box-shadow: 0 10px 30px rgba(234, 67, 53, 0.1);
}

.int-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* --- T: Transformative --- */
.section-t {
    padding: 10rem 0;
    position: relative;
    color: #fff;
    overflow: hidden;
    background: #000;
}

.t-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000, #202124);
    z-index: 1;
}

.section-t .container {
    position: relative;
    z-index: 2;
}

.t-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.morph-visual {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.morph-shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4285F4, #AA00FF);
    border-radius: 50%;
    animation: morph 6s infinite ease-in-out;
    filter: blur(20px);
}

@keyframes morph {
    0% {
        border-radius: 50%;
        transform: scale(1);
    }

    33% {
        border-radius: 0%;
        transform: scale(1.2) rotate(45deg);
    }

    66% {
        border-radius: 50% 0 50% 0;
        transform: scale(0.8) rotate(-45deg);
    }

    100% {
        border-radius: 50%;
        transform: scale(1);
    }
}

/* --- E: Enterprise --- */
.section-e {
    padding: 8rem 0;
    background: #f8f9fa;
}

.enterprise-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1.5rem;
    margin-top: 4rem;
}

.enterprise-bento>div {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* Corporate/Swiss feel */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-large {
    grid-row: span 2;
    border-left: 4px solid var(--google-blue) !important;
}

.bento-tall {
    grid-row: span 2;
    text-align: center;
}

.bento-wide {
    grid-column: span 2;
    display: none;
    /* Mobile adj */
}

/* --- C: Creative --- */
.section-c {
    padding: 8rem 0;
    overflow: hidden;
}

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

.c-visual {
    display: none;
    /* Replaced by builder-stage */
}

/* --- High-Fidelity Visual Builder Replica --- */
.builder-stage {
    margin-top: 4rem;
    background: #f1f3f4;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.builder-ui-replica {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 700px;
    overflow: hidden;
    border: 1px solid #dadce0;
}

/* Chrome - Top Bar */
.ui-top-bar {
    height: 48px;
    background: #202124;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    font-size: 0.85rem;
}

.ui-project-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ui-logo {
    width: 24px;
    height: 24px;
    background: #4285f4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.ui-project-name {
    font-weight: 500;
    color: #e8eaed;
}

.ui-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-btn-icon {
    background: transparent;
    border: none;
    color: #9aa0a6;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.ui-btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ui-btn-publish {
    background: #4285f4;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ui-btn-publish:hover {
    background: #1a73e8;
}

/* Main Workspace */
.ui-workspace {
    flex: 1;
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    overflow: hidden;
}

/* Footer Bar */
.ui-footer-bar {
    height: 32px;
    background: #f8f9fa;
    border-top: 1px solid #dadce0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.75rem;
    color: #70757a;
    justify-content: space-between;
}

/* Left Sidebar- Library */
.ui-sidebar-left {
    background: #f8f9fa;
    border-right: 1px solid #dadce0;
    display: flex;
    flex-direction: column;
}

.ui-tabs {
    display: flex;
    padding: 0.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid #dadce0;
}

.ui-tabs span {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    color: #5f6368;
    font-weight: 500;
}

.ui-tabs span.active {
    background: #e8f0fe;
    color: #1967d2;
}

.ui-component-grid {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.ui-comp-item {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #3c4043;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: grab;
    transition: all 0.2s;
}

.ui-comp-item:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 6px rgba(66, 133, 244, 0.1);
    background: #e8f0fe;
}

/* Right Sidebar - Properties */
.ui-sidebar-right {
    background: #fff;
    border-left: 1px solid #dadce0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ui-panel-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #202124;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.ui-prop-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ui-prop-group label {
    font-size: 0.75rem;
    color: #5f6368;
    font-weight: 500;
}

.ui-select {
    padding: 6px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 0.8rem;
    background: #f8f9fa;
}

.ui-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ui-range {
    width: 100%;
    accent-color: #4285f4;
}

.ai-pill {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f3e8fd, #e8f0fe);
    border: 1px solid #d2e3fc;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1967d2;
}

/* Center Canvas & Responsive Controls */
.ui-canvas {
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.device-select {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    z-index: 5;
}

.device-select span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #80868b;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s;
    user-select: none;
}

.device-select span:hover {
    background: #f1f3f4;
    color: #202124;
}

.device-select span.selected {
    background: #e8f0fe;
    color: #1a73e8;
}

.canvas-preview-area {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    background: #f1f3f4;
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.canvas-preview-area.drag-over {
    background: #e8f0fe;
    outline: 2px dashed #4285f4;
    outline-offset: -10px;
}

.canvas-content-mock {
    width: 100%;
    max-width: 1200px;
    min-height: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.canvas-content-mock.tablet-view {
    width: 768px;
}

.canvas-content-mock.mobile-view {
    width: 375px;
}

.builder-block {
    position: absolute;
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.block-1 {
    top: 20%;
    left: 10%;
    border: 2px solid var(--google-yellow);
    animation: float 4s infinite ease-in-out;
}

.block-2 {
    top: 50%;
    left: 40%;
    border: 2px solid var(--google-green);
    animation: float 4s infinite ease-in-out 1s;
}

.block-3 {
    top: 30%;
    right: 10%;
    border: 2px solid var(--google-red);
    animation: float 4s infinite ease-in-out 0.5s;
}

/* Mock Landing Page Components */
.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.ui-logo-small {
    width: 20px;
    height: 20px;
    background: #1a73e8;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 800;
}

.mock-nav h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #202124;
}

.mock-links {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #5f6368;
}

.mock-hero {
    padding: 4rem 2rem;
    text-align: center;
}

.mock-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202124;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.mock-text {
    font-size: 1rem;
    color: #5f6368;
    margin-bottom: 2rem;
}

.mock-btn {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
}

/* Selector Box */
.canvas-selection-box {
    position: absolute;
    border: 2px solid #4285f4;
    pointer-events: none;
    z-index: 10;
    transition: all 0.1s ease-out;
    opacity: 0;
}

.selection-label {
    position: absolute;
    top: -22px;
    left: -2px;
    background: #4285f4;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
}

.mock-visual-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.3), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.1;
    transition: all 0.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* --- H: Human --- */
.section-h {
    padding: 10rem 0;
    background: #fff5f2;
    text-align: center;
}

.section-h .serif-title {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 3rem;
    color: #202124;
}

.reading-text {
    font-size: 1.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 2rem auto;
    color: #444;
}

.human-signature {
    font-family: cursive;
    margin-top: 2rem;
    color: #666;
}

/* --- P2: Productivity: Cloud Command Center --- */
.section-p2 {
    padding: 10rem 0;
    background: radial-gradient(circle at top right, #f0f4ff, #ffffff);
    overflow: hidden;
}

.p2-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.p2-header-center h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.productivity-deck {
    position: relative;
    height: 500px;
    margin: 0 auto;
    max-width: 900px;
    perspective: 2000px;
}

.window-layer {
    position: absolute;
    width: 650px;
    height: 400px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.layer-1 {
    z-index: 10;
    transform: translate(-50%, -50%) translateZ(100px);
}

.layer-2 {
    z-index: 5;
    transform: translate(-45%, -55%) translateZ(50px);
    background: rgba(255, 255, 255, 0.5);
}

.layer-3 {
    z-index: 1;
    transform: translate(-40%, -60%) translateZ(0);
    background: rgba(255, 255, 255, 0.3);
}

.win-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.win-dots {
    display: flex;
    gap: 6px;
}

.win-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.win-dots span:nth-child(1) {
    background: #ff5f57;
}

.win-dots span:nth-child(2) {
    background: #ffbd2e;
}

.win-dots span:nth-child(3) {
    background: #28c940;
}

.win-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3c4043;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-pill {
    margin-left: auto;
    background: #ea433515;
    color: #ea4335;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.win-body {
    padding: 2rem;
}

/* Dashboard Content - Layer 1 */
.live-chart-container {
    height: 120px;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

#live-sparkline {
    width: 100%;
    height: 100%;
}

#sparkline-path {
    fill: none;
    stroke: #4285f4;
    stroke-width: 3;
    stroke-linecap: round;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #5f6368;
    margin-bottom: 0.5rem;
}

.metric-value-huge {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202124;
}

.sub-metrics {
    text-align: right;
}

.sub-val {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 0.5rem;
}

.sub-val span {
    font-weight: 700;
    color: #34a853;
}

/* Task List - Layer 2 */
.task-list-mock {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: transform 0.2s;
}

.task-row:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.green {
    background: #34a853;
    box-shadow: 0 0 10px #34a85380;
}

.status-dot.blue {
    background: #4285f4;
    box-shadow: 0 0 10px #4285f480;
}

.status-dot.yellow {
    background: #fbbc04;
    box-shadow: 0 0 10px #fbbc0480;
}

.task-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3c4043;
    flex: 1;
}

.task-time {
    font-size: 0.8rem;
    color: #80868b;
}

/* Metrics Grid - Layer 3 */
.metrics-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.m-label {
    font-size: 0.85rem;
    color: #5f6368;
}

.m-val {
    font-size: 1rem;
    font-weight: 700;
    color: #202124;
}

@media (max-width: 768px) {
    .window-layer {
        width: 90%;
        height: auto;
        min-height: 350px;
    }

    .layer-2,
    .layer-3 {
        display: none;
    }
}

/* --- E2: Enhanced Ecosystem Network --- */
.section-e2 {
    padding: 10rem 0;
    background: #fff;
    overflow: hidden;
}

.ecosystem-visual-container {
    margin-top: 5rem;
    position: relative;
    padding-bottom: 2rem;
}

.eco-network-wrapper {
    position: relative;
    height: 500px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Central Core */
.eco-core {
    position: relative;
    width: 120px;
    height: 120px;
    z-index: 10;
}

.core-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(66, 133, 244, 0.3);
    border-radius: 50%;
    animation: rotate-core 20s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-style: solid;
    border-color: rgba(66, 133, 244, 0.1);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes rotate-core {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.core-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #202124 0%, #000 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 40px rgba(66, 133, 244, 0.3);
}

.core-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.core-status-ping {
    width: 8px;
    height: 8px;
    background: #34a853;
    border-radius: 50%;
    margin-top: 10px;
    box-shadow: 0 0 15px #34a853;
    animation: ping 1.5s ease-in-out infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Satellite Nodes */
.eco-node-wrap {
    position: absolute;
    width: 100px;
    text-align: center;
    z-index: 15;
    /* transition added dynamically via js to prevent conflict */
    cursor: pointer;
}

.eco-node-wrap.ready-eco-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.eco-node-wrap:hover {
    transform: scale(1.15);
}

.sat-devs { top: 15%; left: 15%; }
.sat-partners { top: 15%; right: 15%; }
.sat-users { bottom: 10%; left: 50%; transform: translateX(-50%); }

.node-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.node-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3c4043;
}

/* SVG Lines */
.eco-svg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.eco-path {
    fill: none;
    stroke: rgba(66, 133, 244, 0.15);
    stroke-width: 2;
    stroke-dasharray: 8;
    animation: flow-data 3s linear infinite;
}

@keyframes flow-data {
    to { stroke-dashoffset: -100; }
}

/* Active Footer */
.eco-active-footer {
    margin-top: 4rem;
    text-align: center;
}

.eco-counter-wrap {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: #f8f9fa;
    border-radius: 100px;
    border: 1px solid #eee;
}

.eco-count-large {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--google-blue);
    line-height: 1;
}

.eco-label-sub {
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 600;
}

/* --- D: Developer --- */
.section-d {
    padding: 6rem 0;
    background: #1e1e1e;
    color: #0f9d58;
    font-family: 'Courier New', monospace;
}

.dev-console {
    max-width: 800px;
    margin: 0 auto;
}

.console-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.code-line {
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0; /* Hidden initially for GSAP */
    display: inline-block; /* allows it to scale width properly */
    clear: both;
}

.code-line-wrapper {
    display: block; /* To enforce line breaks since p is inline-block */
}

.keyword {
    color: #c678dd;
}

.function {
    color: #61afef;
}

.string {
    color: #98c379;
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
    display: inline-block;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- P2: Product Synergy Grid --- */
.product-synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.product-synergy-card {
    background: #fff;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    min-height: 420px;
    /* transition appended programmatically after GSAP entrance to prevent conflict */
}

/* Added dynamically via JS after entrance animation */
.product-synergy-card.ready-hover {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-synergy-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-color: var(--google-blue);
}

.card-p-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-synergy-card:hover .card-p-icon {
    transform: rotate(10deg) scale(1.1);
}

.card-ai.product-synergy-card:hover .card-p-icon { background: #aa00ff20; color: #aa00ff; }
.card-cloud.product-synergy-card:hover .card-p-icon { background: #34a85320; color: #34a853; }
.card-analytics.product-synergy-card:hover .card-p-icon { background: #4285f420; color: #4285f4; }

.card-p-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #202124;
    margin-bottom: 1rem;
}

.card-p-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 2rem;
}

.card-p-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.p-stat-chip {
    padding: 6px 14px;
    background: #f1f3f4;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3c4043;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-ai .p-stat-chip { color: #aa00ff; background: #aa00ff08; }
.card-cloud .p-stat-chip { color: #34a853; background: #34a85308; }
.card-analytics .p-stat-chip { color: #4285f4; background: #4285f408; }

/* P2 Footer CTA Integration */
.p2-footer-cta {
    margin-top: 6rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .product-synergy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-synergy-card {
        min-height: auto;
        padding: 2.5rem;
    }
}

/* --- I2: Infinite Intelligence Hub --- */
.section-i2 {
    padding: 12rem 0;
    background: #0d1117;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.intelligence-hub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.i2-header-enhanced {
    text-align: center;
    margin-bottom: 6rem;
}

.i2-header-enhanced h2 {
    font-size: 3.5rem;
    color: #fff;
    margin: 1.5rem 0;
}

.intelligence-mesh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.mesh-node {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    /* transition added dynamically via js to prevent conflict */
    overflow: hidden;
}

.mesh-node.ready-mesh-hover {
    transition: all 0.5s ease;
}

.mesh-node:hover {
    background: rgba(66, 133, 244, 0.08);
    border-color: rgba(66, 133, 244, 0.4);
    transform: translateY(-10px);
}

.node-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #4285f4;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.mesh-node h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.mesh-node p {
    color: #8b949e;
    line-height: 1.6;
}

.node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.mesh-node:hover .node-glow {
    opacity: 1;
}

/* Neural Mesh Background */
.neural-mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mesh-line {
    fill: none;
    stroke: rgba(66, 133, 244, 0.1);
    stroke-width: 1;
}

.pulse-1 { animation: neural-flow 15s linear infinite; }
.pulse-2 { animation: neural-flow 20s linear infinite reverse; }
.pulse-3 { animation: neural-flow 25s linear infinite; }

@keyframes neural-flow {
    0% { stroke-dasharray: 0, 1000; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 500, 500; }
    100% { stroke-dasharray: 0, 1000; stroke-dashoffset: -1000; }
}

@media (max-width: 900px) {
    .intelligence-mesh-grid {
        grid-template-columns: 1fr;
    }
}

/* --- A: Advanced --- */
.section-a {
    padding: 10rem 0;
    background: radial-gradient(circle at center, #1a237e, #000);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.futuristic-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 30px rgba(66, 133, 244, 0.6);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.future-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.section-a .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.signup-ticker {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: #34A853;
    border-radius: 50%;
    margin-right: 0.5rem;
    box-shadow: 0 0 10px #34A853;
    animation: pulsar-green 1.5s infinite;
}

#signup-count {
    font-weight: 700;
    color: #fff;
    margin-right: 4px;
}

@keyframes pulsar-green {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Utilities --- */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC04, #EA4335);
    z-index: 1001;
    transition: width 0.1s ease;
}

.advanced-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(66, 133, 244, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(20px, -30px);
        opacity: 0.6;
    }
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    /* Product Sans style */
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Restoring Gradient for Hero */
.hero-title .text-gradient {
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC04, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--google-blue);
    color: var(--google-blue);
}

.cta-button.secondary:hover {
    background: var(--google-blue);
    color: #fff;
    transform: translateY(-2px);
}


/* Stats (Clean Cards) */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Premium shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    box-shadow: var(--shadow-2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--google-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Trusted By Section (Infinite Scroll) */
.trusted-section {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--surface-border);
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.logos-slide {
    display: flex;
    gap: 6rem;
    animation: slide 40s linear infinite;
    width: max-content;
    padding-left: 4rem;
    align-items: center;
}

/* Updated Image Styles */
.partner-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo-img:hover {
    opacity: 1;
    filter: none;
    /* revealing color/style */
    transform: scale(1.1);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ... (Advantage & Ecosystem Sections remain same) ... */

/* Services Preview */
.services-preview {
    padding: 6rem 0;
    background-color: var(--surface-dim);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Material Cards for Services */
.service-card {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Color accents top border */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.service-card[data-color="blue"]::before {
    background-color: var(--google-blue);
}

.service-card[data-color="red"]::before {
    background-color: var(--google-red);
}

.service-card[data-color="green"]::before {
    background-color: var(--google-green);
}

.service-card[data-color="yellow"]::before {
    background-color: var(--google-yellow);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    background: var(--surface-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--google-blue);
}

/* Features Section (Clean Layout) */
.features-section {
    padding: 8rem 0;
    background-color: var(--surface-light);
}

.features-content {
    display: grid;
    gap: 6rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.feature-text h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Premium Visual Custom Cards (replacing 3D placeholders) */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    aspect-ratio: 4/3;
    max-width: 500px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.visual-icon {
    font-size: 6rem;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.visual-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    top: -25%;
    left: -25%;
    animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Specific Card Gradients */
.c-ai {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.c-partners {
    background: linear-gradient(135deg, #EA4335 0%, #FBBC04 100%);
}

.c-cert {
    background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
}

/* CTA Section (Simple Google-style banner) */
.cta-section {
    padding: 6rem 0;
    background-color: #F8F9FA;
    /* Light grey bg */
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .feature-item:nth-child(even) .feature-text {
        order: 1;
        /* Reset order for mobile stacking */
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .cta-section {
        padding: 4rem 0;
    }
}

/* --- Community Spotlight --- */
.section-community {
    padding: 8rem 0;
    background: #f8f9fa;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.community-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comm-img-wrap {
    height: 180px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comm-img-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.comm-content {
    padding: 2rem;
}

.comm-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f0fe;
    color: var(--google-blue);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.comm-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.comm-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.comm-link {
    color: var(--google-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.comm-link:hover {
    text-decoration: underline;
}

/* --- New Feature: Technology Radar --- */
.section-radar {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.radar-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

#radarCanvas {
    max-width: 100%;
    height: auto;
    background: radial-gradient(circle at center, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Tooltip */
.radar-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
    border: 1px solid var(--google-blue);
}

/* Details Panel */
.radar-details-panel {
    background: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: fit-content;
    animation: slideInRight 0.5s ease-out;
}

.panel-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--google-blue);
    font-weight: 700;
}

#detailName {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-primary);
}

#detailDesc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f4ea;
    color: #137333;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .radar-container {
        grid-template-columns: 1fr;
    }

    .radar-details-panel {
        order: -1;
        width: 100%;
    }
}

.radar-legend {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}


/* --- New Feature: Interactive Timeline --- */
.section-timeline {
    padding: 10rem 0;
    background: #fcfcfc;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 5rem auto 0;
    padding: 2rem 0;
}

.timeline-progress-container {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Animated via GSAP */
    background: linear-gradient(180deg, #4285F4, #34A853, #FBBC04, #EA4335);
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.5);
    transition: height 0.1s linear;
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4285F4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: #202124;
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #eee;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s;
}

.timeline-item.passed .timeline-dot {
    background: #4285F4;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.8);
    transform: translateX(-50%) scale(1.2);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-progress-container {
        left: 20px;
        transform: none;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 50px;
    }

    .timeline-content {
        width: 100%;
    }
}

@keyframes timeline-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(66, 133, 244, 0.2);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
    }
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--google-blue);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4285F4, #34A853);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {

    .section-radar,
    .section-skills-matrix,
    .section-activity-feed,
    .section-timeline {
        padding: 4rem 0;
    }

    #radarCanvas {
        width: 100%;
        height: auto;
    }

    .skills-matrix-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-dot {
        left: 30px;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Subtitle styling for new sections */
.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
/* Global Scroll Offsets for Hash Navigation */
section[id] {
    scroll-margin-top: 100px;
}
