/* 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 {
    position: relative;
    height: 300px;
    background: #fafafa;
    border-radius: 20px;
    border: 1px dashed #ccc;
}

.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;
}

@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 --- */
.section-p2 {
    padding: 8rem 0;
    background: #e8f0fe;
    overflow: hidden;
}

.productivity-deck {
    position: relative;
    height: 400px;
    margin-top: 3rem;
    perspective: 1000px;
}

.window-layer {
    position: absolute;
    width: 600px;
    height: 350px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.layer-1 {
    z-index: 3;
}

.layer-2 {
    z-index: 2;
    transform: translate(-45%, -55%) scale(0.95);
    opacity: 0.8;
}

.layer-3 {
    z-index: 1;
    transform: translate(-40%, -60%) scale(0.9);
    opacity: 0.6;
}

.win-header {
    height: 40px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.win-dots {
    width: 10px;
    height: 10px;
    background: #ff5f57;
    border-radius: 50%;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #28c940;
}

.win-body {
    padding: 2rem;
}

.skeleton-row {
    height: 10px;
    background: #eee;
    margin-bottom: 1rem;
    border-radius: 4px;
    width: 80%;
}

/* --- E2: Ecosystem --- */
.section-e2 {
    padding: 8rem 0;
    background: #fff;
    text-align: center;
}

.ecosystem-visual-container {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-node {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    z-index: 2;
}

.center-node {
    width: 100px;
    height: 100px;
    background: #000;
    color: #fff;
}

.sat-1 {
    top: 20%;
    left: 20%;
}

.sat-2 {
    top: 20%;
    right: 20%;
}

.sat-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.eco-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.eco-lines line {
    stroke: #ccc;
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

/* --- 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: 0.5rem;
}

.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;
    }
}

/* --- I2: Infinite --- */
.section-i2 {
    padding: 4rem 0;
    background: #fff;
    border-top: 1px solid #eee;
    overflow: hidden;
}

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

/* --- 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;
    text-shadow: 0 0 20px rgba(66, 133, 244, 0.8);
    margin-bottom: 2rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .enterprise-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

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

.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: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

#radarCanvas {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    animation: radar-pulse 3s ease-in-out infinite;
}

@keyframes radar-pulse {

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

    50% {
        transform: scale(1.02);
    }
}

.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: Skills Matrix --- */
.section-skills-matrix {
    padding: 8rem 0;
    background: #fff;
}

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

.skill-track {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.skill-track:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--google-blue);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

.skill-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #4285F4, #34A853);
    border-radius: 100px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    padding: 6px 12px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- New Feature: Live Activity Feed --- */
.section-activity-feed {
    padding: 8rem 0;
    background: #f8f9fa;
}

.activity-layout {
    max-width: 800px;
    margin: 0 auto;
}

.activity-header {
    text-align: center;
    margin-bottom: 3rem;
}

.activity-stream {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.6s ease forwards;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

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

.activity-item[data-delay="0"] {
    animation-delay: 0.1s;
}

.activity-item[data-delay="1"] {
    animation-delay: 0.2s;
}

.activity-item[data-delay="2"] {
    animation-delay: 0.3s;
}

.activity-item[data-delay="3"] {
    animation-delay: 0.4s;
}

.activity-item[data-delay="4"] {
    animation-delay: 0.5s;
}

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

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.activity-text strong {
    font-weight: 600;
}

.activity-text .highlight {
    color: var(--google-blue);
    font-weight: 600;
}

.activity-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.activity-pulse {
    width: 8px;
    height: 8px;
    background: #34A853;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(52, 168, 83, 0);
    }
}

/* --- New Feature: Interactive Timeline --- */
.section-timeline {
    padding: 8rem 0;
    background: #fff;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4285F4, #34A853, #FBBC04, #EA4335);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #4285F4;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-dot.active {
    width: 30px;
    height: 30px;
    background: #4285F4;
    box-shadow: 0 0 0 8px rgba(66, 133, 244, 0.2);
    animation: timeline-pulse 2s ease-in-out infinite;
}

@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 {
    flex: 1;
    background: var(--surface-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

.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;
}