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

:root {
    --background: #FBF9F6;
    --surface: #FFFFFF;
    --text: #321F1B;
    --text-secondary: #5A575B;
    --brand: #A26841;
    --brand-dark: #7A4F32;
    --brand-hover: #8A5536;
    --border: #DEDBD8;
    --muted: #A3A0A0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Dynamic Island Navigation */
.dynamic-island {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(222, 219, 216, 0.3);
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 32px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    max-width: calc(100% - 32px);
}

.nav-link {
    padding: 8px 0;
    text-decoration: none;
    color: var(--text);
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-launch-btn {
    padding: 8px clamp(12px, 3vw, 20px);
    background: var(--text);
    color: white;
    text-decoration: none;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: clamp(4px, 2vw, 16px);
}

.nav-launch-btn:hover {
    background: var(--brand);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    max-width: 100%;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    max-width: 100%;
    margin: 0 auto 24px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    border-radius: 12px;
    text-decoration: none;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-height: 44px;
    justify-content: center;
}

.btn-primary {
    background: var(--brand);
    color: white;
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 18px) clamp(28px, 5vw, 36px);
    font-size: clamp(15px, 2.2vw, 17px);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(162, 104, 65, 0.15);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(162, 104, 65, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text);
    border: 2px solid rgba(222, 219, 216, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(162, 104, 65, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-cinematic {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: white;
    border: 2px solid var(--brand);
    box-shadow: 0 4px 12px rgba(162, 104, 65, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-cinematic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(162, 104, 65, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cinematic:hover::before {
    left: 100%;
}

.btn-cinematic:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(162, 104, 65, 0.35), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* AI Models Showcase - Inline Layout */
.models-showcase {
    margin-top: 32px;
    margin-bottom: 48px;
    text-align: center;
    padding: 0 16px;
}

.models-inline-text {
    font-size: clamp(18px, 3.5vw, 28px);
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.models-inline-text:first-child {
    margin-bottom: 8px;
}

.text-part {
    display: inline-block;
}

.text-part strong {
    color: var(--text);
    font-weight: 700;
}

.models-inline-grid {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(8px, 2vw, 12px);
    justify-content: center;
}

.model-badge-inline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(222, 219, 216, 0.3);
    border-radius: 12px;
    padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2vw, 16px);
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.model-badge-inline:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(162, 104, 65, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.model-badge-inline img {
    width: clamp(18px, 3vw, 22px);
    height: clamp(18px, 3vw, 22px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.model-badge-inline span {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .dynamic-island {
        top: 12px;
        left: 12px;
        right: 12px;
        transform: none;
        padding: 10px 16px;
        gap: clamp(8px, 2vw, 16px);
        border-radius: 12px;
        justify-content: center;
    }
    
    .hero-section {
        padding: 100px 16px 40px;
    }
    
    .hero-actions {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        padding: 6px 0;
    }
    
    .nav-launch-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .models-showcase {
        margin-top: 40px;
        padding: 0 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}
