/* ==========================================
   ai2launch - Minimalist Design
   Inspired by Thinking Machines Lab
   ========================================== */

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

:root {
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --border: #E5E5E5;
    --accent: #000000;
    --hover: #F5F5F5;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --max-width: 1200px;
    --section-padding: 2rem 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   Navigation
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.nav-link-muted {
    color: var(--text-muted) !important;
}

/* ==========================================
   Hero
   ========================================== */

.hero {
    padding: 3rem 0 3rem 0;
    margin-top: 60px;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--text-primary);
    max-width: 800px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-description-secondary {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-helper {
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--hover);
}

/* ==========================================
   Sections
   ========================================== */

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.mission {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.mission-content {
    max-width: 800px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 700px;
}

.mission-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.mission-text p {
    margin-bottom: 1.5rem;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Who It's For
   ========================================== */

.who-its-for {
    padding: 2rem 0;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.who-card {
    padding: 2rem;
    border: 1px solid var(--border);
}

.who-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.who-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   Why Skills
   ========================================== */

.why-skills {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.why-content {
    max-width: 900px;
}

.why-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.why-products {
    display: grid;
    gap: 2.5rem;
}

.why-product {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.why-product:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-product h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-name-link {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.product-name-link:hover {
    opacity: 0.7;
}

.product-status-small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.why-product-for {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.why-product p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==========================================
   Products
   ========================================== */

.products {
    padding: var(--section-padding);
}

.product-detailed {
    max-width: 900px;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.product-detailed:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    padding: 1.5rem;
    margin: -1.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.product-header:hover {
    background-color: var(--hover);
}

.product-header:focus {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

.product-header-content {
    flex: 1;
}

.product-header h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.product-status {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-tagline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-for {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-toggle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1;
    margin-left: 2rem;
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}

.product-detailed.expanded .product-toggle {
    transform: rotate(45deg);
    color: var(--text-primary);
}

.product-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.product-detailed.expanded .product-content {
    max-height: 5000px;
    opacity: 1;
    margin-top: 2rem;
}

.product-why,
.product-outcomes {
    margin-bottom: 2.5rem;
}

.product-why h4,
.product-outcomes h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-why ul,
.product-outcomes ul {
    list-style: none;
    padding: 0;
}

.product-why li,
.product-outcomes li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-why li:before,
.product-outcomes li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
}

.product-why li:last-child,
.product-outcomes li:last-child {
    margin-bottom: 0;
}

.product-safety {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-left: 3px solid var(--text-primary);
    margin-bottom: 2rem;
}

.product-safety p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.product-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.product-link:hover {
    opacity: 0.7;
}

.product-cta-muted {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* ==========================================
   Trust
   ========================================== */

.trust {
    padding: var(--section-padding);
    background: var(--bg);
    margin-bottom: 0;
}

.trust-list {
    max-width: 900px;
    margin-top: 1.5rem;
}

.trust-item {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.trust-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-item strong {
    color: var(--text-primary);
    font-weight: 500;
}

.trust-actions {
    margin-top: 1.5rem;
}

/* ==========================================
   Impact
   ========================================== */

.impact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.impact-content {
    max-width: 900px;
}

.impact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.impact-measures {
    margin-top: 2rem;
}

.impact-measures h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.impact-measures ul {
    list-style: none;
    padding: 0;
}

.impact-measures li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.impact-measures li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
}

.impact-measures li:last-child {
    margin-bottom: 0;
}

.impact-measures strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================
   Contact
   ========================================== */

.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-info {
    margin-top: 2rem;
}

.contact-link {
    font-size: 1.125rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.contact-helper {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 700px;
}

/* ==========================================
   Pilot
   ========================================== */

.pilot {
    padding: var(--section-padding);
    background: var(--bg);
}

.pilot-content {
    max-width: 900px;
}

.pilot-actions {
    margin-top: 1.5rem;
}

.pilot-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pilot-steps {
    margin-top: 2rem;
}

.pilot-step {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.pilot-step:last-child {
    margin-bottom: 0;
}

.pilot-step strong {
    color: var(--text-primary);
    font-weight: 500;
}

.pilot-cta {
    margin-top: 2rem;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem 0;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 2rem 0 1rem 0;
        margin-top: 60px;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        margin-bottom: 2rem;
    }
    
    .hero-description-secondary {
        font-size: 1.125rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    .hero-helper {
        font-size: 0.9375rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        margin-top: 0;
    }
    
    .hero-container,
    .section-container {
        padding: 0 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detailed {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
