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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    font-weight: 400;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent-bg: #f1f5f9;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --white: #ffffff;
    
    /* Section Background Colors */
    --hero-bg: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    --current-models-bg: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    --development-bg: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    --tools-bg: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    --footer-bg: #1e293b;
}

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

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

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
     margin-top: 5%;
    display: none;
    cursor: pointer;
    flex-direction: column;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger.active::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--hero-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Current Models Section */
.current-models {
    padding: 80px 0;
    background: var(--current-models-bg);
    position: relative;
}

.current-models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.current-models h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.model-group {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.model-group:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.model-group.flagship {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.model-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.model-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.flagship-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.model-versions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.version-item {
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-name {
    font-weight: 600;
}

.version-desc {
    color: var(--text-secondary);
    font-size: 12px;
}

.version-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.version-link:hover {
    color: var(--primary-dark);
}

/* Development Models Section */
.development-models {
    padding: 80px 0;
    background: var(--development-bg);
    position: relative;
}

.development-models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.development-models h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.dev-model {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.dev-model:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.dev-model h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dev-model p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.status {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Tools Section */
.custom-tools {
    padding: 80px 0;
    background: var(--tools-bg);
    position: relative;
}

.custom-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.custom-tools h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.tool-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.tool-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.tool-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tool-item p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.tool-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.tool-link:hover {
    color: var(--primary-dark);
}

.dataset-versions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dataset-version {
    background: var(--accent-bg);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid #334155;
    padding: 48px 0 24px;
    color: #cbd5e1;
}

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

.footer-main {
    max-width: 300px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.footer-main p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.group-title {
    display: block;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-size: 14px;
}

.link-group a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .model-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .model-versions {
        gap: 8px;
    }

    .version-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .development-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-content {
        padding: 0 16px;
    }

    .model-group {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .current-models h2,
    .development-models h2,
    .custom-tools h2 {
        font-size: 24px;
    }

    .model-group,
    .dev-model,
    .tool-item {
        padding: 20px;
    }

    .model-header h3 {
        font-size: 20px;
    }

    .version-item {
        padding: 6px 12px;
    }
}