:root {
    --primary: #6366f1; /* Indigo 500 */
    --primary-alt: #4f46e5; /* Indigo 600 */
    --accent: #10b981; /* Emerald 500 */
    --surface: #ffffff;
    --bg-main: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --max-width: 1280px;
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

.logo {
    font-size: 1.75rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Hero */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at top right, #eef2ff 0%, #f8fafc 100%);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Directory Section */
.directory {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1e293b;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.directory-card {
    position: relative;
    group: hover;
}

.card-glass {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
}

.directory-card:hover .card-glass {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-alt);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-main);
}

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

.btn-card {
    background: #f1f5f9;
    color: #1e293b;
    text-align: center;
    width: 100%;
}

.directory-card:hover .btn-card {
    background: var(--primary);
    color: white;
}

/* Features Split */
.features {
    padding: 6rem 0;
    background: white;
}

.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.side-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-list li::before {
    content: "✓";
    background: var(--accent);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.visual-blob {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ff 0%, #fef3c7 100%);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.visual-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit';
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
}

.newsletter-card {
    background: #1e293b;
    color: white;
    padding: 5rem 2rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.newsletter-card .section-title {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 2.5rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-submit {
    background: var(--primary);
    color: white;
}

.btn-submit:hover {
    background: var(--primary-alt);
    transform: scale(1.02);
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utils */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 1024px) {
    .features-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .newsletter-form {
        flex-direction: column;
    }
}
