:root {
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --text: #111827;
    --muted: #374151;
    --primary: #0b132b;
    --border: #e5e7eb;
}

body[data-theme="dark"] {
    --bg: #0b132b;
    --bg-alt: #111827;
    --text: #f9fafb;
    --muted: #9ca3af;
    --primary: #38bdf8;
    --border: #1f2937;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 70px 20px;
}

.header {
    background: var(--primary);
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.logo-bg {
    fill: #1c2541;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

.controls button {
    margin-left: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

.hero {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 2.6rem;
    max-width: 700px;
}

.hero p {
    color: var(--muted);
    max-width: 600px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid var(--border);
    padding: 30px;
    background: var(--bg);
}

.icon {
    font-size: 1.8rem;
}

.alt {
    background: var(--bg-alt);
}

.contact-form {
    max-width: 500px;
}

.contact-form label {
    display: block;
    margin-bottom: 15px;
}

.contact-form span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
}

.contact-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
}

footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 30px;
}
