/* ===== VARIABLES ===== */
:root {
    --primary-purple: #a855f7;
    --primary-green: #10b981;
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --light-bg: #f8fafc;
    --light-bg-secondary: #e2e8f0;
    --text-dark: #0f172a;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #fbbf24;
    --border: #334155;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-green);
}

/* ===== HEADER ===== */
header {
    background: var(--dark-bg-secondary);
    border-bottom: 2px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-green);
}

.logo .ai {
    color: var(--primary-purple);
    font-weight: 800;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav a:hover {
    color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
}

nav a.lang-switch {
    color: var(--primary-purple);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 4px;
    border-bottom: none;
}

nav a.lang-switch:hover {
    background: rgba(168, 85, 247, 0.2);
    border-bottom: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-purple);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid var(--primary-purple);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section.dark {
    background: var(--dark-bg-secondary);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-block {
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.content-block:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.content-block h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* ===== POSITIONING TABLE ===== */
.positioning-table {
    margin-top: 3rem;
    background: var(--dark-bg-secondary);
    padding: 2rem;
    border-radius: 8px;
}

.positioning-table h3 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

table th,
table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
}

table th {
    background: var(--dark-bg);
    color: var(--primary-green);
    font-weight: 600;
}

table td {
    background: var(--dark-bg-secondary);
}

.metaphor {
    text-align: center;
    font-style: italic;
    color: var(--primary-purple);
    font-size: 1.1rem;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-purple);
}

/* ===== CRITERIA ===== */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.criterion {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--primary-purple);
}

.criterion-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.criterion h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.criterion ul {
    list-style: none;
    padding-left: 0;
}

.criterion li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.criterion li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

/* ===== NOT WAILD ===== */
.not-waild {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 2px solid #ef4444;
}

.not-waild h3 {
    color: #ef4444;
    text-align: center;
    margin-bottom: 1.5rem;
}

.not-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.not-item {
    padding: 1rem;
    background: var(--dark-bg-secondary);
    border-radius: 4px;
    text-align: center;
    color: var(--text-muted);
}

/* ===== SUBMIT SECTION ===== */
.submit-content {
    max-width: 800px;
    margin: 0 auto;
}

.submit-list {
    list-style: none;
    padding-left: 0;
}

.submit-list > li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.submit-list > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.submit-list ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.submit-list ul li {
    margin-bottom: 0.5rem;
}

.logo-usage {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

/* ===== CONTACT ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-item strong {
    display: block;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.founding-doc {
    padding: 2rem;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 2px solid var(--primary-purple);
    text-align: center;
}

.founding-doc h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.doc-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-purple);
    color: white;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s;
}

.doc-link:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-bg-secondary);
    border-top: 2px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

footer p {
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .content-grid,
    .criteria-grid,
    .not-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ===== CATALOG PREVIEW ===== */
.catalog-preview {
    margin-top: 3rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.catalog-item {
    background: var(--dark-bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.catalog-item:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.catalog-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.catalog-item .author {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.catalog-item .description {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.catalog-item .links {
    display: flex;
    gap: 1rem;
}

.catalog-item .links a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--dark-bg);
    border-radius: 4px;
    transition: all 0.3s;
}

.catalog-item .links a:hover {
    background: var(--primary-purple);
    color: white;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--dark-bg-secondary);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
