:root {
    /* Main Background & Theme */
    --primary-bg: #09122c;
    /* Very dark deep blue space background */
    --card-bg: #111a36;
    /* Dark slate card background */

    /* Text */
    --text-title: #ffffff;
    --text-p: #ccd6f6;
    --text-small: #8892b0;

    /* FOCCO Elements */
    --accent-green: #97cc04;
    --accent-blue: #45b7d1;
    --accent-orange: #ff9f1c;
    --accent-pink: #f15bb5;
    --accent-purple: #9b5de5;

    /* WhatsApp */
    --whatsapp-bg: #1c4d32;
    --whatsapp-hover: #1b683d;

    /* Metrics */
    --max-w: 640px;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-p);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Art */
.bg-art {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.9;
}

.bg-art svg {
    width: 100%;
    height: 100%;
    transform: scale(1.05);
    /* Avoid anti-aliasing edge artifacts */
}

.container {
    width: 100%;
    max-width: var(--max-w);
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
}

/* Header & Hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 24px;
}

.logo {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.impact-phrase {
    color: white;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.description {
    font-size: 0.95rem;
    color: #a8b2d1;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards List */
.cells-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.card {
    background-color: rgba(17, 26, 54, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    padding: 16px;
    display: grid;
    /* Strict Horizontal Layout exactly as referenced visually */
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
}

/* Color indicator on the left similar to reference */
.card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
}

/* Cell Colors Setup */
.cell-unidev::before {
    background: var(--accent-green);
}

.cell-fullstack::before {
    background: var(--accent-purple);
}

.cell-matematica::before {
    background: var(--accent-blue);
}

.cell-marketing::before {
    background: var(--accent-orange);
}

.cell-informatica::before {
    background: var(--accent-pink);
}

.cell-slides::before {
    background: linear-gradient(to bottom, var(--accent-green), var(--accent-orange));
}

/* Colored words in titles */
.cell-unidev h3 span {
    color: var(--accent-green);
    font-weight: 700;
}

.cell-fullstack h3 span {
    color: var(--accent-purple);
    font-weight: 700;
}


.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Text Container */
.card-center h3 {
    color: var(--text-title);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    word-break: break-word;
    hyphens: auto;
}

.card-center p {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-small);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right button area */
.btn-whatsapp {
    background-color: var(--whatsapp-bg);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.03);
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-small);
    font-size: 0.8rem;
    padding-bottom: 20px;
}

/* Mobile Adjustments (only for VERY narrow screens) */
@media (max-width: 440px) {
    .impact-phrase {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .description {
        font-size: 0.85rem;
    }

    .card {
        grid-template-columns: 50px minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px 10px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    .card-center h3 {
        font-size: 1rem;
    }

    .card-center p {
        font-size: 0.75rem;
    }

    .btn-whatsapp {
        padding: 8px 10px;
        font-size: 0.75rem;
        gap: 5px;
    }

    .btn-whatsapp svg {
        width: 16px;
        height: 16px;
    }
}