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

*::before,
*::after {
    box-sizing: border-box;
}

/* Scrollbar gizlətmə - bütün səhifə üçün */
body {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

html {
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: #1a1a2e !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: #1a1a2e !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #fff;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 500px;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in;
    color: #fff;
}

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

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
    padding: 0;
    background: transparent;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    transform: scale(1.3); /* Bu dəyəri dəyişdirin: 1.0 = normal, 1.2 = 20% böyük, 1.5 = 50% böyük */
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #fff;
}

.social-icon i {
    transition: color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: #667eea;
    color: #fff;
}

.social-icon:hover i {
    color: #fff;
}

.social-icon.whatsapp {
    color: #25D366;
}

.social-icon.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-icon.instagram {
    color: #E4405F;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-icon.tiktok {
    color: #fff;
}

.social-icon.tiktok:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.telegram {
    color: #0088cc;
}

.social-icon.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-icon.youtube {
    color: #FF0000;
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.link-button {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.link-button:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.link-button:active {
    transform: translateY(0);
}

.link-icon {
    font-size: 24px;
    margin-right: 12px;
    width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon i {
    font-size: 22px;
    color: #fff; /* Icon rəngi həmişə ağ olsun ki, qaranlıq fon üzərində görünsün */
    opacity: 0.9;
}

.link-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-text {
    font-size: 16px;
}

.link-subtitle {
    font-size: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.link-arrow {
    font-size: 20px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.link-button:hover .link-arrow {
    opacity: 1;
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 14px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 10px;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-bio {
        font-size: 14px;
    }
    
    .link-button {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .link-text {
        font-size: 15px;
    }
    
    .link-subtitle {
        font-size: 0.75em;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .social-icons {
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 25px 15px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .link-button {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(30, 30, 46, 0.98);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: #fff;
    /* Scrollbar gizlətmə */
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
}

/* Webkit scrollbar (Chrome, Safari, Edge) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-icon {
    text-align: center;
    margin-bottom: 20px;
    font-size: 64px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    animation: slideDown 0.5s ease 0.2s both;
}

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

.modal-animation {
    text-align: center;
    margin: 30px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.6s ease 0.3s both;
}

.modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease 0.4s both;
}

.modal-features {
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease 0.5s both;
}

.feature-item {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--feature-color, #667eea);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-header {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #fff;
    gap: 12px;
}

.feature-item-icon {
    font-size: 18px;
    color: var(--feature-color, #667eea);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-toggle-icon {
    font-size: 12px;
    color: var(--feature-color, #667eea);
    transition: transform 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.feature-item.expanded .feature-toggle-icon {
    transform: rotate(180deg);
}

.feature-info {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #ccc;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
    opacity: 0;
}

.feature-item.expanded .feature-info {
    max-height: 500px;
    padding: 15px 20px 20px;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item.expanded {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.modal-contact-btn {
    width: 100%;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease 0.6s both;
}

.modal-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.modal-contact-btn:active {
    transform: translateY(-1px);
}

/* Animation Styles */
/* Kiber Təhlükəsizlik - Security Network Animation */
.animation-shield {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border: 2px solid var(--shield-color);
    border-radius: 12px;
    background: rgba(26, 35, 126, 0.05);
    overflow: hidden;
}

.security-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    background: var(--shield-color);
    animation: gridPulse 2s ease-in-out infinite;
}

.grid-h-1 {
    top: 33.33%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0s;
}

.grid-h-2 {
    top: 66.66%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0.3s;
}

.grid-v-1 {
    left: 33.33%;
    top: 0;
    width: 1px;
    height: 100%;
    animation-delay: 0.6s;
}

.grid-v-2 {
    left: 66.66%;
    top: 0;
    width: 1px;
    height: 100%;
    animation-delay: 0.9s;
}

.security-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.center-icon {
    font-size: 40px;
    color: var(--shield-color);
    animation: centerPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(26, 35, 126, 0.4));
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--shield-color) 50%, transparent 100%);
    top: 0;
    left: 0;
    animation: scanMove 2s linear infinite;
    opacity: 0.8;
    box-shadow: 0 0 10px var(--shield-color);
}

.security-node {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--shield-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--shield-color);
    animation: nodePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(26, 35, 126, 0.3);
    z-index: 4;
}

.node-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.node-2 {
    top: 10%;
    right: 10%;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 1s;
}

.node-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(26, 35, 126, 0.4));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 12px rgba(26, 35, 126, 0.6));
    }
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0.8;
    }
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(26, 35, 126, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(26, 35, 126, 0.5);
    }
}

/* Mobile Proqramlaşdırma - App Development Animation */
.animation-mobile {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.mobile-dev-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-device-main {
    position: relative;
    width: 70px;
    height: 120px;
    background: linear-gradient(135deg, var(--mobile-color) 0%, #20c55e 100%);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    animation: phoneSway 3s ease-in-out infinite;
    z-index: 2;
}

.phone-screen-main {
    position: absolute;
    top: 8px;
    left: 6px;
    right: 6px;
    bottom: 8px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-icon-main {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--mobile-color) 0%, #20c55e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    animation: appGlow 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.app-main-1 {
    animation-delay: 0s;
}

.app-main-2 {
    animation-delay: 0.5s;
}

.code-symbols {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    font-size: 32px;
    font-weight: bold;
    color: var(--mobile-color);
    opacity: 0.6;
    z-index: 1;
    animation: codeFloat 2.5s ease-in-out infinite;
}

.code-symbol {
    animation: symbolPulse 1.5s ease-in-out infinite;
}

.code-symbol:nth-child(2) {
    animation-delay: 0.3s;
}

.dev-icons {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dev-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--mobile-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mobile-color);
    font-size: 14px;
    animation: iconBounce 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.icon-1 {
    animation-delay: 0s;
}

.icon-2 {
    animation-delay: 0.4s;
}

.icon-3 {
    animation-delay: 0.8s;
}

@keyframes phoneSway {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes appGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    }
}

@keyframes codeFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
        opacity: 0.8;
    }
}

@keyframes symbolPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.1);
    }
}

/* Web Proqramlaşdırma - Code Editor Animation */
.animation-web {
    width: 260px;
    margin: 0 auto;
}

.code-editor {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.code-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    padding: 12px 18px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

.code-dot:nth-child(1) { animation-delay: 0s; }
.code-dot:nth-child(2) { 
    background: #ffbd2e;
    animation-delay: 0.3s;
}
.code-dot:nth-child(3) { 
    background: #27c93f;
    animation-delay: 0.6s;
}

.code-body {
    padding: 18px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.8;
    color: #d4d4d4;
    background: linear-gradient(180deg, #1e1e1e 0%, #252525 100%);
    position: relative;
}

.code-line {
    margin-bottom: 10px;
    animation: codeType 2.5s ease-in-out infinite;
    position: relative;
    padding-left: 20px;
}

.code-line::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--web-color);
    opacity: 0.5;
    animation: lineNumber 2.5s ease-in-out infinite;
}

.code-line:nth-child(1) { animation-delay: 0s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.8s; }
.code-line:nth-child(4) { animation-delay: 1.2s; }

.code-tag {
    color: #569cd6;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(86, 156, 214, 0.5);
}

.code-attr {
    color: #9cdcfe;
}

.code-equal {
    color: #d4d4d4;
}

.code-string {
    color: #ce9178;
}

.code-cursor {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 3px;
    height: 18px;
    background: var(--web-color);
    animation: cursorBlink 1s ease-in-out infinite;
    box-shadow: 0 0 8px var(--web-color);
    border-radius: 2px;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes codeType {
    0% {
        opacity: 0.4;
        transform: translateX(-5px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0.4;
        transform: translateX(-5px);
    }
}

@keyframes lineNumber {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes cursorBlink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--web-color);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 4px var(--web-color);
    }
}

/* Ofis Proqramları - Office Desk Animation */
.animation-office {
    width: 220px;
    height: 130px;
    margin: 0 auto;
    position: relative;
}

.office-desk {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    border: 2px solid rgba(108, 92, 231, 0.1);
}

.document-file {
    position: relative;
    width: 45px;
    height: 55px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    animation: documentShake 3s ease-in-out infinite;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.document-file i {
    color: var(--office-color);
    font-size: 20px;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(108, 92, 231, 0.3));
    animation: iconFloat 2s ease-in-out infinite;
}

.document-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doc-line {
    height: 2px;
    background: linear-gradient(90deg, #e0e0e0 0%, #d0d0d0 100%);
    border-radius: 1px;
    animation: docLineAppear 2s ease-in-out infinite;
}

.doc-line:nth-child(2) {
    animation-delay: 0.3s;
}

.doc-line:nth-child(3) {
    animation-delay: 0.6s;
}

.chart-paper {
    position: relative;
    width: 55px;
    height: 65px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
    padding: 8px;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.chart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
}

.grid-line {
    height: 1px;
    background: linear-gradient(90deg, #e0e0e0 0%, transparent 100%);
    margin-bottom: 10px;
    animation: gridDraw 2s ease-in-out infinite;
}

.grid-line:nth-child(2) {
    animation-delay: 0.3s;
}

.grid-line:nth-child(3) {
    animation-delay: 0.6s;
}

.chart-data {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 5px;
}

.data-point {
    flex: 1;
    background: linear-gradient(180deg, var(--office-color) 0%, #5a4bc7 100%);
    border-radius: 3px 3px 0 0;
    animation: dataGrow 2s ease-in-out infinite;
    box-shadow: 0 -2px 8px rgba(108, 92, 231, 0.3);
}

.data-point:nth-child(1) {
    height: 18px;
    animation-delay: 0s;
}

.data-point:nth-child(2) {
    height: 30px;
    animation-delay: 0.3s;
}

.data-point:nth-child(3) {
    height: 24px;
    animation-delay: 0.6s;
}

.calculator {
    width: 42px;
    height: 50px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: calcPress 2.5s ease-in-out infinite;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.calculator i {
    color: var(--office-color);
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(108, 92, 231, 0.3));
    animation: calcIcon 2s ease-in-out infinite;
}

@keyframes documentShake {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-5px) rotate(-3deg) scale(1.02);
    }
    75% {
        transform: translateY(-5px) rotate(3deg) scale(1.02);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes docLineAppear {
    0% {
        opacity: 0.2;
        width: 0;
    }
    50% {
        opacity: 1;
        width: 100%;
    }
    100% {
        opacity: 0.2;
        width: 100%;
    }
}

@keyframes gridDraw {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 0.8;
    }
}

@keyframes dataGrow {
    0%, 100% {
        transform: scaleY(0.6);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.1);
        opacity: 1;
    }
}

@keyframes calcPress {
    0%, 100% {
        transform: scale(1) translateY(0);
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
    }
    50% {
        transform: scale(0.92) translateY(2px);
        box-shadow: 0 2px 6px rgba(108, 92, 231, 0.3);
    }
}

@keyframes calcIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Modal */
@media (max-width: 600px) {
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        padding: 30px 20px;
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-icon {
        font-size: 48px;
    }
    
    .modal-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .modal-contact-btn {
        font-size: 16px;
        padding: 16px 24px;
        width: 100%;
    }
    
    .feature-item {
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .feature-header {
        padding: 10px 15px;
        font-size: 14px;
        gap: 10px;
    }
    
    .feature-item-icon {
        font-size: 16px;
        width: 20px;
    }
    
    .feature-text {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .feature-info {
        font-size: 12px;
        line-height: 1.5;
        padding: 0 15px;
    }
    
    .feature-item.expanded .feature-info {
        padding: 12px 15px 15px;
        margin-top: 4px;
    }
}

@media (max-width: 400px) {
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-icon {
        font-size: 40px;
    }
    
    .modal-description {
        font-size: 13px;
    }
    
    .feature-item {
        padding: 8px;
        margin-bottom: 6px;
    }
    
    .feature-header {
        padding: 8px 12px;
        font-size: 13px;
        gap: 8px;
    }
    
    .feature-item-icon {
        font-size: 14px;
        width: 18px;
    }
    
    .feature-text {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .feature-info {
        font-size: 11px;
        line-height: 1.4;
        padding: 0 12px;
    }
    
    .feature-item.expanded .feature-info {
        padding: 10px 12px 12px;
        margin-top: 3px;
    }
}

