/* Main page styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
    letter-spacing: -0.04em;
    line-height: 0.9;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    opacity: 0.6;
}

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

.hero-description {
    font-size: 18px;
    color: #888;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator::after {
    content: '';
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #666, transparent);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: #1a1a1a;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.cta-primary:hover {
    background: transparent;
    color: #1a1a1a;
}

.cta-secondary {
    color: #1a1a1a;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: #1a1a1a;
}

/* Products Section */
.products-section {
    padding: 120px 0;
    background: #f8fafc;
}

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

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.product-content {
    padding: 60px 0;
}

.product-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.product-description {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 24px;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.product-visual {
    position: relative;
    height: 500px;
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-visual img:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.product-visual-placeholder {
    text-align: center;
    color: #666;
}

.product-visual-placeholder .icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

/* Research Section */
.research-section {
    padding: 120px 0;
}

.research-list {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.research-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 40px 0;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 30px;
    align-items: flex-start;
}

.research-item:last-child {
    border-bottom: none;
}

.research-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
}

.research-content {
    flex: 1;
}

.research-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.research-authors {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.research-abstract {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.research-button {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: fit-content;
}

.research-button:hover {
    border-color: #1a1a1a;
    background: #f8fafc;
}

.view-more-research {
    text-align: center;
    margin-top: 60px;
}

.view-more-button {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more-button:hover {
    border-color: #1a1a1a;
    background: #f8fafc;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    background: #f8fafc;
}

.team-list {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: flex-start;
}

.team-item:last-child {
    border-bottom: none;
}

.team-content {
    flex: 1;
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.team-role {
    color: #666;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.team-bio {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9ca3af;
    flex-shrink: 0;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -150px;
    }

    .hero::after {
        width: 350px;
        height: 350px;
        bottom: -100px;
        left: -150px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h1::after {
        width: 80%;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-visual {
        height: 300px;
    }

    .research-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }

    .research-date {
        padding-top: 0;
    }

    .research-button {
        justify-self: start;
    }

    .team-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        padding: 0 20px;
    }
}

/* Smooth animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: #ffffff;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    background: #1a1a1a;
    color: #fff;
    padding: 20px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.cta-button-primary:hover {
    background: transparent;
    color: #1a1a1a;
}

.cta-button-secondary {
    color: #1a1a1a;
    padding: 20px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    border-color: #1a1a1a;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

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

    .cta-content h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}