@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
    --bg: #0d0f1a;
    --card: #101427;
    --muted: #9aa5c0;
    --accent: #f9577a;
    --accent-rgb: 249, 87, 122;
    --accent-2: #7dd3fc;
    --text: #f5f7fb;
    --border: rgba(255,255,255,0.08);
    --radius: 14px;
}

body.light-mode {
    --bg: #f0f2f5;
    --card: #ffffff;
    --muted: #64748b;
    --accent: #e11d48;
    --accent-rgb: 225, 29, 72;
    --accent-2: #0284c7;
    --text: #0f172a;
    --border: rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Space Grotesk', "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: radial-gradient(circle at 20% 20%, rgba(125,211,252,0.07), transparent 25%),
                radial-gradient(circle at 80% 0%, rgba(249,87,122,0.08), transparent 22%),
                var(--bg);
    overflow-x: hidden; /* Prevent scrollbar from canvas */
    transition: background-color 0.3s, color 0.3s;
}

body.light-mode {
    background: radial-gradient(circle at 20% 20%, rgba(2,132,199,0.05), transparent 25%),
                radial-gradient(circle at 80% 0%, rgba(225,29,72,0.05), transparent 22%),
                var(--bg);
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main, footer {
    position: relative;
    z-index: 1;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    z-index: 1000;
}
.skip-link:focus {
    left: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(13,15,26,0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    z-index: 100;
    transition: background-color 0.3s;
}

body.light-mode .sticky-header {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--border);
    transform: rotate(15deg);
}

.nav-toggle {
    display: none;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--muted);
    transition: color 0.3s;
    font-weight: 600;
}

.nav-menu a:hover {
    color: #fff;
}

.lang-switcher a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    color: #fff;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(125,211,252,0.18), transparent 30%),
                radial-gradient(circle at 80% 15%, rgba(249,87,122,0.22), transparent 32%),
                linear-gradient(135deg, #0d1024 0%, #0d111d 50%, #0f141e 100%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 1rem 0;
}
.hero-copy .lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 520px;
}
.pill {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: #fff;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}
.cta-button {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
}
.cta-button.primary {
    background: linear-gradient(120deg, var(--accent) 0%, #f78ca0 50%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(249,87,122,0.35);
}
.cta-button.ghost {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    background: transparent;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
}
.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
}
.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}
.hero-media {
    position: relative;
}
.hero-video-shell {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    background: #0f1424;
}
.hero-video {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 360px;
}
.glass-card {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(12,15,26,0.72);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: #fff;
}
.card-title {
    font-weight: 700;
}
.card-sub {
    color: var(--muted);
    font-size: 0.9rem;
}
.hero-poster {
    display: none;
    margin-top: 1rem;
    height: 180px;
    background: linear-gradient(135deg, rgba(249,87,122,0.18), rgba(125,211,252,0.18));
    border-radius: 16px;
    border: 1px dashed var(--border);
}
.poster-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #fff;
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section.with-grid {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.0) 100%);
}
.section-heading {
    text-align: left;
    margin-bottom: 2rem;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-2);
    font-weight: 700;
    font-size: 0.9rem;
}
.muted {
    color: var(--muted);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--card);
    padding: 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(125,211,252,0.35);
}
.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.tag {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: #fff;
}

.section.split .split-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}
.bullet-list {
    list-style: none;
    margin-top: 1rem;
    color: #fff;
}
.bullet-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.2rem;
    position: relative;
}
.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}
.card-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.panel-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.panel-row:last-child {
    margin-bottom: 0;
}
.panel-row h3 {
    font-size: 1.8rem;
}
.tiny {
    color: var(--muted);
    font-size: 0.9rem;
}



/* Page Header */
.page-header {
    background: linear-gradient(135deg, #d4007a 0%, #ff4d94 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

/* Content Section */
.content {
    padding: 4rem 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    color: var(--text);
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(255,255,255,0.08);
}

.form-group textarea {
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

button[type="submit"]:hover {
    background: var(--accent);
    filter: brightness(1.1);
    transform: translateY(-2px);
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#formMessage {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

#formMessage.success {
    background: #d4edda;
    color: #155724;
}

#formMessage.error {
    background: #f8d7da;
    color: #721c24;
}

/* Jobs List */
.jobs-list {
    display: grid;
    gap: 2rem;
}

.job-card {
    /* Inherit from feature-card */
    position: relative;
}

/* 
.job-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
} 
*/

.btn-apply {
    margin-top: 1rem;
    /* Inherit from cta-button */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .nav-menu.open {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 {
        font-size: 2.2rem;
    }
    .hero-video {
        display: none;
    }
    .hero-poster {
        display: block;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1.2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Cool Effects & Animations */

@keyframes textFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes bgMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Animated Background */
body {
    background-size: 400% 400%;
    animation: bgMove 20s ease infinite;
}

/* Gradient Text for Hero Title */
.hero-copy h1 {
    background: linear-gradient(to right, #fff, #7dd3fc, #f9577a, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 5s linear infinite;
}

/* Button Shine Effect */
.cta-button.primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: -1;
}

.cta-button.primary:hover::after {
    animation: shine 1.5s infinite;
}

/* Card Glow Effect */
.feature-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Mouse follow effect requires JS to set --mouse-x/y, fallback to simple hover if no JS */
.feature-card:hover {
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.15);
    border-color: rgba(125, 211, 252, 0.5);
}

/* Floating Icons */
.feature-icon {
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 1s;
}
.feature-card:nth-child(3) .feature-icon {
    animation-delay: 2s;
}

/* Animated Page Header */
.page-header {
    background: transparent;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Partners Marquee */
.partners-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.center-text {
    text-align: center;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
    padding: 1rem 0;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--muted);
    opacity: 0.7;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

.testimonial-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.author .name {
    font-weight: 700;
    line-height: 1.2;
}

.author .role {
    font-size: 0.85rem;
    color: var(--muted);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(249,87,122,0.1), rgba(125,211,252,0.1));
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: bgMove 10s linear infinite;
}

.cta-inner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-inner p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* About Page Styles */
.about-intro {
    margin-bottom: 4rem;
}

.about-intro .lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-section {
    margin-bottom: 4rem;
}

.mission-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: var(--accent-2);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.mission-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-2) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .mission-card h2 {
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-card p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--muted);
}

.values-section {
    margin-bottom: 6rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(249, 87, 122, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.5rem;
}

.value-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Timeline */
.history-section {
    margin-bottom: 6rem;
}

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

/* Central Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, 
        rgba(249,87,122,0) 0%, 
        rgba(249,87,122,0.5) 10%, 
        rgba(125,211,252,0.5) 90%, 
        rgba(125,211,252,0) 100%);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(249,87,122,0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding-right: 3rem;
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
}

/* The Dot */
.timeline-marker {
    position: absolute;
    top: 0;
    right: -11px;
    width: 22px;
    height: 22px;
    background: var(--bg);
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(249,87,122,0.2), 0 0 20px rgba(249,87,122,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse-ring 2s infinite;
}

.timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    left: -11px;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(125,211,252,0.2), 0 0 20px rgba(125,211,252,0.4);
    animation-delay: 1s;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(249,87,122,0.3), 0 0 30px rgba(249,87,122,0.6);
    animation: none;
}

.timeline-item:nth-child(even):hover .timeline-marker {
    box-shadow: 0 0 0 6px rgba(125,211,252,0.3), 0 0 30px rgba(125,211,252,0.6);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(249,87,122,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249,87,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(249,87,122,0); }
}

/* Curved Connector Line */
.timeline-content {
    position: relative;
    background: var(--card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

/* Watermark Year */
.timeline-content::after {
    content: attr(data-year);
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    z-index: 0;
    pointer-events: none;
    font-family: 'Space Grotesk', sans-serif;
    transition: transform 0.5s ease-out;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: auto;
    left: 10px;
}

.timeline-item:hover .timeline-content::after {
    transform: scale(1.1) translateY(-5px);
    color: rgba(255,255,255,0.06);
}

/* Shine Effect */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: 1;
    pointer-events: none;
}

.timeline-item:hover .timeline-content::before {
    left: 150%;
    transition: 0.7s;
}

/* Connector Line */
.timeline-connector {
    position: absolute;
    top: 20px;
    right: -3rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--accent));
    opacity: 0.5;
    transition: width 0.3s;
}

/* We use pseudo element for connector to keep HTML clean, but we need to target it */
/* Re-implementing connector using pseudo-element on timeline-item to avoid z-index issues */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 2rem; /* Start from content edge */
    width: 0; /* Animate to full width */
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.5s ease-out;
    opacity: 0.6;
}

.timeline-item.visible::before {
    width: calc(50% - 2rem - 11px); /* Calculate distance to center */
    right: 0; /* Anchor to center */
    background: linear-gradient(90deg, transparent, var(--accent));
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: 0;
    background: linear-gradient(90deg, var(--accent-2), transparent);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(249,87,122,0.15);
}

.timeline-item:nth-child(even):hover .timeline-content {
    border-color: var(--accent-2);
    box-shadow: 0 15px 40px rgba(125,211,252,0.15);
}

.timeline-year {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.timeline-content p {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
        margin-left: 0;
        margin-bottom: 3rem;
    }
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 80px;
    }
    .timeline-marker {
        left: 19px;
        right: auto;
    }
    .timeline-item:nth-child(even) .timeline-marker {
        left: 19px;
    }
    .timeline-item::before {
        display: none; /* Hide connector on mobile */
    }
}

/* Footer Styles */
.site-footer {
    background: rgba(13, 15, 26, 0.95);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
    color: #fff; /* Default dark mode text */
}

body.light-mode .site-footer {
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

body.light-mode .footer-col h3 {
    color: var(--text);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-2);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

body.light-mode .footer-bottom a:hover {
    color: var(--accent);
}

/* Contact Page Styles */
/* Contact Page Styles - Optimized Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-bg-decoration {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    opacity: 0.1;
    z-index: -1;
    filter: blur(50px);
    pointer-events: none;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Decorative circle inside info card */
.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
}

.contact-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-item .icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--accent-2);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(249, 87, 122, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--muted);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-2);
}

.full-width {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 87, 122, 0.3);
}

.full-width:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-card, .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Privacy Page Styles */
.privacy-content .feature-card {
    padding: 3rem;
}

.privacy-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.privacy-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-2);
}

/* Careers Page Styles */
.salary-tag {
    display: inline-block;
    background: rgba(249,87,122,0.15);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.no-jobs {
    text-align: center;
    padding: 4rem;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    color: var(--muted);
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

@media (min-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
    }
}

.contact-bg-decoration {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: pulse-ring 10s infinite ease-in-out;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
}

body.light-mode .contact-info-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper {
    background: var(--card);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

body.light-mode .contact-form-wrapper {
    border-color: rgba(0, 0, 0, 0.05);
}

/* Add a subtle top highlight to the form */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.contact-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

body.light-mode .info-item {
    background: rgba(0, 0, 0, 0.02);
}

.info-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

body.light-mode .info-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.info-item .icon {
    font-size: 1.5rem;
    background: rgba(var(--accent-rgb), 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
    background: var(--card);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--accent);
}

