:root {
    --surface-light: #ffffff;
    --surface-border: #e8eaed;
    --surface-dim: #f5f7fb;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #6f737a;
    --font-size-btn: 0.95rem;
    --font-weight-btn: 600;
    --font-size-display: 3.75rem;
    --line-height-display: 1.05;
    --shadow-1: 0 1px 2px rgba(60,64,67,.08);
    --shadow-2: 0 8px 24px rgba(60,64,67,.08);
}

.site-header {
    background-color: var(--surface-light);
    border-bottom: 1px solid var(--surface-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.logo {
    font-family: 'Product Sans', var(--font-family-base);
    font-size: 1.375rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.logo-pitech {
    font-weight: 500;
    color: var(--text-primary);
}

.logo-divider {
    margin: 0 8px;
    color: var(--surface-border);
}

.logo-product {
    color: var(--text-secondary);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    list-style: none;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--google-blue);
}

.header-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    /* Standard Material height */
    border-radius: 4px;
    /* Material 2 uses 4px, Material 3 often pills but User asked 4px or pill. 4px usually for enterprise web */
    font-family: 'Google Sans', 'Roboto', sans-serif;
    font-size: var(--font-size-btn);
    font-weight: var(--font-weight-btn);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    /* Standard easing */
}

.btn-primary {
    background-color: var(--google-blue);
    color: white;
    box-shadow: var(--shadow-1);
    border: none;
}

.btn-primary:hover {
    background-color: #1967d2;
    /* Slightly darker */
    box-shadow: var(--shadow-2);
}

.btn-text {
    background: transparent;
    color: var(--google-blue);
}

.btn-text:hover {
    background-color: rgba(26, 115, 232, 0.04);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--google-blue);
}

.btn-outline:hover,
.btn-outline.active {
    background-color: rgba(26, 115, 232, 0.04);
    border-color: var(--google-blue);
    background-color: #e8f0fe;
    /* Distinct active background */
}

.full-width {
    width: 100%;
}

/* Common Section Styles */
.section-padding {
    padding: 80px 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.page-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
}
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
}

.display-text {
    font-family: 'Product Sans', var(--font-family-base);
    font-size: var(--font-size-display);
    line-height: var(--line-height-display);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
}

.hero-subtext {
    font-size: var(--font-size-body-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.hero-visual {
    position: relative;
    width: 40%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #E8F0FE, #FFFFFF);
    border-radius: 50%;
    position: relative;
}

.visual-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--google-blue);
    opacity: 0.2;
    transform: scale(1.2);
}

/* Stats Section */
.stats-section {
    background-color: var(--surface-dim);
    padding: 60px 0;
    margin-bottom: 80px;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--google-blue);
    font-weight: 400;
    /* Google Brand style often light/regular */
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Offerings Section */
.offerings-section {
    padding-bottom: 100px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Cards */
.card {
    background-color: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    /* User requested 8px or 12px */
    padding: 32px;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
    border-color: transparent;
    /* Material cards often lose border on elevation */
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.card-link {
    color: var(--google-blue);
    font-weight: 500;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
}

.card-link::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.2s;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* Program Cards Specifics */
.program-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.feature-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '•';
    color: var(--google-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Story Cards Specifics */
.story-image {
    width: 100%;
    /* Placeholder default provided inline */
}

.story-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

/* Event Cards Specifics */
.event-card {
    background-color: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: var(--spacing-md);
    align-items: center;
    transition: all 0.2s ease;
}

.event-card:hover {
    box-shadow: var(--shadow-1);
    border-color: transparent;
}

.event-date {
    text-align: center;
    padding-right: var(--spacing-xl);
    border-right: 1px solid var(--surface-border);
    margin-right: var(--spacing-xl);
    min-width: 100px;
}

.event-date .month {
    color: var(--google-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
}

.event-details {
    flex-grow: 1;
}

.event-type {
    color: var(--google-blue);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.event-details h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.event-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.event-desc {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.event-action {
    padding-left: var(--spacing-lg);
}


/* Footer */
.site-footer {
    border-top: 1px solid var(--surface-border);
    padding: 40px 0;
    margin-top: auto;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-left: var(--spacing-lg);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .main-nav {
        display: none;
        /* Hide for simple MVP mobile, would add burger menu in JS */
    }

    /* Event Card Mobile */
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        display: flex;
        gap: 10px;
        border-right: none;
        margin-bottom: 16px;
        align-items: center;
        padding-right: 0;
    }

    .event-action {
        padding-left: 0;
        margin-top: 16px;
        width: 100%;
    }

    .event-action .btn {
        width: 100%;
    }
}

/* Mobile Menu & Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .d-none-mobile { display: none; }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1002;
    padding: 24px;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

/* Character Counter Styles */
.form-group {
    position: relative;
}
.char-counter {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 4px;
    font-weight: 500;
}
.char-counter.limit-reached {
    color: var(--google-red);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}