:root {
    /* Color Palette */
    --clr-yellow-main: #FFC107;
    --clr-yellow-light: #FFF8E1;
    --clr-yellow-glow: rgba(255, 193, 7, 0.4);
    
    --clr-blue-main: #0284C7; /* Accent blue */
    --clr-blue-light: #E0F2FE;
    --clr-blue-glow: rgba(2, 132, 199, 0.3);
    
    --clr-white: #FFFFFF;
    --clr-bg: #F8FAFC;
    
    --clr-text-dark: #0F172A;
    --clr-text-muted: #64748B;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--clr-bg);
    color: var(--clr-text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    opacity: 0; /* For fade-in effect via JS */
}

/* Background Blobs for Modern Aesthetics */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

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

.blob-yellow {
    width: 600px;
    height: 600px;
    background-color: var(--clr-yellow-main);
    top: -200px;
    right: -100px;
}

.blob-blue {
    width: 500px;
    height: 500px;
    background-color: var(--clr-blue-main);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.1); }
}

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

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: slideDown 0.8s ease-out forwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--clr-white);
    color: var(--clr-blue-main);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(2, 132, 199, 0.1);
}

.title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--clr-text-dark);
}

.title span {
    color: var(--clr-blue-main);
    position: relative;
}

.title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--clr-yellow-main);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.6;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Cards Section */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    width: 100%;
    padding: 1rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 28px;
    padding: 2.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.app-card:nth-child(2) {
    animation-delay: 0.2s;
}

.card-bg-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    transition: var(--transition-smooth);
}

.yellow-accent { background: var(--clr-yellow-main); }
.blue-accent { background: var(--clr-blue-main); }

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    background: var(--clr-white);
}

.app-card:hover .card-bg-accent {
    height: 10px;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.yellow-icon {
    background: var(--clr-yellow-light);
    color: #D97706;
}

.blue-icon {
    background: var(--clr-blue-light);
    color: var(--clr-blue-main);
}

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

.app-card:hover .yellow-icon { box-shadow: 0 10px 25px var(--clr-yellow-glow); }
.app-card:hover .blue-icon { box-shadow: 0 10px 25px var(--clr-blue-glow); }

.text-content {
    flex-grow: 1;
}

.text-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--clr-text-dark);
}

.text-content p {
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
}

.btn-text {
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.app-card:nth-child(1) .btn-text { color: #D97706; }
.app-card:nth-child(2) .btn-text { color: var(--clr-blue-main); }

.arrow-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.app-card:nth-child(1) .arrow-icon { color: #D97706; }
.app-card:nth-child(2) .arrow-icon { color: var(--clr-blue-main); }

.app-card:hover .arrow-icon {
    background: var(--clr-text-dark);
    color: var(--clr-white);
    transform: translateX(5px);
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.25rem;
    }
    
    .blob-yellow {
        width: 400px;
        height: 400px;
    }
    
    .blob-blue {
        width: 350px;
        height: 350px;
    }
    
    .cards-wrapper {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .app-card {
        padding: 2rem;
    }
}
