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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    overflow-x: hidden;
    background: #ffffff;
}

.binarystitch-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation Styles */
.binarystitch-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.binarystitch-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.binarystitch-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ea5e9;
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.binarystitch-logo:hover {
    transform: translateY(-1px);
}

.binarystitch-nav-menu {
    display: flex;
    list-style: none;
    gap: 48px;
}

.binarystitch-nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.binarystitch-nav-link:hover,
.binarystitch-nav-link.active {
    color: #0ea5e9;
}

.binarystitch-nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    transition: width 0.3s ease;
}

.binarystitch-nav-link:hover::after,
.binarystitch-nav-link.active::after {
    width: 100%;
}

.binarystitch-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* Hero Section */
.binarystitch-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    overflow: hidden;
    padding-top: 120px;
}

.binarystitch-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.binarystitch-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.binarystitch-hero-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.binarystitch-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.binarystitch-hero-text {
    max-width: 600px;
}

.binarystitch-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #0f172a;
}

.binarystitch-hero-line {
    display: block;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.binarystitch-hero-description {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 400;
}

.binarystitch-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.binarystitch-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

/* Section Headers */
.binarystitch-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.binarystitch-section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.binarystitch-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.binarystitch-section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Company Introduction */
.binarystitch-intro {
    padding: 120px 0;
    background: white;
}

.binarystitch-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.binarystitch-intro-text {
    max-width: 600px;
}

.binarystitch-intro-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.binarystitch-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.binarystitch-intro-stat {
    text-align: center;
}

.binarystitch-intro-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 8px;
    line-height: 1;
}

.binarystitch-intro-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.binarystitch-intro-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Development Journey */
.binarystitch-journey {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.binarystitch-journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.binarystitch-journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #0ea5e9, #06b6d4);
    transform: translateX(-50%);
}

.binarystitch-journey-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.binarystitch-journey-item:nth-child(odd) {
    flex-direction: row;
}

.binarystitch-journey-item:nth-child(even) {
    flex-direction: row-reverse;
}

.binarystitch-journey-year {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.binarystitch-journey-year::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #0ea5e9;
    border-radius: 50%;
    transform: translateY(-50%);
}

.binarystitch-journey-item:nth-child(odd) .binarystitch-journey-year::before {
    right: -50px;
}

.binarystitch-journey-item:nth-child(even) .binarystitch-journey-year::before {
    left: -50px;
}

.binarystitch-journey-content {
    flex: 1;
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 40px;
}

.binarystitch-journey-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.binarystitch-journey-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Mission & Vision */
.binarystitch-mission {
    padding: 120px 0;
    background: white;
}

.binarystitch-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.binarystitch-mission-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.binarystitch-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.binarystitch-mission-card:hover::before {
    opacity: 1;
}

.binarystitch-mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.binarystitch-mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    transition: all 0.3s ease;
    position: relative;
}

.binarystitch-mission-card:hover .binarystitch-mission-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.binarystitch-mission-icon .material-icons {
    font-size: 48px;
    color: white;
    transition: all 0.3s ease;
}

.binarystitch-mission-card:hover .binarystitch-mission-icon .material-icons {
    transform: scale(1.1);
}

.binarystitch-mission-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.binarystitch-mission-card:hover h3 {
    color: #0ea5e9;
}

.binarystitch-mission-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.binarystitch-mission-card:hover p {
    color: #475569;
}

/* Corporate Culture */
.binarystitch-culture {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.binarystitch-culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.binarystitch-culture-item {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.binarystitch-culture-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.binarystitch-culture-item:hover::before {
    opacity: 1;
}

.binarystitch-culture-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(14, 165, 233, 0.2);
}

.binarystitch-culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
    position: relative;
}

.binarystitch-culture-item:hover .binarystitch-culture-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
}

.binarystitch-culture-icon .material-icons {
    font-size: 40px;
    color: white;
    transition: all 0.3s ease;
}

.binarystitch-culture-item:hover .binarystitch-culture-icon .material-icons {
    transform: scale(1.1);
}

.binarystitch-culture-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.binarystitch-culture-item:hover h3 {
    color: #0ea5e9;
}

.binarystitch-culture-item p {
    color: #64748b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.binarystitch-culture-item:hover p {
    color: #475569;
}

/* Certifications */
.binarystitch-certifications {
    padding: 120px 0;
    background: white;
}

.binarystitch-certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.binarystitch-certification-item {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.binarystitch-certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.binarystitch-certification-item:hover::before {
    opacity: 1;
}

.binarystitch-certification-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.binarystitch-certification-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    /* 确保图标可见 */
    overflow: visible;
}

.binarystitch-certification-item:hover .binarystitch-certification-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.2);
}

.binarystitch-certification-icon .material-icons {
    font-size: 60px;
    color: #0ea5e9;
    transition: all 0.3s ease;
    /* 确保图标正确显示 */
    display: block;
    line-height: 1;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.binarystitch-certification-item:hover .binarystitch-certification-icon .material-icons {
    color: #0284c7;
    transform: scale(1.1);
}

.binarystitch-certification-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.binarystitch-certification-item:hover h3 {
    color: #0ea5e9;
}

.binarystitch-certification-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.binarystitch-certification-item:hover p {
    color: #475569;
}

/* Team CTA */
.binarystitch-team-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
}

.binarystitch-team-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.binarystitch-team-cta-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Button Styles */
.binarystitch-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.binarystitch-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    color: white;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.binarystitch-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4);
}

.binarystitch-btn-outline {
    background: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
    position: relative;
}

.binarystitch-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0ea5e9;
    transition: width 0.3s ease;
    z-index: -1;
}

.binarystitch-btn-outline:hover::before {
    width: 100%;
}

.binarystitch-btn-outline:hover {
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.binarystitch-footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

.binarystitch-footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.binarystitch-footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.binarystitch-footer-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.binarystitch-footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.binarystitch-footer-links {
    list-style: none;
}

.binarystitch-footer-links li {
    margin-bottom: 12px;
}

.binarystitch-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.binarystitch-footer-links a:hover {
    color: #0ea5e9;
}

.binarystitch-footer-contact p {
    color: #cbd5e1;
    margin-bottom: 8px;
    line-height: 1.6;
}

.binarystitch-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 40px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .binarystitch-container {
        padding: 0 30px;
    }

    .binarystitch-hero-title {
        font-size: 3rem;
    }

    .binarystitch-section-title {
        font-size: 2.5rem;
    }

    .binarystitch-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .binarystitch-mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .binarystitch-journey-timeline::before {
        left: 30px;
    }

    .binarystitch-journey-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 60px;
    }

    .binarystitch-journey-year::before {
        left: -45px !important;
    }

    .binarystitch-journey-content {
        margin: 20px 0 0 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .binarystitch-nav-menu {
        display: none;
    }

    .binarystitch-nav-toggle {
        display: flex;
    }

    .binarystitch-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .binarystitch-hero-title {
        font-size: 2.5rem;
    }

    .binarystitch-intro-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .binarystitch-culture-grid {
        grid-template-columns: 1fr;
    }

    .binarystitch-certifications-grid {
        grid-template-columns: 1fr;
    }

    .binarystitch-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .binarystitch-container {
        padding: 0 20px;
    }

    .binarystitch-team-cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .binarystitch-hero-title {
        font-size: 2rem;
    }

    .binarystitch-section-title {
        font-size: 2rem;
    }

    .binarystitch-team-cta-content h2 {
        font-size: 1.75rem;
    }

    .binarystitch-mission-card {
        padding: 40px 20px;
    }

    .binarystitch-culture-item {
        padding: 30px 20px;
    }

    .binarystitch-certification-item {
        padding: 30px 20px;
    }

    .binarystitch-journey-content {
        padding: 20px;
    }
}