:root {
    --bg: #05070c;
    --bg-2: #0a0f1a;
    --panel: rgba(10, 16, 30, 0.55);
    --fg: #eef2f9;
    --muted: #8a97ad;
    --accent: #003da7;      /* logo "SI" blue */
    --accent-bright: #2f6bff;
    --accent-glow: rgba(47, 107, 255, 0.55);
    --border: rgba(47, 107, 255, 0.18);
    --border-strong: rgba(47, 107, 255, 0.35);
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--fg);
    background-color: var(--bg);
    background-image:
        radial-gradient(1200px 620px at 50% -10%, rgba(0, 61, 167, 0.28), transparent 60%),
        radial-gradient(900px 520px at 100% 100%, rgba(47, 107, 255, 0.10), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    background-repeat: no-repeat;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---------- header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(5, 7, 12, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand b { color: var(--accent-bright); }

.brand-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background:
        linear-gradient(135deg, transparent 40%, var(--accent-bright) 40%, var(--accent-bright) 60%, transparent 60%),
        radial-gradient(circle at 30% 70%, #20304f, #0a0f1a 70%);
    box-shadow: 0 0 0 1px var(--border), 0 0 18px -4px var(--accent-glow);
}

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

.nav a {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover { color: var(--fg); background: rgba(47, 107, 255, 0.10); }

@media (max-width: 640px) {
    .nav a:not(.btn) { display: none; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    color: #fff;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover { box-shadow: 0 16px 40px -12px var(--accent-glow); }

.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--border-strong);
}

.btn-ghost:hover { background: rgba(47, 107, 255, 0.10); }

/* ---------- hero ---------- */
.hero {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(56px, 9vw, 96px) 24px;
    text-align: center;
    overflow: hidden;
}

.glow {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 620px;
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, var(--accent-glow), transparent 72%);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.07); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
    gap: 6px;
}

.hero-logo {
    width: min(560px, 82vw);
    height: auto;
    display: block;
    border-radius: 22px;
    box-shadow:
        0 0 0 1px var(--border),
        0 34px 90px -22px rgba(0, 0, 0, 0.85),
        0 0 70px -12px var(--accent-glow);
    animation: rise 0.8s ease-out both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tagline {
    margin: 22px 0 2px;
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

.headline {
    margin: 10px 0 0;
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 18ch;
}

.lede {
    margin: 18px 0 0;
    font-size: clamp(1rem, 2.4vw, 1.2rem);
    color: var(--muted);
    max-width: 60ch;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 9px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--panel);
    backdrop-filter: blur(6px);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--fg);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-bright);
    animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(47, 107, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); }
}

/* ---------- sections ---------- */
main { position: relative; z-index: 1; }

.services, .about {
    padding: clamp(48px, 7vw, 84px) 24px;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-head h2, .about h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-head p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; max-width: 480px; } }

.card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 50px -24px var(--accent-glow);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.7rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.16), rgba(0, 61, 167, 0.10));
    border: 1px solid var(--border);
}

.card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.card-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.card-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--fg);
    opacity: 0.92;
}

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 10px -1px var(--accent-glow);
}

/* ---------- about ---------- */
.about {
    background:
        radial-gradient(600px 220px at 50% 0%, rgba(0, 61, 167, 0.18), transparent 70%);
    border-top: 1px solid var(--border);
}

.about-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.about p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.about .btn { margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 34px 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--fg);
}

.footer-brand b { color: var(--accent-bright); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.footer-links a:hover { color: var(--fg); }

.footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-legal .sep { opacity: 0.5; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-logo, .glow, .dot { animation: none; }
}
