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

:root {
    --primary-blue: #1DA1F2;
    --primary-darker: #0d8ed8;
    --white: #FFFFFF;
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.75);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
}

html {
    background: #157CC2; /* Solid color that matches the bottom of gradient */
    min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(180deg, 
        #1DA1F2 0%, 
        #1B98E6 25%, 
        #198FDA 50%, 
        #1785CE 75%, 
        #157CC2 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

header {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 38vh;
    padding: 20px 20px 20px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-container {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.company-name {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
    margin-top: 0;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8F4FD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    line-height: 1;
}

.tagline {
    font-size: 19px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 0.2px;
    margin-top: 0;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    opacity: 0.9;
}

.mission {
    max-width: 820px;
    margin: 0 auto;
    padding: 10px 40px 50px;
    text-align: center;
    position: relative;
}

.mission-text {
    font-size: 19px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    margin: 0;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    padding: 30px 40px 12px;
    text-align: center;
    position: relative;
    margin-top: auto;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    font-weight: 500;
}

.footer-content a:hover {
    color: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* Footer responsive layout */
.footer-content p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
}

.footer-item {
    white-space: nowrap;
}

.footer-separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer mobile styling */
@media (max-width: 480px) {
    .footer-content p {
        line-height: 1.8;
    }
}

.project-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    position: relative;
    transform-origin: center;
}

.project-card:nth-child(2) {
    animation-delay: 0.7s;
}

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


.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .app-icon {
    transform: scale(1.05) rotate(-2deg);
}

.project-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.project-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.project-meta {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-stack {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


@media (max-width: 768px) {
    .container {
        padding: 30px 20px 30px;
    }
    
    header {
        min-height: 45vh;
        margin-bottom: 0;
        padding: 30px 15px 20px;
    }
    
    header::before {
        width: 300px;
        height: 300px;
    }
    
    .logo {
        width: 120px;
    }
    
    .logo-container {
        margin-bottom: 16px;
    }
    
    .company-name {
        font-size: 48px;
        font-weight: 700;
        letter-spacing: -0.8px;
        margin-bottom: 8px;
    }
    
    .tagline {
        font-size: 17px;
    }
    
    .mission {
        padding: 0 20px 40px;
        max-width: 100%;
    }
    
    .mission-text {
        font-size: 18px;
        line-height: 1.65;
        text-align: left;
    }
    
    .projects {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .project-card {
        border-radius: 14px;
    }
    
    .app-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    
    .card-content {
        padding: 24px;
    }
    
    .project-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .project-description {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 16px;
    }
    
    .tech-stack {
        font-size: 10px;
    }
    
    .footer {
        padding: 24px 20px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px 24px;
    }
    
    header {
        min-height: 50vh;
        padding: 30px 16px 20px;
        margin-bottom: 0;
    }
    
    header::before {
        width: 250px;
        height: 250px;
        opacity: 0.3;
    }
    
    .logo {
        width: 100px;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .company-name {
        font-size: 42px;
        font-weight: 700;
        letter-spacing: -0.6px;
        margin-bottom: 6px;
    }
    
    .tagline {
        font-size: 16px;
    }
    
    .mission {
        padding: 0 16px 40px;
        text-align: left;
    }
    
    .mission-text {
        font-size: 17px;
        line-height: 1.6;
        text-align: left;
    }
    
    .projects {
        gap: 14px;
        padding: 0 16px 30px;
        margin-bottom: 0;
    }
    
    .project-card {
        border-radius: 12px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 19px;
        margin-bottom: 8px;
    }
    
    .project-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .app-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        border-radius: 11px;
        margin-bottom: 12px;
    }
    
    .tech-stack {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .project-meta {
        padding-top: 14px;
    }
    
    .footer {
        padding: 20px 16px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}