/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

html {
    scroll-snap-type: none;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    cursor: default;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
}

/* Cursor Override - Only allow pointer, default, and grab/grabbing */
* {
    cursor: inherit;
}

/* Override text cursor to default */
p, h1, h2, h3, h4, h5, h6, span, div, li, label, input, textarea {
    cursor: default !important;
}

/* Allow pointer for clickable elements */
a, button, [role="button"], .clickable {
    cursor: pointer !important;
}

/* Force pointer cursor for cards and all their children */
.work-featured-card,
.work-featured-card *,
.testimonials-slide,
.testimonials-slide *,
.service-item,
.service-item * {
    cursor: pointer !important;
}

/* Splash Cursor Effect - Above Grain/Grid, Below Content */
#splash-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

/* Following splash cursor */
.splash-follow {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 140, 140, 0.2) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* Click ripple effect */
.splash-click-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: ripple-expand 1s ease-out forwards;
}

@keyframes ripple-expand {
    0% {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Pixel Trail Effect - Foreground Layer */
#pixel-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.pixel-trail {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(160, 160, 160, 0.068);
    border-radius: 2px;
    pointer-events: none;
    animation: pixel-fade 0.6s ease-out forwards;
}

@keyframes pixel-fade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Sale Banner */
.sale-banner {
    position: absolute;
    top: calc(2rem + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #ececec 100%);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.sale-banner:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #e5e5e5 100%);
    transform: translateX(-50%) translateY(2px);
    color: #000;
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.15);
}

.sale-banner i {
    font-size: 1.2rem;
    color: #000;
}

.sale-banner .ri-fire-fill {
    animation: fire-pulse 1.5s ease-in-out infinite;
}

@keyframes fire-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.sale-banner-close {
    position: absolute;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.sale-banner-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.sale-banner-close i {
    font-size: 1rem;
    color: #000;
}

/* Grain Overlay - Completely Redone */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    overflow: hidden;
}

.grain-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    background-size: 4px 4px;
    animation: grain-animation 0.5s steps(4) infinite;
}

.grain-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, transparent 0%, rgba(255, 255, 255, 0.015) 100%),
        radial-gradient(circle at 80% 70%, transparent 0%, rgba(255, 255, 255, 0.02) 100%),
        radial-gradient(circle at 40% 80%, transparent 0%, rgba(255, 255, 255, 0.01) 100%);
    filter: contrast(150%) brightness(110%);
    mix-blend-mode: screen;
}

@keyframes grain-animation {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, -2px); }
    100% { transform: translate(2px, 2px); }
}

/* Blob Background */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
}

.blob-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(80px);
    z-index: 2;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 20%;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.12) 0%, transparent 70%);
    top: 60%;
    right: 15%;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180, 180, 180, 0.13) 0%, transparent 70%);
    top: 40%;
    left: 50%;
}

.blob-5 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.11) 0%, transparent 70%);
    bottom: 10%;
    right: 30%;
}

/* Glass Effect */
.section {
    position: relative;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 900;
    background: transparent;
}

.nav-right {
    position: fixed;
    top: calc(2rem + 10px);
    right: 4rem;
    z-index: 1001;
}

.nav-logo {
    position: fixed;
    top: calc(2rem + 10px);
    left: 4rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-white);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 4px 20px rgba(0, 0, 0, 0.9), 0 6px 30px rgba(0, 0, 0, 0.8);
}

.nav-logo .logo-image {
    height: 1.2rem;
    width: auto;
    object-fit: contain;
}

.nav-available-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-available-status.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-left {
    position: fixed;
    bottom: 2rem;
    right: 4rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-cta {
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 4px 20px rgba(0, 0, 0, 0.9), 0 6px 30px rgba(0, 0, 0, 0.8);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== FULLSCREEN MENU - COMPLETE REDESIGN ===== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    overflow: hidden;
}

.fullscreen-menu.active {
    visibility: visible;
}

/* Animated Background Panels - Slide in from sides */
.menu-bg-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-bg-left {
    left: 0;
    transform-origin: left;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.05) 0%,
        rgba(15, 15, 15, 1) 50%);
}

.menu-bg-right {
    right: 0;
    transform-origin: right;
    background: linear-gradient(135deg,
        rgba(15, 15, 15, 1) 50%,
        rgba(168, 85, 247, 0.05) 100%);
}

.fullscreen-menu.active .menu-bg-panel {
    transform: scaleX(1);
}

.fullscreen-menu.active .menu-bg-left {
    transition-delay: 0s;
}

.fullscreen-menu.active .menu-bg-right {
    transition-delay: 0.1s;
}

/* Grid pattern overlay */
.fullscreen-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
    pointer-events: none;
    z-index: 1;
}

.fullscreen-menu.active::before {
    opacity: 1;
}

/* Close Button - Enhanced Design */
.menu-close {
    position: fixed;
    top: 3rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fullscreen-menu.active .menu-close {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.close-icon {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.menu-close:hover .close-icon {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-color);
    transform: rotate(90deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.close-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-line:nth-child(1) {
    transform: rotate(45deg);
}

.close-line:nth-child(2) {
    transform: rotate(-45deg);
}

.menu-close:hover .close-line {
    background: var(--text-white);
}

.close-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.menu-close:hover .close-text {
    opacity: 1;
    color: var(--accent-color);
}

/* Menu Content Container */
.menu-content {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    margin: 0;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

/* Left Side - Main Navigation (50%) */
.menu-main-section {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: auto;
    align-items: flex-start;
}

.menu-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 400;
    padding: 1rem 2rem;
    overflow: visible;
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.fullscreen-menu.active .menu-link {
    opacity: 1;
    transform: translateX(0);
}

.fullscreen-menu.active .menu-link:nth-child(1) { transition-delay: 0.3s; }
.fullscreen-menu.active .menu-link:nth-child(2) { transition-delay: 0.4s; }
.fullscreen-menu.active .menu-link:nth-child(3) { transition-delay: 0.5s; }
.fullscreen-menu.active .menu-link:nth-child(4) { transition-delay: 0.6s; }
.fullscreen-menu.active .menu-link:nth-child(5) { transition-delay: 0.7s; }

/* Menu link background effect - Hidden */
.menu-link-bg {
    display: none;
}

.menu-link-text {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: pre-wrap;
}

/* Menu Character Spans */
.menu-char {
    display: inline-block;
    transform-origin: center center;
    transition: font-variation-settings 0.15s ease-out;
    font-variation-settings: 'wght' 100;
    word-spacing: normal;
}

/* Index number before text */
.menu-link::before {
    content: attr(data-index);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    margin-right: 2rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.menu-link:hover::before {
    color: var(--accent-color);
}

.menu-link:hover .menu-link-text,
.menu-link:hover .menu-char {
    color: var(--accent-color);
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Menu Has Submenu */
.menu-link-has-submenu {
    justify-content: flex-start;
}

.menu-submenu-icon {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.menu-link-has-submenu:hover .menu-submenu-icon,
.menu-link-has-submenu.active .menu-submenu-icon {
    color: var(--accent-color);
    transform: rotate(45deg);
}

/* Right Side - Submenu Section (50%) */
.menu-submenu-section {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.menu-submenu-container {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Show submenu when active class is added by JavaScript */
.menu-submenu-container.active {
    opacity: 1;
    transform: translateX(0);
}

/* Submenu Styles */
.menu-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-submenu-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    opacity: 0.7;
    cursor: pointer;
}

.menu-submenu-link:hover,
.menu-submenu-link:hover .menu-char {
    color: var(--accent-color);
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
    opacity: 1;
}

.menu-submenu-link:hover .menu-submenu-index {
    color: var(--accent-color);
}


/* Exit Animations */
.fullscreen-menu.exiting .menu-bg-panel {
    transform: scaleX(0);
    transition-delay: 0.4s;
}

.fullscreen-menu.exiting .menu-link {
    opacity: 0;
    transform: translateX(-80px);
    transition-duration: 0.4s;
}

.fullscreen-menu.exiting .menu-link:nth-child(1) { transition-delay: 0.3s; }
.fullscreen-menu.exiting .menu-link:nth-child(2) { transition-delay: 0.25s; }
.fullscreen-menu.exiting .menu-link:nth-child(3) { transition-delay: 0.2s; }
.fullscreen-menu.exiting .menu-link:nth-child(4) { transition-delay: 0.15s; }
.fullscreen-menu.exiting .menu-link:nth-child(5) { transition-delay: 0.1s; }

.fullscreen-menu.exiting .menu-info-section {
    opacity: 0;
    transform: translateX(60px);
    transition-delay: 0.2s;
}

.fullscreen-menu.exiting .menu-close {
    opacity: 0;
    transform: translateY(-20px);
    transition-delay: 0s;
}

.fullscreen-menu.exiting::before {
    opacity: 0;
    transition-delay: 0s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .menu-content {
        padding: 0 3rem;
    }

    .menu-link {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
    }
}

@media (max-width: 768px) {
    .menu-close {
        top: 1.5rem;
        right: 1.5rem;
    }

    .close-icon {
        width: 44px;
        height: 44px;
    }

    .close-text {
        display: none;
    }

    .menu-info-section {
        padding: 2rem;
    }

    .menu-submenu-container {
        position: fixed;
        right: auto;
        left: 50%;
        margin-right: 0;
        top: auto;
        bottom: 2rem;
        transform: translateX(-50%) translateY(20px);
    }

    .menu-submenu-container.active {
        transform: translateX(-50%) translateY(0);
    }

    .menu-submenu {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 1rem;
    }

    .menu-submenu-link {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .menu-content {
        padding: 4rem 1.5rem;
    }

    .menu-link {
        font-size: clamp(2rem, 10vw, 3rem);
        padding: 0.75rem 1rem;
    }

    .menu-link::before {
        margin-right: 1rem;
        font-size: 0.65rem;
    }

    .close-icon {
        width: 40px;
        height: 40px;
    }

    .menu-info-section {
        gap: 2rem;
        padding: 1.5rem;
    }

    .menu-info-items {
        gap: 1.5rem;
    }

    .menu-info-link {
        padding: 1.25rem;
    }
}

/* Page Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.page-transition-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #1a1a1a;
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-transition-left {
    left: 0;
    transform-origin: left;
    background: #1a1a1a;
}

.page-transition-right {
    right: 0;
    transform-origin: right;
    background: #1a1a1a;
}

/* Loading state - panels cover screen on page load */
.page-transition.loading .page-transition-panel {
    transform: scaleX(1);
    transition: none;
}

/* Active state - panels slide in (for navigation) */
.page-transition.active .page-transition-panel {
    transform: scaleX(1);
}

.page-transition.active .page-transition-left {
    transition-delay: 0s;
}

.page-transition.active .page-transition-right {
    transition-delay: 0.15s;
}

/* Exit state - panels slide out */
.page-transition.exit .page-transition-panel {
    transform: scaleX(0);
}

.page-transition.exit .page-transition-left {
    transform-origin: right;
    transition-delay: 0.15s;
}

.page-transition.exit .page-transition-right {
    transform-origin: left;
    transition-delay: 0s;
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.section {
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    overflow: visible;
    justify-content: center;
    scroll-snap-align: start;
    padding: 14rem 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* Section Moving Orbs */
.section-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.orb-about {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    animation: orb-float-1 20s ease-in-out infinite;
    top: 20%;
    right: 10%;
}

.orb-services {
    background: radial-gradient(circle, rgba(200, 200, 200, 0.2) 0%, transparent 70%);
    animation: orb-float-2 25s ease-in-out infinite;
    bottom: 15%;
    left: 15%;
}

.orb-work {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
    animation: orb-float-3 22s ease-in-out infinite;
    top: 30%;
    left: 10%;
}

.orb-contact {
    background: radial-gradient(circle, rgba(220, 220, 220, 0.18) 0%, transparent 70%);
    animation: orb-float-4 28s ease-in-out infinite;
    top: 25%;
    right: 20%;
}

@keyframes orb-float-1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-50px, 60px);
    }
    50% {
        transform: translate(40px, -40px);
    }
    75% {
        transform: translate(-30px, -50px);
    }
}

@keyframes orb-float-2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(60px, -50px);
    }
    50% {
        transform: translate(-40px, 50px);
    }
    75% {
        transform: translate(50px, 30px);
    }
}

@keyframes orb-float-3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-45px, -55px);
    }
    50% {
        transform: translate(55px, 45px);
    }
    75% {
        transform: translate(-35px, 60px);
    }
}

@keyframes orb-float-4 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, 50px);
    }
    50% {
        transform: translate(-55px, -45px);
    }
    75% {
        transform: translate(45px, -55px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    padding-left: 4rem;
    padding-right: 6rem;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* Hero-specific Blurred Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
    z-index: 2;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    top: 20%;
    left: 15%;
    animation: hero-blob-float-1 25s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.18) 0%, transparent 70%);
    top: 60%;
    left: 40%;
    animation: hero-blob-float-2 30s ease-in-out infinite 5s;
}

.hero-blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
    top: 35%;
    right: 20%;
    animation: hero-blob-float-3 28s ease-in-out infinite 10s;
}

@keyframes hero-blob-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 40px) scale(1.05);
    }
    66% {
        transform: translate(20px, -30px) scale(0.95);
    }
}

@keyframes hero-blob-float-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -25px) scale(1.08);
    }
    66% {
        transform: translate(-35px, 30px) scale(0.92);
    }
}

@keyframes hero-blob-float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-25px, -40px) scale(0.98);
    }
    66% {
        transform: translate(35px, 35px) scale(1.06);
    }
}

/* Letter Glitch Background */
.letter-glitch-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 70%);
}

.letter-glitch-bg .glitch-letter {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 28px;
    color: rgba(180, 180, 180, 0.2);
    font-weight: 600;
    pointer-events: none;
    top: 0;
    will-change: transform, opacity;
    filter: blur(5px);
}

.hero-content {
    width: 50%;
    max-width: 50%;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'outfit', serif;
    font-size: clamp(2.8rem, 8.5vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    opacity: 1;
}

/* Hero Meta Information */
.hero-meta {
    position: absolute;
    bottom: calc(2rem + 1px);
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 1;
    z-index: 10;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item-available {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 400;
}

.meta-value-single {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 400;
}

.meta-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

.meta-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.cta-button.primary {
    background: white;
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.4);
    transform: scale(1.05) translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Vertical Carousel */
.vertical-carousel {
    position: relative;
    width: 50%;
    max-width: 50%;
    height: 80vh;
    overflow: visible;
    z-index: 1;
    flex-shrink: 0;
    transform: rotate(15deg) skewY(-2deg) scale(1.05) translateX(5%);
    transform-origin: center center;
    border-radius: 30px;
    background: transparent;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: carousel-scroll 15s linear infinite;
    overflow: visible;
    padding: 2rem 0;
    background: transparent;
}

@keyframes carousel-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.carousel-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    opacity: 0;
    animation: carousel-fade-in 0.8s ease-out forwards;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 10px 25px rgba(0, 0, 0, 0.7), 0 5px 10px rgba(0, 0, 0, 0.6);
}

@keyframes carousel-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-card:hover {
    transform: scale(1.05) skewY(-2deg);
    z-index: 100;
    opacity: 1;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 1), 0 30px 60px rgba(0, 0, 0, 0.95), 0 15px 30px rgba(0, 0, 0, 0.9);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-card:hover img {
    filter: grayscale(0%);
}

.carousel-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-card:hover .carousel-card-overlay {
    opacity: 1;
}

.carousel-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.carousel-card-overlay p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* About Section */
.about {
    position: relative;
}

/* Curved Text Loop */
.curved-text-container {
    position: absolute;
    left: 0rem;
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    z-index: 1;
    opacity: 0.3;
}

.curved-text-svg {
    width: 100%;
    height: 100%;
    animation: rotate-curved-text 30s linear infinite;
}

@keyframes rotate-curved-text {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.curved-text {
    fill: rgba(255, 255, 255, 0.15);
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.curved-text textPath {
    letter-spacing: inherit;
}

/* Testimonials Curved Text */
.testimonials-curved-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    z-index: 9999;
    opacity: 0.4;
    pointer-events: none;
}

.testimonials-curved-text .curved-text {
    font-size: 37.4px;
    letter-spacing: 0.15em;
}

.about-content {
    max-width: 1400px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.about-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.08),
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    position: relative;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(200, 200, 200, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.15),
        0 0 100px rgba(255, 255, 255, 0.08),
        0 20px 80px rgba(0, 0, 0, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.2);
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.about-card > * {
    position: relative;
    z-index: 1;
}

.about-card:hover::before {
    opacity: 0.1;
}

.about-card:hover::after {
    opacity: 1;
}

.about-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.about-cta-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Services Section - Full Width List */
.services {
    flex-direction: column;
    padding: 14rem 6rem;
    overflow: visible !important;
    justify-content: center;
    position: relative;
}

.services-content {
    max-width: 1400px;
    width: 100%;
    overflow: visible;
}

.services-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 700px;
    margin-bottom: 3rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    position: relative;
    padding-bottom: 2rem;
}

/* Hide accordion by default - only shown on medium devices (769px-1024px) */
.services-accordion {
    display: none;
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    filter: blur(0px);
    opacity: 1;
}

/* Subtle hover effect */
.service-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Service Content Area */
.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
    position: relative;
    min-height: 140px;
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    color: #fff;
}

.service-item:hover .service-title {
    color: rgba(255, 255, 255, 0.95);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.service-item:hover .service-description {
    color: rgba(255, 255, 255, 0.75);
}

/* Service Showcase Preview Container */
.service-showcase-preview {
    width: 100%;
    height: auto;
    min-height: 360px;
    position: relative;
    overflow: visible;
    background: transparent;
    border-top: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 2rem;
}

/* Force showcases visible and properly sized inside cards */
.service-showcase-preview .brand-identity-showcase,
.service-showcase-preview .graphic-design-showcase,
.service-showcase-preview .uiux-design-showcase,
.service-showcase-preview .copywriting-showcase,
.service-showcase-preview .web-design-showcase,
.service-showcase-preview .product-dev-showcase {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.service-item:hover .service-showcase-preview .brand-identity-showcase,
.service-item:hover .service-showcase-preview .graphic-design-showcase,
.service-item:hover .service-showcase-preview .uiux-design-showcase,
.service-item:hover .service-showcase-preview .copywriting-showcase,
.service-item:hover .service-showcase-preview .web-design-showcase,
.service-item:hover .service-showcase-preview .product-dev-showcase {
    transform: scale(1.02);
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-image-text {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    z-index: 2;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* All Showcases - Memory Optimization */
[class$="-showcase"] {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

/* Brand Identity Showcase - 50/50 Split */
/* PowerPoint Interface */
.brand-identity-showcase {
    width: 640px;
    height: 360px;
    background: #272727;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.brand-identity-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

@keyframes showcase-fade-in {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* PowerPoint Ribbon */
.ppt-ribbon {
    height: 50px;
    background: linear-gradient(180deg, #2d2d2d 0%, #252525 100%);
    border-bottom: 1px solid #404040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    animation: ribbon-slide-down 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes ribbon-slide-down {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.ppt-tabs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ppt-tab {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    color: #b0b0b0;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    animation: tab-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.ppt-tab:nth-child(1) { animation-delay: 0.1s; }
.ppt-tab:nth-child(2) { animation-delay: 0.15s; }
.ppt-tab:nth-child(3) { animation-delay: 0.2s; }
.ppt-tab:nth-child(4) { animation-delay: 0.25s; }
.ppt-tab:nth-child(5) { animation-delay: 0.3s; }

@keyframes tab-pop {
    0% {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.ppt-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.ppt-tab.active {
    background: #1a1a1a;
    color: #c43e1c;
    border-bottom: 2px solid #c43e1c;
    font-weight: 500;
}

.ppt-tools {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ppt-tools i {
    font-size: 1rem;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: tool-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.ppt-tools i:nth-child(1) { animation-delay: 0.35s; }
.ppt-tools i:nth-child(2) { animation-delay: 0.4s; }
.ppt-tools i:nth-child(3) { animation-delay: 0.45s; }

@keyframes tool-pop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.ppt-tools i:hover {
    transform: scale(1.15);
    color: #c43e1c;
}

/* PowerPoint Main Area */
.ppt-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Slide Thumbnails Panel */
.ppt-slides-panel {
    width: 140px;
    background: #1e1e1e;
    border-right: 1px solid #404040;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    animation: slides-panel-slide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
    transform-style: preserve-3d;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.ppt-slides-panel::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

@keyframes slides-panel-slide {
    0% {
        transform: perspective(600px) rotateY(-45deg) translateX(-100px);
        opacity: 0;
    }
    60% {
        transform: perspective(600px) rotateY(5deg) translateX(10px);
    }
    100% {
        transform: perspective(600px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.ppt-slide-thumb {
    background: #2d2d2d;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    animation: thumb-cascade 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
    transform-style: preserve-3d;
}

.ppt-slide-thumb:nth-child(1) { animation-delay: 0.5s; }
.ppt-slide-thumb:nth-child(2) { animation-delay: 0.6s; }
.ppt-slide-thumb:nth-child(3) { animation-delay: 0.7s; }
.ppt-slide-thumb:nth-child(4) { animation-delay: 0.8s; }

@keyframes thumb-cascade {
    0% {
        transform: perspective(400px) rotateX(-90deg) translateY(30px) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: perspective(400px) rotateX(10deg) translateY(-5px) scale(1.05);
    }
    100% {
        transform: perspective(400px) rotateX(0deg) translateY(0) scale(1);
        opacity: 1;
    }
}

.ppt-slide-thumb:hover {
    transform: scale(1.05) translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ppt-slide-thumb.active {
    border-color: #c43e1c;
    box-shadow: 0 2px 8px rgba(196, 62, 28, 0.3);
}

.thumb-content {
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    overflow: hidden;
}

.thumb-logo {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    animation: thumb-logo-spin 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s backwards;
}

@keyframes thumb-logo-spin {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.15) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.thumb-text {
    width: 60%;
    height: 3px;
    background: #c0c0c0;
    border-radius: 2px;
    animation: thumb-text-expand 0.4s ease-out 1s backwards;
}

@keyframes thumb-text-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60%;
        opacity: 1;
    }
}

.slide-number {
    font-family: 'Outfit', sans-serif;
    font-size: 0.625rem;
    color: #666;
    text-align: center;
    margin-top: 0.25rem;
    animation: fade-in 0.3s ease-out 1.1s backwards;
}

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Main Slide View */
.ppt-slide-view {
    flex: 1;
    background: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: slide-view-zoom 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
    overflow: hidden;
}

@keyframes slide-view-zoom {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    60% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ppt-slide-canvas {
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

/* Slide Elements */
.ppt-slide-element {
    animation: element-fade-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards;
}

@keyframes element-fade-up {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Centered Slide Content */
.slide-content-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.slide-blue-square {
    width: clamp(200px, 50%, 400px);
    height: clamp(192px, 48%, 384px);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
    animation: square-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s backwards,
               square-float 4s ease-in-out infinite 2.5s;
}

@keyframes square-bounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes square-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.slide-placeholder-line {
    width: clamp(250px, 60%, 500px);
    height: 10px;
    background: linear-gradient(90deg, #d0d0d0 0%, #e5e5e5 100%);
    border-radius: 5px;
    animation: placeholder-expand 0.6s ease-out 1.6s backwards;
    position: relative;
    overflow: hidden;
}

.slide-placeholder-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: line-shimmer 2.5s ease-in-out infinite 2s;
}

@keyframes placeholder-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: clamp(250px, 60%, 500px);
        opacity: 1;
    }
}

@keyframes line-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.color-1 { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); }
.color-2 { background: linear-gradient(135deg, #c43e1c 0%, #e84a24 100%); }
.color-3 { background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }
/* Notes Panel */
.ppt-notes-panel {
    height: 60px;
    background: #1e1e1e;
    border-top: 1px solid #404040;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: notes-panel-slide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

@keyframes notes-panel-slide {
    0% {
        transform: translateY(60px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.notes-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b0b0b0;
    animation: fade-in 0.4s ease-out 0.8s backwards;
    flex-shrink: 0;
}

.notes-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.note-line {
    height: 6px;
    background: #d1d1d1;
    border-radius: 3px;
    animation: note-line-expand 0.5s ease-out 1s backwards;
}

@keyframes note-line-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

.note-line.short {
    width: 40%;
    max-width: 300px;
}

.notes-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b0b0b0;
    flex-shrink: 0;
}

/* Thumbnail Content Styles */
.thumb-title {
    width: 80%;
    height: 4px;
    background: #c0c0c0;
    border-radius: 2px;
    margin-bottom: 0.25rem;
}

.thumb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 100%;
    height: 20px;
}

.thumb-grid::before,
.thumb-grid::after {
    content: '';
    background: #808080;
    border-radius: 2px;
}

.thumb-colors {
    display: flex;
    gap: 2px;
    width: 80%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.thumb-colors::before,
.thumb-colors::after {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background: #c43e1c;
}

.thumb-colors::after {
    background: #3b82f6;
}

/* Main Slide Canvas Styles */
.slide-title {
    text-align: center;
}

.slide-title .placeholder-line {
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.brand-logo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.color-palette {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Color utility classes for PowerPoint thumbnails */
.color-bg-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

.color-bg-2 {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
}

.color-bg-3 {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
}

.color-bg-4 {
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 100%) !important;
}

.color-bg-5 {
    background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%) !important;
}

/* ===== GRAPHIC DESIGN SHOWCASE - PHOTOSHOP INTERFACE ===== */
.graphic-design-showcase {
    width: 640px;
    height: 360px;
    background: #2b2b2b;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.graphic-design-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Top Menu Bar */
.ps-menu-bar {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #404040;
}

.ps-menu-items {
    display: flex;
    gap: 1.5rem;
}

.ps-menu-item {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ps-menu-item:hover {
    color: #ffffff;
}

/* Main Content */
.ps-main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Logo Showcase */
@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Typography Showcase */
@keyframes font-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Color Showcase */
@keyframes tool-bounce {
    0%, 100% {
        transform: translateY(-6px) scale(1.15) rotate(10deg);
    }
    50% {
        transform: translateY(-12px) scale(1.2) rotate(10deg);
    }
}

/* Placeholder Lines for Wireframe Aesthetic */
/* Scoped to only apply within service showcases to avoid conflicts with hero text */
.service-hover-image .placeholder-line,
.brand-identity-showcase .placeholder-line,
.vs-control .placeholder-line,
.zoom-info .placeholder-line,
.participant-name .placeholder-line {
    height: 4px;
    background: linear-gradient(90deg, #d0d0d0 0%, #e5e5e5 100%);
    border-radius: 2px;
    margin: 0.25rem 0;
    position: relative;
    overflow: hidden;
}

.service-hover-image .placeholder-line::after,
.brand-identity-showcase .placeholder-line::after,
.vs-control .placeholder-line::after,
.zoom-info .placeholder-line::after,
.participant-name .placeholder-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: line-shimmer 2.5s ease-in-out infinite;
}

@keyframes line-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.line-tiny {
    width: 40px;
}

.line-medium {
    width: 280px;
}

/* Title placeholder - tallest */
.line-title {
    height: 8px;
}

/* Subtitle placeholder - slightly taller */
/* Paragraph placeholder - taller than default but shorter than title/subtitle */
@keyframes logo-pulse-rotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
    }
    25% {
        transform: scale(1.05) rotate(5deg);
        box-shadow: 0 6px 24px rgba(30, 58, 138, 0.5);
    }
    50% {
        transform: scale(1.08) rotate(0deg);
        box-shadow: 0 8px 28px rgba(30, 58, 138, 0.6);
    }
    75% {
        transform: scale(1.05) rotate(-5deg);
        box-shadow: 0 6px 24px rgba(30, 58, 138, 0.5);
    }
}.color-1 .color-2 {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.color-2 .color-3 {
    background: #666666;
}

.graphic-design-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Top Menu Bar */
.ps-menu-bar {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #404040;
}

.ps-menu-items {
    display: flex;
    gap: 1.5rem;
}

.ps-menu-item {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ps-menu-item:hover {
    color: #ffffff;
}

/* Main Content */
.ps-main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Toolbar */
.ps-toolbar {
    width: 50px;
    background: #1f1f1f;
    border-right: 1px solid #404040;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.ps-tool {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-tool:hover, .ps-tool.active {
    background: #2b2b2b;
    color: #ffffff;
}

.ps-tool i {
    font-size: 1.1rem;
}

/* Canvas Area */
.ps-canvas-area {
    flex: 1;
    background: #353535;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.ps-canvas {
    background: #ffffff;
    width: 80%;
    height: 80%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-gentle 4s ease-in-out infinite;
}

.ps-logo-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-shape {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text .placeholder-line {
    height: 12px;
    width: 80px;
}

/* Transform Handles */
.transform-handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1e40af;
    border: 1px solid #ffffff;
    z-index: 10;
}

.handle-tl { top: -4px; left: -4px; cursor: default; }
.handle-tr { top: -4px; right: -4px; cursor: default; }
.handle-bl { bottom: -4px; left: -4px; cursor: default; }
.handle-br { bottom: -4px; right: -4px; cursor: default; }

.transform-border {
    position: absolute;
    inset: -2px;
    border: 2px solid #1e40af;
    pointer-events: none;
    animation: border-pulse 2s ease-in-out infinite;
}

@keyframes border-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Right Panels */
.ps-panels {
    width: 280px;
    background: #262626;
    border-left: 1px solid #404040;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ps-panel {
    background: #2b2b2b;
}

.ps-panel-header {
    padding: 0.75rem 1rem;
    background: #1f1f1f;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ps-panel-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ps-layer {
    padding: 0.5rem;
    background: #353535;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ps-layer:hover {
    background: #404040;
}

.ps-layer.active {
    background: #1e40af;
}

.ps-layer i {
    font-size: 0.9rem;
    color: #9ca3af;
}

.ps-layer.active i {
    color: #ffffff;
}

.layer-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #e0e0e0;
}

.ps-property {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prop-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    color: #9ca3af;
    text-transform: uppercase;
}

.prop-slider {
    height: 4px;
    background: #353535;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: #1e40af;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Bottom Bar */
.ps-bottom-bar {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-top: 1px solid #404040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ps-zoom {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
}

.ps-color-swatches {
    display: flex;
    gap: 0.5rem;
}

.ps-color-primary, .ps-color-secondary {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #404040;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ps-color-primary:hover, .ps-color-secondary:hover {
    transform: scale(1.1);
}

.ps-color-secondary {
    background: #ffffff;
}

/* ===== UI/UX DESIGN SHOWCASE - FIGMA INTERFACE ===== */
.uiux-design-showcase {
    width: 640px;
    height: 360px;
    background: #1e1e1e;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-direction: column;
    opacity: 1;
}

.uiux-design-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Figma Toolbar */
.figma-toolbar {
    height: 48px;
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    flex-shrink: 0;
}

.figma-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e0e0e0;
}

.figma-logo svg {
    flex-shrink: 0;
}

.figma-tools {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.figma-tool-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.figma-tool-group i {
    font-size: 1.1rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.figma-tool-group i:hover {
    background: #404040;
    color: #e0e0e0;
}

.figma-share-btn {
    background: #0d99ff;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.figma-share-btn:hover {
    background: #0b86e0;
}

/* Figma Main Area */
.figma-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Left Sidebar - Layers */
.figma-sidebar-left {
    width: 180px;
    background: #252525;
    border-right: 1px solid #404040;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.figma-sidebar-header {
    height: 40px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #404040;
}

.figma-layers {
    flex: 1;
    overflow-y: hidden;
    padding: 0.5rem;
}

.figma-layer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: #b0b0b0;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.figma-layer:hover {
    background: #3a3a3a;
}

.figma-layer.selected {
    background: #2d4a6e;
    color: #60a5fa;
}

.figma-layer-nested {
    margin-left: 1.5rem;
}

.figma-layer i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Center Canvas */
.figma-canvas {
    flex: 1;
    background: #1a1a1a;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4rem 1.5rem 2rem;
}

/* Frames Container - Horizontal Layout */
.figma-frames-container {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    max-height: 100%;
}

.figma-canvas-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Base Frame Styles */
.figma-frame {
    position: relative;
    background: #2d2d2d;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* Desktop Frame - 16:9 aspect ratio */
.desktop-frame {
    width: 150px;
    height: 280px;
    animation: fade-in-up 0.6s ease-out 0.1s backwards;
}

/* Tablet Frame - iPad Pro aspect ratio (4:3) */
.tablet-frame {
    width: 150px;
    height: 280px;
    animation: fade-in-up 0.6s ease-out 0.3s backwards;
}

/* Mobile Frame - iPhone 14 Pro aspect ratio (19.5:9) */
.mobile-frame {
    width: 150px;
    height: 280px;
    animation: fade-in-up 0.6s ease-out 0.5s backwards;
}

/* Connection Lines Between Frames - Hidden with gap instead */
.frame-connector {
    display: none;
}

.figma-frame-content {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    overflow-x: hidden;
    flex: 1;
}

/* Desktop Content */
.desktop-frame .figma-frame-content {
    padding: 0.6rem;
    gap: 0.6rem;
}

/* Tablet Content */
.tablet-frame .figma-frame-content {
    padding: 0.6rem;
    gap: 0.6rem;
}

/* Mobile Content */
.mobile-frame .figma-frame-content {
    padding: 0.6rem;
    gap: 0.6rem;
}

/* Hide scrollbar completely */
.figma-frame-content::-webkit-scrollbar {
    display: none;
}

.figma-frame-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Figma Components */
.figma-component {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.figma-component:hover .figma-selection-outline {
    border-color: #3b82f6;
    opacity: 0.5;
}

.figma-selection-outline {
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.figma-selection-outline.active {
    border-color: #3b82f6;
    opacity: 1;
}

.figma-selection-handles {
    position: absolute;
    inset: -6px;
    pointer-events: none;
}

.handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 50%;
}

.handle.top-left {
    top: 0;
    left: 0;
}

.handle.top-right {
    top: 0;
    right: 0;
}

.handle.bottom-left {
    bottom: 0;
    left: 0;
}

.handle.bottom-right {
    bottom: 0;
    right: 0;
}

.figma-comp-content {
    position: relative;
}

/* Header Component */
.figma-component.header .figma-comp-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
}

/* Desktop Header */
.desktop-frame .header .figma-comp-content {
    padding: 0.5rem 0.65rem;
}

.desktop-frame .desktop-frame /* Tablet Header */
.tablet-frame .header .figma-comp-content {
    padding: 0.45rem 0.6rem;
}
.tablet-frame .tablet-frame /* Mobile Header */
.mobile-frame .header .figma-comp-content {
    padding: 0.4rem 0.5rem;
}
.mobile-frame .mobile-frame /* Hero Component */
.figma-component.hero .figma-comp-content {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
/* Desktop Hero */
.desktop-frame .hero .figma-comp-content {
    padding: 0.85rem 0.75rem;
    gap: 0.4rem;
}

.desktop-frame .hero-title {
    font-size: 0.85rem;
}

.desktop-frame .hero-subtitle {
    font-size: 0.6rem;
}

.desktop-frame .hero-button {
    padding: 0.4rem 0.75rem;
    font-size: 0.6rem;
}

/* Tablet Hero */
.tablet-frame .hero .figma-comp-content {
    padding: 0.75rem 0.65rem;
    gap: 0.35rem;
}

.tablet-frame .hero-title {
    font-size: 0.8rem;
}

.tablet-frame .hero-subtitle {
    font-size: 0.55rem;
}

.tablet-frame .hero-button {
    padding: 0.35rem 0.65rem;
    font-size: 0.55rem;
}

/* Mobile Hero */
.mobile-frame .hero .figma-comp-content {
    padding: 0.65rem 0.55rem;
    gap: 0.3rem;
}

.mobile-frame .hero-title {
    font-size: 0.75rem;
}

.mobile-frame .hero-subtitle {
    font-size: 0.5rem;
}

.mobile-frame .hero-button {
    padding: 0.3rem 0.55rem;
    font-size: 0.5rem;
}

/* Renamed with unique prefix to prevent conflicts with actual page hero */
.figma-frame .figma-hero-phtitle-x7k,
.figma-component.hero .figma-hero-phtitle-x7k {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: transparent;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    height: 12px;
    width: 65%;
}

.figma-frame .figma-hero-phsubtitle-m9q,
.figma-component.hero .figma-hero-phsubtitle-m9q {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: transparent;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    height: 8px;
    width: 85%;
}

.figma-frame .figma-hero-phbutton-r3w,
.figma-component.hero .figma-hero-phbutton-r3w {
    background: #fde047;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    align-self: flex-start;
    height: 18px;
    width: 55px;
}

/* Cards Component */
.figma-component.cards .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Desktop Cards */
.desktop-frame .cards .cards-grid {
    gap: 0.4rem;
}

/* Tablet Cards */
.tablet-frame .cards .cards-grid {
    gap: 0.35rem;
}

/* Mobile Cards */
.mobile-frame .cards .cards-grid {
    gap: 0.3rem;
}

/* Content Section - Placeholder Lines */
.figma-component.content-section .figma-comp-content {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    border: 1px solid #60a5fa;
    border-radius: 8px;
    padding: 0.65rem;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Bottom Navigation */
.figma-component.bottom-nav .nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #34d399;
    border-radius: 12px;
    padding: 0.6rem 0.5rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-item:hover {
    background: #f9fafb;
}

.nav-item.active {
    background: rgba(16, 185, 129, 0.2);
}

.nav-item i {
    font-size: 1rem;
    color: #059669;
    opacity: 0.6;
}

.nav-item.active i {
    color: #10b981;
    opacity: 1;
}

.nav-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    color: transparent;
    background: #10b981;
    border-radius: 2px;
    height: 6px;
    width: 30px;
}

.nav-item.active span {
    background: #059669;
    font-weight: 600;
}

/* Gallery Grid Component - Desktop */
.figma-component.gallery-grid {
    position: relative;
    flex: 1;
}

.gallery-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    height: 100%;
    width: 100%;
}

.gallery-item {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    border-radius: 8px;
    border: 1px solid #7c3aed;
    min-height: 50px;
}

.gallery-item.large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Chat List Component - Tablet */
.figma-component.chat-list {
    position: relative;
    flex: 1;
}

.chat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 6px;
    border: 1px solid #fbbf24;
}

.chat-avatar {
    width: 28px;
    height: 28px;
    background: #f59e0b;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chat-name {
    height: 8px;
    background: #f59e0b;
    border-radius: 2px;
    width: 40%;
}

.chat-message {
    height: 6px;
    background: rgba(245, 158, 11, 0.5);
    border-radius: 2px;
    width: 75%;
}

/* Stats Row Component - Mobile */
.figma-component.stats-row {
    position: relative;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    border: 1px solid #34d399;
    border-radius: 6px;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.stat-icon {
    color: #059669;
    font-size: 1.2rem;
}

.stat-value {
    height: 10px;
    background: #059669;
    border-radius: 2px;
    width: 50%;
}

.stat-label {
    height: 6px;
    background: rgba(5, 150, 105, 0.5);
    border-radius: 2px;
    width: 70%;
}

/* Chart Area Component - Mobile */
.figma-component.chart-area {
    position: relative;
    flex: 1;
}

.chart-content {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    border: 1px solid #f87171;
    border-radius: 6px;
    padding: 0.6rem;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
    width: 100%;
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: #dc2626;
    border-radius: 3px 3px 0 0;
    min-height: 20%;
}

/* ===== COPYWRITING SHOWCASE - EDITORIAL LINES ===== */
.copywriting-showcase {
    width: 640px;
    height: 360px;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.copywriting-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Header - Word Document Style */
.copy-header {
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
    display: flex;
    flex-direction: column;
}

/* Toolbar */
.copy-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #404040;
    background: #252525;
}

/* Tabs */
.copy-tabs {
    display: flex;
    gap: 0;
    padding: 0 1rem;
    background: #252525;
}

.copy-tab {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-tab i {
    font-size: 1rem;
}

.copy-tab:hover {
    background: #3a3a3a;
    color: #e0e0e0;
}

.copy-tab.active {
    background: #1e1e1e;
    color: #60a5fa;
    font-weight: 600;
    border-bottom-color: #60a5fa;
}

/* Document Container - Word Document Style */
.copy-document {
    width: 100%;
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.copy-document::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #404040;
}

.copy-document::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #404040;
}

.copy-paragraph {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fade-in-up 0.6s ease-out backwards;
}

.copy-paragraph:nth-child(1) { animation-delay: 0.2s; }
.copy-paragraph:nth-child(2) { animation-delay: 0.3s; }
.copy-paragraph:nth-child(3) { animation-delay: 0.4s; }
.copy-paragraph:nth-child(4) { animation-delay: 0.5s; }
.copy-paragraph:nth-child(5) { animation-delay: 0.6s; }
.copy-paragraph:nth-child(6) { animation-delay: 0.7s; }

/* Line Groups */
.copy-line-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
}

/* Placeholder Lines */
.copy-placeholder {
    height: 8px;
    background: #4b5563;
    border-radius: 2px;
    position: relative;
}

.copy-placeholder.tiny {
    width: 35px;
}

.copy-placeholder.short {
    width: 70px;
}

.copy-placeholder.medium {
    width: 110px;
}

/* Error State - Red Underline */
.copy-placeholder.error {
    background: #fecaca;
    border-bottom: 2px solid #ef4444;
}

/* Good State - Green Underline */
.copy-placeholder.good {
    background: #bbf7d0;
    border-bottom: 2px solid #10b981;
}

/* Critique Marks */
.critique-mark {
    margin-left: 0.5rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    animation: mark-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.check-mark {
    background: #d1fae5;
    color: #10b981;
}

.cross-mark {
    background: #fee2e2;
    color: #ef4444;
}

@keyframes mark-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Annotations container */
.copy-annotations-container {
    display: none;
}

/* Inline annotations above placeholder lines */
.copy-placeholder.error::before,
.copy-placeholder.good::before {
    content: attr(data-annotation);
    position: absolute;
    bottom: 100%;
    left: 0;
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    font-weight: 600;
    background: transparent;
    padding: 0 0.5rem 0 0;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    margin-bottom: -2px;
    line-height: 1;
}

.copy-placeholder.error::before {
    color: #ef4444;
}

.copy-placeholder.good::before {
    color: #10b981;
}

.copy-placeholder {
    position: relative;
}

.copy-annotation:nth-child(1) .copy-annotation-label {
    transform: rotate(-2deg);
}

.copy-annotation:nth-child(2) .copy-annotation-label {
    transform: rotate(1.5deg);
}

.copy-annotation:nth-child(3) .copy-annotation-label {
    transform: rotate(-1deg);
}

.copy-annotation:nth-child(4) .copy-annotation-label {
    transform: rotate(2deg);
}

.copy-annotation:nth-child(5) .copy-annotation-label {
    transform: rotate(-1.5deg);
}

.copy-annotation.color-green .copy-annotation-label {
    color: #10b981;
}

.copy-annotation.color-red .copy-annotation-label {
    color: #ef4444;
}

/* Footer with Rating and Publish */
.copy-footer {
    background: #252525;
    border-top: 2px solid #404040;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e0e0;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars .star {
    font-size: 1.1rem;
    color: #4b5563;
    transition: color 0.3s ease;
}

.rating-stars .star.active {
    color: #fbbf24;
}

.rating-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
}

.copy-publish-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #1e40af;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-publish-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.copy-publish-btn i {
    font-size: 1.1rem;
}

/* ===== WEB DESIGN SHOWCASE ===== */
.web-design-showcase {
    width: 640px;
    height: 360px;
    background: #2d2d30;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.web-design-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Dreamweaver Container */
.dw-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #2d2d30;
    font-family: 'Arial', sans-serif;
}

/* Dreamweaver Header */
.dw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3a3a3c;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid #1e1e1e;
    animation: dw-header-slide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

@keyframes dw-header-slide {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.dw-menu {
    display: flex;
    gap: 1.25rem;
}

.dw-menu span {
    color: #e0e0e0;
    font-size: 0.8rem;
    cursor: pointer;
    animation: menu-item-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.dw-menu span:nth-child(1) { animation-delay: 0.3s; }
.dw-menu span:nth-child(2) { animation-delay: 0.35s; }
.dw-menu span:nth-child(3) { animation-delay: 0.4s; }
.dw-menu span:nth-child(4) { animation-delay: 0.45s; }
.dw-menu span:nth-child(5) { animation-delay: 0.5s; }

@keyframes menu-item-pop {
    0% {
        transform: scale(0) translateY(-10px);
        opacity: 0;
    }
    70% {
        transform: scale(1.15) translateY(0);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.dw-toolbar {
    display: flex;
    gap: 0.75rem;
    color: #b0b0b0;
}

.dw-toolbar i {
    font-size: 1.1rem;
    cursor: pointer;
    animation: toolbar-icon-spin 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.dw-toolbar i:nth-child(1) { animation-delay: 0.55s; }
.dw-toolbar i:nth-child(2) { animation-delay: 0.6s; }
.dw-toolbar i:nth-child(3) { animation-delay: 0.65s; }

@keyframes toolbar-icon-spin {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* Dreamweaver Main Area */
.dw-main {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* Files Panel */
.dw-files-panel {
    width: 180px;
    background: #252526;
    border-right: 1px solid #1e1e1e;
    display: flex;
    flex-direction: column;
    animation: files-panel-slide 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
    transform-style: preserve-3d;
}

@keyframes files-panel-slide {
    0% {
        transform: perspective(600px) rotateY(-60deg) translateX(-100px);
        opacity: 0;
    }
    60% {
        transform: perspective(600px) rotateY(5deg) translateX(10px);
    }
    100% {
        transform: perspective(600px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.dw-panel-header {
    padding: 0.6rem 0.75rem;
    background: #3a3a3c;
    color: #e0e0e0;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid #1e1e1e;
    animation: fade-slide 0.5s ease-out 0.4s backwards;
}

@keyframes fade-slide {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.dw-file-tree {
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dw-folder, .dw-file {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    color: #cccccc;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 3px;
    animation: file-item-cascade 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.dw-folder:nth-child(1), .dw-file:nth-child(1) { animation-delay: 0.5s; }
.dw-folder:nth-child(2), .dw-file:nth-child(2) { animation-delay: 0.6s; }
.dw-folder:nth-child(3), .dw-file:nth-child(3) { animation-delay: 0.7s; }
.dw-folder:nth-child(4), .dw-file:nth-child(4) { animation-delay: 0.8s; }
.dw-folder:nth-child(5), .dw-file:nth-child(5) { animation-delay: 0.9s; }
.dw-folder:nth-child(6), .dw-file:nth-child(6) { animation-delay: 1s; }

@keyframes file-item-cascade {
    0% {
        transform: translateX(-30px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.dw-folder:hover, .dw-file:hover {
    background: #37373d;
}

.dw-file.active {
    background: #094771;
}

.dw-folder i {
    color: #dcb67a;
}

.dw-file i {
    color: #519aba;
}

/* Editor Area */
.dw-editor {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    animation: editor-zoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes editor-zoom {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Code View */
.dw-code-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #1e1e1e;
}

.dw-code-header {
    padding: 0.4rem 0.75rem;
    background: #3a3a3c;
    color: #e0e0e0;
    font-size: 0.7rem;
    border-bottom: 1px solid #1e1e1e;
    animation: fade-slide 0.4s ease-out 0.5s backwards;
}

.dw-code-content {
    flex: 1;
    padding: 0.75rem;
    background: #1e1e1e;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow-y: auto;
}

.dw-code-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Consolas', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    animation: code-line-type 0.3s ease-out backwards;
}

.dw-code-line:nth-child(1) { animation-delay: 0.7s; }
.dw-code-line:nth-child(2) { animation-delay: 0.8s; }
.dw-code-line:nth-child(3) { animation-delay: 0.9s; }
.dw-code-line:nth-child(4) { animation-delay: 1s; }
.dw-code-line:nth-child(5) { animation-delay: 1.1s; }
.dw-code-line:nth-child(6) { animation-delay: 1.2s; }
.dw-code-line:nth-child(7) { animation-delay: 1.3s; }
.dw-code-line:nth-child(8) { animation-delay: 1.4s; }

@keyframes code-line-type {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.line-num {
    color: #858585;
    font-size: 0.7rem;
    font-family: 'Consolas', monospace;
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
}

/* Code Placeholder Lines */
.code-placeholder {
    height: 10px;
    border-radius: 2px;
    width: 60px;
    animation: code-placeholder-expand 0.4s ease-out backwards;
}

@keyframes code-placeholder-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.code-placeholder.blue {
    background: #569cd6;
}

.code-placeholder.cyan {
    background: #9cdcfe;
}

.code-placeholder.orange {
    background: #ce9178;
}

.code-placeholder.white {
    background: #d4d4d4;
}

.code-placeholder.short {
    width: 30px;
}

.code-placeholder.medium {
    width: 80px;
}

.code-placeholder.long {
    width: 120px;
}

/* Design View */
.dw-design-view {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dw-design-header {
    padding: 0.4rem 0.75rem;
    background: #3a3a3c;
    color: #e0e0e0;
    font-size: 0.7rem;
    border-bottom: 1px solid #1e1e1e;
    animation: fade-slide 0.4s ease-out 0.6s backwards;
}

.dw-design-content {
    flex: 1;
    background: #f0f0f0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

.dw-webpage {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: webpage-rise 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s backwards;
}

@keyframes webpage-rise {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.dw-nav-bar {
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    animation: nav-bar-slide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.1s backwards;
}

@keyframes nav-bar-slide {
    0% {
        transform: translateX(-20px) scale(0.95);
        opacity: 0;
    }
    70% {
        transform: translateX(5px) scale(1.02);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.dw-content-box {
    height: 80px;
    background: #e5e7eb;
    border-radius: 4px;
    border: 1px dashed #9ca3af;
    animation: content-box-pop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.dw-content-box:nth-child(2) { animation-delay: 1.2s; }
.dw-content-box:nth-child(3) { animation-delay: 1.3s; }
.dw-content-box:nth-child(4) { animation-delay: 1.4s; }

@keyframes content-box-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dw-content-box.small {
    height: 50px;
}

/* ===== PRODUCT DEVELOPMENT SHOWCASE ===== */
.product-dev-showcase {
    width: 640px;
    height: 360px;
    background: #1e1e1e;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.product-dev-showcase.active {
    display: flex;
    animation: showcase-fade-in 0.6s ease-out;
}

/* Visual Studio IDE Container */
.vs-ide-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* VS Menu Bar */
.vs-menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d2d30;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid #3e3e42;
    animation: vs-menu-slide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

@keyframes vs-menu-slide {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.vs-menu-items {
    display: flex;
    gap: 1.5rem;
}

.vs-menu-items span {
    color: #cccccc;
    font-size: 0.85rem;
    cursor: pointer;
    animation: vs-menu-item-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.vs-menu-items span:nth-child(1) { animation-delay: 0.3s; }
.vs-menu-items span:nth-child(2) { animation-delay: 0.35s; }
.vs-menu-items span:nth-child(3) { animation-delay: 0.4s; }
.vs-menu-items span:nth-child(4) { animation-delay: 0.45s; }
.vs-menu-items span:nth-child(5) { animation-delay: 0.5s; }

@keyframes vs-menu-item-pop {
    0% {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.vs-search {
    color: #cccccc;
    animation: vs-search-spin 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.55s backwards;
}

@keyframes vs-search-spin {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.vs-search i {
    font-size: 1rem;
}

/* VS Content Area */
.vs-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* VS Explorer (Left Sidebar) */
.vs-explorer {
    width: 220px;
    background: #252526;
    border-right: 1px solid #3e3e42;
    display: flex;
    flex-direction: column;
    animation: vs-explorer-slide 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
    transform-style: preserve-3d;
}

@keyframes vs-explorer-slide {
    0% {
        transform: perspective(600px) rotateY(-60deg) translateX(-100px);
        opacity: 0;
    }
    60% {
        transform: perspective(600px) rotateY(5deg) translateX(10px);
    }
    100% {
        transform: perspective(600px) rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.vs-explorer-header {
    padding: 0.75rem 1rem;
    background: #2d2d30;
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3e3e42;
    animation: vs-header-fade 0.5s ease-out 0.4s backwards;
}

@keyframes vs-header-fade {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.vs-explorer-tree {
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vs-folder, .vs-file {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    color: #cccccc;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 3px;
    animation: vs-file-cascade 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.vs-folder:nth-child(1), .vs-file:nth-child(1) { animation-delay: 0.5s; }
.vs-folder:nth-child(2), .vs-file:nth-child(2) { animation-delay: 0.6s; }
.vs-folder:nth-child(3), .vs-file:nth-child(3) { animation-delay: 0.7s; }
.vs-folder:nth-child(4), .vs-file:nth-child(4) { animation-delay: 0.8s; }
.vs-folder:nth-child(5), .vs-file:nth-child(5) { animation-delay: 0.9s; }
.vs-folder:nth-child(6), .vs-file:nth-child(6) { animation-delay: 1s; }

@keyframes vs-file-cascade {
    0% {
        transform: translateX(-30px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.vs-folder:hover, .vs-file:hover {
    background: #2a2d2e;
}

.vs-folder i {
    color: #dcb67a;
}

.vs-file i {
    color: #519aba;
}

/* VS Editor Area */
.vs-editor-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    animation: vs-editor-zoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
}

@keyframes vs-editor-zoom {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* VS Tabs */
.vs-tabs {
    display: flex;
    background: #2d2d30;
    border-bottom: 1px solid #3e3e42;
}

.vs-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2d2d30;
    color: #969696;
    font-size: 0.8rem;
    border-right: 1px solid #3e3e42;
    cursor: pointer;
    animation: vs-tab-slide 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.vs-tab:nth-child(1) { animation-delay: 0.5s; }
.vs-tab:nth-child(2) { animation-delay: 0.6s; }
.vs-tab:nth-child(3) { animation-delay: 0.7s; }

@keyframes vs-tab-slide {
    0% {
        transform: translateY(-20px) scale(0.9);
        opacity: 0;
    }
    70% {
        transform: translateY(3px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.vs-tab.active {
    background: #1e1e1e;
    color: #ffffff;
}

.vs-tab i {
    font-size: 0.85rem;
}

.tab-close {
    margin-left: 0.5rem;
    opacity: 0.5;
}

.tab-close:hover {
    opacity: 1;
}

/* VS Designer */
.vs-designer {
    flex: 1;
    background: #252526;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* VS Form Canvas */
.vs-form-canvas {
    width: 320px;
    background: #f0f0f0;
    border: 2px solid #007acc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    animation: vs-form-rise 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.8s backwards;
}

@keyframes vs-form-rise {
    0% {
        transform: scale(0.7) translateY(50px);
        opacity: 0;
    }
    60% {
        transform: scale(0.95) translateY(-10px);
    }
    100% {
        transform: scale(0.9) translateY(0);
        opacity: 1;
    }
}

.vs-form-title {
    background: #007acc;
    color: #ffffff;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    animation: vs-title-slide 0.4s ease-out 1.2s backwards;
}

@keyframes vs-title-slide {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.vs-form-controls {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vs-control {
    display: flex;
    align-items: center;
    animation: vs-control-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.vs-control:nth-child(1) { animation-delay: 1.3s; }
.vs-control:nth-child(2) { animation-delay: 1.4s; }
.vs-control:nth-child(3) { animation-delay: 1.5s; }
.vs-control:nth-child(4) { animation-delay: 1.6s; }
.vs-control:nth-child(5) { animation-delay: 1.7s; }
.vs-control:nth-child(6) { animation-delay: 1.8s; }

@keyframes vs-control-pop {
    0% {
        transform: translateX(-20px) scale(0.9);
        opacity: 0;
    }
    70% {
        transform: translateX(3px) scale(1.02);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.vs-control.label .placeholder-line {
    width: 70px;
    height: 10px;
    background: #333333;
    border-radius: 2px;
}

.vs-control.textbox {
    height: 28px;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.vs-control.button {
    height: 32px;
    background: #007acc;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.4rem;
    animation: vs-button-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.9s backwards;
}

@keyframes vs-button-bounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.vs-control.button:hover {
    background: #005a9e;
}

/* ===== CREATIVE CONSULTING SHOWCASE ===== */
/* Consulting showcase removed */

/* Zoom Container */
.zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
}

/* Zoom Header */
.zoom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #2d2d2d;
    animation: fade-in 0.6s ease-out;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #404040;
}

.zoom-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #10b981;
}

.zoom-info i {
    font-size: 0.9rem;
}

.zoom-info .placeholder-line {
    background: #b0b0b0;
    height: 8px;
    width: 80px;
}

.zoom-actions {
    display: flex;
    gap: 0.75rem;
    color: #9ca3af;
}

.zoom-actions i {
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.zoom-actions i:hover {
    color: #e0e0e0;
}

/* Zoom Content Area */
.zoom-container {
    position: relative;
}

/* Zoom Grid */
.zoom-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    padding-right: 200px;
    min-height: 0;
}

/* Zoom Chat Panel */
.zoom-chat-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 180px;
    background: #252525;
    border-left: 1px solid #404040;
    display: flex;
    flex-direction: column;
    animation: slide-in-right 0.3s ease-out;
    z-index: 5;
}

.zoom-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #1a1a1a;
    border-bottom: 1px solid #404040;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
}

.zoom-chat-header i {
    font-size: 0.9rem;
    color: #9ca3af;
    cursor: pointer;
}

.zoom-chat-messages {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.zoom-chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chat-msg-name {
    height: 10px;
    background: #b0b0b0;
    border-radius: 2px;
}

/* Random widths for chat usernames */
.zoom-chat-message:nth-child(1) .chat-msg-name { width: 70px; }
.zoom-chat-message:nth-child(2) .chat-msg-name { width: 55px; }
.zoom-chat-message:nth-child(3) .chat-msg-name { width: 85px; }

.chat-msg-text {
    height: 35px;
    background: #2d2d2d;
    border-radius: 4px;
    width: 100%;
    border: 1px solid #404040;
}

/* Zoom Participant */
.zoom-participant {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fade-in-up 0.6s ease-out backwards;
}

.zoom-participant:nth-child(1) { animation-delay: 0.1s; }
.zoom-participant:nth-child(2) { animation-delay: 0.2s; }
.zoom-participant:nth-child(3) { animation-delay: 0.3s; }
.zoom-participant:nth-child(4) { animation-delay: 0.4s; }
.zoom-participant:nth-child(5) { animation-delay: 0.5s; }
.zoom-participant:nth-child(6) { animation-delay: 0.6s; }

.zoom-participant.active {
    outline: 3px solid #10b981;
    outline-offset: -3px;
}

.zoom-participant:hover {
    transform: scale(1.05);
}

.participant-video {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.participant-initials {
    font-size: 2rem;
    font-weight: 600;
    color: #e0e0e0;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

.participant-name {
    position: absolute;
    bottom: 0.6rem;
    left: 0.375rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    color: #e0e0e0;
}

.participant-name .placeholder-line {
    background: #b0b0b0;
    height: 6px;
}

/* Random widths for participant names */
.zoom-participant:nth-child(1) .participant-name .placeholder-line { width: 65px; }
.zoom-participant:nth-child(2) .participant-name .placeholder-line { width: 95px; }
.zoom-participant:nth-child(3) .participant-name .placeholder-line { width: 50px; }
.zoom-participant:nth-child(4) .participant-name .placeholder-line { width: 80px; }
.zoom-participant:nth-child(5) .participant-name .placeholder-line { width: 70px; }
.zoom-participant:nth-child(6) .participant-name .placeholder-line { width: 85px; }

/* Zoom Controls */
.zoom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #2d2d2d;
    animation: fade-in-up 0.6s ease-out 0.7s backwards;
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid #404040;
}

.control-group {
    display: flex;
    gap: 0.5rem;
}

.zoom-control {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    background: #3a3a3a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
}

.zoom-control:hover {
    background: #4a4a4a;
}

.zoom-control i {
    font-size: 1.1rem;
    color: #e0e0e0;
}

.zoom-control.end-call {
    background: #ef4444;
    width: 40px;
    height: 40px;
    padding: 0.6rem;
}

.zoom-control.end-call:hover {
    background: #dc2626;
}

/* Work Section - Overhauled */
.work {
    flex-direction: column;
    padding: 14rem 4rem;
}

.work-container {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.work-container .section-title {
    text-align: left;
}

.work-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    text-align: left;
}

/* Selected Work Grid */
.selected-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
    width: 100%;
}

.work-featured-card {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 28px;
    box-shadow: none;
    padding: 2rem 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: visible;
}

.work-featured-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(200, 200, 200, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.work-featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.work-featured-card > * {
    position: relative;
    z-index: 1;
}

.work-featured-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.15),
        0 0 100px rgba(255, 255, 255, 0.08),
        0 20px 80px rgba(0, 0, 0, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    transform: translateY(-5px);
}

.work-featured-card:hover::before {
    opacity: 0.1;
}

.work-featured-card:hover::after {
    opacity: 1;
}

.selected-work-grid:has(.work-featured-card:hover) .work-featured-card:not(:hover) {
    opacity: 0.05;
    filter: blur(3px) grayscale(100%);
}

.work-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: grayscale(50%);
}

.work-featured-card:hover .work-card-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.work-card-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.work-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-badge i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.work-featured-card:hover .work-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.work-featured-card:hover .work-badge i {
    opacity: 1;
}

.work-card-info {
    padding: 1.5rem 0 0 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-card-text {
    flex: 1;
    text-align: left;
}

.work-card-number {
    display: none;
}

.work-card-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-card-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.work-card-arrow i {
    font-size: 2rem;
    color: var(--text-white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-featured-card:hover .work-card-arrow i {
    transform: rotate(-45deg);
    color: var(--accent-color);
}

.work-footer {
    margin-top: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.work-footer-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
    text-align: left;
}

/* Contact Section */
/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    position: relative;
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.outline-button {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 3rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.outline-button:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Primary Button - Overhauled Design */
.btn-primary {
    position: relative;
    background: #ffffff;
    color: #0a0a0a;
    border: none;
    padding: 1.3rem 3.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-transform: uppercase;
    box-shadow:
        0 0 0 0 rgba(255, 255, 255, 0.4),
        0 6px 25px rgba(255, 255, 255, 0.35),
        0 3px 12px rgba(255, 255, 255, 0.25),
        inset 0 -2px 8px rgba(0, 0, 0, 0.1);
    isolation: isolate;
}

/* Animated gradient border */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.8),
        rgba(200, 200, 200, 0.8),
        rgba(255, 255, 255, 0.8)
    );
    border-radius: 100px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Glow effect */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(20px);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.6),
        0 0 100px rgba(255, 255, 255, 0.4),
        0 12px 50px rgba(255, 255, 255, 0.5),
        0 6px 25px rgba(255, 255, 255, 0.35),
        inset 0 -2px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.08em;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: scale(1.02) translateY(-2px);
    transition: all 0.1s ease;
}

/* Secondary Button */
.btn-secondary {
    position: relative;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow:
        0 6px 25px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.btn-secondary > * {
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Cursor Preview */
.cursor-preview {
    position: fixed;
    width: 400px;
    height: 300px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    transform: translate(-50%, -50%);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cursor-preview.active {
    opacity: 1;
}

.cursor-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Dog Cursor Image */
.dog-cursor-image {
    position: fixed;
    width: 200px;
    height: 200px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(2%, -50%);
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 6px;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.15),
        0 0 60px rgba(200, 200, 200, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.3);
}

.dog-cursor-image.active {
    opacity: 1;
}

.dog-cursor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(40%);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fullscreen-menu {
        grid-template-columns: 1fr;
    }

    .menu-link {
        font-size: 3rem;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 2rem;
    }

    .service-hover-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 2rem;
    }

    .sale-banner {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }

    .nav {
        padding: 1.5rem 2rem;
    }

    .nav-logo {
        top: 1.5rem;
        left: 2rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-left {
        bottom: 1.5rem;
        right: 2rem;
    }

    .hero {
        padding-left: 2rem;
        flex-direction: column;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .vertical-carousel {
        width: 100%;
        height: 60vh;
    }

    .carousel-card {
        height: 300px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 5rem);
    }

    .contact-buttons {
        flex-direction: column;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .fullscreen-menu {
        grid-template-columns: 1fr;
    }

    .menu-content {
        padding: 2rem;
    }

    .menu-link {
        font-size: 2rem;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .service-hover-image {
        display: none;
    }
}

/* Testimonials Section */
.testimonials {
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.testimonials-content {
    max-width: 1400px;
    position: relative;
    z-index: 2;
}

.testimonials-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.testimonials-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Testimonials Horizontal Slider */
.testimonials-slider-container {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    margin-top: 6rem;
    position: relative;
    margin-left: 0;
    padding-left: 0;
    max-height: 500px;
    pointer-events: none;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider-container::-webkit-scrollbar {
    display: none;
}

.testimonials-slider-container::before,
.testimonials-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 728px;
    pointer-events: none;
    z-index: 10;
    filter: blur(15px);

}

.testimonials-slider-container::before {
    left: 0;
    background: linear-gradient(
        to right,
        #0a0a0a 0%,
        rgba(10, 10, 10, 0.95) 10%,
        rgba(10, 10, 10, 0.85) 20%,
        rgba(10, 10, 10, 0.7) 35%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.2) 70%,
        transparent 100%
    );
    mask-image:
        radial-gradient(
            ellipse 200% 120% at 110% 50%,
            transparent 0%,
            rgba(0, 0, 0, 0.6) 60%,
            black 85%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 15%,
            rgba(0, 0, 0, 0.7) 25%,
            black 35%,
            black 65%,
            rgba(0, 0, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.3) 85%,
            transparent 100%
        );
    -webkit-mask-image:
        radial-gradient(
            ellipse 200% 120% at 110% 50%,
            transparent 0%,
            rgba(0, 0, 0, 0.6) 60%,
            black 85%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 15%,
            rgba(0, 0, 0, 0.7) 25%,
            black 35%,
            black 65%,
            rgba(0, 0, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.3) 85%,
            transparent 100%
        );
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    backdrop-filter: blur(12px);
}

.testimonials-slider-container::after {
    right: 0;
    background: linear-gradient(
        to left,
        #0a0a0a 0%,
        rgba(10, 10, 10, 0.95) 10%,
        rgba(10, 10, 10, 0.85) 20%,
        rgba(10, 10, 10, 0.7) 35%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.2) 70%,
        transparent 100%
    );
    mask-image:
        radial-gradient(
            ellipse 200% 120% at -10% 50%,
            transparent 0%,
            rgba(0, 0, 0, 0.6) 60%,
            black 85%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 15%,
            rgba(0, 0, 0, 0.7) 25%,
            black 35%,
            black 65%,
            rgba(0, 0, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.3) 85%,
            transparent 100%
        );
    -webkit-mask-image:
        radial-gradient(
            ellipse 200% 120% at -10% 50%,
            transparent 0%,
            rgba(0, 0, 0, 0.6) 60%,
            black 85%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 15%,
            rgba(0, 0, 0, 0.7) 25%,
            black 35%,
            black 65%,
            rgba(0, 0, 0, 0.7) 75%,
            rgba(0, 0, 0, 0.3) 85%,
            transparent 100%
        );
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    backdrop-filter: blur(12px);
}

.testimonials-slider-track {
    display: flex;
    gap: 2rem;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    user-select: none;
    align-items: center;
    pointer-events: none;
}

.testimonials-slider-track:active {
    cursor: default;
}

.testimonials-slide {
    flex: 0 0 400px;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.08),
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: blur(0px);
    opacity: 1;
    padding: 1.5rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transform-style: preserve-3d;
    margin: 60px 0;
}

.testimonials-slide::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(200, 200, 200, 0.1) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    filter: blur(20px);
}

.testimonials-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.testimonials-slide > * {
    position: relative;
    z-index: 1;
}

.testimonials-slide.center {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.15),
        0 0 100px rgba(255, 255, 255, 0.08),
        0 20px 80px rgba(0, 0, 0, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.2);
    filter: blur(0px);
    opacity: 1;
    z-index: 5;
}

.testimonials-slide.center:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 0 80px rgba(255, 255, 255, 0.25),
        0 0 120px rgba(255, 255, 255, 0.15),
        0 0 160px rgba(255, 255, 255, 0.08),
        0 25px 100px rgba(0, 0, 0, 0.7),
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 4px rgba(255, 255, 255, 0.35),
        inset 0 -1px 4px rgba(0, 0, 0, 0.25);
}

.testimonials-slide.center:hover::before {
    opacity: 0.1;
}

.testimonials-slide.center:hover::after {
    opacity: 1;
}

.testimonials-slide.side {
    filter: blur(5px);
    opacity: 0.325;
    transform: scale(0.95);
}

/* Testimonial Card Content */
.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    font-size: 1rem;
    color: rgba(156, 163, 175, 0.6);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-company-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-company-name {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.testimonial-arrow i {
    transition: all 0.3s ease;
}

.testimonials-slide:hover .testimonial-arrow {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-slide:hover .testimonial-arrow i {
    transform: translate(3px, -3px);
}

/* Orb for testimonials section */
.orb-testimonials {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    width: 800px;
    height: 800px;
    left: 50%;
    top: 50%;
    animation: hero-blob-float-1 15s ease-in-out infinite;
}

/* Final Contact Section */
/* Card Swap Container */
/* Orb for final contact section */
/* Scroll to Top Button */
.scroll-to-top {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-white);
    font-size: 1.5rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-3px);
}

/* Animation Classes */
/* ===== SHOWCASE ANIMATIONS ===== */

/* Brand Identity Animations */
@keyframes logo-pulse-rotate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* ===== GRAPHIC DESIGN ANIMATIONS - MAJOR OVERHAUL ===== */

/* Menu Bar Slide Down */
.ps-menu-bar {
    animation: menu-slide-down 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes menu-slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Items Fade In Staggered */
.ps-menu-item {
    animation: menu-item-fade 0.4s ease-out backwards;
}

.ps-menu-item:nth-child(1) { animation-delay: 0.3s; }
.ps-menu-item:nth-child(2) { animation-delay: 0.4s; }
.ps-menu-item:nth-child(3) { animation-delay: 0.5s; }
.ps-menu-item:nth-child(4) { animation-delay: 0.6s; }
.ps-menu-item:nth-child(5) { animation-delay: 0.7s; }

@keyframes menu-item-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toolbar Slide In from Left */
.ps-toolbar {
    animation: toolbar-slide-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

@keyframes toolbar-slide-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tools Pop In with 3D Rotation */
.ps-tool {
    animation: tool-pop-rotate 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.ps-tool:nth-child(1) { animation-delay: 0.4s; }
.ps-tool:nth-child(2) { animation-delay: 0.5s; }
.ps-tool:nth-child(3) { animation-delay: 0.6s; }
.ps-tool:nth-child(4) { animation-delay: 0.7s; }
.ps-tool:nth-child(5) { animation-delay: 0.8s; }
.ps-tool:nth-child(6) { animation-delay: 0.9s; }
.ps-tool:nth-child(7) { animation-delay: 1.0s; }
.ps-tool:nth-child(8) { animation-delay: 1.1s; }

@keyframes tool-pop-rotate {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Active Tool Continuous Pulse */
.ps-tool.active {
    animation: tool-pop-rotate 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               tool-pulse 2s ease-in-out infinite 1.5s;
}

@keyframes tool-pulse {
    0%, 100% { transform: scale(1); background: #2b2b2b; }
    50% { transform: scale(1.1); background: #353535; }
}

/* Canvas Area Zoom In */
.ps-canvas-area {
    animation: canvas-zoom-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
}

@keyframes canvas-zoom-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo Design Elements - 3D Flip In */
.ps-logo-design {
    animation: logo-flip-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s backwards;
    transform-style: preserve-3d;
}

@keyframes logo-flip-in {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-90deg) scale(0.5);
    }
    60% {
        transform: perspective(800px) rotateY(15deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0deg) scale(1);
    }
}

/* Logo Shape Bounce In */
.logo-shape {
    animation: logo-shape-bounce 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s backwards,
               logo-shape-float 4s ease-in-out infinite 2s;
}

@keyframes logo-shape-bounce {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    70% {
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logo-shape-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* Logo Text Slide In - DISABLED FOR INSTANT LOAD */

/* Transform Handles Pop In */
.transform-handle {
    animation: handle-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.handle-tl { animation-delay: 1.3s; }
.handle-tr { animation-delay: 1.4s; }
.handle-bl { animation-delay: 1.5s; }
.handle-br { animation-delay: 1.6s; }

@keyframes handle-pop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        transform: scale(1.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Transform Handles Pulse Continuously */
.transform-handle {
    animation: handle-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               handle-pulse 2.5s ease-in-out infinite 2s;
}

@keyframes handle-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* Transform Border Draw In */
.transform-border {
    animation: border-draw 0.6s ease-out 1.3s backwards;
}

@keyframes border-draw {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

/* Right Panels Slide In */
.ps-panels {
    animation: panels-slide-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s backwards;
}

@keyframes panels-slide-in {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Layers Cascade In */
.ps-layer {
    animation: layer-cascade 0.5s ease-out backwards;
}

.ps-layer:nth-child(1) { animation-delay: 0.8s; }
.ps-layer:nth-child(2) { animation-delay: 0.95s; }
.ps-layer:nth-child(3) { animation-delay: 1.1s; }

@keyframes layer-cascade {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Active Layer Highlight Pulse */
.ps-layer.active {
    animation: layer-cascade 0.5s ease-out backwards,
               layer-highlight 2.5s ease-in-out infinite 1.5s;
}

@keyframes layer-highlight {
    0%, 100% { background: #1e40af; }
    50% { background: #2563eb; box-shadow: 0 0 10px rgba(37, 99, 235, 0.5); }
}

/* Property Sliders Fill Animation */
.slider-fill {
    animation: slider-fill-in 0.8s ease-out backwards;
}

.ps-property:nth-child(1) .slider-fill { animation-delay: 1.2s; }
.ps-property:nth-child(2) .slider-fill { animation-delay: 1.4s; }

@keyframes slider-fill-in {
    from {
        width: 0% !important;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Bottom Bar Slide Up */
.ps-bottom-bar {
    animation: bottom-bar-slide 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s backwards;
}

@keyframes bottom-bar-slide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Color Swatches Pop In */
.ps-color-primary,
.ps-color-secondary {
    animation: color-swatch-pop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.ps-color-primary { animation-delay: 1.0s; }
.ps-color-secondary { animation-delay: 1.15s; }

@keyframes color-swatch-pop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Zoom Indicator Fade In */
.ps-zoom {
    animation: zoom-fade 0.4s ease-out 0.9s backwards;
}

@keyframes zoom-fade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* UI/UX Design Figma Animations - ENHANCED */

/* Canvas Background Animation */
.figma-canvas {
    animation: canvas-fade-in 0.6s ease-out;
}

@keyframes canvas-fade-in {
    from {
        opacity: 0;
        background-position: 0 0;
    }
    to {
        opacity: 1;
        background-position: 0 0;
    }
}

/* ===== LAYERS SIDEBAR ANIMATIONS - MAJOR OVERHAUL ===== */

/* Sidebar Slide In from Left with 3D */
.figma-sidebar-left {
    animation: sidebar-3d-slide 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
    transform-style: preserve-3d;
}

@keyframes sidebar-3d-slide {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateY(-45deg) translateX(-100px);
    }
    60% {
        transform: perspective(800px) rotateY(5deg) translateX(10px);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateY(0deg) translateX(0);
    }
}

/* Sidebar Header Slide Down */
.figma-sidebar-header {
    animation: sidebar-header-drop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
}

@keyframes sidebar-header-drop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Layers Cascade with 3D Rotation */
.figma-layer {
    animation: layer-3d-cascade 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               layer-gentle-hover 3.5s ease-in-out infinite 2s;
    transform-style: preserve-3d;
}

.figma-layer:nth-child(1) { animation-delay: 0.5s, 2s; }
.figma-layer:nth-child(2) { animation-delay: 0.65s, 2.3s; }
.figma-layer:nth-child(3) { animation-delay: 0.8s, 2.6s; }
.figma-layer:nth-child(4) { animation-delay: 0.95s, 2.9s; }
.figma-layer:nth-child(5) { animation-delay: 1.1s, 3.2s; }
.figma-layer:nth-child(6) { animation-delay: 1.25s, 3.5s; }
.figma-layer:nth-child(7) { animation-delay: 1.4s, 3.8s; }

@keyframes layer-3d-cascade {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateY(-60deg) translateX(-50px) scale(0.7);
    }
    60% {
        transform: perspective(600px) rotateY(10deg) translateX(5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateY(0deg) translateX(0) scale(1);
    }
}

/* Layers Gentle Continuous Hover */
@keyframes layer-gentle-hover {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(3px); }
}

/* Layer Icons Spin In */
.figma-layer i {
    animation: layer-icon-spin 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               layer-icon-pulse 2.5s ease-in-out infinite 2.5s;
}

.figma-layer:nth-child(1) i { animation-delay: 0.6s, 2.5s; }
.figma-layer:nth-child(2) i { animation-delay: 0.75s, 2.8s; }
.figma-layer:nth-child(3) i { animation-delay: 0.9s, 3.1s; }
.figma-layer:nth-child(4) i { animation-delay: 1.05s, 3.4s; }
.figma-layer:nth-child(5) i { animation-delay: 1.2s, 3.7s; }
.figma-layer:nth-child(6) i { animation-delay: 1.35s, 4s; }
.figma-layer:nth-child(7) i { animation-delay: 1.5s, 4.3s; }

@keyframes layer-icon-spin {
    0% {
        opacity: 0;
        transform: rotate(-360deg) scale(0);
    }
    70% {
        transform: rotate(20deg) scale(1.3);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes layer-icon-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}

/* Selected Layer Special Highlight */
.figma-layer.selected {
    animation: layer-3d-cascade 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               selected-layer-glow 2.5s ease-in-out infinite 2s;
}

@keyframes selected-layer-glow {
    0%, 100% {
        background: #dbeafe;
        box-shadow: 0 0 0px rgba(30, 64, 175, 0);
    }
    50% {
        background: #bfdbfe;
        box-shadow: 0 0 15px rgba(30, 64, 175, 0.3), inset 0 0 10px rgba(30, 64, 175, 0.1);
    }
}

/* Selected Layer Icon Enhanced Pulse */
.figma-layer.selected i {
    animation: layer-icon-spin 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               selected-icon-glow 2s ease-in-out infinite 2.5s;
}

@keyframes selected-icon-glow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0px rgba(30, 64, 175, 0));
        color: #1e40af;
    }
    50% {
        transform: scale(1.25) rotate(10deg);
        filter: drop-shadow(0 0 6px rgba(30, 64, 175, 0.7));
        color: #2563eb;
    }
}

/* Nested Layers Extra Indent Animation */
.figma-layer-nested {
    animation: layer-3d-cascade 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               nested-layer-indent 3s ease-in-out infinite 2.5s;
}

@keyframes nested-layer-indent {
    0%, 100% { margin-left: 1.5rem; }
    50% { margin-left: 1.65rem; }
}

/* Frames with 3D Flip Animation */
.figma-frame {
    animation: frame-3d-flip 1s ease-out backwards;
    transform-style: preserve-3d;
}

.desktop-frame { animation-delay: 0.2s; }
.tablet-frame { animation-delay: 0.4s; }
.mobile-frame { animation-delay: 0.6s; }

@keyframes frame-3d-flip {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(90deg) translateY(30px);
    }
    60% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateY(0);
    }
}

/* Continuous gentle hover */
.figma-frame {
    animation: frame-3d-flip 1s ease-out backwards, frame-gentle-float 4s ease-in-out infinite;
}

.desktop-frame { animation-delay: 0.2s, 0s; }
.tablet-frame { animation-delay: 0.4s, 1s; }
.mobile-frame { animation-delay: 0.6s, 2s; }

@keyframes frame-gentle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Selection Outline with Border Animation */
.figma-selection-outline {
    animation: selection-border-dance 3s ease-in-out infinite;
}

@keyframes selection-border-dance {
    0%, 100% {
        opacity: 0.4;
        border-width: 2px;
    }
    50% {
        opacity: 1;
        border-width: 3px;
    }
}

/* Selection Handles Pulse */
.figma-selection-handles .handle {
    animation: handle-pulse 2s ease-in-out infinite;
}

.handle.top-left { animation-delay: 0s; }
.handle.top-right { animation-delay: 0.2s; }
.handle.bottom-left { animation-delay: 0.4s; }
.handle.bottom-right { animation-delay: 0.6s; }

@keyframes handle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* Gallery Items - Staggered with Bounce */
.gallery-item {
    animation: gallery-bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.gallery-item.large { animation-delay: 0.7s; }
.gallery-item:nth-child(2) { animation-delay: 0.8s; }
.gallery-item:nth-child(3) { animation-delay: 0.9s; }
.gallery-item:nth-child(4) { animation-delay: 1.0s; }
.gallery-item:nth-child(5) { animation-delay: 1.1s; }
.gallery-item:nth-child(6) { animation-delay: 1.2s; }

@keyframes gallery-bounce-in {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-15deg);
    }
    60% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Chat Items - Slide & Fade */
.chat-item {
    animation: chat-slide-in 0.6s ease-out backwards;
}

.chat-item:nth-child(1) { animation-delay: 0.8s; }
.chat-item:nth-child(2) { animation-delay: 0.95s; }
.chat-item:nth-child(3) { animation-delay: 1.1s; }
.chat-item:nth-child(4) { animation-delay: 1.25s; }

@keyframes chat-slide-in {
    from {
        opacity: 0;
        transform: translateX(-40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Chat Avatars Spin In */
.chat-avatar {
    animation: avatar-spin-in 0.5s ease-out backwards;
}

.chat-item:nth-child(1) .chat-avatar { animation-delay: 0.85s; }
.chat-item:nth-child(2) .chat-avatar { animation-delay: 1.0s; }
.chat-item:nth-child(3) .chat-avatar { animation-delay: 1.15s; }
.chat-item:nth-child(4) .chat-avatar { animation-delay: 1.3s; }

@keyframes avatar-spin-in {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Stats Cards - Flip In */
.stat-card {
    animation: stat-flip-in 0.7s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.9s; }
.stat-card:nth-child(2) { animation-delay: 1.05s; }

@keyframes stat-flip-in {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateX(-90deg);
    }
    60% {
        transform: perspective(600px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateX(0deg);
    }
}

/* Stat Icons Bounce */
.stat-icon {
    animation: icon-bounce 2s ease-in-out infinite;
}

.stat-card:nth-child(1) .stat-icon { animation-delay: 1.2s; }
.stat-card:nth-child(2) .stat-icon { animation-delay: 1.4s; }

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.15); }
}

/* Chart Bars - Grow Up */
.chart-bar {
    animation: bar-grow-up 0.8s ease-out backwards;
    transform-origin: bottom;
}

.chart-bar:nth-child(1) { animation-delay: 1.0s; }
.chart-bar:nth-child(2) { animation-delay: 1.1s; }
.chart-bar:nth-child(3) { animation-delay: 1.2s; }
.chart-bar:nth-child(4) { animation-delay: 1.3s; }
.chart-bar:nth-child(5) { animation-delay: 1.4s; }

@keyframes bar-grow-up {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== BOTTOM NAV ANIMATIONS - MAJOR OVERHAUL ===== */

/* Bottom Nav Container - 3D Flip Up */
.bottom-nav {
    animation: nav-3d-flip-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s backwards;
    transform-style: preserve-3d;
}

@keyframes nav-3d-flip-up {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateX(90deg) translateY(40px);
    }
    60% {
        transform: perspective(800px) rotateX(-10deg) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateX(0deg) translateY(0);
    }
}

/* Nav Items - Explosive Pop with Rotation */
.nav-item {
    animation: nav-item-explode 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               nav-item-float 3s ease-in-out infinite 2.5s;
}

.nav-item:nth-child(1) { animation-delay: 1.5s, 2.5s; }
.nav-item:nth-child(2) { animation-delay: 1.65s, 3s; }

@keyframes nav-item-explode {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg) translateY(30px);
    }
    60% {
        transform: scale(1.25) rotate(15deg) translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg) translateY(0);
    }
}

/* Nav Items Float Continuously */
@keyframes nav-item-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

/* Nav Icons Bounce and Rotate */
.nav-item i {
    animation: nav-icon-bounce-rotate 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               nav-icon-pulse 2.5s ease-in-out infinite 2.5s;
}

.nav-item:nth-child(1) i { animation-delay: 1.6s, 3s; }
.nav-item:nth-child(2) i { animation-delay: 1.75s, 3.3s; }

@keyframes nav-icon-bounce-rotate {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-360deg);
    }
    70% {
        transform: scale(1.4) rotate(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes nav-icon-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}

/* Active Nav Icon Extra Glow and Rotation */
.nav-item.active i {
    animation: nav-icon-bounce-rotate 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               nav-active-icon-glow 2s ease-in-out infinite 2.5s;
}

@keyframes nav-active-icon-glow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0px rgba(16, 185, 129, 0));
    }
    50% {
        transform: scale(1.2) rotate(8deg);
        filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.8));
    }
}

/* Nav Labels Grow In */
.nav-item span {
    animation: nav-label-grow 0.5s ease-out backwards;
    transform-origin: center;
}

.nav-item:nth-child(1) span { animation-delay: 1.7s; }
.nav-item:nth-child(2) span { animation-delay: 1.85s; }

@keyframes nav-label-grow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    60% {
        transform: scaleX(1.1);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Active Nav Item Background Pulse */
.nav-item.active {
    animation: nav-item-explode 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               nav-active-bg-pulse 2.5s ease-in-out infinite 2.5s;
}

@keyframes nav-active-bg-pulse {
    0%, 100% {
        background: rgba(16, 185, 129, 0.2);
        box-shadow: 0 0 0px rgba(16, 185, 129, 0);
    }
    50% {
        background: rgba(16, 185, 129, 0.3);
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    }
}

/* ===== COPYWRITING ANIMATIONS - MAJOR OVERHAUL ===== */

/* Header Slide Down with Bounce */
.copy-header {
    animation: copy-header-slide 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes copy-header-slide {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toolbar Icons Pop In */
@keyframes toolbar-icon-pop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Tabs Cascade In with 3D Rotation */
.copy-tab {
    animation: tab-cascade-3d 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform-style: preserve-3d;
}

.copy-tab:nth-child(1) { animation-delay: 0.4s; }
.copy-tab:nth-child(2) { animation-delay: 0.5s; }
.copy-tab:nth-child(3) { animation-delay: 0.6s; }
.copy-tab:nth-child(4) { animation-delay: 0.7s; }
.copy-tab:nth-child(5) { animation-delay: 0.8s; }

@keyframes tab-cascade-3d {
    0% {
        opacity: 0;
        transform: perspective(600px) rotateY(-90deg) translateX(-30px);
    }
    60% {
        transform: perspective(600px) rotateY(15deg) translateX(5px);
    }
    100% {
        opacity: 1;
        transform: perspective(600px) rotateY(0deg) translateX(0);
    }
}

/* Tab Icons Continuous Pulse */
.copy-tab i {
    animation: tab-icon-pulse 3s ease-in-out infinite;
}

.copy-tab:nth-child(1) i { animation-delay: 1s; }
.copy-tab:nth-child(2) i { animation-delay: 1.3s; }
.copy-tab:nth-child(3) i { animation-delay: 1.6s; }
.copy-tab:nth-child(4) i { animation-delay: 1.9s; }
.copy-tab:nth-child(5) i { animation-delay: 2.2s; }

@keyframes tab-icon-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(8deg); }
}

/* Document Paragraphs Fade In with Stagger */
.copy-paragraph {
    animation: paragraph-fade-up 0.7s ease-out backwards;
}

.copy-paragraph:nth-child(1) { animation-delay: 0.6s; }
.copy-paragraph:nth-child(2) { animation-delay: 0.75s; }
.copy-paragraph:nth-child(3) { animation-delay: 0.9s; }
.copy-paragraph:nth-child(4) { animation-delay: 1.05s; }
.copy-paragraph:nth-child(5) { animation-delay: 1.2s; }
.copy-paragraph:nth-child(6) { animation-delay: 1.35s; }

@keyframes paragraph-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Copy Placeholders Typewriter Effect */
.copy-placeholder {
    animation: placeholder-typewriter 0.5s ease-out backwards;
    transform-origin: left;
}

/* Stagger each paragraph's placeholders */
.copy-paragraph:nth-child(1) .copy-placeholder { animation-delay: 0.7s; }
.copy-paragraph:nth-child(2) .copy-placeholder { animation-delay: 0.85s; }
.copy-paragraph:nth-child(3) .copy-placeholder { animation-delay: 1.0s; }
.copy-paragraph:nth-child(4) .copy-placeholder { animation-delay: 1.15s; }
.copy-paragraph:nth-child(5) .copy-placeholder { animation-delay: 1.3s; }
.copy-paragraph:nth-child(6) .copy-placeholder { animation-delay: 1.45s; }

@keyframes placeholder-typewriter {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    60% {
        opacity: 1;
        transform: scaleX(1.05);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Error Placeholders Wiggle Animation */
.copy-placeholder.error {
    animation: placeholder-typewriter 0.5s ease-out backwards,
               error-wiggle 0.5s ease-in-out 1.6s backwards;
}

@keyframes error-wiggle {
    0%, 100% { transform: translateX(0) scaleX(1); }
    25% { transform: translateX(-3px) scaleX(0.98); }
    75% { transform: translateX(3px) scaleX(0.98); }
}

/* Good Placeholders Bounce Animation */
.copy-placeholder.good {
    animation: placeholder-typewriter 0.5s ease-out backwards,
               good-bounce 0.5s ease-out 1.6s backwards;
}

@keyframes good-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Critique Marks Pop and Rotate */
.critique-mark {
    animation: critique-pop-rotate 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s backwards;
}

@keyframes critique-pop-rotate {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.3) rotate(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Check Marks Pulse Continuously */
.check-mark {
    animation: critique-pop-rotate 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s backwards,
               check-pulse 2s ease-in-out infinite 2s;
}

@keyframes check-pulse {
    0%, 100% { transform: scale(1); color: #10b981; }
    50% { transform: scale(1.15); color: #34d399; }
}

/* Cross Marks Shake Continuously */
.cross-mark {
    animation: critique-pop-rotate 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.2s backwards,
               cross-shake 2.5s ease-in-out infinite 2s;
}

@keyframes cross-shake {
    0%, 100% { transform: rotate(0deg); color: #ef4444; }
    25% { transform: rotate(-5deg); color: #f87171; }
    75% { transform: rotate(5deg); color: #f87171; }
}

/* Footer Slide Up */
.copy-footer {
    animation: footer-slide-up 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s backwards;
}

@keyframes footer-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rating Stars Fill In Sequentially */
.rating-stars .star {
    animation: star-fill 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards;
}

.rating-stars .star:nth-child(1) { animation-delay: 1.6s; }
.rating-stars .star:nth-child(2) { animation-delay: 1.7s; }
.rating-stars .star:nth-child(3) { animation-delay: 1.8s; }
.rating-stars .star:nth-child(4) { animation-delay: 1.9s; }
.rating-stars .star:nth-child(5) { animation-delay: 2.0s; }

@keyframes star-fill {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }
    60% {
        transform: scale(1.3) rotate(15deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Active Stars Glow Continuously */
.rating-stars .star.active {
    animation: star-fill 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) backwards,
               star-glow 3s ease-in-out infinite 2.5s;
}

@keyframes star-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
}

/* Publish Button Bounce In with Continuous Pulse */
.copy-publish-btn {
    animation: publish-bounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2.1s backwards,
               publish-pulse 2s ease-in-out infinite 3s;
}

@keyframes publish-bounce {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }
    60% {
        transform: scale(1.15) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes publish-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5); }
}

/* Dreamweaver Animations */
.dw-file, .dw-folder {
    animation: file-fade-in 0.4s ease-out backwards;
}

.dw-folder:nth-child(1) { animation-delay: 0.1s; }
.dw-folder:nth-child(2) { animation-delay: 0.2s; }
.dw-file:nth-child(3) { animation-delay: 0.3s; }
.dw-file:nth-child(4) { animation-delay: 0.4s; }

@keyframes file-fade-in {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dw-code-line {
    animation: code-type-in 0.3s ease-out backwards;
}

.dw-code-line:nth-child(1) { animation-delay: 0.5s; }
.dw-code-line:nth-child(2) { animation-delay: 0.6s; }
.dw-code-line:nth-child(3) { animation-delay: 0.7s; }
.dw-code-line:nth-child(4) { animation-delay: 0.8s; }
.dw-code-line:nth-child(5) { animation-delay: 0.9s; }
.dw-code-line:nth-child(6) { animation-delay: 1.0s; }
.dw-code-line:nth-child(7) { animation-delay: 1.1s; }
.dw-code-line:nth-child(8) { animation-delay: 1.2s; }

@keyframes code-type-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dw-webpage {
    animation: webpage-build 0.8s ease-out 0.6s backwards;
}

@keyframes webpage-build {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Visual Studio Animations */
.vs-file {
    animation: file-fade-in 0.4s ease-out backwards;
}

.vs-file:nth-child(1) { animation-delay: 0.2s; }
.vs-file:nth-child(2) { animation-delay: 0.3s; }
.vs-file:nth-child(3) { animation-delay: 0.4s; }

.vs-tab {
    animation: tab-slide-in 0.4s ease-out backwards;
}

.vs-tab:nth-child(1) { animation-delay: 0.5s; }
.vs-tab:nth-child(2) { animation-delay: 0.6s; }

.vs-form-canvas {
    animation: form-appear 0.8s ease-out 0.7s backwards;
}

@keyframes form-appear {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(0.9) translateY(0);
    }
}

.vs-control {
    animation: control-fade-in 0.4s ease-out backwards;
}

.vs-control:nth-child(1) { animation-delay: 1.0s; }
.vs-control:nth-child(2) { animation-delay: 1.1s; }
.vs-control:nth-child(3) { animation-delay: 1.2s; }
.vs-control:nth-child(4) { animation-delay: 1.3s; }
.vs-control:nth-child(5) { animation-delay: 1.4s; }

@keyframes control-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zoom Call Animations */
.zoom-participant {
    animation: participant-join 0.6s ease-out backwards;
}

.zoom-participant:nth-child(1) { animation-delay: 0.2s; }
.zoom-participant:nth-child(2) { animation-delay: 0.3s; }
.zoom-participant:nth-child(3) { animation-delay: 0.4s; }
.zoom-participant:nth-child(4) { animation-delay: 0.5s; }
.zoom-participant:nth-child(5) { animation-delay: 0.6s; }
.zoom-participant:nth-child(6) { animation-delay: 0.7s; }

@keyframes participant-join {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.participant-initials {
    animation: initials-pulse 3s ease-in-out infinite;
}

@keyframes initials-pulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.1); opacity: 1; }
}

.zoom-chat-message {
    animation: message-slide-in 0.4s ease-out backwards;
}

.zoom-chat-message:nth-child(1) { animation-delay: 0.8s; }
.zoom-chat-message:nth-child(2) { animation-delay: 0.9s; }
.zoom-chat-message:nth-child(3) { animation-delay: 1.0s; }

@keyframes message-slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.zoom-control {
    animation: control-rise 0.5s ease-out backwards;
}

.zoom-control:nth-child(1) { animation-delay: 1.1s; }
.zoom-control:nth-child(2) { animation-delay: 1.15s; }
.zoom-control:nth-child(3) { animation-delay: 1.2s; }
.zoom-control:nth-child(4) { animation-delay: 1.25s; }
.zoom-control:nth-child(5) { animation-delay: 1.3s; }

@keyframes control-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
