/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
    font-display: swap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-display: swap;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

/* Remove focus outlines from all clickable elements in navigation */
.navbar *:focus {
    outline: none !important;
    box-shadow: none !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    overflow: visible;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.nav-logo img {
    max-height: 40px;
    height: 100%;
    display: block;
}

.footer-logo img {
    max-height: 48px;
    height: 100%;
}

.nav-logo i {
    color: #667eea;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-user-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

/* Profile Dropdown */
.user-profile-dropdown {
    position: relative;
}

.profile-circle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.profile-circle-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.profile-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
}

.dropdown-arrow {
    color: #6b7280;
    transition: transform 0.2s ease;
}

.profile-circle-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    min-width: 220px;
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 8px;
}

.user-dropdown-menu.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 0.25rem;
}

.user-email-display {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.user-role {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #1f2937;
}

.dropdown-item svg {
    color: #6b7280;
    flex-shrink: 0;
}

.logout-item {
    color: #dc2626 !important;
}

.logout-item:hover {
    background-color: #fef2f2;
}

.logout-item svg {
    color: #dc2626 !important;
}

.nav-user-item #userEmailDisplay {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.nav-link:focus {
    outline: none;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.nav-cta::after {
    display: none;
}

.nav-login {
    color: #667eea !important;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

/* Prefix line now outside the main H1 */
.hero-title-prefix {
    font-size: clamp(1rem, 0.75rem + 0.4vw, 1.15rem);
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.5px;
    margin: 0 0 0.45rem;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 50%, #ffa726 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, #ff5722 0%, #ff6b35 50%, #ff9800 100%);
}

/* Add subtle pulse animation for primary button */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #4a5568;
    padding: 15px 30px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #667eea;
    color: #667eea;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Comparison Slider */
.comparison-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 20px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.comparison-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.comparison-slider:hover {
    cursor: grab;
}

.comparison-slider:active {
    cursor: grabbing;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

.comparison-image.after {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: none;
}

.comparison-label {
    height: 2rem;
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.comparison-image.after .comparison-label {
    left: auto;
    right: 20px;
}

.comparison-container:hover .comparison-label {
    background: rgba(0, 0, 0, 0.9);
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform, box-shadow;
}

.comparison-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.dividing-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 600px;
    background: white;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    transition: none;
}

.comparison-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.05);
    transition: none;
}

.comparison-container:hover .comparison-handle {
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.3);
    animation: pulse 1.5s infinite;
}

.handle-button {
    color: #667eea;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.comparison-handle:hover .handle-button {
    color: #5a67d8;
    transform: scale(1.1);
}

/* Prevent selection highlights during drag */
.comparison-container::selection,
.comparison-container *::selection {
    background: transparent;
}

.comparison-container::-moz-selection,
.comparison-container *::-moz-selection {
    background: transparent;
}

.handle-button {
    color: #667eea;
    font-size: 1.2rem;
}

/* Mobile-Friendly Before/After Comparison */
.mobile-comparison {
    display: none;
    /* Hidden by default, shown on mobile */
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mobile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px) scale(0.95);
    z-index: 1;
}

.mobile-image.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.mobile-image.prev {
    transform: translateX(-30px) scale(0.95);
}

.mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.mobile-toggle-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    background: #f8fafc;
    border-radius: 15px;
    padding: 5px;
}

.mobile-toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-toggle-btn:active::before {
    left: 100%;
}

.mobile-toggle-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.mobile-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-toggle-btn i {
    font-size: 1rem;
}

.mobile-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    opacity: 0.7;
}

.mobile-swipe-hint i {
    font-size: 0.9rem;
    animation: tap-hint 2s infinite;
}

@keyframes tap-hint {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Responsive visibility classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Tablet and medium screens - use desktop version but with adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .comparison-container {
        padding: 15px;
    }

    .comparison-slider {
        height: 400px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-comparison {
    position: relative;
    height: 420px;
    /* 2:3 ratio for 280px width */
    overflow: hidden;
}

.gallery-before,
.gallery-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.gallery-before img,
.gallery-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default state: show after image */
.gallery-before {
    transform: translateX(-100%);
}

.gallery-after {
    transform: translateX(0);
}

/* On hover: show before image */
.gallery-item:hover .gallery-before {
    transform: translateX(0);
}

.gallery-item:hover .gallery-after {
    transform: translateX(100%);
}

.overlay-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.steps-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    max-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.step-visual {
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
    width: 60px;
    height: 100px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 8px 6px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.upload-animation {
    color: white;
    text-align: center;
}

.upload-animation i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.upload-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.upload-dots span {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: uploadPulse 1.5s infinite;
}

.upload-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.upload-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes uploadPulse {
    0%, 70%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    35% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Style Selector */
.style-selector {
    width: 100px;
    height: 100px;
    position: relative;
}

.style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.style-option {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.style-option.active {
    border-color: #667eea;
    transform: scale(1.1);
}

.style-preview {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.style-preview.watercolor {
    background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.style-preview.oil {
    background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%);
}

.style-preview.minimal {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
}

.style-preview.vintage {
    background: linear-gradient(45deg, #ffecd2 0%, #fcb69f 100%);
}

/* Magic Transformation */
.magic-transformation {
    width: 120px;
    height: 80px;
    position: relative;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.before-image, .after-image {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    position: relative;
}

.house-outline {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    border: 2px dashed #94a3b8;
    border-radius: 4px;
}

.artistic-house {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.artistic-house::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}

.transformation-indicator {
    position: relative;
    flex-shrink: 0;
}

.magic-wand {
    color: #667eea;
    font-size: 1.2rem;
    animation: magicWave 2s infinite;
}

@keyframes magicWave {
    0%, 100% {
        transform: rotate(-15deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

.sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.sparkles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fbbf24;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sparkles span:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0s;
}

.sparkles span:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 0.5s;
}

.sparkles span:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: 1s;
}

.sparkles span:nth-child(4) {
    top: 50%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes sparkle {
    0%, 70%, 100% {
        opacity: 0;
        transform: scale(0);
    }

    35% {
        opacity: 1;
        transform: scale(1);
    }
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-weight: 600;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-tag i {
    font-size: 0.7rem;
    color: #667eea;
}

.step-arrow {
    color: #cbd5e1;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: arrowFloat 2s ease-in-out infinite;
}

@keyframes arrowFloat {
    0%, 100% {
        transform: translateX(0);
    }

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

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.btn-primary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    gap: 0.7rem;
}

.cta-note {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .steps-timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .step-card {
        max-width: 100%;
        padding: 2rem;
    }

    .step-visual {
        height: 100px;
    }

    .magic-transformation {
        width: 100px;
        height: 60px;
    }
}

/* Audience Section */
.audience-section {
    padding: 100px 0;
    background: white;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.audience-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.audience-card.homeowners {
    direction: rtl;
}

.audience-card.homeowners .audience-content {
    direction: ltr;
}

.audience-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.audience-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.audience-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.audience-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.audience-content li i {
    color: #10b981;
    font-size: 0.875rem;
}

.audience-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* Pricing Preview */
.pricing-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1a1a1a;
}

.pricing-preview .section-header h2 {
    color: #1a1a1a;
    font-weight: 700;
}

.pricing-preview .section-header p {
    color: #64748b;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 3px solid #fbbf24;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.75rem;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn-primary {
    background: white;
    color: #667eea;
}

.pricing-cta .btn-primary:hover {
    background: #f8fafc;
}

/* New Pricing Layout Styles */
.base-pricing {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.digital-base {
    max-width: 400px;
    width: 100%;
}

.pricing-card-cta {
    margin-top: 2rem;
    text-align: center;
}

.digital-cta {
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.digital-cta:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.digital-cta i {
    font-size: 1rem;
}

.price-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.print-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.print-options {
    margin-bottom: 3rem;
}

/* Print Header Section */
.print-header {
    text-align: center;
    margin-bottom: 3rem;
}

.print-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-weight: 500;
    font-size: 0.9rem;
}

.benefit-item i {
    font-size: 1.1rem;
}

/* Materials Section */
.materials-section {
    margin-bottom: 3rem;
}

.materials-title,
.sizes-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.materials-title i,
.sizes-title i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.print-materials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.material-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.material-card.featured {
    border: 2px solid #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.9));
}

.material-card.featured::before {
    content: "RECOMMENDED";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #fbbf24;
    color: #1a1a1a;
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.material-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.material-card h5 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.material-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.material-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Sizes Section */
.sizes-section {
    margin-bottom: 2rem;
}

.size-categories {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.size-category h5 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.size-grid {
    display: grid;
    gap: 1rem;
    justify-content: center;
}

.size-grid.small {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.size-grid.medium {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.size-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.size-option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.size-option.popular {
    border: 2px solid #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.9));
}

.size-option.premium {
    border: 2px solid #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.9));
}

.size-dimensions {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fbbf24;
}

.size-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.popular-badge,
.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.popular-badge {
    background: #fbbf24;
    color: #1a1a1a;
}

.premium-badge {
    background: #8b5cf6;
    color: white;
}

/* Pricing Info Section */
.pricing-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pricing-note i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.print-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(245, 158, 11, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(251, 191, 36, 0.3);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a1a1a;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.step-text {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #1a1a1a;
    max-width: 200px;
}

.step-icon {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.step-icon i {
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.cta-note {
    text-align: center;
    color: #a8b3cf;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Footer placeholder styles */
.social-placeholder,
.coming-soon {
    color: #666;
    font-style: italic;
    font-size: 0.875rem;
}

.social-placeholder {
    padding: 0.5rem 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #667eea;
    font-size: 1.8rem;
}

.footer-section p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Hide desktop user dropdown on mobile */
    .user-profile-dropdown {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    /* Mobile button optimizations */
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 140px;
        justify-content: center;
    }

    .hero-cta .btn-primary i,
    .hero-cta .btn-secondary i {
        font-size: 0.85rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    /* Mobile-specific hero visual switches */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-image-container {
        height: 300px;
        /* Smaller on mobile */
    }

    .mobile-toggle-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .mobile-swipe-hint {
        font-size: 0.75rem;
    }

    /* --- Real device hero width/overflow fixes --- */
    /* Ensure hero never exceeds viewport width on physical devices (Safari rounding issues) */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        width: 100%;
        min-height: auto;
        /* Let content define height to avoid 100vh issues on mobile browsers */
        padding: 110px 0 40px;
        /* Extra top to clear fixed navbar */
    }

    .hero-content,
    .hero-text,
    .hero-visual {
        width: 100%;
    }

    .hero-content {
        max-width: 560px;
        /* Constrain for better readability */
        margin: 0 auto;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: clamp(2rem, 7.5vw, 2.4rem);
        /* Fluid scaling */
        line-height: 1.15;
        word-break: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 4px;
    }

    /* Keep CTAs on one line when possible, allow wrap gracefully */
    .hero-cta {
        width: 100%;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        flex: 1 1 0;
        min-width: 0;
        /* Prevent overflow from intrinsic text width */
        white-space: nowrap;
    }

    /* Ultra narrow devices fallback */
    @media (max-width: 380px) {

        .hero-cta .btn-primary,
        .hero-cta .btn-secondary {
            white-space: normal;
        }
    }

    .mobile-image-container {
        height: 260px;
        /* Slightly shorter for small screens */
    }

    .audience-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .audience-card.homeowners {
        direction: ltr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .gallery-comparison {
        height: 375px;
        /* 2:3 ratio for 250px width */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    /* New pricing layout responsive styles */
    .print-materials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .size-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .size-option {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .print-description {
        font-size: 1rem;
    }

    /* Digital CTA responsive styles */
    .digital-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .audience-card {
        padding: 2rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-comparison {
        height: 400px;
        /* Maintain 2:3 ratio for mobile single column */
    }

    .user-dropdown-menu {
        min-width: 200px;
        right: -20px;
    }

    /* Additional responsive styles for new pricing layout */
    .size-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-card {
        padding: 1rem;
    }

    .material-card h4 {
        font-size: 1rem;
    }

    .size-chart {
        padding: 1.5rem;
    }
}

/* Extra small screens optimization */
@media (max-width: 480px) {

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-width: 120px;
        gap: 6px;
    }

    .hero-cta {
        gap: 0.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* Lightbox Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.lightbox-prev:disabled,
.lightbox-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-image-container {
    width: 70vw;
    height: 60vh;
    min-width: 600px;
    min-height: 400px;
    position: relative;
}

.lightbox-image-container .comparison-container {
    width: 100%;
    height: 100%;
}

.lightbox-image-container .comparison-slider {
    width: 100%;
    height: 100%;
}

.lightbox-image-container .comparison-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.lightbox-image-container .comparison-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.lightbox-controls {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
}

.lightbox-toggle {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-toggle:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.lightbox-counter {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-image-container {
        width: 90vw;
        height: 50vh;
        min-width: 300px;
        min-height: 300px;
    }

    .lightbox-nav {
        padding: 0 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-controls {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .lightbox-toggle {
        padding: 12px 24px;
    }

    .lightbox-image-container .comparison-label {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Print Options Responsive */
    .print-benefits {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        font-size: 0.8rem;
    }

    .materials-title,
    .sizes-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .print-materials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .material-card {
        padding: 1.5rem;
    }

    .material-card.featured::before {
        font-size: 0.6rem;
        padding: 3px 25px;
        right: -25px;
    }

    .material-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .material-card h5 {
        font-size: 1.1rem;
    }

    .size-categories {
        gap: 2rem;
    }

    .size-grid.small,
    .size-grid.medium,
    .size-grid.large {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .size-option {
        padding: 1rem 0.75rem;
    }

    .size-dimensions {
        font-size: 1rem;
    }

    .size-label {
        font-size: 0.8rem;
    }

    .print-process {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .step-text {
        font-size: 0.85rem;
    }

    .pricing-info {
        padding: 1.5rem;
    }

    .pricing-note {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
}