:root {
    --bg: #060706;
    --bg-soft: #10150d;
    --panel: rgba(12, 15, 10, 0.82);
    --panel-border: rgba(235, 255, 45, 0.22);
    --text: #f8ffe8;
    --muted: #c1cda0;
    --primary: #d8ff27;
    --secondary: #85ff00;
    --accent: #ffe600;
    --signal: #0d0f0a;
    --glow: 0 0 30px rgba(216, 255, 39, 0.22);
    --radius: 24px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(216, 255, 39, 0.18), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(133, 255, 0, 0.12), transparent 30%),
        linear-gradient(180deg, #050604 0%, #0b0e08 42%, #060705 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(216, 255, 39, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 255, 39, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 92%);
    animation: grid-drift 20s linear infinite;
    z-index: -3;
}

body::after {
    content: "";
    position: fixed;
    inset: -8%;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(216, 255, 39, 0.08) 12% 13%, transparent 13% 26%, rgba(216, 255, 39, 0.08) 26% 27%, transparent 27% 100%),
        linear-gradient(0deg, transparent 0 18%, rgba(216, 255, 39, 0.06) 18% 19%, transparent 19% 42%, rgba(216, 255, 39, 0.08) 42% 43%, transparent 43% 100%),
        radial-gradient(circle at 20% 30%, rgba(216, 255, 39, 0.18), transparent 18%),
        radial-gradient(circle at 78% 18%, rgba(255, 230, 0, 0.12), transparent 16%),
        url("estilo.png");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
    background-size: 180% 180%, 160% 160%, 48% 48%, 42% 42%, 340px auto;
    background-position: 0 0, 0 0, left top, right top, center center;
    opacity: 0.18;
    mix-blend-mode: screen;
    filter: saturate(1.1) contrast(1.08);
    animation: circuit-pan 28s linear infinite, circuit-pulse 6s ease-in-out infinite;
    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    position: relative;
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding-bottom: 48px;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.site-shell::before {
    background:
        repeating-linear-gradient(
            135deg,
            transparent 0 24px,
            rgba(216, 255, 39, 0.03) 24px 26px,
            transparent 26px 60px
        );
    opacity: 0.55;
    animation: diagonal-flow 16s linear infinite;
    z-index: -1;
}

.site-shell::after {
    inset: 0 auto 0 0;
    width: 36vw;
    background:
        linear-gradient(90deg, rgba(216, 255, 39, 0.08), transparent 65%);
    filter: blur(18px);
    opacity: 0.55;
    animation: light-sweep 9s ease-in-out infinite alternate;
    z-index: -1;
}

.hero {
    position: relative;
    padding: 24px 0 40px;
    overflow: hidden;
}

.hero-energy {
    position: absolute;
    inset: auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.32;
    pointer-events: none;
}

.hero-energy-left {
    top: 30px;
    left: -120px;
    background:
        radial-gradient(circle, rgba(216, 255, 39, 0.45), transparent 58%);
}

.hero-energy-right {
    top: 110px;
    right: -120px;
    background:
        radial-gradient(circle, rgba(133, 255, 0, 0.3), transparent 55%);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    margin-top: 12px;
    border: 1px solid rgba(216, 255, 39, 0.16);
    border-radius: 999px;
    background: rgba(8, 10, 7, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 0 0 1px rgba(216, 255, 39, 0.06), 0 18px 45px rgba(0, 0, 0, 0.24);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7da300, var(--accent));
    box-shadow: var(--glow);
}

.brand-copy,
.eyebrow,
.section-kicker,
.card-label {
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-copy {
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
}

.nav-links a:hover,
.contact-list a:hover {
    color: var(--primary);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 36px;
    padding-top: 52px;
    align-items: start;
}

.eyebrow,
.section-kicker,
.card-label {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
}

.hero-copy {
    display: grid;
    align-content: start;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.hero-meta .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 255, 39, 0.18);
    background: rgba(216, 255, 39, 0.06);
    line-height: 1;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.05;
}

h1,
h2 {
    font-family: "Orbitron", sans-serif;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    margin-top: 0;
    line-height: 0.96;
}

.hero-title {
    margin: 14px 0 0;
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    color: #fff;
    font-weight: 700;
}

.hero-summary,
.panel p,
.detail-list,
.contact-list {
    color: var(--muted);
    line-height: 1.72;
}

.hero-summary {
    max-width: 64ch;
    margin: 18px 0 0;
    font-size: 1.02rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #151807;
    background: linear-gradient(135deg, #a8db00, var(--accent));
    box-shadow: var(--glow);
}

.button-secondary {
    border: 1px solid rgba(216, 255, 39, 0.22);
    background: rgba(216, 255, 39, 0.05);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.quick-stats li,
.panel {
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    background: var(--panel);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.quick-stats li {
    padding: 18px;
}

.quick-stats strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1rem;
}

.quick-stats span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.hero-card,
.stack,
.contact-card {
    display: grid;
    gap: 18px;
}

.hero-card {
    padding: 24px;
    border: 1px solid rgba(216, 255, 39, 0.18);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(248, 255, 232, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at top, rgba(216, 255, 39, 0.17), transparent 55%),
        rgba(8, 10, 7, 0.94);
    box-shadow: var(--glow);
}

.hero-card-copy {
    display: grid;
    gap: 10px;
}

.avatar-frame {
    position: relative;
    padding: 14px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(216, 255, 39, 0.55), rgba(133, 255, 0, 0.18)),
        linear-gradient(45deg, transparent 0 46%, rgba(0, 0, 0, 0.35) 46% 54%, transparent 54% 100%);
    box-shadow: inset 0 0 0 1px rgba(248, 255, 232, 0.1);
}

.avatar-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    margin: 0;
    border-radius: 24px;
    background:
        radial-gradient(circle at center, rgba(248, 255, 232, 0.44), transparent 28%),
        linear-gradient(160deg, rgba(216, 255, 39, 0.94), rgba(153, 214, 0, 0.88));
    overflow: hidden;
}

.avatar-placeholder::before,
.avatar-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.avatar-placeholder::before {
    background:
        linear-gradient(135deg, transparent 0 36%, rgba(0, 0, 0, 0.24) 36% 42%, transparent 42% 100%),
        linear-gradient(315deg, transparent 0 36%, rgba(0, 0, 0, 0.16) 36% 42%, transparent 42% 100%);
}

.avatar-placeholder::after {
    inset: 18px;
    border: 1px solid rgba(20, 24, 10, 0.24);
    border-radius: 18px;
}

.avatar-ring {
    position: absolute;
    inset: 28px;
    border: 2px solid rgba(20, 24, 10, 0.18);
    border-radius: 50%;
    animation: pulse-ring 4s ease-in-out infinite;
}

.photo-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-main img {
    position: relative;
    z-index: 1;
    object-position: center top;
    filter: saturate(1.02) contrast(1.04);
    mix-blend-mode: normal;
}

.hero-card-copy h2 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section {
    padding: 30px 0;
}

.signal-section {
    padding-top: 0;
}

.signal-band {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(216, 255, 39, 0.08), rgba(216, 255, 39, 0.02)),
        var(--panel);
}

.signal-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 28px,
            rgba(216, 255, 39, 0.04) 28px 29px
        );
    pointer-events: none;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(6, 7, 5, 0.45);
    border: 1px solid rgba(216, 255, 39, 0.12);
}

.signal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 16px rgba(216, 255, 39, 0.7);
    flex: 0 0 auto;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin-top: 10px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.intro-grid,
.two-column {
    display: grid;
    gap: 18px;
}

.intro-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
    padding: 22px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 13px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), rgba(255, 255, 255, 0.08));
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid #0b0e08;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    box-shadow: 0 0 16px rgba(216, 255, 39, 0.35);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.muted {
    color: var(--muted);
}

.badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(216, 255, 39, 0.08);
    color: var(--text);
    font-size: 0.84rem;
    white-space: nowrap;
}

.detail-list,
.contact-list {
    margin: 14px 0 0;
    padding-left: 18px;
}

.detail-list li,
.contact-list li {
    margin-bottom: 8px;
}

.two-column {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    padding: 11px 15px;
    border-radius: 999px;
    background: rgba(216, 255, 39, 0.06);
    border: 1px solid rgba(216, 255, 39, 0.12);
    color: var(--text);
    font-weight: 600;
}

.manifesto {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.quote-mark {
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-family: "Orbitron", sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    color: rgba(216, 255, 39, 0.12);
}

.contact-section {
    padding-bottom: 8px;
}

@media (max-width: 980px) {
    .hero-content,
    .two-column,
    .intro-grid,
    .signal-grid {
        grid-template-columns: 1fr;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 720px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--max-width));
    }

    .topbar,
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        gap: 12px;
    }

    .hero {
        padding-top: 10px;
    }

    .hero-content {
        padding-top: 30px;
    }

    .button {
        width: 100%;
    }

    .hero-meta {
        gap: 8px;
    }

    .timeline-item {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 14px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-dot {
        width: 22px;
        height: 22px;
    }

}

@keyframes pulse-ring {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes grid-drift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(34px, 34px, 0);
    }
}

@keyframes circuit-pan {
    0% {
        background-position: 0 0, 0 0, left top, right top, 0 0;
    }
    100% {
        background-position: 180px 0, 0 140px, 4% 2%, 96% 4%, 340px 140px;
    }
}

@keyframes circuit-pulse {
    0%,
    100% {
        opacity: 0.14;
    }
    50% {
        opacity: 0.24;
    }
}

@keyframes diagonal-flow {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(90px, -60px, 0);
    }
}

@keyframes light-sweep {
    from {
        transform: translateX(-8vw);
        opacity: 0.28;
    }
    to {
        transform: translateX(32vw);
        opacity: 0.58;
    }
}
