* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    /* Fondo oscuro más suave */
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
		radial-gradient(circle at bottom, #ffffff 0%, #0f172a 75%);

    background-size: 40px 40px, 40px 40px, cover;

    color: #e2e8f0;
    line-height: 1.6;
}

/* SCAN LINE EFFECT SUAVE */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(255,255,255,0.02) 1px,
        transparent 1px
    );
    background-size: 100% 5px;
    pointer-events: none;
    z-index: 999;
    animation: scanMove 7s linear infinite;
}

@keyframes scanMove {
    from { transform: translateY(0); }
    to { transform: translateY(100px); }
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.hero {
    text-align: center;
    padding: 5rem 1rem;
}

.hero img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35);
}

/* TERMINAL STYLE TITLE */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: "Courier New", monospace;
    letter-spacing: 1px;
}

.hero h1 span {
    color: #38bdf8;
}

/* Cursor */
.hero h1::after {
    content: "_";
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* TEXT */
.hero p {
    font-size: 1.1rem;
    color: #cbd5f5;
    font-family: "Courier New", monospace;
}

/* CARDS */
.cards {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Glassmorphism cards */
.card {
    position: relative;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid #38bdf8;
}

/* Images */
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.05) saturate(1.05);
}

/* Overlay */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
}

/* Content */
.card-content {
    padding: 1.2rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #38bdf8;
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
}

.card p {
    font-size: 0.95rem;
    color: #cbd5f5;
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}