/* Web Design Section - Modern Browser Mockup */
.web-design-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.web-design-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
}

.web-design-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.web-design-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Browser Window Mockup */
.browser-window {
    width: 100%;
    max-width: 600px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.browser-window:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.browser-header {
    background: #f8f9fa;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.browser-controls {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn.close {
    background: #ff5f57;
}

.control-btn.minimize {
    background: #ffbd2e;
}

.control-btn.maximize {
    background: #28ca42;
}

.control-btn:hover {
    transform: scale(1.1);
}

.browser-url {
    flex: 1;
}

.url-bar {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.url-bar i {
    color: #28ca42;
    font-size: 12px;
}

.browser-content {
    padding: 20px;
    background: #ffffff;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f8f9fa;
}

.nav-item {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #667eea;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.nav-item:hover {
    color: #667eea;
}

/* Content Blocks */
.content-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.block {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.block-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.block-purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.block-green {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    color: #333;
}

.block-icon {
    font-size: 24px;
    opacity: 0.8;
}

.block-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.block-content p {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
}

/* Data Visualization */
.data-visualization {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.chart-header h5 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 16px 0;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: all 0.3s ease;
    animation: barGrow 1s ease-out;
}

.bar:hover {
    background: linear-gradient(to top, #5a6fd8, #6a4190);
    transform: scaleY(1.05);
}

@keyframes barGrow {
    from {
        height: 0;
    }
    to {
        height: var(--bar-height, 50%);
    }
}

/* Floating User Icons */
.floating-users {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.user-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.user-icon.user-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.user-icon.user-2 {
    top: 60%;
    right: 5%;
    animation-delay: 1s;
}

.user-icon.user-3 {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.user-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #667eea;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

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

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

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: rotate 20s linear infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 15%;
    animation-delay: 7s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 14s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Content Section */
.web-design-content {
    padding-left: 40px;
}

.content-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-main {
    display: block;
    color: #2c3e50;
    margin-bottom: 8px;
}

.title-sub {
    display: block;
    color: #667eea;
    font-size: 2rem;
}

.content-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.feature-content p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .web-design-illustration {
        height: 400px;
        margin-bottom: 40px;
    }
    
    .browser-window {
        transform: none;
        max-width: 100%;
    }
    
    .browser-window:hover {
        transform: none;
    }
    
    .content-blocks {
        grid-template-columns: 1fr;
    }
    
    .web-design-content {
        padding-left: 0;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .user-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Dark Mode Support */
.dark-mode .browser-window {
    background: #2d3748;
    color: #e2e8f0;
}

.dark-mode .browser-header {
    background: #1a202c;
    border-bottom-color: #4a5568;
}

.dark-mode .browser-content {
    background: #2d3748;
}

.dark-mode .nav-item {
    color: #a0aec0;
}

.dark-mode .nav-item.active {
    color: #667eea;
}

.dark-mode .data-visualization {
    background: #1a202c;
}

.dark-mode .chart-header h5 {
    color: #e2e8f0;
}

.dark-mode .user-icon {
    background: #2d3748;
    color: #667eea;
}

.dark-mode .content-title .title-main {
    color: #e2e8f0;
}

.dark-mode .feature-content h5 {
    color: #e2e8f0;
}

.dark-mode .feature-content p {
    color: #a0aec0;
}
