/* ========================================
   PartFuse Landing Page Styles
   Clean, minimal, developer-focused design
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #fafbfc;
    --color-bg-alt: #f4f6f8;
    --color-text: #1a2332;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-accent: #0d6e6e;
    --color-accent-hover: #0a5858;
    --color-accent-light: #e6f2f2;
    --color-border: #e2e8f0;
    --color-code-bg: #1e293b;
    --color-code-text: #e2e8f0;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    --max-width: 720px;
    --border-radius: 6px;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

p {
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

/* Hero Section */
.hero {
    padding: var(--space-xxl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
    background-color: var(--color-accent-light);
    border-radius: 12px;
}

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #fff;
}

.btn-link {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.btn-link:hover {
    color: var(--color-accent);
}

/* Sections */
.section {
    padding: var(--space-xl) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-intro {
    margin-bottom: var(--space-md);
}

/* Bullet Lists */
.bullet-list {
    list-style: none;
    padding: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.bullet-list-negative li::before {
    background-color: var(--color-text-muted);
}

/* Code Block */
.code-block {
    background-color: var(--color-code-bg);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    overflow-x: auto;
    margin-bottom: var(--space-sm);
}

.code-block pre {
    margin: 0;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-code-text);
    white-space: pre-wrap;
    word-break: break-all;
}

.code-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Link List */
.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: var(--space-sm);
}

.link-list a {
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: all 0.15s ease;
}

.link-list a:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent-light);
}

.link-label {
    font-weight: 500;
    color: var(--color-text);
}

.link-url {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* Footer */
.footer {
    padding: var(--space-xl) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (min-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-subtitle br {
        display: inline;
    }
}

@media (max-width: 639px) {
    .hero {
        padding: var(--space-xl) 0;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .code-block {
        padding: var(--space-sm);
    }
    
    .code-block code {
        font-size: 0.8125rem;
    }
}
