/* Hero Page Styles */

:root {
    --background: #03051a;
    --surface: #070b23;
    --panel: #0d122f;
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-strong: #f8fbff;
    --text-muted: rgba(248, 251, 255, 0.7);
    --accent: #8f7dfa;
    --accent-strong: #7f6bfd;
    --accent-muted: rgba(145, 129, 255, 0.24);
    --success: #5ae6c7;
    --danger: #f89a9a;
    --shadow-soft: 0 25px 65px rgba(5, 7, 25, 0.65);
}

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

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    background: var(--background);
    color: var(--text-strong);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.hero-page {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(57, 94, 245, 0.35), transparent 60%),
        radial-gradient(circle at 80% 0%, rgba(123, 61, 255, 0.25), transparent 45%),
        var(--background);
    padding: clamp(2rem, 5vw, 4rem) 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: 0;
}

.hero-gradient-one {
    background: #aa7ff9;
    top: -80px;
    right: 10%;
}

.hero-gradient-two {
    background: #5576f7;
    bottom: -120px;
    left: 15%;
}

.hero-shell {
    width: min(680px, 100%);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.error-banner {
    background: rgba(255, 108, 108, 0.12);
    border: 1px solid rgba(255, 108, 108, 0.4);
    color: #ffd7d7;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: left;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: linear-gradient(180deg, #a07fff 0%, #7159ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 45px rgba(73, 59, 227, 0.45);
}

.logo-icon svg {
    color: var(--text-strong);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-title {
    font-size: clamp(2.75rem, 8vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.05;
}

.title-muted {
    color: var(--text-strong);
    font-weight: 500;
}

.title-accent {
    color: var(--success);
    margin-left: 0.35rem;
}

.hero-tagline {
    margin: 0 auto;
    max-width: 46ch;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: #f8fbff;
    color: #0c1122;
    font-weight: 600;
    text-decoration: none;
    border: none;
    box-shadow: 0 15px 35px rgba(248, 251, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(248, 251, 255, 0.35);
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.projects-showcase {
    background: var(--panel);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.projects-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.projects-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.projects-title h2 {
    margin: 0;
    font-size: 1.5rem;
}

.projects-icon {
    color: var(--success);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 251, 255, 0.3);
    background: rgba(248, 251, 255, 0.08);
    color: var(--text-strong);
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
    border-color: rgba(248, 251, 255, 0.5);
    background: rgba(248, 251, 255, 0.15);
}

.projects-card-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.project-card {
    background: linear-gradient(140deg, rgba(105, 83, 255, 0.18), rgba(13, 18, 47, 0.85));
    border-radius: 1rem;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-name {
    margin: 0.35rem 0 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-meta {
    grid-column: span 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 0.5rem;
}

@media (max-width: 600px) {
    .projects-showcase {
        padding: 1.5rem;
    }

    .project-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .project-meta {
        grid-column: span 1;
    }
}
