:root {
    --bg: #050810;
    --bg-alt: #0b0f1c;
    --card-bg: #111827;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2933;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        sans-serif;
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
    color: var(--text-main);
    line-height: 1.6;
}

/* Layout helpers */

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.8));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo {
    height: 32px;
    width: auto;
}

.brand-name {
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav a {
    margin-left: 1.25rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-muted);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero */

.hero {
    padding: 4.5rem 0 4rem;
    background:
        linear-gradient(to bottom, rgba(5, 8, 16, 0.92), rgba(5, 8, 16, 0.97)),
        url("/static/img/axion-banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 3.4vw, 3rem);
    margin-bottom: 0.6rem;
}

.tagline {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.hero-subtext {
    color: var(--text-muted);
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.hero-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
}

.portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.hero-logo {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}


.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn.primary {
    background: var(--accent);
    color: #020617;
    font-weight: 600;
}

.btn.primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn.secondary {
    border-color: rgba(148, 163, 184, 0.7);
    color: var(--text-main);
    background: rgba(15, 23, 42, 0.7);
}

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

.youtube-btn {
    /* optional: subtle tweak just for YouTube button */
    /* border-color: #ff4d4d; */
}

/* Footer YouTube link, if you added it */
.footer-link {
    color: var(--accent);
    text-decoration: none;
    margin-left: 0.25rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.hero-card {
    background: radial-gradient(circle at top left, #0f172a 0, #020617 70%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.5rem;
}

.hero-card h2 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.hero-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.hero-card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Sections */

.section {
    padding: 2.5rem 0;
}

.section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.section-intro {
    color: var(--text-muted);
    max-width: 34rem;
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
}

/* Cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
}

.card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30, 64, 175, 0.55);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.1rem;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.card ul {
    list-style: disc;
    padding-left: 1.1rem;
    margin: 0;
}

.card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

/* Contact */

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 1.8rem;
    align-items: start;
}

.contact-email a {
    color: var(--accent);
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.contact-note {
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(56, 189, 248, 0.45);
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding: 1rem 0 1.4rem;
    background: #020617;
}

.footer-inner {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Responsive */

@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0.5rem 0;
        gap: 0.4rem;
    }

    .nav a {
        margin-left: 0.9rem;
        font-size: 0.85rem;
    }
}
