/* ============================================
   IM WEB PROS - STATIC SITE STYLES
   Consolidated from WordPress theme
   ============================================ */

/* ============================================
   CSS VARIABLES & THEME SYSTEM
   ============================================ */

:root {
    /* Brand Colors */
    --brand-primary: #cf5b2e;
    --brand-secondary: #a855f7;
    --accent-cyan: #22d3ee;

    /* Dark Theme (Default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.imwp-modern {
    background: var(--bg-primary) !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   GPU LAYER ISOLATION (Fixes Chrome compositing bugs)
   Force proper layer stacking to prevent repainting conflicts
   ============================================ */

/* 
 * CRITICAL FIX: Create explicit stacking contexts with z-index
 * to prevent compositing conflicts between animated elements,
 * blur filters, and transformed overlays
 */

/* Base layer - main page content */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero background orbs - lowest z-index, isolated layer */
.imwp-hero-bg {
    z-index: 0;
    pointer-events: none;
}

.imwp-orb {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Hero content - above orbs */
.imwp-hero-content {
    position: relative;
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Navigation - highest z-index, completely isolated */
.imwp-nav {
    z-index: 9999;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Dropdown must be above everything except modals */
.imwp-dropdown-menu {
    z-index: 10000;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile menu overlay - highest */
.imwp-mobile-menu {
    z-index: 9998;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Cards and interactive elements - force GPU layer */
.imwp-print-item,
.imwp-print-card,
.imwp-marketing-card,
.imwp-service-card,
.imwp-process-step {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Brands section - isolate marquee animation */
.imwp-brands-section {
    isolation: isolate;
    overflow: hidden;
}

.imwp-brands-track,
.imwp-brand-logo {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* Sections - create stacking context */
.imwp-section {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* Hero section - explicit stacking context */
.imwp-hero {
    position: relative;
    isolation: isolate;
}

/* Grids need overflow visible for hover effects */
.imwp-services-grid,
.imwp-print-grid,
.imwp-marketing-grid {
    overflow: visible;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--accent-cyan));
    z-index: 99999;
    transition: width 0.1s ease;
    width: 0%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #e06b3e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(207, 91, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(207, 91, 46, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

html[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.imwp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.imwp-nav.scrolled {
    background: rgba(10, 10, 15, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

html[data-theme="light"] .imwp-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.imwp-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.imwp-nav-logo img {
    height: 65px;
    transition: height 0.3s ease;
}

.imwp-nav.scrolled .imwp-nav-logo img {
    height: 50px;
}

/* Logo Theme Switching */
.logo-light {
    display: none !important;
}

.logo-dark {
    display: block !important;
}

html[data-theme="light"] .logo-light {
    display: block !important;
}

html[data-theme="light"] .logo-dark {
    display: none !important;
}

/* Nav Menu */
.imwp-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.imwp-nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.imwp-nav-link:hover {
    color: var(--brand-primary);
}

.imwp-nav-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

/* Dropdown */
.imwp-nav-dropdown {
    position: relative;
}

.imwp-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    min-width: 720px;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

html[data-theme="light"] .imwp-dropdown-menu {
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.imwp-nav-dropdown:hover .imwp-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.imwp-nav-dropdown:hover .imwp-nav-link svg {
    transform: rotate(180deg);
}

.imwp-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.imwp-dropdown-category {
    min-width: 180px;
}

.imwp-dropdown-category-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-primary);
}

.imwp-dropdown-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.imwp-dropdown-link:hover {
    color: var(--text-primary);
    padding-left: 0.75rem;
    background: rgba(207, 91, 46, 0.1);
}


/* Nav Actions */
.imwp-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

html[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

html[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Menu Toggle */
.imwp-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0;
}

.imwp-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.imwp-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.imwp-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.imwp-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Mobile Menu */
.imwp-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9998;
    padding: 5rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.imwp-mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.imwp-mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    max-width: 400px;
    margin: 0 auto;
}

.imwp-mobile-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: block;
    text-align: center;
}

.imwp-mobile-link:hover {
    color: var(--brand-primary);
}

/* Mobile Services Accordion */
.imwp-mobile-services {
    border-bottom: 1px solid var(--border-color);
}

.imwp-mobile-services-toggle {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.imwp-mobile-services-toggle:hover {
    color: var(--brand-primary);
}

.imwp-mobile-services-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.imwp-mobile-services.active .imwp-mobile-services-toggle svg {
    transform: rotate(180deg);
}

.imwp-mobile-services-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
}

.imwp-mobile-services.active .imwp-mobile-services-content {
    max-height: 2000px;
    padding: 1rem 1.5rem 1.5rem;
}

.imwp-mobile-category {
    margin-bottom: 1.25rem;
}

.imwp-mobile-category:last-child {
    margin-bottom: 0;
}

.imwp-mobile-category-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--brand-primary);
}

.imwp-mobile-category a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.imwp-mobile-category a:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.imwp-mobile-menu .btn {
    margin-top: 1.5rem;
    text-align: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.imwp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0f20 50%, #0f1a25 100%);
}

html[data-theme="light"] .imwp-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fdf4ff 100%);
}

.imwp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.imwp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    -webkit-filter: blur(100px);
    opacity: 0.5;
    animation: float 15s ease-in-out infinite;
    /* Chrome compositing stability */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    contain: strict;
    pointer-events: none;
}

.imwp-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--brand-primary);
    top: -100px;
    right: 10%;
}

.imwp-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--brand-secondary);
    bottom: 10%;
    left: 5%;
    animation-delay: -5s;
}

.imwp-orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-cyan);
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.imwp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.imwp-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.imwp-hero-title .highlight {
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--brand-primary);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.imwp-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.imwp-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    z-index: 5;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(5px);
    }
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

html[data-theme="light"] .mouse {
    border-color: rgba(0, 0, 0, 0.2);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.3;
    }
}

/* ============================================
   LOGOS SECTION
   ============================================ */

.imwp-logos-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 2.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.imwp-logos-title {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 1.5rem;
    padding: 0 1.5rem;
}

.imwp-logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.imwp-logos-blur {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.imwp-logos-blur-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.imwp-logos-blur-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.imwp-logos-marquee {
    overflow: hidden;
    width: 100%;
}

.imwp-logos-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.imwp-logos-marquee:hover .imwp-logos-track {
    animation-play-state: paused;
}

.imwp-logo-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.imwp-logo-item:hover {
    opacity: 1;
    color: var(--brand-primary);
    transform: scale(1.1);
}

/* ============================================
   BRANDS SECTION (Shared)
   ============================================ */

.imwp-brands-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 5rem 0;
    overflow: hidden;
}

.imwp-brands-section .imwp-section-header {
    padding: 0 1.5rem;
}

.imwp-brands-track-wrapper {
    overflow: hidden;
    margin-top: 3rem;
}

.imwp-brands-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

.imwp-brands-track:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.imwp-brand-logo {
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.imwp-brand-logo:hover {
    opacity: 1;
}

/* ============================================
   SECTIONS (Generic)
   ============================================ */

.imwp-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 5rem 1.5rem;
    background: var(--bg-primary);
    position: relative;
}

.imwp-section-alt {
    background: var(--bg-secondary);
}

.imwp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.imwp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.imwp-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(207, 91, 46, 0.1);
    border-radius: 2rem;
}

.imwp-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.imwp-text-left {
    text-align: left;
}

.imwp-section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.imwp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.imwp-service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

html[data-theme="light"] .imwp-service-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.imwp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.imwp-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(207, 91, 46, 0.2);
}

.imwp-service-card:hover::before {
    transform: scaleX(1);
}

.imwp-service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(207, 91, 46, 0.3);
}

.imwp-service-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.imwp-service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.imwp-service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.imwp-service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.imwp-service-link:hover {
    letter-spacing: 0.05em;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.imwp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.imwp-about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.imwp-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.imwp-stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.imwp-stat-item:hover {
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

html[data-theme="light"] .imwp-stat-item {
    background: #fff;
}

.imwp-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.imwp-stat-suffix {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.imwp-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.imwp-about-visual {
    position: relative;
}

.imwp-about-image-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.imwp-about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.imwp-about-image-wrapper:hover .imwp-about-img {
    transform: scale(1.05);
}

.imwp-about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(207, 91, 46, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    pointer-events: none;
}

.imwp-floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--bg-tertiary);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    max-width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.imwp-floating-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
}

.imwp-floating-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.75rem;
}

.imwp-check-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0 0.25rem 1.5rem;
    position: relative;
}

.imwp-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* ============================================
   MARKETING SECTION
   ============================================ */

.imwp-marketing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.imwp-marketing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html[data-theme="light"] .imwp-marketing-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.imwp-marketing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(207, 91, 46, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.imwp-marketing-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.imwp-marketing-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.imwp-marketing-icon-ai {
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 50%, #cf5b2e 100%);
    animation: ai-glow 3s ease-in-out infinite;
}

@keyframes ai-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
    }
}

.imwp-marketing-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.imwp-marketing-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.imwp-simple-list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.imwp-simple-list li:last-child {
    border-bottom: none;
}

.imwp-marketing-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(207, 91, 46, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(207, 91, 46, 0.2);
}

.imwp-marketing-cta p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
}

/* ============================================
   PRINT SERVICES
   ============================================ */

.imwp-print-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.imwp-print-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html[data-theme="light"] .imwp-print-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.imwp-print-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.imwp-print-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.imwp-print-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 0.875rem;
    flex-shrink: 0;
}

.imwp-print-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.imwp-print-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.imwp-print-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

.imwp-print-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.imwp-print-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

html[data-theme="light"] .imwp-print-item {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.imwp-print-item:hover {
    border-color: rgba(207, 91, 46, 0.3);
    background: rgba(207, 91, 46, 0.05);
}

.imwp-print-item-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.imwp-print-item strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.imwp-print-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.imwp-print-cta {
    margin-top: 3rem;
}

.imwp-print-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(207, 91, 46, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 1.25rem;
    border: 1px solid rgba(207, 91, 46, 0.2);
}

.imwp-print-cta h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.imwp-print-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.imwp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.imwp-process-grid::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--accent-cyan));
    opacity: 0.4;
}

.imwp-process-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imwp-process-number {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(207, 91, 46, 0.4);
}

.imwp-process-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.imwp-process-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    max-width: 220px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.imwp-cta-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0f20 50%, #0f1a25 100%);
    text-align: center;
    overflow: hidden;
    position: relative;
}

html[data-theme="light"] .imwp-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fdf4ff 100%);
}

.imwp-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.imwp-cta-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.imwp-cta-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.imwp-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.imwp-cta-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.imwp-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.imwp-cta-orb-1 {
    width: 350px;
    height: 350px;
    background: var(--brand-primary);
    top: -150px;
    right: -50px;
}

.imwp-cta-orb-2 {
    width: 280px;
    height: 280px;
    background: var(--brand-secondary);
    bottom: -120px;
    left: -50px;
    animation-delay: -5s;
}

/* ============================================
   FOOTER
   ============================================ */

.imwp-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: var(--bg-secondary);
    padding: 4rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.imwp-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.imwp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.imwp-footer-brand {
    max-width: 300px;
}

.imwp-footer-logo img {
    height: 45px;
    margin-bottom: 1rem;
}

.imwp-footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.imwp-footer-social {
    display: flex;
    gap: 0.75rem;
}

.imwp-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.imwp-social-link:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

.imwp-social-link svg {
    width: 18px;
    height: 18px;
}

.imwp-footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
}

.imwp-footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.imwp-footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.imwp-footer-links a:hover {
    color: var(--brand-primary);
}

.imwp-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.imwp-footer-contact a,
.imwp-footer-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.imwp-footer-contact a:hover {
    color: var(--brand-primary);
}

.imwp-footer-contact svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.imwp-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.imwp-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.imwp-contact-item a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.imwp-contact-item a:hover {
    color: var(--brand-primary);
}

/* Footer Contact Row */
.imwp-footer-contact-row {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.imwp-footer-contact-row .imwp-footer-heading {
    margin-bottom: 0.5rem;
}

.imwp-footer-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.imwp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.imwp-footer-legal {
    display: flex;
    gap: 2rem;
}

.imwp-footer-legal a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.imwp-footer-legal a:hover {
    color: var(--brand-primary);
}

/* ============================================
   PAGE HERO (for sub-pages)
   ============================================ */

.imwp-page-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

html[data-theme="light"] .imwp-page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.imwp-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.imwp-page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-up {
    opacity: 1;
    transform: none;
}
