/* --- 1. BASE STYLES --- */
body { font-family: system-ui, -apple-system, sans-serif; background-color: #0f172a; color: #f8fafc; margin: 0; text-align: center; }
.main-content { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 80px); padding: 4rem 1rem; box-sizing: border-box; }
h1 { font-size: 3.5rem; margin-bottom: 0.5rem; background: linear-gradient(to right, #38bdf8, #818cf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
p { font-size: 1.25rem; color: #94a3b8; max-width: 600px; line-height: 1.6; padding: 0 1.5rem; }

/* --- 2. NAVBAR STYLES --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background-color: #0f172a; border-bottom: 1px solid #334155; }
.nav-logo { height: 45px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: #f8fafc; text-decoration: none; font-weight: 500; font-size: 1rem; transition: color 0.2s ease; padding: 1.5rem 0; }
.nav-links a:hover { color: #38bdf8; }

.dropdown { position: relative; display: flex; align-items: center; }
.dropdown-content { display: none; position: absolute; top: 100%; margin-top: 0; background-color: #1e293b; min-width: 220px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5); z-index: 9999; border-radius: 0.5rem; overflow: hidden; text-align: left; }
.dropdown-content a { padding: 12px 16px; display: block; border-bottom: 1px solid #334155; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: #334155; }
.dropdown:hover .dropdown-content { display: block; }

/* --- 3. COMPONENT STYLES --- */
/* Contact Form */
form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
input, textarea { padding: 0.75rem; border-radius: 0.5rem; border: 1px solid #334155; background: #1e293b; color: #f8fafc; font-family: inherit; }
button { padding: 0.75rem; border-radius: 0.5rem; border: none; background: #38bdf8; color: #0f172a; font-weight: bold; cursor: pointer; transition: background 0.3s ease; }
button:hover { background: #818cf8; }

/* Legal Pages */
.legal-content { max-width: 800px; margin: 4rem auto; padding: 0 2rem; text-align: left; line-height: 1.8; color: #cbd5e1; }
.legal-content h1 { color: #38bdf8; font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
.legal-content h2 { color: #f8fafc; margin-top: 2.5rem; border-bottom: 1px solid #334155; padding-bottom: 0.5rem; }
.legal-content a { color: #38bdf8; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* App Showcase */
.app-header { margin-bottom: 3rem; }
.feature-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; max-width: 900px; margin-top: 2rem; }
.feature-card { background-color: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 2rem; width: 250px; text-align: left; }
.feature-card h3 { color: #38bdf8; margin-top: 0; }
.feature-card p { font-size: 1rem; padding: 0; margin: 0; }