/* Service Page Specific Styles */

/* Mobile Back Button - Fixed Bottom Left */
.mobile-back-button {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.95) 0%, rgba(0, 217, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #0F172A;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow:
        0 8px 24px rgba(93, 213, 200, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: layout style paint;
}

.mobile-back-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
    transition: transform 0.3s ease;
}

.mobile-back-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 12px 32px rgba(93, 213, 200, 0.5),
        0 6px 16px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(93, 213, 200, 1) 0%, rgba(0, 217, 255, 1) 100%);
}

.mobile-back-button:hover svg {
    transform: translateX(-3px);
}

.mobile-back-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Show back button only on mobile (≤ 768px) */
@media (max-width: 768px) {
    .mobile-back-button {
        display: flex;
        padding: 8px 14px;
        font-size: 0.75rem;
        bottom: 15px;
        left: 15px;
    }

    .mobile-back-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    will-change: transform, opacity;
    pointer-events: none;
}

.scroll-indicator.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-indicator .arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgba(93, 213, 200, 0.9);
    animation: bounce 2s infinite;
    will-change: transform;
}

.scroll-indicator .arrow:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.7;
}

.scroll-indicator .arrow:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator:hover .arrow {
    border-top-color: rgba(93, 213, 200, 1);
}

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    padding: 180px 20px 100px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(93, 213, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #5DD5C8 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Mockups Section */
.mockups-section {
    padding: 100px 0;
    background: #0F172A;
}

.mockups-section .container {
    max-width: 1200px;
    padding: 0 2rem;
}

.mockups-section .section-title {
    color: #fff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 100;
}

.mockups-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #5DD5C8 0%, #00D9FF 50%, #5DD5C8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: subtitleShine 3s linear infinite;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 0 20px rgba(93, 213, 200, 0.3);
    position: relative;
    z-index: 100;
}

.mockups-section .section-subtitle::before {
    content: '▸';
    color: #5DD5C8;
    margin-right: 10px;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.mockups-section .section-subtitle::after {
    content: '◂';
    color: #5DD5C8;
    margin-left: 10px;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes subtitleShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.mockups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* Carousel specific styles */
.mockups-carousel {
    position: relative;
    display: block;
    max-width: 100%;
    overflow: visible;
    perspective: 1200px;
    height: 800px;
    contain: layout style;
    isolation: isolate;
    will-change: contents;
}

.mockups-carousel .mockups-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    transition: none;
    contain: layout style;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.mockups-carousel .mockups-slider .mockup-card {
    position: absolute;
    width: 85%;
    max-width: 1100px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* AI/ML Page - Reduce mockup card size by 20% */
body:has([href*="ai-ml"]) .mockups-carousel .mockups-slider .mockup-card,
.ai-ml-page .mockups-carousel .mockups-slider .mockup-card {
    width: 68%;
    max-width: 880px;
}

body:has([href*="ai-ml"]) .mockups-carousel .mockups-slider .mockup-card[data-position="0"],
.ai-ml-page .mockups-carousel .mockups-slider .mockup-card[data-position="0"] {
    transform: translateX(0) scale(0.88) rotateY(0deg);
}

body:has([href*="ai-ml"]) .mockups-carousel .mockups-slider .mockup-card[data-position="-1"],
.ai-ml-page .mockups-carousel .mockups-slider .mockup-card[data-position="-1"] {
    transform: translateX(-95%) scale(0.6) rotateY(30deg);
}

body:has([href*="ai-ml"]) .mockups-carousel .mockups-slider .mockup-card[data-position="1"],
.ai-ml-page .mockups-carousel .mockups-slider .mockup-card[data-position="1"] {
    transform: translateX(95%) scale(0.6) rotateY(-30deg);
}

.mockups-carousel .mockups-slider .mockup-card:active {
    cursor: grabbing;
}

/* Center card - fully visible and focused */
.mockups-carousel .mockups-slider .mockup-card[data-position="0"] {
    transform: translateX(0) scale(1.1) rotateY(0deg);
    z-index: 10;
    opacity: 1;
    filter: blur(0);
}

/* Left card - angled and blurred */
.mockups-carousel .mockups-slider .mockup-card[data-position="-1"] {
    transform: translateX(-95%) scale(0.75) rotateY(30deg);
    z-index: 5;
    opacity: 0.6;
    filter: blur(3px);
}

/* Right card - angled and blurred */
.mockups-carousel .mockups-slider .mockup-card[data-position="1"] {
    transform: translateX(95%) scale(0.75) rotateY(-30deg);
    z-index: 5;
    opacity: 0.6;
    filter: blur(3px);
}

/* Hidden cards - completely off screen */
.mockups-carousel .mockups-slider .mockup-card[data-position="-2"],
.mockups-carousel .mockups-slider .mockup-card[data-position="2"],
.mockups-carousel .mockups-slider .mockup-card[data-position="-3"],
.mockups-carousel .mockups-slider .mockup-card[data-position="3"],
.mockups-carousel .mockups-slider .mockup-card[data-position="-4"],
.mockups-carousel .mockups-slider .mockup-card[data-position="4"],
.mockups-carousel .mockups-slider .mockup-card[data-position="-5"],
.mockups-carousel .mockups-slider .mockup-card[data-position="5"],
.mockups-carousel .mockups-slider .mockup-card[data-position="-6"],
.mockups-carousel .mockups-slider .mockup-card[data-position="6"] {
    transform: translateX(200%) scale(0.7) rotateY(35deg);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Mobile Apps - Portrait/Vertical Layout Carousel */
.mockups-carousel-mobile {
    position: relative;
    display: block;
    max-width: 100%;
    overflow: visible;
    height: 1050px;
    perspective: 2000px;
    contain: layout style;
    isolation: isolate;
    will-change: contents;
}

.mockups-carousel-mobile .mockups-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    transition: none;
    contain: layout style;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
}

.mockups-carousel-mobile .mockups-slider .mockup-card {
    position: absolute;
    width: 450px;
    max-width: 450px;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.mockups-carousel-mobile .mockup-image {
    padding: 1.5rem 0.5rem;
}

.mockups-carousel-mobile .mockup-info {
    padding: 1.5rem;
}

/* Center card - fully visible */
.mockups-carousel-mobile .mockups-slider .mockup-card[data-position="0"] {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    z-index: 10;
    opacity: 1;
}

/* Left card - behind and rotated */
.mockups-carousel-mobile .mockups-slider .mockup-card[data-position="-1"] {
    transform: translateX(-450px) translateZ(-300px) rotateY(30deg) scale(0.75);
    z-index: 5;
    opacity: 0.7;
}

/* Right card - behind and rotated */
.mockups-carousel-mobile .mockups-slider .mockup-card[data-position="1"] {
    transform: translateX(450px) translateZ(-300px) rotateY(-30deg) scale(0.75);
    z-index: 5;
    opacity: 0.7;
}

/* Cards further away */
.mockups-carousel-mobile .mockups-slider .mockup-card[data-position="-2"],
.mockups-carousel-mobile .mockups-slider .mockup-card[data-position="2"] {
    transform: translateX(0) translateZ(-600px) rotateY(0deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.mockups-carousel-mobile .mockups-slider .mockup-card[data-position]:not([data-position="0"]):not([data-position="1"]):not([data-position="-1"]):not([data-position="2"]):not([data-position="-2"]) {
    opacity: 0;
    pointer-events: none;
}

/* DevOps & Cloud specific - vertical layout */
.mockups-grid.devops-vertical,
.mockups-grid.cloud-vertical {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mockup-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(93, 213, 200, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mockup-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(93, 213, 200, 0.3);
    border-color: #5DD5C8;
}

.mockup-image {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-placeholder {
    background: #1a1f2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 1px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
}

.mockup-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* Browser Bar - Enhanced to look like real browser */
.browser-bar {
    background: linear-gradient(180deg, #3a4556 0%, #2d3748 100%);
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 0.4rem;
    padding-right: 0.8rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.browser-dots span:hover {
    transform: scale(1.1);
}

.browser-dots span:nth-child(1) {
    background: linear-gradient(135deg, #ff6259 0%, #ff5f56 100%);
}

.browser-dots span:nth-child(2) {
    background: linear-gradient(135deg, #ffca2e 0%, #ffbd2e 100%);
}

.browser-dots span:nth-child(3) {
    background: linear-gradient(135deg, #28d440 0%, #27c93f 100%);
}

.browser-url {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.05);
    letter-spacing: 0.02em;
    position: relative;
}

.browser-url::before {
    content: '🔒';
    margin-right: 0.4rem;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Mockup Content Styles */
.mockup-content {
    padding: 1rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Custom HTML/CSS Designs */
.custom-design {
    padding: 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    height: 100%;
    font-size: 0.6rem;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar */
.custom-design::-webkit-scrollbar {
    width: 6px;
}

.custom-design::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.custom-design::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.5);
    border-radius: 3px;
}

.custom-design::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.7);
}

/* E-commerce Design */
.ecommerce-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(93, 213, 200, 0.2);
}

.ecom-logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5DD5C8;
}

.ecom-search {
    flex: 1;
    max-width: 150px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 1rem;
}

.ecom-cart {
    font-size: 1rem;
}

.ecommerce-hero {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.15), rgba(102, 126, 234, 0.15));
}

.ecommerce-hero h2 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 0 0.3rem;
}

.ecommerce-hero p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.ecom-hero-btn {
    display: inline-block;
    background: #5DD5C8;
    color: #0f1419;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
}

.ecommerce-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.ecom-product-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ecom-product-card:hover {
    transform: translateY(-4px);
    border-color: #5DD5C8;
}

.ecom-product-img {
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-img-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-img-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-img-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-img-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.ecom-product-info {
    padding: 0.5rem;
}

.ecom-product-info h4 {
    font-size: 0.7rem;
    color: #fff;
    margin: 0 0 0.3rem;
}

.ecom-price {
    font-size: 0.75rem;
    color: #5DD5C8;
    font-weight: 600;
}

/* Dashboard Design */
.dashboard-sidebar {
    width: 50px;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-right: 1px solid rgba(93, 213, 200, 0.2);
}

.dash-logo {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #5DD5C8, #667eea);
    border-radius: 6px;
    margin: 0 auto;
}

.dash-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dash-menu-item {
    width: 30px;
    height: 30px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.dash-menu-item.active {
    background: rgba(93, 213, 200, 0.3);
}

.dash-menu-item:hover {
    background: rgba(93, 213, 200, 0.25);
}

.dashboard-main-content {
    flex: 1;
    padding: 1rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dashboard-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.dash-date {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(93, 213, 200, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.dash-stat-card {
    background: rgba(93, 213, 200, 0.1);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.dash-stat-card:hover {
    border-color: #5DD5C8;
    transform: translateY(-2px);
}

.dash-stat-icon {
    font-size: 1.5rem;
}

.dash-stat-info {
    display: flex;
    flex-direction: column;
}

.dash-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.dash-stat-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
}

.dashboard-chart {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 1rem;
    height: 100px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 0.4rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #5DD5C8, rgba(93, 213, 200, 0.5));
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(to top, #5DD5C8, #667eea);
}

.dashboard-mockup .mockup-content {
    display: flex;
    gap: 0;
}

/* Portfolio Design */
.portfolio-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.1), rgba(102, 126, 234, 0.1));
}

.portfolio-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5DD5C8, #667eea);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.portfolio-hero h1 {
    font-size: 1.2rem;
    color: #fff;
    margin: 0.5rem 0 0.3rem;
}

.portfolio-hero p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.project-tile {
    height: 80px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-tile:hover {
    transform: translateY(-4px);
}

.project-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-tile:hover .project-overlay {
    opacity: 1;
}

/* Corporate Design */
.corporate-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(93, 213, 200, 0.2);
}

.corp-logo {
    width: 60px;
    height: 20px;
    background: linear-gradient(90deg, #5DD5C8, #667eea);
    border-radius: 4px;
}

.corp-menu {
    display: flex;
    gap: 0.4rem;
}

.corp-menu span {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.corporate-hero {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.15), rgba(102, 126, 234, 0.15));
}

.corporate-hero h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.corporate-hero p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.corp-cta-btn {
    display: inline-block;
    background: #5DD5C8;
    color: #0f1419;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
}

.corporate-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.feature-card {
    background: rgba(93, 213, 200, 0.1);
    padding: 1rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(93, 213, 200, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #5DD5C8;
    background: rgba(93, 213, 200, 0.15);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0;
}

/* Blog Design */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(93, 213, 200, 0.2);
}

.blog-logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #5DD5C8;
}

.blog-search {
    width: 80px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.blog-featured {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    background: rgba(93, 213, 200, 0.05);
}

.blog-featured-img {
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 6px;
    flex-shrink: 0;
}

.blog-featured-content h3 {
    font-size: 0.85rem;
    color: #fff;
    margin: 0.3rem 0;
}

.blog-featured-content p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0.3rem 0;
}

.blog-category {
    font-size: 0.6rem;
    color: #5DD5C8;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-meta {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    display: flex;
    gap: 0.3rem;
}

.blog-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.blog-article-card {
    height: 60px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(93, 213, 200, 0.2);
    transition: all 0.3s ease;
}

.blog-article-card:hover {
    border-color: #5DD5C8;
    transform: translateY(-2px);
}

/* Booking Design */
.booking-header {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.1), rgba(102, 126, 234, 0.1));
}

.booking-header h2 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 0.3rem;
}

.booking-header p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.booking-search-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.input-icon {
    font-size: 0.8rem;
}

.input-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    background: #5DD5C8;
    color: #0f1419;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.booking-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-4px);
    border-color: #5DD5C8;
}

.booking-img {
    height: 60px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.booking-info {
    padding: 0.5rem;
}

.booking-info h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.3rem;
}

.price {
    font-size: 0.7rem;
    color: #5DD5C8;
    font-weight: 600;
}

/* E-commerce Mockup */
.ecommerce-mockup .nav-mock {
    height: 40px;
    background: rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.ecommerce-mockup .hero-mock {
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.15), rgba(102, 126, 234, 0.15));
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ecommerce-mockup .hero-text {
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    width: 80%;
}

.ecommerce-mockup .hero-text.short {
    width: 60%;
}

.ecommerce-mockup .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ecommerce-mockup .product-card {
    height: 80px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

/* Dashboard Mockup */
.dashboard-mockup .mockup-content {
    display: flex;
    gap: 1rem;
}

.dashboard-mockup .sidebar-mock {
    width: 60px;
    background: rgba(93, 213, 200, 0.15);
    border-radius: 8px;
}

.dashboard-mockup .dashboard-main {
    flex: 1;
}

.dashboard-mockup .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-mockup .stat-box {
    height: 60px;
    background: rgba(93, 213, 200, 0.15);
    border-radius: 8px;
}

.dashboard-mockup .chart-mock {
    height: 120px;
    background: linear-gradient(to top, rgba(93, 213, 200, 0.3) 0%, rgba(93, 213, 200, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

/* Portfolio Mockup */
.portfolio-mockup .portfolio-header {
    height: 50px;
    background: rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.portfolio-mockup .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.portfolio-mockup .portfolio-item {
    height: 100px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
}

.portfolio-mockup .portfolio-item.large {
    grid-column: 1 / -1;
    height: 120px;
}

/* Web Development Page - Reduced Size */
.ecommerce-mockup .mockup-content,
.dashboard-mockup .mockup-content,
.portfolio-mockup .mockup-content {
    font-size: 0.75rem;
    padding: 0.6rem;
}

.ecommerce-mockup .ecommerce-nav {
    padding: 0.5rem 0.8rem;
}

.ecommerce-mockup .ecom-logo {
    font-size: 0.9rem;
}

.ecommerce-mockup .ecommerce-hero {
    padding: 1rem;
}

.ecommerce-mockup .ecommerce-hero h2 {
    font-size: 1rem;
}

.ecommerce-mockup .ecommerce-hero p {
    font-size: 0.65rem;
}

.ecommerce-mockup .ecom-hero-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
}

.ecommerce-mockup .ecommerce-products {
    gap: 0.6rem;
}

.ecommerce-mockup .ecom-product-card {
    padding: 0.6rem;
}

.ecommerce-mockup .ecom-product-img {
    height: 60px;
}

.ecommerce-mockup .ecom-product-info h4 {
    font-size: 0.65rem;
}

.ecommerce-mockup .ecom-price {
    font-size: 0.7rem;
}

.dashboard-mockup .sidebar-mock {
    width: 50px;
}

.dashboard-mockup .stat-box {
    height: 50px;
    padding: 0.5rem;
}

.dashboard-mockup .chart-mock {
    height: 100px;
}

.portfolio-mockup .portfolio-header {
    height: 40px;
}

.portfolio-mockup .portfolio-item {
    height: 80px;
}

.portfolio-mockup .portfolio-item.large {
    height: 100px;
}

/* Corporate Mockup */
.corporate-mockup .corp-nav {
    height: 40px;
    background: rgba(93, 213, 200, 0.15);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.corporate-mockup .corp-hero {
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.2), rgba(102, 126, 234, 0.2));
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.corporate-mockup .corp-text {
    height: 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    width: 70%;
}

.corporate-mockup .corp-cta {
    height: 30px;
    width: 120px;
    background: #5DD5C8;
    border-radius: 6px;
}

.corporate-mockup .corp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.corporate-mockup .feature-box {
    height: 80px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 8px;
}

/* Blog Mockup */
.blog-mockup .mockup-content {
    display: flex;
    gap: 1rem;
}

.blog-mockup .blog-header {
    height: 40px;
    background: rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.blog-mockup .blog-articles {
    flex: 1;
}

.blog-mockup .article-card {
    height: 90px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

.blog-mockup .blog-sidebar {
    width: 80px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 8px;
}

/* Booking Mockup */
.booking-mockup .booking-nav {
    height: 35px;
    background: rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.booking-mockup .calendar-mock {
    height: 100px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

.booking-mockup .booking-form {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
}

.booking-mockup .form-field {
    height: 35px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 6px;
    margin-bottom: 0.8rem;
}

.booking-mockup .form-button {
    height: 40px;
    background: #5DD5C8;
    border-radius: 6px;
    width: 100px;
}

/* Mockup Info */
.mockup-info {
    padding: 1.8rem 2rem;
}

.mockup-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.mockup-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.mockup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(93, 213, 200, 0.15);
    color: #5DD5C8;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(93, 213, 200, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(93, 213, 200, 0.5);
    color: #5DD5C8;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slider-nav:hover {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(93, 213, 200, 0.5);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 5rem;
    position: relative;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(93, 213, 200, 0.3);
    border: 2px solid rgba(93, 213, 200, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(93, 213, 200, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background: #5DD5C8;
    box-shadow: 0 0 20px rgba(93, 213, 200, 0.8);
    transform: scale(1.3);
}

.view-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #5DD5C8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.view-demo-btn:hover {
    color: #fff;
    gap: 0.8rem;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

.features-section .section-title {
    color: #fff;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(93, 213, 200, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #5DD5C8;
    box-shadow: 0 10px 30px rgba(93, 213, 200, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        padding: 140px 20px 80px;
    }

    .service-title {
        font-size: 2.5rem;
    }

    .service-description {
        font-size: 1.1rem;
    }

    .mockups-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mockup-card {
        max-width: 100%;
    }

    .ecommerce-mockup .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-mockup .stats-row {
        grid-template-columns: 1fr;
    }

    .portfolio-mockup .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .corporate-mockup .corp-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    /* Corporate Features - Stack on tablet */
    .corporate-features {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    /* Booking Search Box - Stack on tablet */
    .booking-search-box {
        grid-template-columns: 1fr;
    }

    .search-button {
        padding: 0.7rem 1rem;
    }

    /* Blog Featured - Stack on tablet */
    .blog-featured {
        flex-direction: column;
    }

    .blog-featured-img {
        width: 100%;
        height: 120px;
    }

    /* E-commerce Products - 2 columns on tablet */
    .ecommerce-products {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Dashboard Stats - Stack on tablet */
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* Large tablets and small desktops (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .mockup-card {
        margin-bottom: 4rem !important;
    }

    .mockup-card:last-child {
        margin-bottom: 0 !important;
    }

    .mockups-section {
        margin-bottom: 0 !important;
        padding-bottom: 0;
        position: relative;
        z-index: 10;
    }

    .mockups-section .section-subtitle {
        position: relative;
        z-index: 200 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #5DD5C8 !important;
        color: #5DD5C8 !important;
        background: none !important;
    }


    .mockup-image {
        max-height: 400px !important;
    }

    .mockup-content {
        max-height: 350px !important;
    }

    .mockup-content.custom-design {
        max-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .mockups-section .container {
        padding: 0 1.5rem;
    }

    .mockups-section .section-subtitle {
        font-size: 1rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 2rem;
        position: relative;
        z-index: 200 !important;
        -webkit-text-fill-color: #5DD5C8 !important;
        color: #5DD5C8 !important;
        background: none !important;
    }

    .mockups-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 3rem;
        position: relative;
        z-index: 1;
    }

    .mockups-carousel {
        height: 700px;
        perspective: 1000px;
        contain: layout style paint;
        will-change: contents;
    }

    .mockups-carousel .mockups-slider .mockup-card {
        width: 90%;
        max-width: 800px;
    }

    .mockups-carousel .mockups-slider .mockup-card[data-position="0"] {
        transform: translateX(0) scale(1.05) rotateY(0deg);
    }

    .mockup-placeholder {
        aspect-ratio: unset !important;
        max-width: 100%;
        height: auto !important;
        max-height: none !important;
        min-height: auto;
    }

    /* DevOps mockups - allow natural height */
    .devops-pipeline-mockup,
    .devops-monitoring-mockup {
        aspect-ratio: unset !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }

    /* Ensure mockup card shows all content including info */
    .mockup-card {
        max-height: none !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        overflow: visible !important;
        margin-bottom: 3rem !important;
    }

    .mockup-card:last-child {
        margin-bottom: 0 !important;
    }

    .mockups-section {
        margin-bottom: 0 !important;
        padding-bottom: 3rem;
        position: relative;
        z-index: 10;
        border-bottom: none !important;
    }

    /* DevOps page needs more padding for overflow cards */
    body:has([href*="devops"]) .mockups-section,
    .devops-page .mockups-section {
        padding-bottom: 18rem;
    }

    /* Mobile apps page needs taller mockup containers */
    body:has([href*="mobile-apps"]) .mobile-frame,
    .mobile-apps-page .mobile-frame {
        height: auto !important;
        min-height: 580px !important;
    }

    body:has([href*="mobile-apps"]) .mockup-placeholder,
    .mobile-apps-page .mockup-placeholder {
        height: auto !important;
        min-height: 580px !important;
    }

    .features-section {
        margin-top: 0 !important;
        position: relative;
        z-index: 1;
        border: none !important;
        border-top: none !important;
    }

    .mockup-card {
        border: none !important;
        border-bottom: none !important;
    }

    .mockup-image {
        padding: 0.8rem 0.5rem;
        flex: 0 0 auto !important;
        max-height: 350px !important;
        height: auto;
        overflow: hidden;
    }

    .mockup-content {
        padding: 0.6rem;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 300px !important;
        height: auto;
        flex: 1 1 auto;
        -webkit-overflow-scrolling: touch;
    }

    .mockup-content.custom-design {
        padding: 0;
        font-size: 0.55rem;
        max-width: 100%;
        max-height: 300px !important;
        height: auto;
        flex: 1 1 auto;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mockup-info {
        padding: 1.5rem 1.2rem;
        flex-shrink: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1;
    }

    .browser-bar {
        padding: 0.5rem 0.7rem;
    }

    .browser-url {
        font-size: 0.7rem;
    }

    .mockup-info h3 {
        font-size: 1.5rem;
    }

    .mockup-info p {
        font-size: 1rem;
    }

    .mockup-tags {
        gap: 0.6rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    /* Reduce 3D effect on tablets */
    .mockups-carousel .mockups-slider .mockup-card[data-position="-1"] {
        transform: translateX(-95%) scale(0.7) rotateY(25deg);
    }

    .mockups-carousel .mockups-slider .mockup-card[data-position="1"] {
        transform: translateX(95%) scale(0.7) rotateY(-25deg);
    }

    /* Mobile carousel adjustments */
    .mockups-carousel-mobile {
        height: 2000px;
        perspective: 1500px;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card {
        width: 320px;
        max-width: 320px;
    }

    .mockups-carousel-mobile .mockup-image {
        padding: 1rem 0.5rem;
    }

    .mockups-carousel-mobile .mockup-info {
        padding: 1.25rem;
    }

    /* Center card */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="0"] {
        transform: translateX(0) translateZ(0) rotateY(0deg) scale(0.95);
        z-index: 10;
        opacity: 1;
    }

    /* Side cards - further away to avoid overlap */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="-1"] {
        transform: translateX(-380px) translateZ(-250px) rotateY(25deg) scale(0.7);
        z-index: 5;
        opacity: 0.6;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="1"] {
        transform: translateX(380px) translateZ(-250px) rotateY(-25deg) scale(0.7);
        z-index: 5;
        opacity: 0.6;
    }
}

/* Medium mobile devices (481px - 640px) */
@media (max-width: 640px) {
    .mockup-card {
        margin-bottom: 3rem !important;
        border: none !important;
        border-bottom: none !important;
    }

    .mockup-card:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }

    .mockups-section {
        margin-bottom: 0 !important;
        padding-bottom: 3rem;
        position: relative;
        z-index: 10;
        border-bottom: none !important;
    }

    /* DevOps page needs more padding for overflow cards */
    body:has([href*="devops"]) .mockups-section,
    .devops-page .mockups-section {
        padding-bottom: 22rem;
    }

    .features-section {
        border: none !important;
        border-top: none !important;
    }

    /* Mobile carousel adjustments for 640px */
    .mockups-carousel-mobile {
        height: 2000px;
        perspective: 1200px;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card {
        width: 280px;
        max-width: 280px;
    }

    .mockups-carousel-mobile .mockup-image {
        padding: 1rem 0.5rem;
    }

    /* Center card */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="0"] {
        transform: translateX(0) translateZ(0) rotateY(0deg) scale(0.9);
        z-index: 10;
        opacity: 1;
    }

    /* Side cards */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="-1"] {
        transform: translateX(-330px) translateZ(-200px) rotateY(20deg) scale(0.65);
        z-index: 5;
        opacity: 0.5;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="1"] {
        transform: translateX(330px) translateZ(-200px) rotateY(-20deg) scale(0.65);
        z-index: 5;
        opacity: 0.5;
    }

}

@media (max-width: 480px) {
    .mockups-section .container {
        padding: 0 1rem;
    }

    .mockups-section .section-subtitle {
        font-size: 0.85rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 200 !important;
        -webkit-text-fill-color: #5DD5C8 !important;
        color: #5DD5C8 !important;
        background: none !important;
    }

    .mockups-grid {
        gap: 0;
        margin-top: 3rem;
        position: relative;
        z-index: 1;
    }

    .mockups-carousel {
        height: 600px;
        perspective: 800px;
        contain: layout style paint;
        will-change: contents;
    }

    .mockups-carousel .mockups-slider .mockup-card {
        width: 95%;
        max-width: 100%;
    }

    .mockups-carousel .mockups-slider .mockup-card[data-position="0"] {
        transform: translateX(0) scale(1) rotateY(0deg);
    }

    .mockup-image {
        padding: 0.6rem 0.4rem;
        flex: 0 0 auto !important;
        max-height: 300px !important;
        height: auto;
        overflow: hidden;
    }

    .mockup-content {
        padding: 0.5rem;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 250px !important;
        height: auto;
        flex: 1 1 auto;
        -webkit-overflow-scrolling: touch;
    }

    .mockup-content.custom-design {
        padding: 0;
        font-size: 0.45rem;
        max-width: 100%;
        max-height: 250px !important;
        height: auto;
        flex: 1 1 auto;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mockup-info {
        flex-shrink: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10;
    }

    .browser-url {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }

    .browser-bar {
        padding: 0.4rem 0.5rem;
        gap: 0.5rem;
    }

    .browser-dots {
        padding-right: 0.5rem;
    }

    .browser-dots span {
        width: 8px;
        height: 8px;
    }

    /* DevOps mockups - allow natural height */
    .devops-pipeline-mockup,
    .devops-monitoring-mockup {
        aspect-ratio: unset !important;
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }

    .mockup-placeholder {
        aspect-ratio: unset !important;
        height: auto !important;
        max-height: none !important;
        min-height: auto;
    }

    /* Ensure mockup card shows all content including info section */
    .mockup-card {
        max-height: none !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        overflow: visible !important;
        margin-bottom: 3rem !important;
    }

    .mockup-card {
        border: none !important;
        border-bottom: none !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }

    .mockup-card:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }

    .mockups-section {
        margin-bottom: 0 !important;
        padding-bottom: 3rem;
        position: relative;
        z-index: 10;
        border-bottom: none !important;
    }

    /* DevOps page needs more padding for overflow cards */
    body:has([href*="devops"]) .mockups-section,
    .devops-page .mockups-section {
        padding-bottom: 28rem;
    }

    .features-section {
        margin-top: 0 !important;
        position: relative;
        z-index: 1;
        border: none !important;
        border-top: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .features-section .container {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .mockups-section .container {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .mockup-info {
        padding: 1rem 0.8rem;
        flex-shrink: 0;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        min-height: auto;
        z-index: 100;
        border: none !important;
        box-shadow: none !important;
    }

    .mockup-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .mockup-info p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .mockup-tags {
        gap: 0.5rem;
        display: flex !important;
    }

    .tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .slider-nav.prev {
        left: 5px;
    }

    .slider-nav.next {
        right: 5px;
    }

    .slider-dots {
        gap: 0.6rem;
        margin-top: 3rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    /* Minimal 3D effect on mobile */
    .mockups-carousel .mockups-slider .mockup-card[data-position="-1"] {
        transform: translateX(-100%) scale(0.65) rotateY(20deg);
        opacity: 0.5;
    }

    .mockups-carousel .mockups-slider .mockup-card[data-position="1"] {
        transform: translateX(100%) scale(0.65) rotateY(-20deg);
        opacity: 0.5;
    }

    /* Mobile carousel adjustments for small screens */
    .mockups-carousel-mobile {
        height: 2000px;
        perspective: 1000px;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card {
        width: 260px;
        max-width: 260px;
    }

    .mockups-carousel-mobile .mockup-image {
        padding: 0.8rem 0.4rem;
    }

    .mockups-carousel-mobile .mockup-info {
        padding: 1rem;
    }

    /* Center card */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="0"] {
        transform: translateX(0) translateZ(0) rotateY(0deg) scale(0.85);
        z-index: 10;
        opacity: 1;
    }

    /* Side cards - pushed further to avoid overlap */
    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="-1"] {
        transform: translateX(-300px) translateZ(-180px) rotateY(18deg) scale(0.6);
        z-index: 5;
        opacity: 0.4;
    }

    .mockups-carousel-mobile .mockups-slider .mockup-card[data-position="1"] {
        transform: translateX(300px) translateZ(-180px) rotateY(-18deg) scale(0.6);
        z-index: 5;
        opacity: 0.4;
    }
}

    .ecommerce-mockup .products-grid {
        grid-template-columns: 1fr;
    }

    .website-screenshot {
        min-height: 250px;
    }

    .screenshot-wrapper {
        min-height: 250px;
    }

    /* Portfolio Projects - Single column on mobile */
    .portfolio-projects {
        grid-template-columns: 1fr;
    }

    .project-tile {
        height: 100px;
    }

    /* Corporate Hero - Adjust padding */
    .corporate-hero {
        padding: 1.5rem 1rem;
    }

    .corporate-hero h2 {
        font-size: 1.1rem;
    }

    /* Blog Articles - Single column on mobile */
    .blog-articles {
        grid-template-columns: 1fr;
    }

    /* Booking Results - Single column on mobile */
    .booking-results {
        grid-template-columns: 1fr;
    }

    .booking-card {
        display: flex;
        gap: 0.8rem;
    }

    .booking-img {
        width: 100px;
        height: auto;
    }

    .booking-info {
        flex: 1;
    }

    /* Booking Header - Adjust text sizes */
    .booking-header h2 {
        font-size: 1rem;
    }

    .booking-header p {
        font-size: 0.65rem;
    }
}

/* ===== CLOUD SOLUTIONS SPECIFIC STYLES ===== */

/* Cloud Serverless Architecture */
.cloud-diagram {
    padding: 1rem;
}

.cloud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(93, 213, 200, 0.2);
}

.cloud-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.cloud-badge {
    background: rgba(255, 153, 0, 0.2);
    color: #ff9900;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.cloud-architecture {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cloud-layer {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cloud-component {
    background: rgba(93, 213, 200, 0.1);
    border: 1px solid rgba(93, 213, 200, 0.3);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
}

.cloud-component:hover {
    transform: translateY(-3px);
    border-color: #5DD5C8;
    box-shadow: 0 5px 15px rgba(93, 213, 200, 0.3);
}

.cloud-component.api-gateway {
    border-color: rgba(102, 126, 234, 0.5);
}

.cloud-component.lambda {
    border-color: rgba(255, 153, 0, 0.5);
}

.cloud-component.dynamodb {
    border-color: rgba(102, 126, 234, 0.5);
}

.cloud-component.s3 {
    border-color: rgba(93, 213, 200, 0.5);
}

.component-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.cloud-component span {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.cloud-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
}

.metric-item {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #5DD5C8;
    margin-bottom: 0.3rem;
}

.metric-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Kubernetes Dashboard */
.k8s-dashboard {
    display: flex;
    height: 100%;
    min-height: 300px;
}

.k8s-sidebar {
    width: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(93, 213, 200, 0.2);
    padding: 1rem 0.5rem;
}

.k8s-logo {
    font-size: 2rem;
    text-align: center;
    color: #5DD5C8;
    margin-bottom: 1.5rem;
}

.k8s-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.k8s-menu-item {
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.k8s-menu-item.active {
    background: rgba(93, 213, 200, 0.2);
    color: #5DD5C8;
}

.k8s-menu-item:hover {
    background: rgba(93, 213, 200, 0.15);
}

.k8s-main {
    flex: 1;
    padding: 1rem;
}

.k8s-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.k8s-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.k8s-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}

.status-dot.active {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.k8s-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.k8s-stat-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
}

.stat-icon {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-bar {
    height: 4px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #5DD5C8, #667eea);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.k8s-pods-list {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
}

.pod-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    margin-bottom: 0.4rem;
    background: rgba(93, 213, 200, 0.05);
    border-radius: 4px;
}

.pod-item:last-child {
    margin-bottom: 0;
}

.pod-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pod-status.running {
    background: #4ade80;
}

.pod-name {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.pod-ready {
    font-size: 0.65rem;
    color: #5DD5C8;
    font-weight: 600;
}

/* CI/CD Pipeline */
.cicd-container {
    padding: 1.5rem;
}

.cicd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cicd-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.pipeline-status {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pipeline-status.success {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(93, 213, 200, 0.1);
    border: 2px solid rgba(93, 213, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.pipeline-stage.completed .stage-icon {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    color: #4ade80;
}

.pipeline-stage.active .stage-icon {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
    color: #5DD5C8;
    animation: pulse 2s ease-in-out infinite;
}

.stage-info {
    text-align: center;
}

.stage-name {
    display: block;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.stage-time {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.pipeline-connector {
    width: 30px;
    height: 2px;
    background: rgba(93, 213, 200, 0.3);
}

.cicd-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(93, 213, 200, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
}

/* Multi-Region Map */
.global-map {
    padding: 1.5rem;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.map-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.health-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.health-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

.world-map {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    height: 180px;
    margin-bottom: 1.5rem;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(93, 213, 200, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

.region {
    position: absolute;
}

.region.us-east {
    top: 35%;
    left: 25%;
}

.region.us-west {
    top: 40%;
    left: 15%;
}

.region.eu-west {
    top: 30%;
    left: 48%;
}

.region.asia-pacific {
    top: 50%;
    left: 75%;
}

.region-marker {
    position: relative;
    cursor: pointer;
}

.region-marker::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #5DD5C8;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 15px rgba(93, 213, 200, 0.6);
}

.region-marker.active::before {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.marker-ping {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(93, 213, 200, 0.4);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.region-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(93, 213, 200, 0.3);
    white-space: nowrap;
    margin-bottom: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.region-marker:hover .region-tooltip {
    opacity: 1;
}

.region-tooltip strong {
    display: block;
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.region-tooltip span {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.region-tooltip .latency {
    color: #5DD5C8;
    font-weight: 600;
    margin-top: 0.2rem;
}

.region-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-box {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #5DD5C8;
    margin-bottom: 0.3rem;
}

.stat-text {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Cloud Monitoring Dashboard */
.monitoring-dashboard {
    padding: 1.5rem;
}

.monitoring-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.monitoring-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.time-range {
    background: rgba(93, 213, 200, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.monitoring-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.metric-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.metric-chart {
    margin-bottom: 0.8rem;
}

.line-chart {
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, rgba(93, 213, 200, 0.3) 0%, rgba(93, 213, 200, 0.1) 100%);
    clip-path: polygon(
        0% 60%, 10% 45%, 20% 50%, 30% 30%, 40% 35%,
        50% 20%, 60% 25%, 70% 15%, 80% 30%, 90% 25%, 100% 10%,
        100% 100%, 0% 100%
    );
}

.cpu-chart .chart-line {
    clip-path: polygon(
        0% 60%, 10% 45%, 20% 50%, 30% 30%, 40% 35%,
        50% 20%, 60% 25%, 70% 15%, 80% 30%, 90% 25%, 100% 10%,
        100% 100%, 0% 100%
    );
}

.memory-chart .chart-line {
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.3) 0%, rgba(102, 126, 234, 0.1) 100%);
    clip-path: polygon(
        0% 40%, 10% 35%, 20% 45%, 30% 30%, 40% 38%,
        50% 25%, 60% 30%, 70% 20%, 80% 35%, 90% 28%, 100% 15%,
        100% 100%, 0% 100%
    );
}

.metric-current {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.current-trend {
    font-size: 0.7rem;
    font-weight: 600;
}

.current-trend.up {
    color: #4ade80;
}

.current-trend.down {
    color: #f87171;
}

.monitoring-alerts {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.alert-item:last-child {
    margin-bottom: 0;
}

.alert-item.info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-item.success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.alert-icon {
    font-size: 1rem;
}

.alert-text {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.alert-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Cloud Migration Dashboard */
.migration-dashboard {
    padding: 1.5rem;
}

.migration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.migration-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.migration-phase {
    background: rgba(93, 213, 200, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.65rem;
    color: #5DD5C8;
    font-weight: 600;
}

.migration-progress-bar {
    background: rgba(0, 0, 0, 0.3);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5DD5C8, #667eea);
    border-radius: 6px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.progress-percent {
    font-size: 0.6rem;
    color: #fff;
    font-weight: 700;
}

.migration-stages {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.migration-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.migration-stage.completed {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
}

.migration-stage.active {
    border-color: #5DD5C8;
    background: rgba(93, 213, 200, 0.1);
}

.stage-check {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: rgba(93, 213, 200, 0.1);
    border: 2px solid rgba(93, 213, 200, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.migration-stage.completed .stage-check {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    color: #4ade80;
}

.migration-stage.active .stage-check {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
    color: #5DD5C8;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stage-content {
    flex: 1;
}

.stage-content h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.2rem;
    font-weight: 600;
}

.stage-content p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.migration-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.migration-stat {
    text-align: center;
}

.migration-stat .stat-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.migration-stat .stat-value {
    display: block;
    font-size: 0.8rem;
    color: #5DD5C8;
    font-weight: 700;
}

/* Responsive adjustments for cloud solutions */
@media (max-width: 768px) {
    .cloud-layer {
        flex-direction: column;
        align-items: center;
    }

    .cloud-metrics {
        grid-template-columns: 1fr;
    }

    .k8s-dashboard {
        flex-direction: column;
    }

    .k8s-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(93, 213, 200, 0.2);
        padding: 0.8rem;
    }

    .k8s-menu {
        flex-direction: row;
        justify-content: center;
    }

    .k8s-stats {
        grid-template-columns: 1fr;
    }

    .pipeline-flow {
        flex-direction: column;
    }

    .pipeline-connector {
        width: 2px;
        height: 20px;
    }

    .region-stats {
        grid-template-columns: 1fr;
    }

    .monitoring-metrics {
        grid-template-columns: 1fr;
    }

    .migration-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE APPS SPECIFIC STYLES ===== */

/* Mobile Phone Frame */
.mockup-card:has(.mobile-fitness-mockup),
.mockup-card:has(.mobile-food-mockup),
.mockup-card:has(.mobile-banking-mockup),
.mockup-card:has(.mobile-finance-mockup),
.mockup-card:has(.mobile-social-mockup) {
    overflow: visible !important;
    height: auto !important;
}

.mobile-fitness-mockup,
.mobile-food-mockup,
.mobile-banking-mockup,
.mobile-finance-mockup,
.mobile-social-mockup {
    aspect-ratio: unset !important;
    height: auto !important;
    display: block !important;
}

.mobile-fitness-mockup ~ *,
.mobile-food-mockup ~ *,
.mobile-banking-mockup ~ *,
.mobile-finance-mockup ~ *,
.mobile-social-mockup ~ * {
    flex: none !important;
}

div:has(> .mobile-frame) {
    flex: none !important;
    align-items: flex-start !important;
    height: auto !important;
}

.mobile-frame {
    width: 350px;
    height: 750px;
    background: #1a1f2e;
    border-radius: 40px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 10px solid #2d3748;
    margin: 0 auto;
    position: relative;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 28px;
    background: #2d3748;
    border-radius: 0 0 22px 22px;
    z-index: 10;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-statusbar {
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 0.3rem;
    font-size: 0.7rem;
}

.mobile-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.mobile-content::-webkit-scrollbar {
    width: 3px;
}

.mobile-content::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-content::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.3);
    border-radius: 2px;
}

.mobile-content::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.5);
}

.mobile-navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(93, 213, 200, 0.1);
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.nav-item.active {
    opacity: 1;
}

/* Fitness App Styles */
.fitness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.fitness-header h2 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.date-badge {
    background: rgba(93, 213, 200, 0.2);
    color: #5DD5C8;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.6rem;
    font-weight: 600;
}

.fitness-stats-ring {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.activity-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #5DD5C8 0deg 270deg,
        rgba(93, 213, 200, 0.2) 270deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.activity-ring::before {
    content: '';
    position: absolute;
    width: 95px;
    height: 95px;
    background: #1a1f2e;
    border-radius: 50%;
}

.ring-center {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ring-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.ring-label {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
}

.fitness-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.metric-box {
    background: rgba(93, 213, 200, 0.1);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    text-align: center;
}

.metric-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.metric-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.metric-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.metric-unit {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.6);
}

.fitness-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 70px;
    gap: 0.25rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem;
    border-radius: 12px;
}

.fitness-chart .chart-bar {
    flex: 1;
    background: linear-gradient(to top, #5DD5C8, rgba(93, 213, 200, 0.5));
    border-radius: 4px 4px 0 0;
    min-height: 20%;
}

/* Food Delivery App Styles */
.food-header {
    margin-bottom: 0.8rem;
}

.location-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
}

.location-icon {
    font-size: 0.9rem;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

.search-icon {
    font-size: 0.9rem;
}

.search-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.food-categories {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.category-chip {
    background: rgba(93, 213, 200, 0.1);
    border: 1px solid rgba(93, 213, 200, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-chip.active {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
    color: #5DD5C8;
}

.food-restaurants {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.restaurant-card {
    display: flex;
    gap: 0.6rem;
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.restaurant-card:hover {
    transform: translateY(-2px);
    border-color: #5DD5C8;
}

.restaurant-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.restaurant-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.1), rgba(0, 217, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.restaurant-card:hover .restaurant-image::before {
    opacity: 1;
}

.food-img-1 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ff6b6b" width="100" height="100"/><circle cx="50" cy="50" r="30" fill="%23ee5a24"/><circle cx="35" cy="40" r="8" fill="%23feca57"/><circle cx="65" cy="40" r="8" fill="%23feca57"/><circle cx="50" cy="55" r="8" fill="%23feca57"/><path d="M30 65 Q50 75 70 65" stroke="%23ffd93d" stroke-width="3" fill="none"/><text x="50" y="30" font-size="20" text-anchor="middle" fill="white">🍕</text></svg>');
    background-size: cover;
}

.food-img-2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%23feca57"/><stop offset="100%25" style="stop-color:%23ff9ff3"/></linearGradient></defs><rect fill="url(%23grad1)" width="100" height="100"/><circle cx="50" cy="45" r="25" fill="%23ee5a6b"/><rect x="40" y="60" width="20" height="25" rx="3" fill="%23ffd93d"/><circle cx="35" cy="40" r="4" fill="%23ff6348"/><circle cx="50" cy="35" r="4" fill="%2395e1d3"/><circle cx="65" cy="40" r="4" fill="%2395e1d3"/><text x="50" y="35" font-size="24" text-anchor="middle">🍔</text></svg>');
    background-size: cover;
}

.restaurant-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.restaurant-info h4 {
    font-size: 0.8rem;
    color: #fff;
    margin: 0 0 0.25rem;
}

.restaurant-meta {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.restaurant-meta .rating {
    color: #feca57;
}

.restaurant-meta .dot {
    opacity: 0.5;
}

/* Banking App Styles */
.banking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.greeting h3 {
    font-size: 0.85rem;
    color: #fff;
    margin: 0 0 0.15rem;
}

.greeting p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.notification-icon {
    font-size: 1.2rem;
}

.banking-card {
    background: linear-gradient(135deg, #5DD5C8, #667eea);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(93, 213, 200, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-type {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.card-logo {
    font-size: 1.3rem;
}

.card-balance {
    margin-bottom: 1rem;
}

.balance-label {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.balance-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.card-number {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
}

.banking-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.action-icon {
    width: 40px;
    height: 40px;
    background: rgba(93, 213, 200, 0.1);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.action-btn:hover .action-icon {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
}

.action-btn span {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.banking-transactions {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
}

.banking-transactions h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.6rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(93, 213, 200, 0.1);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-icon {
    width: 32px;
    height: 32px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.transaction-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.transaction-name {
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0.15rem;
}

.transaction-date {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.transaction-amount {
    font-size: 0.75rem;
    font-weight: 700;
}

.transaction-amount.positive {
    color: #4ade80;
}

.transaction-amount.negative {
    color: #f87171;
}

/* Social Media App Styles */
.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.social-header h2 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 0.6rem;
    font-size: 1.1rem;
}

.social-stories {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
    overflow: hidden;
    flex-wrap: nowrap;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.story-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid #5DD5C8;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.story-1 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%235DD5C8"/><stop offset="100%25" style="stop-color:%23667eea"/></linearGradient></defs><rect fill="url(%23grad1)" width="100" height="100"/><circle cx="50" cy="40" r="20" fill="%23fff" opacity="0.3"/><circle cx="40" cy="60" r="8" fill="%23fff" opacity="0.2"/><circle cx="60" cy="65" r="6" fill="%23fff" opacity="0.2"/><text x="50" y="60" font-size="40" text-anchor="middle" fill="white">👤</text></svg>');
    background-size: cover;
}

.story-2 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad2" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%23f093fb"/><stop offset="100%25" style="stop-color:%23f5576c"/></linearGradient></defs><rect fill="url(%23grad2)" width="100" height="100"/><circle cx="50" cy="40" r="18" fill="%23fff" opacity="0.3"/><circle cx="35" cy="65" r="10" fill="%23fff" opacity="0.2"/><circle cx="65" cy="70" r="8" fill="%23fff" opacity="0.2"/><text x="50" y="60" font-size="40" text-anchor="middle" fill="white">👩</text></svg>');
    background-size: cover;
}

.story-3 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad3" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%234facfe"/><stop offset="100%25" style="stop-color:%2300f2fe"/></linearGradient></defs><rect fill="url(%23grad3)" width="100" height="100"/><circle cx="50" cy="35" r="15" fill="%23fff" opacity="0.3"/><path d="M25 70 Q50 80 75 70" fill="%23fff" opacity="0.2"/><text x="50" y="60" font-size="40" text-anchor="middle" fill="white">👨</text></svg>');
    background-size: cover;
}

.story-4 {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="grad4" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%2343e97b"/><stop offset="100%25" style="stop-color:%2338f9d7"/></linearGradient></defs><rect fill="url(%23grad4)" width="100" height="100"/><circle cx="50" cy="38" r="16" fill="%23fff" opacity="0.3"/><ellipse cx="50" cy="70" rx="25" ry="18" fill="%23fff" opacity="0.2"/><text x="50" y="60" font-size="40" text-anchor="middle" fill="white">👧</text></svg>');
    background-size: cover;
}

.story-name {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-posts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    overflow: hidden;
}

.post-item {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
}

.post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="avatargrad" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%235DD5C8"/><stop offset="100%25" style="stop-color:%23667eea"/></linearGradient></defs><rect fill="url(%23avatargrad)" width="100" height="100"/><circle cx="50" cy="35" r="18" fill="%23fff" opacity="0.4"/><ellipse cx="50" cy="75" rx="28" ry="20" fill="%23fff" opacity="0.4"/><text x="50" y="58" font-size="42" text-anchor="middle" fill="white">😊</text></svg>');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid rgba(93, 213, 200, 0.3);
}

.post-user-info {
    display: flex;
    flex-direction: column;
}

.post-username {
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
}

.post-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.post-image {
    width: 100%;
    height: 130px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="postgrad" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%23667eea"/><stop offset="100%25" style="stop-color:%23764ba2"/></linearGradient></defs><rect fill="url(%23postgrad)" width="400" height="200"/><circle cx="100" cy="60" r="25" fill="%23ffd93d" opacity="0.6"/><rect x="50" y="100" width="300" height="80" rx="10" fill="%23fff" opacity="0.2"/><circle cx="320" cy="40" r="15" fill="%23ff6b6b" opacity="0.5"/><path d="M 20 150 Q 100 120 200 140 T 380 150" stroke="%23fff" stroke-width="3" fill="none" opacity="0.3"/><text x="200" y="110" font-size="60" text-anchor="middle" fill="white" opacity="0.4">📸</text></svg>');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

.post-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3));
}

.post-actions {
    display: flex;
    gap: 1.2rem;
    padding: 0.6rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.post-actions span {
    cursor: pointer;
    transition: color 0.3s ease;
}

.post-actions span:hover {
    color: #5DD5C8;
}

/* Responsive adjustments for mobile apps */
@media (max-width: 768px) {
    .mobile-frame {
        width: 260px;
        height: 580px;
    }

    .mobile-content {
        padding: 0.8rem;
    }

    .fitness-stats-ring {
        margin-bottom: 1rem;
    }

    .activity-ring {
        width: 120px;
        height: 120px;
    }

    .activity-ring::before {
        width: 95px;
        height: 95px;
    }

    .ring-value {
        font-size: 1.3rem;
    }

    .banking-card {
        padding: 1rem;
    }

    .balance-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mobile-frame {
        width: 240px;
        height: 520px;
        border: 6px solid #2d3748;
        padding: 10px;
    }

    .mobile-content {
        padding: 0.6rem;
    }

    .activity-ring {
        width: 100px;
        height: 100px;
    }

    .activity-ring::before {
        width: 80px;
        height: 80px;
    }

    .fitness-metrics {
        gap: 0.4rem;
    }

    .metric-box {
        padding: 0.6rem;
    }

    .banking-actions {
        gap: 0.6rem;
    }

    .action-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== AI & MACHINE LEARNING SPECIFIC STYLES ===== */

/* Computer Vision System */
.ai-vision-container {
    padding: 1.5rem;
}

.vision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vision-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.vision-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(74, 222, 128, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.vision-display {
    margin-bottom: 1.5rem;
}

.video-feed {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(26, 31, 46, 0.8) 100%);
    border-radius: 12px;
    height: 200px;
    overflow: hidden;
    border: 1px solid rgba(93, 213, 200, 0.2);
    background-image:
        linear-gradient(90deg, rgba(93, 213, 200, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(93, 213, 200, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.detection-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.detection-box {
    position: absolute;
    border: 2px solid;
    border-radius: 4px;
    animation: pulse-border 2s ease-in-out infinite;
}

.box-1 {
    top: 20%;
    left: 15%;
    width: 80px;
    height: 120px;
    border-color: #5DD5C8;
}

.box-2 {
    top: 40%;
    right: 20%;
    width: 100px;
    height: 60px;
    border-color: #667eea;
}

.box-3 {
    bottom: 15%;
    left: 40%;
    width: 60px;
    height: 80px;
    border-color: #f093fb;
}

@keyframes pulse-border {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.box-label {
    position: absolute;
    top: -25px;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

.vision-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vision-stat-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.vision-stat-card:hover {
    border-color: #5DD5C8;
    transform: translateY(-2px);
}

.vision-stat-card .stat-icon {
    font-size: 1.8rem;
}

.vision-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.vision-stat-card .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.vision-stat-card .stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.detection-log {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.detection-log h4 {
    font-size: 0.8rem;
    color: #fff;
    margin: 0 0 0.8rem;
}

.log-entries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.log-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(93, 213, 200, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(93, 213, 200, 0.1);
}

.log-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.log-object {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1rem;
}

.log-confidence {
    font-size: 0.7rem;
    color: #5DD5C8;
    font-weight: 600;
}

/* Predictive Analytics Dashboard */
.ai-analytics-container {
    padding: 1.5rem;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.analytics-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.model-selector {
    display: flex;
    gap: 0.5rem;
}

.model-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.prediction-display {
    margin-bottom: 1.5rem;
}

.prediction-card {
    background: linear-gradient(135deg, rgba(93, 213, 200, 0.1), rgba(102, 126, 234, 0.1));
    border: 1px solid rgba(93, 213, 200, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
}

.prediction-card h4 {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prediction-value {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.predicted-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.prediction-trend {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.prediction-trend.up {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.prediction-trend.down {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.confidence-bar {
    height: 6px;
    background: rgba(93, 213, 200, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #5DD5C8, #667eea);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.confidence-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.analytics-chart {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.chart-header {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.prediction-chart {
    position: relative;
}

.chart-line-area {
    height: 100px;
    margin-bottom: 0.5rem;
}

.chart-line-area svg {
    width: 100%;
    height: 100%;
}

.historical-line {
    filter: drop-shadow(0 0 4px rgba(93, 213, 200, 0.5));
}

.predicted-line {
    filter: drop-shadow(0 0 4px rgba(102, 126, 234, 0.5));
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
}

.model-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: rgba(93, 213, 200, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(93, 213, 200, 0.2);
}

.metric-item {
    text-align: center;
}

.metric-item .metric-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.metric-item .metric-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5DD5C8;
}

/* Responsive adjustments for AI/ML */
@media (max-width: 768px) {
    .vision-stats {
        grid-template-columns: 1fr;
    }

    .model-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-feed {
        height: 180px;
    }

    .box-1 {
        width: 60px;
        height: 90px;
    }

    .box-2 {
        width: 80px;
        height: 50px;
    }

    .box-3 {
        width: 50px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .vision-stats {
        gap: 0.6rem;
    }

    .vision-stat-card {
        padding: 0.8rem;
    }

    .model-metrics {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .prediction-value {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .predicted-amount {
        font-size: 1.5rem;
    }
}

/* ===== CYBERSECURITY SPECIFIC STYLES ===== */

/* Security Operations Center (SOC) */
.soc-container {
    padding: 0.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
}

.soc-container::-webkit-scrollbar {
    width: 6px;
}

.soc-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.soc-container::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.5);
    border-radius: 3px;
}

.soc-container::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.7);
}

.soc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.soc-header h3 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0;
}

.security-status {
    display: flex;
    align-items: center;
}

.security-level {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
}

.security-level.high-alert {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
    animation: pulse-alert 2s ease-in-out infinite;
}

@keyframes pulse-alert {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.threat-overview {
    flex-shrink: 0;
    max-height: 30%;
}

.threat-map {
    position: relative;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    overflow: hidden;
}

.map-background {
    position: relative;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(248, 113, 113, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(251, 146, 60, 0.05) 0%, transparent 50%);
}

.threat-marker {
    position: absolute;
    cursor: pointer;
}

.marker-1 {
    top: 25%;
    left: 20%;
}

.marker-2 {
    top: 50%;
    right: 25%;
}

.marker-3 {
    bottom: 20%;
    left: 60%;
}

.threat-marker::before {
    content: '';
    width: 14px;
    height: 14px;
    background: #f87171;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.8);
}

.marker-ping {
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.4);
    animation: ping-alert 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-alert {
    75%, 100% {
        transform: scale(3);
        opacity: 0;
    }
}

.threat-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.threat-marker:hover .threat-tooltip {
    opacity: 1;
}

.threat-tooltip strong {
    display: block;
    font-size: 0.7rem;
    color: #f87171;
    margin-bottom: 0.2rem;
}

.threat-tooltip span {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.security-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    flex-shrink: 0;
}

.security-metric-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    padding: 0.7rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-metric-card.critical {
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.05);
}

.security-metric-card.warning {
    border-color: rgba(251, 146, 60, 0.3);
    background: rgba(251, 146, 60, 0.05);
}

.security-metric-card.blocked {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
}

.security-metric-card:hover {
    transform: translateY(-3px);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.metric-header .metric-icon {
    font-size: 1.5rem;
}

.metric-header .metric-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.security-metric-card .metric-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.threat-feed {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.threat-feed h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.6rem;
    flex-shrink: 0;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.feed-items::-webkit-scrollbar {
    width: 4px;
}

.feed-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.feed-items::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.5);
    border-radius: 2px;
}

.feed-items::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.7);
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.feed-item.critical {
    background: rgba(248, 113, 113, 0.05);
    border-color: rgba(248, 113, 113, 0.3);
}

.feed-item.warning {
    background: rgba(251, 146, 60, 0.05);
    border-color: rgba(251, 146, 60, 0.3);
}

.feed-item.info {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.feed-item:hover {
    transform: translateX(5px);
}

.feed-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-item.critical .feed-indicator {
    background: #f87171;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.6);
}

.feed-item.warning .feed-indicator {
    background: #fb923c;
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.6);
}

.feed-item.info .feed-indicator {
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feed-title {
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.feed-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.feed-severity {
    font-size: 0.65rem;
    font-weight: 600;
}

.feed-item.critical .feed-severity {
    color: #f87171;
}

.feed-item.warning .feed-severity {
    color: #fb923c;
}

.feed-item.info .feed-severity {
    color: #3b82f6;
}

/* Vulnerability Assessment Dashboard */
.vuln-container {
    padding: 0.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    overflow: hidden;
}

.vuln-container::-webkit-scrollbar {
    width: 6px;
}

.vuln-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.vuln-container::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.5);
    border-radius: 3px;
}

.vuln-container::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.7);
}

.vuln-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.vuln-header h3 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0;
}

.scan-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
}

.status-dot.scanning {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5DD5C8;
    animation: pulse 2s ease-in-out infinite;
}

.risk-score-card {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.05), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
}

.score-circle {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.score-circle svg {
    width: 100%;
    height: 100%;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f87171;
    line-height: 1;
}

.score-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.score-info {
    flex: 1;
}

.risk-level {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.risk-level.high {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.score-info p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.vulnerability-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    flex-shrink: 0;
}

.vulnerability-breakdown h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.6rem;
}

.vuln-bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vuln-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vuln-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vuln-severity {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

.vuln-severity.critical {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.vuln-severity.high {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.vuln-severity.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.vuln-severity.low {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.vuln-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.vuln-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.vuln-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.vuln-bar-fill.critical {
    background: linear-gradient(90deg, #f87171, #ef4444);
}

.vuln-bar-fill.high {
    background: linear-gradient(90deg, #fb923c, #f97316);
}

.vuln-bar-fill.medium {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.vuln-bar-fill.low {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.top-vulnerabilities {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-vulnerabilities h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0 0 0.6rem;
    flex-shrink: 0;
}

.vuln-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.vuln-list::-webkit-scrollbar {
    width: 4px;
}

.vuln-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.vuln-list::-webkit-scrollbar-thumb {
    background: rgba(93, 213, 200, 0.5);
    border-radius: 2px;
}

.vuln-list::-webkit-scrollbar-thumb:hover {
    background: rgba(93, 213, 200, 0.7);
}

.vuln-list-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vuln-list-item:hover {
    border-color: #5DD5C8;
    transform: translateX(5px);
}

.vuln-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vuln-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vuln-name {
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.vuln-location {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.vuln-cvss {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f87171;
    padding: 0.2rem 0.6rem;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 6px;
}

/* Responsive adjustments for Cybersecurity */
@media (max-width: 768px) {
    .soc-container,
    .vuln-container {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .security-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .security-metric-card {
        padding: 0.6rem;
    }

    .threat-map {
        height: 100px;
    }

    .threat-marker {
        width: 30px;
        height: 30px;
    }

    .risk-score-card {
        flex-direction: column;
        text-align: center;
        padding: 0.6rem;
    }

    .score-circle {
        margin: 0 auto;
        width: 70px;
        height: 70px;
    }

    .score-number {
        font-size: 0.8rem !important;
    }

    .score-label {
        font-size: 0.45rem !important;
    }

    .feed-item,
    .vuln-list-item {
        padding: 0.5rem;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .mockups-grid {
        height: 550px;
    }

    .soc-container,
    .vuln-container {
        padding: 0.5rem;
        gap: 0.4rem;
        font-size: 0.55rem;
    }

    .soc-header h3,
    .vuln-header h3 {
        font-size: 0.65rem;
    }

    .security-metrics {
        gap: 0.4rem;
    }

    .security-metric-card {
        padding: 0.5rem;
    }

    .metric-count {
        font-size: 1rem;
    }

    .metric-label {
        font-size: 0.5rem;
    }

    .threat-map {
        height: 80px;
    }

    .threat-marker {
        width: 25px;
        height: 25px;
    }

    .threat-tooltip {
        font-size: 0.5rem;
        padding: 0.3rem;
    }

    .score-circle {
        width: 50px !important;
        height: 50px !important;
    }

    .score-number {
        font-size: 0.65rem !important;
    }

    .score-label {
        font-size: 0.35rem !important;
    }

    .feed-item,
    .vuln-list-item {
        padding: 0.4rem;
        gap: 0.5rem;
    }

    .feed-title,
    .vuln-name {
        font-size: 0.55rem;
    }

    .feed-time,
    .vuln-location {
        font-size: 0.5rem;
    }

    .vuln-bar {
        height: 4px;
    }

    .browser-bar {
        padding: 0.4rem 0.6rem;
        gap: 0.6rem;
    }

    .browser-dots span {
        width: 8px;
        height: 8px;
    }

    .browser-url {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .security-metric-card {
        padding: 0.8rem;
    }

    .metric-header .metric-count {
        font-size: 1.3rem;
    }

    .score-circle {
        width: 70px !important;
        height: 70px !important;
    }

    .score-number {
        font-size: 0.9rem !important;
    }

    /* Mobile apps page needs taller mockup containers at 480px */
    body:has([href*="mobile-apps"]) .mobile-frame,
    .mobile-apps-page .mobile-frame {
        height: auto !important;
        min-height: 520px !important;
    }

    body:has([href*="mobile-apps"]) .mockup-placeholder,
    .mobile-apps-page .mockup-placeholder {
        height: auto !important;
        min-height: 520px !important;
    }
}

/* ===== DEVOPS SPECIFIC STYLES ===== */

/* CI/CD Pipeline Dashboard */
.devops-pipeline-container {
    padding: 1.5rem;
}

.pipeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pipeline-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.pipeline-actions {
    display: flex;
    gap: 0.5rem;
}

.action-button {
    background: linear-gradient(135deg, #5DD5C8, #667eea);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 213, 200, 0.4);
}

.pipeline-visualization {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow-x: auto;
}

.pipeline-stage {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 150px;
}

.stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid;
    transition: all 0.3s ease;
}

.pipeline-stage.success .stage-icon {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    color: #4ade80;
}

.pipeline-stage.running .stage-icon {
    background: rgba(93, 213, 200, 0.2);
    border-color: #5DD5C8;
    color: #5DD5C8;
    animation: spin 2s linear infinite;
}

.pipeline-stage.pending .stage-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.pipeline-stage.failed .stage-icon {
    background: rgba(248, 113, 113, 0.2);
    border-color: #f87171;
    color: #f87171;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stage-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stage-content h4 {
    font-size: 0.75rem;
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.stage-status {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.stage-duration {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

.stage-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.pipeline-stage:last-child .stage-arrow {
    display: none;
}

.deployment-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.deploy-stat-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.deploy-stat-card:hover {
    border-color: #5DD5C8;
    transform: translateY(-3px);
}

.deploy-stat-card .stat-icon {
    font-size: 1.8rem;
}

.deploy-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.deploy-stat-card .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.deploy-stat-card .stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.recent-deployments {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.recent-deployments h4 {
    font-size: 0.8rem;
    color: #fff;
    margin: 0 0 0.8rem;
}

.deployment-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.deployment-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid;
    transition: all 0.3s ease;
}

.deployment-item.success {
    background: rgba(74, 222, 128, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
}

.deployment-item.failed {
    background: rgba(248, 113, 113, 0.05);
    border-color: rgba(248, 113, 113, 0.3);
}

.deployment-item:hover {
    transform: translateX(5px);
}

.deploy-status {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.deployment-item.success .deploy-status {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.deployment-item.failed .deploy-status {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.deploy-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.deploy-branch {
    font-size: 0.65rem;
    color: #5DD5C8;
    font-family: monospace;
    font-weight: 600;
}

.deploy-commit {
    font-size: 0.7rem;
    color: #fff;
}

.deploy-time {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
}

.deploy-env {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
}

.deploy-env.production {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.deploy-env.staging {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.deploy-env.development {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Infrastructure Monitoring Dashboard */
.devops-monitoring-container {
    padding: 1.5rem;
}

.monitoring-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.monitoring-header h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
}

.health-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 600;
}

.health-status.all-systems-operational {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.health-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s ease-in-out infinite;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.server-card {
    background: rgba(93, 213, 200, 0.05);
    border: 1px solid rgba(93, 213, 200, 0.2);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.server-card.healthy {
    border-color: rgba(74, 222, 128, 0.3);
}

.server-card.warning {
    border-color: rgba(251, 146, 60, 0.3);
    background: rgba(251, 146, 60, 0.05);
}

.server-card.critical {
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.05);
}

.server-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(93, 213, 200, 0.2);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.server-icon {
    font-size: 1.5rem;
}

.server-name {
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
}

.server-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.metric-row .metric-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    width: 35px;
}

.metric-row .metric-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.metric-fill.cpu {
    background: linear-gradient(90deg, #5DD5C8, #667eea);
}

.metric-fill.ram {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.metric-fill.disk {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.metric-row .metric-value {
    font-size: 0.65rem;
    color: #fff;
    font-weight: 600;
    width: 40px;
    text-align: right;
}

.server-status {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    text-align: center;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    font-weight: 600;
}

.server-status.warning {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.server-status.critical {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.infrastructure-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 12px;
}

.infra-metric {
    text-align: center;
}

.infra-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.infra-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #5DD5C8;
}

/* Responsive adjustments for DevOps */
@media (max-width: 768px) {
    /* DevOps Pipeline Container */
    .devops-pipeline-container {
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pipeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        width: 100%;
    }

    .pipeline-header h3 {
        font-size: 0.85rem;
    }

    .action-button {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }

    /* Pipeline Visualization */
    .pipeline-visualization {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.8rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .pipeline-stage {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        gap: 0.6rem;
        box-sizing: border-box;
    }

    .stage-content h4 {
        font-size: 0.7rem;
    }

    .stage-status {
        font-size: 0.6rem;
    }

    .stage-duration {
        font-size: 0.55rem;
    }

    .stage-arrow {
        transform: rotate(90deg);
        margin: 0.3rem 0;
        font-size: 1.2rem;
    }

    /* Deployment Stats */
    .deployment-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .deploy-stat-card {
        padding: 0.9rem;
    }

    .deploy-stat-card .stat-icon {
        font-size: 1.5rem;
    }

    .deploy-stat-card .stat-value {
        font-size: 1rem;
    }

    .deploy-stat-card .stat-label {
        font-size: 0.6rem;
    }

    /* Recent Deployments */
    .recent-deployments {
        padding: 0.8rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .recent-deployments h4 {
        font-size: 0.75rem;
    }

    .deployment-list {
        width: 100%;
    }

    .deployment-item {
        padding: 0.7rem;
        gap: 0.6rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .deploy-status {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }

    .deploy-branch {
        font-size: 0.6rem;
    }

    .deploy-commit {
        font-size: 0.6rem;
    }

    .deploy-time {
        font-size: 0.55rem;
    }

    .deploy-env {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }

    /* Server Grid */
    .server-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        width: 100%;
        max-width: 100%;
    }

    .server-card {
        padding: 0.9rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .server-header {
        gap: 0.5rem;
    }

    .server-icon {
        font-size: 1.3rem;
    }

    .server-name {
        font-size: 0.75rem;
    }

    .metric-label {
        font-size: 0.65rem;
        min-width: 35px;
    }

    .metric-value {
        font-size: 0.65rem;
        min-width: 35px;
    }

    .server-status {
        font-size: 0.65rem;
    }

    /* Infrastructure Metrics */
    .infrastructure-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .infra-metric {
        padding: 0.7rem;
    }

    .infra-label {
        font-size: 0.6rem;
    }

    .infra-value {
        font-size: 0.9rem;
    }

    /* Monitoring Container */
    .devops-monitoring-container {
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .monitoring-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .monitoring-header h3 {
        font-size: 0.85rem;
    }

    .health-status {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    /* DevOps Pipeline Container */
    .devops-pipeline-container {
        padding: 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .pipeline-header {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .pipeline-header h3 {
        font-size: 0.65rem;
        word-wrap: break-word;
        margin: 0;
    }

    .action-button {
        font-size: 0.5rem;
        padding: 0.25rem 0.5rem;
    }

    /* Pipeline Stage */
    .pipeline-stage {
        min-width: unset;
        width: 100%;
        gap: 0.4rem;
    }

    .stage-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .stage-content {
        gap: 0.1rem;
    }

    .stage-content h4 {
        font-size: 0.55rem;
    }

    .stage-status {
        font-size: 0.48rem;
    }

    .stage-duration {
        font-size: 0.45rem;
    }

    .stage-arrow {
        font-size: 0.9rem;
        margin: 0.15rem 0;
    }

    /* Pipeline Visualization */
    .pipeline-visualization {
        padding: 0.6rem;
        gap: 0.4rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Deployment Stats */
    .deployment-stats {
        gap: 0.5rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .deploy-stat-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .deploy-stat-card .stat-icon {
        font-size: 1.1rem;
    }

    .deploy-stat-card .stat-info {
        gap: 0.1rem;
    }

    .deploy-stat-card .stat-value {
        font-size: 0.75rem;
    }

    .deploy-stat-card .stat-label {
        font-size: 0.48rem;
        white-space: nowrap;
    }

    /* Recent Deployments */
    .recent-deployments {
        padding: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .recent-deployments h4 {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .deployment-list {
        width: 100%;
        gap: 0.4rem;
    }

    .deployment-item {
        padding: 0.4rem;
        gap: 0.4rem;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .deploy-status {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .deploy-info {
        flex: 1;
        min-width: 0;
        gap: 0.1rem;
    }

    .deploy-branch {
        font-size: 0.48rem;
    }

    .deploy-commit {
        font-size: 0.48rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .deploy-time {
        font-size: 0.45rem;
    }

    .deploy-env {
        font-size: 0.45rem;
        padding: 0.12rem 0.3rem;
    }

    /* Server Grid */
    .server-grid {
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .server-card {
        padding: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .server-header {
        margin-bottom: 0.5rem;
    }

    .server-icon {
        font-size: 1rem;
    }

    .server-name {
        font-size: 0.6rem;
    }

    .server-metrics {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }

    .metric-row {
        gap: 0.3rem;
    }

    .metric-label {
        font-size: 0.5rem;
        min-width: 28px;
    }

    .metric-value {
        font-size: 0.5rem;
        min-width: 28px;
    }

    .metric-bar {
        height: 4px;
    }

    .server-status {
        font-size: 0.52rem;
        padding: 0.25rem 0;
    }

    /* Infrastructure Metrics */
    .infrastructure-metrics {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .infra-metric {
        padding: 0.5rem;
    }

    .infra-label {
        font-size: 0.48rem;
    }

    .infra-value {
        font-size: 0.75rem;
    }

    /* Monitoring Container */
    .devops-monitoring-container {
        padding: 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .monitoring-header {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    .monitoring-header h3 {
        font-size: 0.65rem;
        word-wrap: break-word;
        margin: 0 0 0.4rem;
    }

    .health-status {
        font-size: 0.52rem;
        padding: 0.25rem 0.5rem;
    }

    .status-dot {
        width: 5px;
        height: 5px;
    }
}

/* Service Page - Smaller Logo and Reduced Top Padding */
.navbar {
    top: 10px;
}

.logo {
    padding: 0.4rem 0.8rem;
}

.logo img {
    height: 32px;
}

.nav-wrapper {
    padding: 0.8rem 0;
}

.nav-wrapper.sticky-nav-wrapper {
    padding: 0.6rem 0;
}

.nav-wrapper.sticky-nav-wrapper .logo {
    padding: 0.3rem 0.6rem;
}

.nav-wrapper.sticky-nav-wrapper .logo img {
    height: 28px;
}

/* Desktop - Larger logo for service pages */
@media (min-width: 769px) {
    .logo {
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 38px;
    }

    .nav-wrapper {
        padding: 1rem 0;
    }

    .nav-wrapper.sticky-nav-wrapper {
        padding: 0.8rem 0;
    }

    .nav-wrapper.sticky-nav-wrapper .logo {
        padding: 0.4rem 0.8rem;
        left: -12.75rem;
    }

    .nav-wrapper.sticky-nav-wrapper .logo img {
        height: 35px;
    }
}
