:root {
    --bg-color: #fcf8f2;
    --text-primary: #1a3c22;
    --text-secondary: #4a5d4e;
    --accent-1: #1a4325; /* Dark forest green */
    --accent-2: #c8104f; /* Magenta / deep pink */
    --accent-3: #ffb6c1; /* Soft pink background blob */
    --accent-4: #85c285; /* Soft green background blob */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    /* Soft gradient matching the image */
    background: linear-gradient(135deg, #ffd6df 0%, #fcf8f2 50%, #e6f0db 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 2rem 0;
}

/* Background Blobs for Modern Aesthetic */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 15s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, var(--accent-4), transparent 70%);
    animation-delay: -5s;
    animation-duration: 20s;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    max-width: 400px;
    max-height: 400px;
    background: radial-gradient(circle, rgba(200, 16, 79, 0.15), transparent 70%);
    animation-delay: -10s;
    animation-duration: 12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(-5%, 8%) scale(0.95); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--accent-1);
}

.hero h1 span {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-2), #e74c8b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.cards-container {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    text-decoration: none;
    color: inherit;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(26, 60, 34, 0.05);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card > * {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 30px 60px rgba(26, 60, 34, 0.1), 0 0 40px rgba(200, 16, 79, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.emprendedor-icon {
    color: var(--accent-1);
}

.detal-icon {
    color: var(--accent-2);
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

.card:hover .card-icon::after {
    opacity: 0.8;
}

.card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--accent-1);
}

.card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), #2a5a35);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(26, 67, 37, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-2), #e74c8b);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(200, 16, 79, 0.2);
}

.card:hover .btn-primary {
    box-shadow: 0 15px 30px rgba(26, 67, 37, 0.4);
    transform: translateY(-2px);
}

.card:hover .btn-secondary {
    box-shadow: 0 15px 30px rgba(200, 16, 79, 0.4);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero { margin-bottom: 3rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero h1 span { font-size: 4rem; }
    .cards-container { flex-direction: column; align-items: center; gap: 2rem; }
    .card { padding: 2.5rem 2rem; max-width: 100%; }
}

@media (max-width: 480px) {
    body { padding: 1rem 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero h1 span { font-size: 3.2rem; }
    .container { padding: 0 1rem; }
    .card { padding: 2rem 1.5rem; }
}
