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

:root {
    --primary: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --heading-color: var(--primary-dark);
    --secondary: #0ea5e9;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --surface: #1e293b;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --primary-dark: #1e3a8a;
    --heading-color: #60a5fa;
    --primary: #3b82f6;
    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
}

.settings-dropdown { position: relative; display: inline-block; }
.settings-dropdown::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 15px; background: transparent; z-index: 10; }
.settings-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 0.5rem; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: var(--transition); }
.settings-btn:hover { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.dropdown-content { display: none; position: absolute; right: 0; top: 100%; margin-top: 0.5rem; background-color: var(--surface); min-width: 150px; box-shadow: var(--shadow-lg); border-radius: 8px; border: 1px solid var(--border); z-index: 1000; overflow: hidden; }
.settings-dropdown:hover .dropdown-content { display: block; }
.dropdown-item { width: 100%; text-align: left; padding: 0.75rem 1rem; background: transparent; border: none; font-size: 0.95rem; font-weight: 500; color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 0.75rem; transition: var(--transition); font-family: 'Inter', sans-serif; }
.dropdown-item:hover { background: var(--bg); color: var(--primary); }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: block !important; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-y: scroll; }

.navbar { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--heading-color); font-weight: 700; font-size: 1.5rem; }
.logo-container img { height: 120px; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 1rem; transition: var(--transition); display: block; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.btn { display: inline-block; padding: 0.75rem 1.5rem; background: var(--primary); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }

main { flex: 1; padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; width: 100%; }

.hero { display: flex; align-items: center; gap: 4rem; margin-bottom: 4rem; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--heading-color); }
.hero-text p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-image { flex: 1; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: auto; display: block; object-fit: cover; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--surface); padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card-icon { width: 48px; height: 48px; background: #eff6ff; color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.card h3 { margin-bottom: 1rem; color: var(--heading-color); }
.card p { color: var(--text-muted); }

.cta-banner { background: linear-gradient(135deg, #009688 0%, var(--primary-dark) 100%); color: white; padding: 4rem 2rem; border-radius: 16px; text-align: center; margin: 4rem 0; box-shadow: var(--shadow-lg); }
.cta-banner h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }

.page-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 4rem 2rem; text-align: center; margin-bottom: 3rem; }
.page-header h1 { font-size: 3rem; color: var(--heading-color); margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

footer { background: var(--primary-dark); color: white; padding: 4rem 2rem 2rem; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-light); display: inline-block; }
.footer-col p, .footer-col ul { color: #cbd5e1; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: #cbd5e1; text-decoration: none; transition: var(--transition); }
.footer-col ul a:hover { color: white; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #94a3b8; font-size: 0.9rem; }
