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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
.header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7C3AED;
}

.logo img
{
    width: 150px;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #7C3AED;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7C3AED;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav ul li {
    text-align: center;
    padding: 0.5rem 0;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
}

.btn-primary {
    background: #7C3AED;
    color: white !important;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: #6D28D9;
}

.btn-secondary {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.btn-secondary:hover {
    background: #7C3AED;
    color: white;
}

/* Hero Section */
.hero {
    padding: 20px 0 80px;
    background: #fafbfc;
    position: relative;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    font-size: 14px;
    color: #666;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-stats .checkmark {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

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

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

.hero-text {
    order:0;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #5a5a6e;
    line-height:1.7;
    max-width:600px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
    letter-spacing:-0.02em;
}

.purple-text {
    color: #7C3AED;
}

.purple-back {
    background-color: rgba(124, 58, 237, 0.3);
    padding: 2px 6px;             
    border-radius: 3px;             
    font-weight: 600;
    color:#1a1a2e;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature .icon {
    color: #7C3AED;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    order: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(124, 58, 237, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.hero-image::after {
    content: '✨ NewPic Edited';
}

.sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* AI Editor Section */
.ai-editor {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.ai-editor h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #7C3AED;
}

.ai-editor p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #666;
    max-width: 500px;
    margin: 0 auto 1rem;
    padding: 0 0.2rem 0;
}

/* Photo Upload Section */
.photo-upload-section {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap:2rem;
}

.upload-container {
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.photo-upload {
    border: 3px dashed #ddd;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: min(300px, 60vw);
    height: min(300px, 60vw);
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-upload:hover {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.02);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.photo-upload.drag-over {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    color: #7C3AED;
    width: clamp(32px, 8vw, 48px);
    height: clamp(32px, 8vw, 48px);
}

.upload-text .primary-text {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.upload-text .secondary-text {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #666;
}

.photo-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #ddd;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: min(300px, 90vw);
    height: min(300px, 90vw);
    max-height: 300px;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.clear-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-button:hover {
    background: #c0392b;
}

.upload-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    order: 0;
}

.arrow-icon {
    color: #7C3AED;
    width: clamp(24px, 6vw, 32px);
    height: clamp(24px, 6vw, 32px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.result-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #ddd;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: min(300px, 90vw);
    height: min(300px, 90vw);
    max-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    margin-left: auto;
    margin-right: auto;
}

.result-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.placeholder-content {
    text-align: center;
    color: #666;
    padding: 1rem;
}

/* Before/After slider — vertical handle dragged left/right reveals original vs edited.
   Uses clip-path so the "before" image is anchored to the wrapper (no squishing).
   Absolute-positioned to fill the .result-preview container regardless of its flex layout. */
.ba-slider {
    --ba-pct: 0.5; /* 0 = all after, 1 = all before; JS updates this */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    z-index: 1;
}
.ba-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #f8f8f8;
}
/* CSS-overlay watermark visible only on the "after" side (right of slider).
   Inverse clip vs .ba-img-clip — shows when slider exposes the after image. */
.ba-watermark-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
    clip-path: inset(0 0 0 calc(100% * var(--ba-pct, 0.5)));
}
.ba-watermark-overlay > span {
    transform: rotate(-15deg);
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0,0,0,0.55), 0 0 12px rgba(0,0,0,0.35);
    font-weight: 700;
    font-size: clamp(1.5rem, 8vw, 2.6rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}
/* The "before" image sits on top and is clipped from the right edge by (1 - pct) of the width. */
.ba-img-clip {
    clip-path: inset(0 calc(100% * (1 - var(--ba-pct, 0.5))) 0 0);
}
.ba-handle {
    position: absolute;
    top: 0;
    left: calc(var(--ba-pct, 0.5) * 100%);
    transform: translateX(-50%);
    height: 100%;
    width: 44px;
    cursor: ew-resize;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ba-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.45);
}
.ba-handle-circle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #7C3AED;
}
.ba-label {
    position: absolute;
    top: 8px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
}
.ba-label-before { left: 8px; }
.ba-label-after { right: 8px; }


.placeholder-icon {
    width: clamp(40px, 10vw, 64px);
    height: clamp(40px, 10vw, 64px);
    color: #ccc;
    margin-bottom: 1rem;
}

.placeholder-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 500;
}

.processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.processing-spinner {
    width: clamp(32px, 8vw, 48px);
    height: clamp(32px, 8vw, 48px);
    border: 4px solid #e5e7eb;
    border-top: 4px solid #7C3AED;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.processing-text {
    font-weight: 500;
    color: #333;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

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

.upload-section-title {
    font-size: clamp(1.1rem, 3vw, 1.2rem);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

.process-button {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top:1rem;
    min-width: min(200px, 90vw);
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.process-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.process-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Toast Styles */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: min(300px, 90vw);
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid #27ae60;
}

.toast.error {
    border-left: 4px solid #e74c3c;
}

.toast.info {
    border-left: 4px solid #7C3AED;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.featuresrow
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap:10px;
    text-align: center;
}

.featuresrow img 
{
    width: 250px;
    height: 200px; /* Fixed height for images */
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .featuresrow
    {
        grid-template-columns: 1fr 1fr;
    }
    
    .featuresrow img 
    {
        width: 100%;
        height: 100px;
    }

    .logo img
    {
        width: 100px;
    }
}

/* Top Features Carousel - Enhanced for Desktop and Mobile */
.features-carousel-top {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 30px; /* Increased padding for indicators */
}

.features-track-top {
    display: flex;
    transition: transform 0.5s ease;
    /* Desktop: Show 3 cards per slide (2 slides total = 6 cards) */
    width: 200%; /* 2 slides for desktop */
}

.features-track-top.dragging {
    transition: none;
}

.features-slide {
    width: 50%; /* Each slide takes 50% of track width */
    display: flex;
    justify-content: space-evenly;
    padding: 0 10px;
    margin: 10px 0;
    flex-wrap: nowrap;
    gap: 1rem;
}

.feature-card-top {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: min(250px, 28vw); /* Responsive width for desktop */
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.feature-card-top.selected {
    border: 3px solid #7C3AED;
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-3px);
}

.feature-card-top h5 {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-top: 0.5rem;
    text-align: center;
}

.feature-icon-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    background: #7C3AED;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 58, 237, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-controls:hover {
    background: rgba(124, 58, 237, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-controls:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.carousel-prev {
    left: 0px;
}

.carousel-next {
    right: 0px;
}

/* Fixed carousel indicators - horizontal single row */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 1rem auto 0 auto;
    padding: 0;
    width: 100%;
    max-width: 300px;
    flex-wrap: nowrap; /* Force single row - no wrapping */
    height: 20px; /* Fixed height to prevent vertical expansion */
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent indicators from shrinking */
    min-width: 12px; /* Ensure minimum size */
}

.carousel-indicator.active {
    background: #7C3AED;
    transform: scale(1.2);
}



/* Touch support for carousels */
.carousel-touch-area {
    touch-action: pan-y;
    user-select: none;
}

/* Extra small devices - even more compact */
@media (max-width: 480px) {
    .feature-card-top {
        width: min(260px, 90vw);
        padding: 0.75rem;
    }
    
    .feature-icon-top {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        gap: 3px; /* Even smaller gap */
        padding: 0 5px;
        height: 14px; /* Even smaller height */
        max-height: 14px;
    }
    
    .carousel-indicator {
        width: 6px; /* Very compact for small screens */
        height: 6px;
        min-width: 6px;
        flex-shrink: 0;
    }
    
    .carousel-indicator.active {
        transform: scale(1.6);
    }
}

/* Force horizontal layout for indicators container */
.features-carousel-top .carousel-indicators {
    display: flex !important;
    flex-direction: row !important; /* Explicitly force horizontal */
    align-items: center !important;
    flex-wrap: nowrap !important; /* Prevent wrapping */
}

/* Additional container fixes */
.photo-upload-section .features-carousel-top,
.ai-editor .features-carousel-top {
    margin: 0 auto;
    width: 100%;
}

/* Problems Section */
.problems {
    padding: 80px 0;
    text-align: center;
}

.problems h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.problems h2 .highlight {
    color: #e74c3c;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.solutions h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.solutions h2 .highlight {
    color: #27ae60;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: #27ae60;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Product Section */
.product {
    padding: 80px 0;
    text-align: center;
}

.product h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #7C3AED;
}

.product p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #666;
    margin-bottom: 3rem;
}

.product-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone-mockup {
    width: min(250px, 80vw);
    height: min(500px, 60vh);
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.features h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: #333;
}

/* Feature Controls */
.feature-controls {
    background: white;
    display: none;
}

.feature-controls h4 {
    color: #7C3AED;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.control-dropdown, .control-textbox {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: border-color 0.3s;
}

.control-dropdown:focus, .control-textbox:focus {
    border-color: #7C3AED;
    outline: none;
}

.textbox-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.textbox-group {
    flex: 1;
    min-width: min(250px, 100%);
}

.textbox-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.char-counter {
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    color: #666;
    margin-top: 0.25rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #7C3AED;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: min(280px, 90vw);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.feature-card.selected {
    border: 3px solid #7C3AED;
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-3px);
}

.feature-card h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #7C3AED;
}

.usecases {
    padding: 80px 0;
    text-align: center;
}

.usecases h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.use-cases-tab img {
    width: 70%;
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: bold;
    color: #7C3AED;
    display: block;
}

.stat-label {
    color: #666;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.pricing h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: #7C3AED;
}

.pricing-grid {
    display: grid;
    /* Three tiers side by side. 1fr rather than a fixed track so the cards shrink
       together on narrow desktops instead of wrapping the third one onto its own row. */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
    /* Extra top padding: the "Most Popular" badge sits at top: -16px and would
       otherwise be clipped by the section above. */
    padding: 1.75rem 2rem 1rem;
    justify-content: center;
    align-items: stretch;
}

/* Two columns would leave a lone third card, so go straight to a single column. */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: minmax(0, 380px);
        padding: 1.75rem 1rem 1rem;
    }
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    /* Transparent 3px border matches .featured's border so all three cards are the
       same size and their content lines up across the row. */
    border: 3px solid transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Push the CTA to the bottom so the buttons align across cards with different
   numbers of feature bullets. */
.pricing-card > .pricing-features {
    flex: 1 0 auto;
}
.pricing-card > .btn-primary,
.pricing-card > .btn-secondary {
    margin-top: auto;
    width: 100%;
    padding: 14px 22px;
    line-height: 1.6;
    /* Same box for both: .btn-secondary carries a 2px border and .btn-primary none,
       which made the primary CTA 8px shorter than the secondaries sitting beside it. */
    border: 2px solid transparent;
}
.pricing-card > .btn-secondary {
    border-color: #7C3AED;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.pricing-card.featured {
    border: 3px solid #7C3AED;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.18);
}

/* Polished BEST VALUE ribbon badge */
.pricing-card.featured > .feature-badge.badge-popular {
    background: linear-gradient(135deg, #7C3AED 0%, #a855f7 50%, #d8b4fe 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45), 0 0 0 1px rgba(124, 58, 237, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    top: -16px !important;
    z-index: 5;
    white-space: nowrap;
}

.pricing-card.featured > .feature-badge.badge-popular::before {
    content: "★";
    margin-right: 6px;
    color: #fde68a;
    text-shadow: 0 0 8px rgba(253, 230, 138, 0.7);
}

.pricing-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.price {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    color: #7C3AED;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

/* FAQ */
.faq {
    padding: 80px 0;
    text-align: center;
}

.faq h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    color: #7C3AED;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    display: none;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

/* CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 50%, #C084FC 100%);
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #7C3AED;
    font-size: clamp(1.1rem, 2.8vw, 1.2rem);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.footer-section ul li a:hover {
    color: #7C3AED;
}

.footer-section p {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

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

.social-links a {
    color: #d1d5db;
    font-size: 1.5rem;
    transition: color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: #7C3AED;
}

/* Progress bar */
.progress-bar {
    width: 80%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #A855F7);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-percent {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #666;
    font-weight: 500;
}

/* Result actions */
.result-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.result-actions button {
    background: #7C3AED;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: min(120px, 40vw);
    justify-content: center;
}

.result-actions button:hover:not(:disabled) {
    background: #6D28D9;
    transform: translateY(-1px);
}

.result-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result-actions .btn-secondary {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.result-actions .btn-secondary:hover:not(:disabled) {
    background: #7C3AED;
    color: white;
}

/* Photo credits */
.photo-credits {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.credits-text {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    color: #333;
    font-weight: 500;
}

.credits-number {
    color: #7C3AED;
    font-weight: bold;
}

/* Cookie consent bar */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1001;
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    color: #666;
    line-height: 1.5;
}

.cookie-text a {
    color: #7C3AED;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn-essential {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn-essential:hover {
    background: #f5f5f5;
}

.cookie-btn-accept {
    background: #7C3AED;
    color: white;
}

.cookie-btn-accept:hover {
    background: #6D28D9;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Show mobile menu button, hide desktop nav */

    .result-actions {
        flex-direction: row-reverse;
    }
    .photo-upload-section
    {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav.show {
        display: block;
    }

    /* Hero section mobile adjustments */
    .hero {
        padding: 15px 0 60px;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        justify-items: center;
        width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .hero-image {
        height: 300px;
    }

    /* Upload container mobile layout */
    .upload-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .upload-arrow {
        order: 2;
        transform: rotate(90deg);
    }

 

    /* Pricing cards mobile */
    .pricing-card.featured {
        transform: none;
    }

    /* Text box container mobile stacking */
    .textbox-container {
        flex-direction: column;
        gap: 1rem;
    }

    .textbox-group {
        min-width: 100%;
    }

    /* Sections padding adjustment */
    .problems,
    .solutions,
    .product,
    .features,
    .pricing,
    .faq,
    .final-cta {
        padding: 60px 0;
    }

    .ai-editor {
        padding: 80px 0;
    }

    /* Mobile-specific button styles */
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 48px;
        touch-action: manipulation;
    }

    /* Mobile toast positioning */
    .toast-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
    }

    .toast {
        margin: 0;
        min-width: auto;
    }

    /* FAQ mobile improvements */
    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }

    /* Cookie consent mobile */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0;
    }

    .pricing-card,
    .problem-card,
    .solution-card {
        padding: 1.5rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

/* Touch improvements for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .feature-card-top:hover,
    .problem-card:hover,
    .solution-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    .process-button:hover:not(:disabled) {
        transform: none;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 15px 0 50px;
    }

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

    .phone-mockup {
        height: 300px;
    }

    .photo-upload,
    .photo-preview,
    .result-preview {
        height: 200px;
        width: 200px;
    }
}

/* Signup Modal Styles */
.signup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.signup-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.signup-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

.signup-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    position: relative;
}

.signup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.signup-close:hover {
    background: #f5f5f5;
    color: #333;
}

.signup-logo {
    margin-bottom: 1rem;
}

.signup-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.signup-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.signup-body {
    padding: 0 2rem 2rem;
}

/* Google Signup Button */
.signup-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.signup-google-btn:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.google-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Divider */
.signup-divider {
    position: relative;
    text-align: center;
    margin: 0;
}

.signup-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.signup-divider span {
    background: white;
    color: #9ca3af;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signup-input-group {
    display: flex;
    flex-direction: column;
}

.signup-input-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.signup-input-group input {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.signup-input-group input:focus {
    outline: none;
    border-color: #7C3AED;
    background: white;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.signup-input-group input::placeholder {
    color: #9ca3af;
}

/* Code Input Styles */
.code-info {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.code-status {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
}

.resend-code {
    background: none;
    border: none;
    color: #7C3AED;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity 0.2s ease;
}

.resend-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.resend-code:not(:disabled):hover {
    text-decoration: underline;
}

.resend-timer {
    color: #9ca3af;
    font-weight: normal;
}

#signupCode {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.2em;
}

/* Success state for code input */
#signupCode.valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

#signupCode.invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

/* Checkbox */
.signup-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.signup-checkbox input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #7C3AED;
    cursor: pointer;
}

.signup-checkbox label {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.signup-checkbox a {
    color: #7C3AED;
    text-decoration: none;
    font-weight: 600;
}

.signup-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button */
.signup-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0.2rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.signup-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

/* Footer */
.signup-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.signup-footer p {
    color: #666;
    font-size: 0.875rem;
}

.signup-footer a {
    color: #7C3AED;
    text-decoration: none;
    font-weight: 600;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .signup-modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 85vh;
    }

    .signup-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .signup-body {
        padding: 0 1.5rem 1.5rem;
    }

    .signup-header h2 {
        font-size: 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .signup-input-group input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .signup-google-btn {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .signup-modal-content {
        width: 85%;
        margin: 0;
        border-radius: 0;
        max-height: 90vh;
        height: auto;
    }

    .signup-header {
        padding: 1rem 0;
    }

    .signup-header p {
        display: none;
    }

    .signup-body {
        padding: 0 1rem 1rem;
    }
}

/* Value Proposition Section */
.value-proposition {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.value-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight-negative {
    color: #dc2626;
    text-decoration: line-through;
    text-decoration-color: #dc2626;
    text-decoration-thickness: 3px;
}

.value-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.before-card, .after-card {
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
}

.before-card {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border: 2px solid #f87171;
}

.after-card {
    background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
    border: 2px solid #34d399;
}

.card-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.complexity-indicators, .simplicity-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.indicator {
    font-size: 0.875rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

/* Enhanced Feature Cards */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.features-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* Replace carousel with visible grid on desktop */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

/* Enhanced feature cards with better information */
.feature-card-enhanced {
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 180px;
}

.feature-card-enhanced img:hover {
    border-color: #7C3AED;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.feature-card-enhanced img.selected {
    border-color: #7C3AED;
    border-style: solid;
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}


.feature-card-enhanced img {
    width: 100%;
    height: 150px; /* Fixed height instead of auto */
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.feature-icon-enhanced {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    background: linear-gradient(135deg, #7C3AED, #e5e7eb);
}

.feature-card-enhanced h5 {
    font-size: 0.8rem;
}

.feature-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

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

.proof-numbers h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.proof-stat {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fbbf24;
}

.proof-label {
    font-size: 0.875rem;
    color: #e2e8f0;
    margin-top: 0.25rem;
}

.author strong {
    display: block;
    font-weight: 600;
}

.author span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: #f8fafc;
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.how-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step-card p {
    color: #666;
    line-height: 1.5;
}

.step-arrow {
    font-size: 1.5rem;
    color: #7C3AED;
    font-weight: bold;
}

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

.cta-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: white;
}

.why-choose-us h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    background: white;
    border-color: #7C3AED;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .value-content,
    .proof-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .value-stats {
        grid-template-columns: 1fr;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

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

    .comparison-cards {
        margin-top: 2rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.6rem;
        margin: 0 0;
    }
}
.recaptcha-container {
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.77);
    }
}

.contact-hero {
    padding: 120px 0 20px;
    background: #fafbfc;
}
.contact-form-section {
    padding: 20px 0;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7C3AED;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}
.contact-icon {
    width: 60px;
    height: 60px;
    background: #7C3AED;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.slide-label {
    background: rgba(124, 58, 237, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}



/* Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.hero-image:hover .hero-slider-nav {
    opacity: 1;
}

.hero-slider-nav:hover {
    background: rgba(124, 58, 237, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-nav.prev {
    left: 20px;
}

.hero-slider-nav.next {
    right: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .slide-overlay {
        top: 10px;
        right: 10px;
    }
    
    .slide-label {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero-slider-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    
    .hero-slider-nav {
        width: 40px;
        height: 40px;
        opacity: 1; /* Always visible on mobile */
    }
    
    .hero-slider-nav.prev {
        left: 10px;
    }
    
    .hero-slider-nav.next {
        right: 10px;
    }

    .checkbox-container {
        margin: 5px 0;
    }

}

/* Fallback for when no images are loaded */
.hero-slide:not(.active) {
    pointer-events: none;
}

/* Loading state */
.hero-slide img {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animation for slide labels */
.hero-slide.active .slide-label {
    animation: slideInLabel 0.6s ease-out 0.3s both;
}

@keyframes slideInLabel {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
    cursor: pointer;
    position: relative;
}

/* Hide the default checkbox */
.checkbox-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    cursor: pointer;
}

/* Custom round checkbox */
.checkmark {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover effect */
.checkbox-container:hover .checkmark {
    border-color: rgba(124, 58, 237, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* When checked */
.checkbox-container input:checked ~ .checkmark {
    background: rgba(124, 58, 237, 0.9);
    border-color: rgba(124, 58, 237, 0.9);
}

/* Checkmark/tick inside */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Show checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}



.tab-button{
    flex: 1;
    min-width: fit-content;
    padding: 0.6rem 0.4rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    white-space: nowrap;
}
.tab-button2 {
    flex: 1;
    min-width: 50px;
    padding: 0.6rem 0.8rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}
.tab-button3 {
    flex: 1;
    min-width: 50px;
    padding: 0.6rem 0.8rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}


.tab-button.active, .tab-button2.active {
    background: #7C3AED;
    color: white;
    font-weight: 600;
}



.tab-icon {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

/* Tab Content */
.tab-content,.tab-content2 {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active,.tab-content2.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}
/* Feature Badge Styles */
.feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    animation: badgePulse 2s infinite;
}

/* Badge Types */
.badge-pro {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Optional: Additional badge types for future use */
.badge-popular {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.badge-beta {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}


/* Subtle pulsing animation */
@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
}

/* Hover effect for parent card */
.feature-card-enhanced:hover .feature-badge {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* Make sure the parent card has relative positioning */
.feature-card-enhanced {
    position: relative;
    /* Add your existing card styles here */
}

/* Optional: Disable animation on mobile to save battery */
@media (hover: none) and (pointer: coarse) {
    .feature-badge {
        animation: none;
    }
}

/* Alternative static versions (if you prefer no animation) */
.feature-badge.static {
    animation: none;
    transform: none;
}

.feature-badge.static:hover {
    transform: scale(1.05);
}
/* Language Selector Styles */
.language-selector-wrapper {
    display: flex;
    align-items: center;
}

.language-selector {
    padding: 8px 12px;
    border: 2px solid #7C3AED;
    border-radius: 6px;
    background: white;
    color: #7C3AED;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.language-selector:hover {
    background-color: #f8f4ff;
    border-color: #6D28D9;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
}

.language-selector:focus {
    border-color: #6D28D9;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.language-selector option {
    padding: 10px;
    background: white;
    color: #333;
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector-wrapper {
        display: none; /* Hide from desktop nav on mobile */
    }
    
    .mobile-nav .language-selector {
        width: 90%;
        margin: 1rem auto;
        display: block;
    }
    
    #languageSelectorMobile {
        display: block !important;
    }

    .tab-button
    {
        max-width: 100px;
        min-width: 85px;
        text-wrap: auto;
    }


    .tab-button2 h3 {
        font-size: smaller;
    }
}

/* Desktop - hide mobile selector */
@media (min-width: 769px) {
    #languageSelectorMobile {
        display: none !important;
    }
}

/* Smooth transitions for text changes */
[data-i18n] {
    transition: opacity 0.2s ease;
}

/* Language change animation */
.language-changing [data-i18n] {
    opacity: 0.7;
}

/* Additional styling for language selector in nav */
.nav-links .language-selector {
    font-size: 14px;
}

/* Ensure language selector doesn't break layout */
.nav-links li.language-selector-wrapper {
    margin: 0;
}

/* Mobile-First Layout */
.layout-2 {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    margin-top: 20px;
}

.layout-2 .content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.layout-2 .left-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout-2 .credit-badge {
    color: #7c3aed;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}

.layout-2 .credit-badge span:first-child {
    font-size: 20px;
}

.layout-2 .message {
    font-size: 18px;
    color: #111827;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.layout-2 .buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout-2 .btn {
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
}

.layout-2 .btn-outline {
    background: white;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    font-size: 16px; 
}

.layout-2 .btn-outline:hover {
    background: #f5f3ff;
}

.layout-2 .btn-solid {
    background: #7c3aed;
    color: white;
    font-size: 16px; 
}

.layout-2 .btn-solid:hover {
    background: #6d28d9;
}

/* Desktop View */
@media (min-width: 769px) {
    .layout-2 .content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .layout-2 .left-section {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .layout-2 .credit-badge {
        padding: 8px 20px;
    }

    .layout-2 .message {
        text-align: left;
    }

    .layout-2 .buttons {
        flex-direction: row;
        width: auto;
    }

    .layout-2 .btn {
        width: auto;
    }
}
/* Google AdSense Centering */
.ad-section {
    padding: 40px 0;
}

.ad-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ad-section .adsbygoogle {
    margin: 0 auto !important;
    max-width: 100%;
}

.ad-section p {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .features-track-top {
        width: 600%; /* 6 slides × 100% = 600% */
    }
    
    .features-slide {
        width: 16.666%; /* 100% ÷ 6 slides = 16.666% */
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: center; /* Center the single card */
    }
    
    .feature-card-enhanced {
        flex: 0 0 auto; /* Don't grow or shrink */
        width: 100%;
        margin: 0 auto; /* Center the card */
        align-items: center;
        justify-items: center;
        position: relative;
        height: 15vh !important;
    }
    
    .feature-card-top {
        width: min(280px, 85vw);
        margin: 0;
    }

    .feature-card-enhanced img {
        height: max(85px, 5vh);
        width: 100%;
        object-fit: contain;
    }
    
    /* Hide carousel controls on mobile, use touch instead */
    .carousel-controls {
        display: none;
    }
    
    /* Mobile specific - horizontal single row */
    .carousel-indicators {
        gap: 4px; /* Smaller gap to fit all indicators */
        margin: 1rem auto 0 auto;
        padding: 0 10px;
        justify-content: center;
        flex-wrap: nowrap !important; /* Important: keep single row */
        max-width: 100%;
        overflow-x: auto; /* Allow horizontal scroll if needed */
        overflow-y: hidden; /* Prevent vertical stacking */
        height: 16px; /* Fixed height for mobile */
        max-height: 16px; /* Prevent vertical expansion */
    }
    
    .carousel-indicator {
        width: 8px; /* Smaller size to fit more in one row */
        height: 8px;
        margin: 0;
        min-width: 8px; /* Ensure minimum size */
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    .carousel-indicator.active {
        transform: scale(1.5); /* More prominent on mobile */
        background: #7C3AED;
    }
}

.text-primary
{
    color: #7C3AED;
    text-decoration: none;
}

/* ============================================
   SMART PREVIEW SYSTEM CSS
   Add this to the end of your style.css file
   ============================================ */

/* Smart Preview Container */
.smart-preview-container {
    width: 100%;
}

/* Header */
.smart-preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ai-analyzing-badge,
.ai-complete-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7C3AED, #a855f7);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.ai-complete-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.smart-preview-subtitle {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* Preview Grid */
.smart-preview-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 992px) {
    .smart-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .smart-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Preview Card */
.preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.preview-card.preview-ready {
    border: 2px solid transparent;
    cursor: pointer;
}

.preview-card.preview-ready:hover,
.preview-card.preview-ready.selected {
    border-color: #7C3AED;
}

.preview-card.preview-ready.selected {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

/* Loading State */
.preview-card.preview-loading {
    min-height: 320px;
}

.preview-skeleton {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skeleton-text {
    height: 20px;
    width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-button {
    height: 44px;
    width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-top: auto;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top-color: #7C3AED;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Badges */
.preview-badge-container {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.preview-your-photo-badge {
    background: linear-gradient(135deg, #7C3AED, #9333ea);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.preview-match-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #166534;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Comparison Slider */
.preview-comparison {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    background: #f5f5f5;
}

.preview-comparison img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.preview-comparison .preview-before {
    z-index: 1;
}

.preview-comparison .preview-after {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.preview-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.preview-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.preview-slider-handle span {
    color: #7C3AED;
    font-size: 16px;
    font-weight: bold;
}

.preview-comparison.sliding .preview-slider-handle {
    transform: translate(-50%, -50%) scale(1.1);
}

.preview-comparison:hover .preview-slider-handle {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Watermark */
.preview-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 15;
    letter-spacing: 0.5px;
}

/* Labels */
.preview-labels {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 80px;
    display: flex;
    justify-content: space-between;
    z-index: 15;
    pointer-events: none;
}

.preview-labels span {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.label-before {
    opacity: 0.8;
}

.label-after {
    background: rgba(124, 58, 237, 0.9) !important;
}

/* Preview Info */
.preview-info {
    padding: 1rem;
    text-align: center;
}

.preview-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.preview-reason {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Select Button */
.btn-select-feature {
    width: calc(100% - 5rem);
    margin: 0 1rem 1rem;
    padding: 12px 20px;
    background: linear-gradient(135deg, #7C3AED, #9333ea);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.btn-select-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-select-feature:active {
    transform: translateY(0);
}

/* CTA Section */
.smart-preview-cta {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
    border: 2px dashed #c4b5fd;
}

.smart-preview-cta > p:first-child {
    font-size: 16px;
    color: #5b21b6;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #7C3AED, #9333ea);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.cta-savings {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    animation: bounce-badge 2s infinite;
}

@keyframes bounce-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.cta-guarantee {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Error State */
.preview-error {
    padding: 3rem 2rem;
    text-align: center;
}

.preview-error .error-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 1rem;
}

.preview-error h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 18px;
}

.preview-error p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-retry,
.btn-skip {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 8px;
}

.btn-retry {
    background: #7C3AED;
    color: white;
}

.btn-retry:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.btn-skip {
    background: #e5e7eb;
    color: #374151;
}

.btn-skip:hover {
    background: #d1d5db;
}

/* Responsive */
@media (max-width: 768px) {
    .smart-preview-header {
        margin-bottom: 1rem;
    }

    .ai-analyzing-badge,
    .ai-complete-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .smart-preview-cta {
        padding: 1.5rem 1rem;
    }

    .btn-cta-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .preview-badge-container {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .preview-your-photo-badge,
    .preview-match-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .preview-info {
        padding: 0.75rem;
    }

    .preview-info h5 {
        font-size: 14px;
    }

    .btn-select-feature {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
}

/* Animation */
.preview-card.preview-ready {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.preview-card[data-index="0"] { animation-delay: 0s; }
.preview-card[data-index="1"] { animation-delay: 0.15s; }
.preview-card[data-index="2"] { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   EDITOR TWO-COLUMN STICKY LAYOUT
   ============================================ */

/* Override existing photo-upload-section for new layout */
.photo-upload-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
}

/* Left Column - Sticky */
.editor-left-column {
    position: relative;
}

.editor-sticky-wrapper {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Right Column */
.editor-right-column {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Upload and Result sections in left column */
.editor-left-column .upload-container {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}

.editor-left-column .photo-upload,
.editor-left-column .photo-preview,
.editor-left-column .result-preview {
    width: 100%;
    max-width: 280px;
    height: 200px;
    margin: 0 auto;
}

/* Feature Controls in left column */
.editor-left-column .feature-controls {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    border: 2px solid #e5e7eb;
}

.editor-left-column .feature-controls.active {
    border-color: #7C3AED;
}

.editor-left-column .feature-controls h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: #7C3AED;
}




@keyframes shimmer-btn {
    0% { left: -100%; }
    100% { left: 100%; }
}



/* Upsell text */
.editor-upsell {
    text-align: center;
    margin-top: 0.5rem;
}

.editor-upsell small {
    display: block;
    color: #666;
    font-size: 0.8rem;
}

/* Result actions in left column */
.editor-left-column .result-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    align-items: stretch;
}

.editor-left-column .result-actions .download-dropdown,
.editor-left-column .result-actions > div {
    width: 100%;
}

.editor-left-column .result-actions .btn,
.editor-left-column .result-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* TrustPilot widget */
.editor-left-column .trustpilot-widget {
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .photo-upload-section {
        grid-template-columns: 1fr;
    }
    
    .editor-sticky-wrapper {
        position: relative;
        top: 0;
        max-height: none;
        overflow: visible;
    }
    
    .editor-left-column {
        order: 1;
    }
    
    .editor-right-column {
        order: 2;
    }
    
    .editor-left-column .photo-upload,
    .editor-left-column .photo-preview,
    .editor-left-column .result-preview {
        max-width: 100%;
        height: min(250px, 50vw);
    }
    
    /* Show inline button on mobile */
    .editor-left-column .process-button {
        display: block;
    }
}

/* Mobile Sticky CTA Bar */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    border-top: 2px solid #7C3AED;
}

.mobile-sticky-cta .process-button {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    /* Add bottom padding to prevent content being hidden by sticky bar */
    .ai-editor {
        padding-bottom: 100px;
    }
}

/* Hide mobile sticky when processing */
.mobile-sticky-cta.processing {
    display: none;
}

.cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1005;
    display: block;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-text {
    flex: 1;
    max-width: 70% !important;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
/* Preview Countdown Timer */
.preview-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0ebff 100%);
    border: 2px dashed #7C3AED;
    border-radius: 16px;
    margin: 20px 0;
    text-align: center;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: #7C3AED;
    }
    50% {
        border-color: #a78bfa;
    }
}

.countdown-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e9e3ff;
    border-top: 4px solid #7C3AED;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.countdown-content {
    width: 100%;
    max-width: 400px;
}

.countdown-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #7C3AED;
    margin-bottom: 16px;
}

.countdown-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: #7C3AED;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    display: inline-block;
}

.countdown-label {
    font-size: 1rem;
    color: #666;
}



.countdown-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #9333ea);
    border-radius: 4px;
    transition: width 1s linear;
}



/* Mobile adjustments */
@media (max-width: 768px) {
    .cta-content {
        display: grid;
        justify-content: normal;
        gap: 0;
    }
    .cta-text {
        flex: 1;
        max-width: 100% !important;
        text-align: center;
    }
    .preview-countdown {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .countdown-text {
        font-size: 1.1rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-spinner {
        width: 40px;
        height: 40px;
    }
}
/* Feature Tabs - Compact Stacked Underline Style */
.feature-tabs-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1rem;
}

.feature-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #e5e7eb;
    min-width: min-content;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: auto;
    -ms-overflow-style: none;
}

.feature-tabs .tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    position: relative;
    white-space: nowrap;
}

.feature-tabs .tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-tabs .tab-button:hover {
    color: #6b7280;
}

.feature-tabs .tab-button.active {
    color: #7C3AED;
}

.feature-tabs .tab-button.active::after {
    transform: scaleX(1);
}

.feature-tabs .tab-button .tab-icon {
    font-size: 22px;
    line-height: 1;
}

/* Mobile - stays horizontal with scroll */
@media (max-width: 768px) {
    .feature-tabs {
        justify-content: flex-start;
        padding: 0 10px;
    }

    .feature-tabs .tab-button {
        padding: 10px 18px;
        font-size: 11px;
    }

    .feature-tabs .tab-button .tab-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .feature-tabs .tab-button {
        padding: 10px 14px;
        font-size: 10px;
    }
}

.feature-tabs::-webkit-scrollbar {
    display: none;
}
/* ============================================================
   Batch editing (single / bulk mode)
   ============================================================ */

.editor-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.editor-mode-toggle .mode-btn {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e2e8;
    border-radius: 10px;
    background: #fff;
    color: #444;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}

.editor-mode-toggle .mode-btn:hover { border-color: #b9a5f0; }

.editor-mode-toggle .mode-btn.active {
    border-color: #7C3AED;
    color: #7C3AED;
    background: #f6f2ff;
}

.editor-mode-toggle .mode-badge {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    margin-left: 4px;
    border-radius: 999px;
    background: #7C3AED;
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.5;
}
.editor-mode-toggle .mode-badge:empty { display: none; }

.bulk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bulk-tile {
    position: relative;
    border: 1px solid #e2e2e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.bulk-tile-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eee;
}

.bulk-tile-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 8px;
    font-size: 0.75rem;
}

.bulk-tile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #555;
}

.bulk-tile-status { font-weight: 600; color: #777; }

.bulk-tile--processing { border-color: #7C3AED; }
.bulk-tile--processing .bulk-tile-status { color: #7C3AED; }
.bulk-tile--processing .bulk-tile-img { opacity: .55; }

.bulk-tile--done { border-color: #16a34a; }
.bulk-tile--done .bulk-tile-status { color: #16a34a; }

.bulk-tile--failed { border-color: #dc2626; }
.bulk-tile--failed .bulk-tile-status { color: #dc2626; }

.bulk-tile--skipped { opacity: .6; }

.bulk-retry,
.bulk-tile-dl {
    display: block;
    width: 100%;
    padding: 5px 6px;
    border: 0;
    border-top: 1px solid #eee;
    background: #fff;
    color: #7C3AED;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.bulk-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.bulk-summary {
    margin-top: 12px;
    font-size: 0.88rem;
    color: #555;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.bulk-actions .btn,
.bulk-actions .btn-secondary { flex: 1; }

@media (max-width: 480px) {
    .bulk-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
