/* Team Page Styles */
/* Note: CSS variables for GDG colors and glass effects are defined in base.css */

.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--surface-bg);
    min-height: 100vh;
}


.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 10% 20%, var(--gdg-blue-ambient), transparent),
        radial-gradient(ellipse 70% 50% at 90% 80%, var(--gdg-green-ambient), transparent),
        radial-gradient(ellipse 60% 40% at 50% 10%, var(--gdg-yellow-glow), transparent);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--surface-noise);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 25s ease-in-out infinite;
    animation-play-state: paused;
    mix-blend-mode: normal;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -15%;
    left: -10%;
    background: radial-gradient(circle at 40% 40%, var(--gdg-blue-ambient), transparent 70%);
    opacity: 0.8;
    animation-duration: 20s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    top: 60%;
    right: -8%;
    background: radial-gradient(circle at 60% 50%, var(--gdg-green-ambient), transparent 70%);
    opacity: 0.7;
    animation-duration: 28s;
    animation-delay: -5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    bottom: -10%;
    left: 30%;
    background: radial-gradient(circle at 50% 60%, var(--gdg-yellow-ambient), transparent 70%);
    opacity: 0.6;
    animation-duration: 24s;
    animation-delay: -10s;
}

.orb-4 {
    width: 400px;
    height: 400px;
    top: 20%;
    right: 25%;
    background: radial-gradient(circle at 45% 45%, var(--gdg-red-ambient), transparent 70%);
    opacity: 0.5;
    animation-duration: 30s;
    animation-delay: -15s;
}

/*grid*/
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(66, 133, 244, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 133, 244, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
    opacity: 0.8;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gdg-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: 
        0 8px 24px rgba(66, 133, 244, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-color-scheme="dark"] .hero {
    background: var(--surface-bg);
}

[data-color-scheme="dark"] .hero::before {
    background: 
        radial-gradient(ellipse 80% 60% at 10% 20%, var(--gdg-blue-ambient), transparent),
        radial-gradient(ellipse 70% 50% at 90% 80%, var(--gdg-green-ambient), transparent),
        radial-gradient(ellipse 60% 40% at 50% 10%, var(--gdg-yellow-glow), transparent);
}

[data-color-scheme="dark"] .hero-grid-lines {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    opacity: 0.6;
}

[data-color-scheme="dark"] .hero-eyebrow {
    background: linear-gradient(135deg, rgba(17, 25, 40, 0.9), rgba(17, 25, 40, 0.75));
    border-color: rgba(138, 180, 248, 0.25);
    color: #8AB4F8;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-team {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.team-hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
}

.team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.team-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--offer-color-text, #1a1a2e);
    margin: 8px 0 10px;
    letter-spacing: -0.02em;
}

.team-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 550px;
    color: var(--offer-color-text-secondary);
    line-height: 1.5;
    font-size: 15px;
}

/*Denser team grid*/
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(66, 133, 244, 0.18);
    border-radius: 20px;
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 
        0 8px 32px rgba(66, 133, 244, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    
    opacity: 0;
    transform: translateY(20px);
    transition: 
        transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    isolation: isolate;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(66, 133, 244, 0.06), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 168, 83, 0.05), transparent 50%);
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: -40% 50% 60% -30%;
    background: linear-gradient(
        135deg,
        rgba(66, 133, 244, 0.12),
        rgba(255, 255, 255, 0.4),
        rgba(52, 168, 83, 0.08)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
    filter: blur(20px);
}

.team-card:hover::after {
    opacity: 0.7;
}

.team-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(66, 133, 244, 0.45);
    box-shadow: 
        0 20px 48px rgba(66, 133, 244, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 0 1px rgba(66, 133, 244, 0.08),
        0 0 60px rgba(66, 133, 244, 0.1);
}

[data-color-scheme="dark"] .team-card {
    background: linear-gradient(145deg, rgba(17, 25, 40, 0.92), rgba(17, 25, 40, 0.78));
    border-color: rgba(66, 133, 244, 0.22);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-color-scheme="dark"] .team-card::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(66, 133, 244, 0.12), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 168, 83, 0.08), transparent 50%);
}

[data-color-scheme="dark"] .team-card::after {
    background: linear-gradient(
        135deg,
        rgba(66, 133, 244, 0.15),
        rgba(138, 180, 248, 0.1),
        rgba(52, 168, 83, 0.1)
    );
}

[data-color-scheme="dark"] .team-card:hover {
    background: linear-gradient(145deg, rgba(17, 25, 40, 0.95), rgba(17, 25, 40, 0.85));
    border-color: rgba(138, 180, 248, 0.5);
    box-shadow: 
        0 20px 48px rgba(66, 133, 244, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(138, 180, 248, 0.12),
        0 0 60px rgba(66, 133, 244, 0.15);
}

.team-logo {
    width: 68px;
    height: 68px;
    object-fit: cover;
    margin-bottom: 14px;
    filter: drop-shadow(0 8px 16px rgba(66, 133, 244, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    padding: 0;
    background: transparent;
    border: 2px solid rgba(66, 133, 244, 0.2);
}

.team-card:hover .team-logo {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 12px 24px rgba(66, 133, 244, 0.25));
    border-color: rgba(66, 133, 244, 0.4);
}

[data-color-scheme="dark"] .team-logo {
    border-color: rgba(138, 180, 248, 0.25);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

[data-color-scheme="dark"] .team-card:hover .team-logo {
    border-color: rgba(138, 180, 248, 0.5);
    filter: drop-shadow(0 12px 24px rgba(66, 133, 244, 0.35));
}

.team-content {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--offer-color-text);
    letter-spacing: -0.01em;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
    overflow: hidden;
    border-radius: 999px;
    padding: 0 6px;
}

.team-title::after {
    content: '';
    position: absolute;
    inset: -30% -15%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 10%,
        rgba(66, 133, 244, 0.15) 40%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(66, 133, 244, 0.15) 60%,
        rgba(255, 255, 255, 0) 90%
    );
    filter: blur(6px);
    transform: translateX(-140%) skewX(-12deg);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.team-card:hover .team-title {
    color: var(--gdg-blue);
    text-shadow: 0 4px 20px rgba(66, 133, 244, 0.25);
    transform: translateY(-1px);
}

.team-card:hover .team-title::after {
    opacity: 1;
    transform: translateX(200%) skewX(-12deg);
}

[data-color-scheme="dark"] .team-card:hover .team-title {
    color: #8AB4F8;
    text-shadow: 0 4px 20px rgba(138, 180, 248, 0.35);
}

[data-color-scheme="dark"] .team-title::after {
    background: linear-gradient(
        120deg,
        rgba(11, 18, 36, 0) 10%,
        rgba(138, 180, 248, 0.1) 40%,
        rgba(138, 180, 248, 0.2) 50%,
        rgba(138, 180, 248, 0.1) 60%,
        rgba(11, 18, 36, 0) 90%
    );
}

.team-role-tag {
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(52, 168, 83, 0.08));
    color: var(--gdg-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    border: 1px solid rgba(66, 133, 244, 0.15);
    transition: all 0.3s ease;
}

.team-card:hover .team-role-tag {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(52, 168, 83, 0.12));
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

[data-color-scheme="dark"] .team-role-tag {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.15), rgba(52, 168, 83, 0.1));
    color: #8AB4F8;
    border-color: rgba(138, 180, 248, 0.2);
}

[data-color-scheme="dark"] .team-card:hover .team-role-tag {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.2), rgba(52, 168, 83, 0.15));
    border-color: rgba(138, 180, 248, 0.35);
}

.team-desc {
    font-size: 13px;
    color: var(--offer-color-text-secondary);
    line-height: 1.5;
    margin: 4px 0 0 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-socials {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(66, 133, 244, 0.08);
}

[data-color-scheme="dark"] .team-socials {
    border-color: rgba(138, 180, 248, 0.1);
}

.team-social-icon {
    --social-accent: var(--gdg-blue);
    --social-accent-rgb: var(--gdg-blue-rgb);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(52, 168, 83, 0.05));
    color: var(--social-accent);
    border: 1px solid rgba(66, 133, 244, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.team-social-icon svg {
    width: 16px;
    height: 16px;
}

.team-social-icon[data-network="gmail"] svg {
    width: 18px;
    height: 14px;
}

.team-social-icon[data-network="linkedin"] {
    --social-accent: #0a66c2;
    --social-accent-rgb: 10, 102, 194;
}

.team-social-icon[data-network="instagram"] {
    --social-accent: #e1306c;
    --social-accent-rgb: 225, 48, 108;
}

.team-social-icon[data-network="gmail"] {
    --social-accent: #ea4335;
    --social-accent-rgb: 234, 67, 53;
}

.team-social-icon:hover,
.team-social-icon:focus-visible {
    background: linear-gradient(135deg, rgba(var(--social-accent-rgb), 0.15), rgba(var(--social-accent-rgb), 0.08));
    color: var(--social-accent);
    border-color: rgba(var(--social-accent-rgb), 0.35);
    outline: none;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(var(--social-accent-rgb), 0.25);
}

.team-social-icon[data-network="linkedin"]:hover,
.team-social-icon[data-network="linkedin"]:focus-visible {
    color: var(--color-primary-hover);
    transform: translateY(-3px) scale(1.1);
    box-shadow:
        0 8px 20px rgba(var(--social-accent-rgb), 0.25),
        0 4px 8px rgba(0, 0, 0, 0.08);
}

.team-social-icon[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.4;
}

.team-social-icon[aria-disabled="true"]:hover,
.team-social-icon[aria-disabled="true"]:focus-visible {
    transform: none;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08), rgba(52, 168, 83, 0.05));
    color: var(--social-accent);
    border-color: rgba(66, 133, 244, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-color-scheme="dark"] .team-social-icon {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.12), rgba(52, 168, 83, 0.08));
    border-color: rgba(138, 180, 248, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-color-scheme="dark"] .team-social-icon:hover,
[data-color-scheme="dark"] .team-social-icon:focus-visible {
    background: linear-gradient(135deg, rgba(var(--social-accent-rgb), 0.2), rgba(var(--social-accent-rgb), 0.1));
    color: var(--social-accent);
    border-color: rgba(var(--social-accent-rgb), 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(15px, -25px) scale(1.02);
    }
    50% {
        transform: translate(-10px, -40px) scale(1.05);
    }
    75% {
        transform: translate(20px, -20px) scale(1.02);
    }
}

/*modal*/
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-overlay.active {
    display: flex;
    animation: overlayFadeIn 0.3s ease-out forwards;
}

.modal-container {
    width: min(680px, 100% - 32px);
    max-height: 85vh;
    border-radius: 28px;
    padding: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(66, 133, 244, 0.2);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(66, 133, 244, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(66, 133, 244, 0.05);
    position: relative;
    overflow: hidden;
    transform-origin: center center;
    animation: modalPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-color-scheme="dark"] .modal-container {
    background: linear-gradient(145deg, rgba(17, 25, 40, 0.96), rgba(17, 25, 40, 0.92));
    border-color: rgba(138, 180, 248, 0.25);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 20px 40px rgba(66, 133, 244, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(138, 180, 248, 0.1);
}

.modal-content {
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(66, 133, 244, 0.05));
    border: 1px solid rgba(66, 133, 244, 0.2);
    color: var(--gdg-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-color-scheme="dark"] .modal-close {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.15), rgba(138, 180, 248, 0.08));
    border-color: rgba(138, 180, 248, 0.25);
    color: #8AB4F8;
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.15), rgba(234, 67, 53, 0.08));
    border-color: rgba(234, 67, 53, 0.3);
    color: var(--gdg-red);
    transform: scale(1.05) rotate(90deg);
    box-shadow: 0 8px 20px rgba(234, 67, 53, 0.2);
}

[data-color-scheme="dark"] .modal-close:hover {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2), rgba(234, 67, 53, 0.1));
    color: #f87171;
}

.modal-close .material-symbols-outlined {
    font-size: 22px;
}

/*modal-content*/
.team-modal-shell {
    display: flex;
    flex-direction: column;
}

.team-modal-header {
    text-align: center;
    padding: 40px 40px 28px;
    border-bottom: 1px solid rgba(66, 133, 244, 0.1);
    background: linear-gradient(to bottom, rgba(66, 133, 244, 0.04), transparent);
    position: relative;
}

[data-color-scheme="dark"] .team-modal-header {
    border-bottom-color: rgba(138, 180, 248, 0.12);
    background: linear-gradient(to bottom, rgba(66, 133, 244, 0.08), transparent);
}

.team-modal-title-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.team-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #66a6ff 0%, #2e7ae6 50%, #1f2f52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-color-scheme="dark"] .team-modal-title {
    background: linear-gradient(90deg, #d7e3ff 0%, #9bbcfb 52%, #5f6fb5 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.team-modal-subtitle {
    font-size: 14px;
    color: var(--offer-color-text-secondary);
    margin-top: 4px;
}

[data-color-scheme="dark"] .team-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.offer-category-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.12), rgba(52, 168, 83, 0.08));
    color: var(--gdg-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

[data-color-scheme="dark"] .offer-category-badge {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.18), rgba(52, 168, 83, 0.12));
    color: #8AB4F8;
    border-color: rgba(138, 180, 248, 0.25);
}

.team-modal-about {
    padding: 14px 20px;
    margin: 0 40px 20px;
    border-left: 2px solid rgba(66, 133, 244, 0.5);
    background: linear-gradient(100deg, rgba(66, 133, 244, 0.03), transparent 50%);
    border-radius: 0 8px 8px 0;
}

[data-color-scheme="dark"] .team-modal-about {
    border-left-color: rgba(138, 180, 248, 0.5);
    background: linear-gradient(100deg, rgba(138, 180, 248, 0.05), transparent 50%);
}

.team-modal-about-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gdg-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-modal-about-title .material-symbols-outlined {
    font-size: 16px;
    color: var(--gdg-blue);
    opacity: 0.8;
}

[data-color-scheme="dark"] .team-modal-about-title {
    color: #8AB4F8;
}

[data-color-scheme="dark"] .team-modal-about-title .material-symbols-outlined {
    color: #8AB4F8;
}

.team-modal-about-text {
    font-size: 14px;
    color: var(--offer-color-text-secondary);
    line-height: 1.6;
}

[data-color-scheme="dark"] .team-modal-about-text {
    color: rgba(255, 255, 255, 0.65);
}

.team-modal-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 0 40px 40px;
}

.team-modal-member-card {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.04), rgba(52, 168, 83, 0.02));
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(66, 133, 244, 0.1);
    position: relative;
    overflow: hidden;
}

.team-modal-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(66, 133, 244, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-modal-member-card:hover::before {
    opacity: 1;
}

[data-color-scheme="dark"] .team-modal-member-card {
    background: linear-gradient(145deg, rgba(138, 180, 248, 0.08), rgba(52, 168, 83, 0.04));
    border-color: rgba(138, 180, 248, 0.12);
}

.team-modal-member-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 
        0 12px 28px rgba(66, 133, 244, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-color-scheme="dark"] .team-modal-member-card:hover {
    border-color: rgba(138, 180, 248, 0.35);
    box-shadow: 
        0 12px 28px rgba(66, 133, 244, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-modal-member-avatar {
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}

.team-modal-avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gdg-blue), var(--gdg-green));
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-modal-member-card:hover .team-modal-avatar-circle {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

[data-color-scheme="dark"] .team-modal-avatar-circle {
    background: linear-gradient(135deg, #8AB4F8, #81C995);
    box-shadow: 0 4px 12px rgba(138, 180, 248, 0.3);
}

.team-modal-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gdg-blue);
    font-size: 15px;
}

[data-color-scheme="dark"] .team-modal-avatar-inner {
    background: rgba(17, 25, 40, 0.95);
    color: #8AB4F8;
}

.team-modal-member-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--offer-color-text);
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

[data-color-scheme="dark"] .team-modal-member-name {
    color: #f8fafc;
}

.team-modal-member-role {
    font-size: 11px;
    color: var(--gdg-blue);
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

[data-color-scheme="dark"] .team-modal-member-role {
    color: #8AB4F8;
}

.team-modal-header,
.team-modal-about,
.team-modal-members {
    opacity: 0;
    transform: translateY(20px);
}

.modal-overlay.active .team-modal-header,
.modal-overlay.active .team-modal-about,
.modal-overlay.active .team-modal-members {
    animation: teamModalContent 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-overlay.active .team-modal-header {
    animation-delay: 0.05s;
}

.modal-overlay.active .team-modal-about {
    animation-delay: 0.12s;
}

.modal-overlay.active .team-modal-members {
    animation-delay: 0.2s;
}

@keyframes teamModalContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 768px) {
    .hero {
        padding: 76px 0 52px;
    }

    .hero-orb {
        filter: blur(42px);
        opacity: 0.42;
    }

    .orb-1 {
        width: 260px;
        height: 260px;
        top: -72px;
        left: -76px;
    }

    .orb-2 {
        width: 230px;
        height: 230px;
        top: 46%;
        right: -82px;
    }

    .orb-3 {
        width: 220px;
        height: 220px;
        bottom: -72px;
        left: 8%;
    }

    .orb-4 {
        width: 200px;
        height: 200px;
        top: 18%;
        right: 18%;
    }

    .hero-grid-lines {
        background-size: 48px 48px;
        opacity: 0.5;
    }
    
    .team-header h2 {
        font-size: 26px;
    }

    .team-subtitle {
        font-size: 14px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
        padding-bottom: 40px;
    }
    
    .team-card {
        padding: 18px 16px 16px;
    }
    
    .team-logo {
        width: 60px;
        height: 60px;
    }
    
    .team-title {
        font-size: 15px;
    }
    
    .team-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .modal-container {
        border-radius: 24px;
    }
    
    .team-modal-header {
        padding: 32px 24px 20px;
    }
    
    .team-modal-title {
        font-size: 24px;
    }
    
    .team-modal-about {
        margin: 0 24px 16px;
        padding: 12px 16px;
    }
    
    .team-modal-members {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 0 24px 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 58px 0 42px;
    }

    .hero-eyebrow {
        max-width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .team-card {
        flex-direction: row;
        text-align: left;
        gap: 14px;
        padding: 16px;
    }
    
    .team-logo {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .team-content {
        align-items: flex-start;
        gap: 6px;
    }
    
    .team-socials {
        justify-content: flex-start;
        padding-top: 10px;
    }

    .team-modal-about {
        margin: 0 16px 14px;
        padding: 10px 14px;
    }
    
    .team-modal-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reduced motion preference for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
    .hero-orb {
        animation: none;
        opacity: 0.5;
    }
    
    .team-header,
    .team-grid,
    .team-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .team-card.is-visible {
        opacity: 1;
        transform: none;
    }
    
    .team-card:hover,
    .team-card:hover .team-logo,
    .team-card:hover .team-title::after {
        transform: none;
    }
    
    .modal-container {
        animation: none;
    }
}
