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

:root {
    --bg: #0a0e1a;
    --bg-alt: #121828;
    --border: rgba(148, 163, 184, 0.12);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-2: #818cf8;
    --success: #22c55e;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    text-decoration: none;
}

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

nav { display: flex; gap: 8px; align-items: center; }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

nav a:hover { color: var(--text); background: rgba(56, 189, 248, 0.08); }
nav a.active { color: var(--accent); background: rgba(56, 189, 248, 0.12); }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0a0e1a;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Main */
main { flex: 1; padding: 64px 48px; max-width: 1200px; margin: 0 auto; width: 100%; }

/* Hero */
.hero { text-align: center; padding: 48px 0 80px; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Status badge */
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 10px 20px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.05);
    font-size: 0.9rem;
    color: var(--success);
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

/* Grid of cards */
.grid { display: grid; gap: 24px; margin-top: 48px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-4px); }

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Section */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 640px;
}

/* Page header for inner pages */
.page-header { padding: 32px 0 48px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 16px; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Contact form */
.form { max-width: 560px; margin-top: 32px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 48px; }

.stat { text-align: center; padding: 24px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--border); }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

footer a { color: var(--text-muted); text-decoration: none; margin-left: 24px; }
footer a:hover { color: var(--accent); }

@media (max-width: 768px) {
    header { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
    nav { order: 3; width: 100%; flex-wrap: wrap; }
    main { padding: 32px 24px; }
    footer { padding: 24px; flex-direction: column; text-align: center; }
    footer a { margin: 0 12px; }
}
