/* --- Variables --- */
:root {
    --bg-primary: #000000;
    --bg-secondary: #080808;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --accent-blue: #00d9ff; /* Electric Blue/Cyan for tech look */
    --nav-height: 64px;
    --glass-bg: rgba(0, 0, 0, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Apple-style variables map */
    --apple-blue: #00d9ff;
    --apple-bg-secondary: #0a0a0c;
    --apple-border: rgba(255, 255, 255, 0.1);
    --apple-text: #ffffff;
    --apple-text-secondary: #86868b;
    
    /* Macbook Pro Depth Shadows */
    --deep-shadow: 0 50px 100px -20px rgba(0,0,0,0.5), 0 30px 60px -30px rgba(0,0,0,0.6);
    --soft-glow: 0 0 40px rgba(0, 217, 255, 0.05);
    --metallic-gradient: linear-gradient(135deg, #636366 0%, #1c1c1e 100%);
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

/* --- Navigation --- */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 2000;
    display: flex;
    align-items: center;
    overflow: visible; /* Prevents burger clipping */
}

.nav-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    overflow: visible;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    z-index: 2001;
    min-width: fit-content;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #ffffff 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-blue);
}

.nav-links a.nav-cta {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 8px 22px !important;
    border-radius: 980px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-cta:hover {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: 0.3s ease;
}

/* --- Layout Sections --- */
.section-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 32px;
}

header.page-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    background: radial-gradient(circle at center 110%, #111 0%, #000 70%);
    position: relative;
    overflow: hidden;
}

header.page-header::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    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);
    background-size: 80px 80px;
    transform: perspective(1000px) rotateX(60deg);
    z-index: 0;
    pointer-events: none;
}

h1, h2, h3, h4, h5 {
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    font-weight: 700;
}

.reveal {
    font-size: clamp(36px, 10vw, 100px); /* Slightly smaller baseline */
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
    padding-bottom: 10px;
}

@media (max-width: 480px) {
    .reveal {
        letter-spacing: -1.5px;
        line-height: 1.2;
    }
}

.large-p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    opacity: 1; /* Changed to 1 */
    transform: translateY(0);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.stat-pill {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--soft-glow);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* --- Animations --- */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-concept {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--deep-shadow);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0; /* Behind text */
    backdrop-filter: blur(10px);
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
    .floating-concept {
        width: 40px;
        height: 40px;
        font-size: 18px;
        opacity: 0.2;
    }
}

.floating-concept.c1 { top: 20%; left: 10%; animation-delay: 0s; }
.floating-concept.c2 { top: 60%; left: 15%; animation-delay: 1s; }
.floating-concept.c3 { top: 30%; right: 10%; animation-delay: 2s; }
.floating-concept.c4 { top: 70%; right: 15%; animation-delay: 3s; }

/* In-viewport class for animations */
.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- 3D Visuals --- */
.scene-3d-webgl {
    width: 100%;
    height: 450px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .scene-3d-webgl {
        height: 300px;
    }
}

.demo-section {
    background: var(--bg-primary);
    overflow: hidden;
    padding: 120px 0;
}

.demo-grid-redesign {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.terminal-window {
    background: #1c1c1e;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--deep-shadow);
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #2c2c2e;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    font-size: 11px;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.5px;
}

.terminal-content {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-content .line { margin-bottom: 8px; }
.terminal-content .cyan { color: #00d9ff; }
.terminal-content .white { color: #ffffff; }
.terminal-content .grey { color: #636366; }
.terminal-content .green { color: #34c759; }

.prompt-line {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-blue);
}

.preview-window {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.demo-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: radial-gradient(circle at center, #05101a 0%, #000 100%);
    position: relative;
}

.scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: scan 4s linear infinite;
    opacity: 0.5;
    z-index: 2;
}

.preview-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.preview-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-stats .stat span:first-child {
    font-size: 9px;
    color: #86868b;
    letter-spacing: 1px;
}

.preview-stats .stat span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

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

/* --- Components --- */
.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.prompt-box {
    margin-top: 32px;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-family: 'Courier New', monospace;
    font-size: 17px;
    color: var(--accent-blue);
    backdrop-filter: blur(10px);
}

.prompt-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--accent-blue);
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--deep-shadow);
    opacity: 0;
    transform: translateY(30px);
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.02) translateY(-5px) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-item.large { grid-column: span 2; }
.bento-item.accent { 
    background: #ffffff; 
    border: none; 
    box-shadow: 0 40px 80px rgba(255, 255, 255, 0.1);
}

.bento-item.accent * { color: #000 !important; }

/* --- Footer --- */
.global-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 32px 40px;
    background: #000;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h5 { margin-bottom: 20px; font-size: 14px; }
.footer-col a { display: block; text-decoration: none; color: var(--text-secondary); font-size: 13px; margin-bottom: 10px; transition: 0.3s; }
.footer-col a:hover { color: #fff; }

/* --- Responsive Queries --- */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-item.large { grid-column: span 2; }
}

@media (max-width: 850px) {
    .demo-container { grid-template-columns: 1fr; gap: 40px; }
    .demo-text { order: 2; text-align: center; }
    .demo-visual { order: 1; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Use mobile menu */
    .nav-toggle { display: flex; }
    
    .section-content { padding: 80px 24px; }
    .reveal { letter-spacing: -1px; }
    .hero-stats { flex-direction: column; align-items: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile Nav Active State */
/* Removed redundant .nav-links.mobile-active here to keep it in media queries */

.demo-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: scan 4s linear infinite;
    opacity: 0.3;
}

@keyframes scan {
    0% { transform: translateY(-500px); }
    100% { transform: translateY(500px); }
}

.prompt-box {
    margin-top: 32px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    position: relative;
    color: #ffffff;
}

.prompt-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: #ffffff;
    vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@media (max-width: 768px) {
    .demo-container {
        flex-direction: column;
        gap: 40px;
    }
    .demo-visual {
        width: 100%;
        height: 350px;
    }
}

.eyebrow {
    font-size: 18px;
    font-weight: 600;
    color: var(--apple-blue);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.large-p {
    font-size: 28px;
    color: var(--apple-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    font-weight: 500;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bento-item {
    background: var(--apple-bg-secondary);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid var(--apple-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.bento-item.large { grid-column: span 2; }
.bento-item.accent { background: var(--apple-blue); color: white; border: none; }
.bento-item.accent h4, .bento-item.accent p { color: white; }

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.contact-method {
    background: var(--apple-bg-secondary);
    padding: 60px 40px;
    border-radius: 28px;
    border: 1px solid var(--apple-border);
    text-align: center;
}

.contact-method h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.contact-method p {
    color: var(--apple-text-secondary);
    margin-bottom: 24px;
}

.contact-button {
    display: inline-block;
    padding: 14px 32px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #ffffff;
}

.contact-button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.bento-item.accent .contact-button {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.bento-item.accent .contact-button:hover {
    background: transparent !important;
    color: #000 !important;
}

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

.contact-form input, .contact-form textarea {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--apple-border);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: inherit;
    font-size: 17px;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent-blue);
}

.contact-form button {
    background: #ffffff;
    color: #000000;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #ffffff;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: transparent;
    color: #ffffff;
}

.hero-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    font-weight: 500;
}

.global-footer {
    background: var(--apple-bg-secondary);
    padding: 80px 22px 40px;
    border-top: 1px solid var(--apple-border);
    font-size: 12px;
    color: var(--apple-text-secondary);
}

.footer-content {
    max-width: 1024px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: var(--apple-text);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: var(--apple-text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--apple-text);
}

@media (max-width: 1024px) {
    .nav-content {
        padding: 0 24px;
    }
    .nav-links {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .demo-grid-redesign {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .terminal-window {
        order: 2;
        min-height: 250px;
    }
    .preview-window {
        order: 1;
        height: 300px;
    }
    .terminal-content {
        padding: 16px;
        font-size: 12px;
    }
    .demo-section {
        padding: 60px 0;
    }
}

/* Base Mobile Overrides */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 20px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000000; /* Pure black for mobile menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex; /* Always display flex but hide off-screen */
    }
    .nav-links.mobile-active {
        right: 0;
    }
    .nav-links a {
        color: #ffffff !important;
        font-size: 24px;
        font-weight: 700;
        opacity: 0.8;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    .nav-links a.nav-cta {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 20px;
        padding: 12px 40px !important;
    }
    .nav-links.mobile-active a {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-logo span {
        font-size: 20px;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        z-index: 1001;
        padding: 4px; /* Ensure not cut off */
    }
    
    .nav-toggle span {
        width: 100%;
        height: 2px;
        background-color: #ffffff !important; /* White Toggle */
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-content {
        padding: 60px 20px;
    }
    header.page-header {
        padding: 100px 20px 40px;
        overflow: hidden; /* Prevent floating items from cutting out */
    }
    .reveal {
        font-size: clamp(42px, 10vw, 64px);
        letter-spacing: -1px;
        line-height: 1.1;
        padding-bottom: 10px; /* Space for descenders */
    }
    .large-p {
        font-size: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.large {
        grid-column: span 1;
    }
    .bento-item {
        padding: 30px;
    }

    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }

    .contact-grid, .team-grid { 
        grid-template-columns: 1fr; 
    }
    .contact-method, .team-card {
        padding: 40px 20px;
    }

    .scene-3d { 
        width: 200px; 
        height: 200px; 
        margin: 40px auto;
    }
    .face {
        width: 200px;
        height: 200px;
        font-size: 16px;
    }
    .front  { transform: translateZ(100px); }
    .back   { transform: rotateY(180deg) translateZ(100px); }
    .top    { transform: rotateX(90deg) translateZ(100px); }
    .bottom { transform: rotateX(-90deg) translateZ(100px); }
    .left   { transform: rotateY(-90deg) translateZ(100px); }
    .right  { transform: rotateY(90deg) translateZ(100px); }

    .founder-img {
        width: 150px;
        height: 150px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }
    .stat-pill {
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Team and Founders Refinement */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    margin-top: 80px;
}

.team-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 80px 48px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--deep-shadow);
    border-color: rgba(255,255,255,0.2);
}

.founder-img-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    margin-bottom: 32px;
    padding: 8px; /* Increased padding */
    background: var(--metallic-gradient);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.founder-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top; /* Prevent head crop */
    filter: grayscale(1);
    transition: filter 0.6s ease;
}

.team-card:hover .founder-img {
    filter: grayscale(0);
}

.team-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}

.team-links {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.team-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.team-links a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.reveal-text, .reveal-card {
    opacity: 0;
    transform: translateY(30px);
}

.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}