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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3em;
    font-weight: 700;
    color: #1a202c;
}

@media (min-width: 768px) {
    .app-header {
        padding: 20px 40px;
    }
    
    .logo-text {
        font-size: 1.5em;
    }
}

.app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    padding: 40px 24px;
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.6s;
    color: white;
}

@media (min-width: 768px) {
    body {
        padding: 20px;
    }

    .hero {
        border-radius: 30px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.3);
        padding: 50px 40px;
        margin-bottom: 35px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 60px;
        margin-bottom: 40px;
    }
}

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

.hero h1 {
    font-size: 2.2em;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.hero .description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.8em;
        margin-bottom: 18px;
    }

    .hero .subtitle {
        font-size: 1.3em;
        margin-bottom: 13px;
    }

    .hero .description {
        font-size: 1.05em;
        line-height: 1.6;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5em;
        margin-bottom: 20px;
    }

    .hero .subtitle {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .hero .description {
        font-size: 1.1em;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    animation: fadeInUp 1s;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

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

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .project-card {
        border-radius: 24px;
    }
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.project-card:active {
    transform: translateY(-4px);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .card-header {
        padding: 35px 25px;
    }
}

@media (min-width: 1024px) {
    .card-header {
        padding: 40px 30px;
    }
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 12px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    position: relative;
    z-index: 1;
}

.card-header h2 {
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .card-icon {
        font-size: 4.5em;
        margin-bottom: 13px;
    }

    .card-header h2 {
        font-size: 1.8em;
    }
}

@media (min-width: 1024px) {
    .card-icon {
        font-size: 5em;
        margin-bottom: 15px;
    }

    .card-header h2 {
        font-size: 2em;
    }
}

.card-tag {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.card-body {
    padding: 20px;
}

.card-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .card-body {
        padding: 28px;
    }

    .card-description {
        font-size: 1em;
        line-height: 1.7;
        margin-bottom: 22px;
    }
}

@media (min-width: 1024px) {
    .card-body {
        padding: 35px;
    }

    .card-description {
        font-size: 1.05em;
        line-height: 1.8;
        margin-bottom: 25px;
    }
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.card-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.3em;
}

.card-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.2s;
    display: block;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (min-width: 768px) {
    .card-cta {
        padding: 14px 25px;
        font-size: 1.05em;
    }
}

@media (min-width: 1024px) {
    .card-cta {
        padding: 15px 30px;
        border-radius: 12px;
        font-size: 1.1em;
    }
}

.project-card:hover .card-cta {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.footer {
    text-align: center;
    margin-top: 48px;
    padding: 32px 0;
    color: #718096;
    font-size: 0.9em;
    animation: fadeIn 1.5s;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .footer {
        margin-top: 40px;
        font-size: 1.05em;
    }
}

@media (min-width: 1024px) {
    .footer {
        margin-top: 50px;
        font-size: 1.1em;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer p {
    margin: 10px 0;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 8px 4px;
    font-size: 0.85em;
    font-weight: 600;
}

@media (min-width: 768px) {
    .badge {
        padding: 7px 18px;
        border-radius: 22px;
        margin-top: 12px;
        font-size: 0.9em;
    }
}

@media (min-width: 1024px) {
    .badge {
        padding: 8px 20px;
        border-radius: 25px;
        margin-top: 15px;
        font-size: 0.95em;
    }
}

/* Decorative elements - removed for cleaner app look */

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    font-size: 2em;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 15%;
    font-size: 2.5em;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    font-size: 2.2em;
    animation-delay: 10s;
}

@media (min-width: 768px) {
    .shape:nth-child(1) {
        font-size: 2.5em;
    }

    .shape:nth-child(2) {
        font-size: 3.2em;
    }

    .shape:nth-child(3) {
        font-size: 2.8em;
    }
}

@media (min-width: 1024px) {
    .shape:nth-child(1) {
        font-size: 3em;
    }

    .shape:nth-child(2) {
        font-size: 4em;
    }

    .shape:nth-child(3) {
        font-size: 3.5em;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}
