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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

header {
    background: linear-gradient(135deg, #FF6B35, #F7931E, #FDC830, #FF6B35, #F7931E);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

h1 {
    font-size: 2em;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1em;
    opacity: 0.9;
    margin-bottom: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    background: white;
    margin: 30px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes colorPulse {
    0%, 100% {
        color: #FF6B35;
        border-color: #FF6B35;
    }
    50% {
        color: #F7931E;
        border-color: #F7931E;
    }
}

.section h2 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid #FF6B35;
    padding-bottom: 10px;
    animation: colorPulse 4s ease-in-out infinite;
}

.section p {
    margin-bottom: 20px;
}

.section p:last-child {
    margin-bottom: 0;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 968px) {
    .two-column-grid {
        grid-template-columns: 1fr;
    }
}

.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0.9;
    font-size: 0.85em;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-links a svg {
    width: 17px;
    height: 17px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.app-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.app-card h3 {
    color: #FF6B35;
    margin-bottom: 10px;
}

@keyframes iconGradient {
    0% {
        background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    }
    50% {
        background: linear-gradient(135deg, #F7931E 0%, #FDC830 100%);
    }
    100% {
        background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    }
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    animation: iconGradient 3s ease-in-out infinite;
}

.app-icon img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
}

.company-group {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 20px;
}

.company-group:last-child {
    border-bottom: none;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.company-content {
    flex: 1;
}

.company-name {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #333;
}

.company-duration {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.position-item {
    margin-bottom: 15px;
}

.position-item:last-child {
    margin-bottom: 0;
}

.position-title {
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 3px;
}

.position-date {
    color: #888;
    font-size: 0.9em;
}

.referral-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.referral-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    text-align: center;
}

.referral-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-color: #FF6B35;
}

.referral-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.referral-card h3 {
    color: #FF6B35;
    margin-bottom: 12px;
    font-size: 1.3em;
}

.referral-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.referral-link {
    display: inline-block;
    color: white;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.referral-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.blog-post {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h3 {
    color: #667eea;
    margin-bottom: 10px;
}

.blog-post h3 a {
    color: #FF6B35;
    text-decoration: none;
}

.blog-post h3 a:hover {
    text-decoration: underline;
}

.blog-date {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 30px;
    color: #888;
    margin-top: 50px;
}

@media (max-width: 768px) {
    header {
        padding: 30px 20px;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 1.6em;
    }

    .subtitle {
        font-size: 0.9em;
    }

    .section {
        padding: 25px;
    }

    .social-links {
        gap: 15px;
    }
}
