@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-body: #111827;
    --bg-card: #1F2937;
    --bg-header: #1F2937;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --accent: #2DD4BF;
    --accent-hover: #14b8a6;
    --border: #374151;
    --font-main: 'Inter', sans-serif;
}

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

body { 
    font-family: var(--font-main); 
    line-height: 1.6; 
    color: var(--text-main);
    background-color: var(--bg-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
header { 
    background-color: var(--bg-header); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--border);
}
.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
}
.logo { 
    color: var(--text-main); 
    font-size: 1.5rem; 
    font-weight: 700; 
    text-decoration: none; 
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img { height: 32px; width: auto; border-radius: 4px; }
.logo span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 20px; align-items: center;}
nav a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
    font-size: 0.95rem;
}
nav a:hover, nav a.active { color: var(--accent); }

/* New External Header Buttons */
.nav-separator {
    width: 1px;
    height: 24px;
    background-color: var(--border);
    margin: 0 5px;
}
.btn-external-nav {
    font-size: 0.85rem;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.btn-external-nav:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(45, 212, 191, 0.1);
}

/* Hero & Sections */
.hero { 
    background: radial-gradient(circle at center, #1f2937 0%, #111827 100%); 
    color: var(--text-main); 
    padding: 5rem 20px; 
    text-align: center; 
    border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 700; color: var(--text-main); }
.hero p { font-size: 1.25rem; max-width: 800px; margin: 0 auto 2rem auto; color: var(--text-muted); }

/* Buttons */
.btn { 
    display: inline-block; 
    padding: 12px 30px; 
    background-color: var(--accent); 
    color: #111827; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 600; 
    transition: background 0.3s, transform 0.2s; 
}
.btn:hover { background-color: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary { background-color: transparent; border: 2px solid var(--text-muted); color: var(--text-main); margin-left: 10px; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background-color: rgba(45, 212, 191, 0.1); }

/* Standard Components */
.section { padding: 4rem 20px; max-width: 1200px; margin: 0 auto; }
.bg-light { background-color: #0f141f; width: 100%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { color: var(--text-main); font-size: 2.2rem; margin-bottom: 1.5rem; text-align: center; font-weight: 700; }
h3 { color: var(--text-main); font-size: 1.25rem; margin-bottom: 1rem; font-weight: 600; }
.section-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem auto; color: var(--text-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Cards */
.card { 
    background: var(--bg-card); padding: 2rem; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transition: transform 0.2s;
}
.card:hover { border-color: var(--accent); }
.card p strong { color: var(--text-main); }
.card p { color: var(--text-muted); }

/* Footer */
footer { 
    background-color: var(--bg-header); color: var(--text-muted); padding: 3rem 20px; 
    text-align: center; border-top: 1px solid var(--border); margin-top: auto;
}
.footer-links { margin-bottom: 2rem; }

/* Forms */
input, select, textarea { background-color: #374151; border: 1px solid #4B5563; color: var(--text-main); border-radius: 6px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.2); }
label { color: var(--text-main); }

/* Mobile */
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .mobile-menu-btn { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--bg-card); flex-direction: column; padding: 20px 0; text-align: center; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5); border-bottom: 1px solid var(--border); }
    .nav-links.active { display: flex; }
    .nav-links ul { flex-direction: column; gap: 15px; }
    .nav-separator { display: none; } /* Hide separator on mobile */
}
