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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    font-size: 16px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    font-size: 17px;
    transition: color 0.3s ease;
}

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

.language-toggle .lang-btn {
    background: none;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #f5f5f7;
    border-color: #007aff;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: 32px;
    line-height: 1.4;
}

.hero-mission {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.hero-mission p {
    font-size: 20px;
    font-weight: 500;
    color: #007aff;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007aff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #007aff;
    border: 2px solid #007aff;
}

.btn-secondary:hover {
    background-color: #007aff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 20px;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

/* About Section */
.about {
    background-color: #f5f5f7;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.philosophy {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.philosophy h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.philosophy ul {
    list-style: none;
}

.philosophy li {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f7;
    color: #1d1d1f;
    position: relative;
    padding-left: 24px;
}

.philosophy li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: bold;
}

.philosophy li:last-child {
    border-bottom: none;
}

/* Technologies Section */
.technologies {
    background-color: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f5f5f7;
    position: relative;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tech-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-status.demo-available {
    background-color: #d1fae5;
    color: #065f46;
}

.tech-status.in-development {
    background-color: #fef3c7;
    color: #92400e;
}

.tech-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
    margin-top: 20px;
}

.tech-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #6e6e73;
}

/* Medical Section */
.medical {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.medical-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.medical-logo {
    height: 80px;
    width: auto;
}

.medical-text .section-title {
    text-align: left;
    margin-bottom: 8px;
}

.medical-text p {
    font-size: 18px;
    color: #059669;
    font-weight: 500;
    text-align: left;
}

.medical-content {
    max-width: 800px;
    margin: 0 auto;
}

.medical-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #1d1d1f;
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: #f5f5f7;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 20px;
    color: #6e6e73;
    margin-bottom: 40px;
}

.contact-details {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-details p {
    font-size: 18px;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: #007aff;
}

/* Footer */
.footer {
    background-color: #1d1d1f;
    color: #a1a1a6;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
}

.footer p {
    font-size: 14px;
}

.icp-info {
    margin-top: 0.5rem;
    font-size: 12px;
    color: #6e6e73;
}

.footer-right a {
    color: #a1a1a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #007aff;
}

/* Smooth Animations */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Language Toggle Animation */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}