/* Result Page Styles - Clean & Marketable Design */

/* Global Responsive Setup */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Main Result Hero Section */
.result-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}



.result-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    box-sizing: border-box;
}

/* Logo Showcase */
.logo-showcase {
    max-width: 400px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease-out 0.9s both;
}

.logo-container {
    width: 250px;
    height: 250px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 15px 20px -10px rgba(0, 0, 0, 0.08);
}

.placeholder-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    text-align: center;
    color: #9ca3af;
}

.logo-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    stroke: #d1d5db;
}

.logo-placeholder span {
    display: block;
    font-size: 16px;
    font-weight: 500;
}

.generated-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    width: auto;
    height: auto;
}

#logoImage {
    max-width: 85%;
    height: auto;
    margin: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Action Buttons */
.logo-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

.primary-action {
    background: #1f2937;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.primary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.primary-action:hover::before {
    left: 100%;
}

.primary-action:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.secondary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.secondary-action:hover::before {
    left: 100%;
}

.secondary-action:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Wix Promotion Section */
.wix-promotion-section {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wix-promotion-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.wix-promotion-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.promotion-header {
    margin-bottom: 48px;
}

.wix-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wix-badge svg {
    stroke: #fbbf24;
}

.promotion-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promotion-subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.wix-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    width: 100%;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    flex-shrink: 0;
}

.feature-icon svg {
    stroke: white;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
}

.wix-offer {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.offer-highlight {
    margin-bottom: 32px;
}

.offer-badge {
    display: inline-block;
    background: #fbbf24;
    color: #1f2937;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.offer-text {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.offer-text strong {
    color: #fbbf24;
}

.wix-actions {
    text-align: center;
}

.wix-cta-btn {
    background: #fbbf24;
    color: #1f2937;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.wix-cta-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.wix-cta-btn.pulse {
    animation: pulse 2s infinite;
}

/* Result Hero Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4);
    }
    100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
}

.cta-note {
    font-size: 16px;
    margin-top: 16px;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.5;
}

/* Social Proof Section */
.social-proof {
    margin-bottom: 48px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* Urgency Banner */
.urgency-banner {
    margin: 48px 0;
    animation: urgencyPulse 3s ease-in-out infinite;
}

.urgency-content {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 16px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.urgency-icon {
    font-size: 24px;
    animation: flash 1.5s ease-in-out infinite;
}

.urgency-text {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Value Stack */
.value-stack {
    margin-top: 24px;
    text-align: left;
}

.value-item {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-item:last-child {
    border-bottom: none;
}

/* Risk Reversal */
.risk-reversal {
    margin: 32px 0;
}

.guarantee-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scarcity Timer */
.scarcity-timer {
    margin-top: 20px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
}

.timer-text {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
}

.timer-countdown {
    font-size: 18px;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: timerBlink 1s ease-in-out infinite;
}

@keyframes timerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Enhanced Features Grid */
.wix-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

/* Container */
/* Container styles moved to top of file */

/* Responsive Design - Enhanced for all devices */

/* Ultra Large Desktop (1600px and above) */
@media (min-width: 1600px) {
    .result-hero {
        padding: 120px 0;
    }
    
    .logo-container {
        width: 320px;
        height: 320px;
    }
    
    .promotion-title {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .promotion-subtitle {
        font-size: 22px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .wix-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .wix-cta-btn {
        padding: 24px 48px;
        font-size: 20px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .wix-promotion-section {
        padding: 100px 0;
    }
}

/* Laptop (1440px - 1599px) */
@media (min-width: 1440px) and (max-width: 1599px) {
    .result-hero {
        padding: 100px 0;
        min-height: 75vh;
    }
    
    .result-content {
        max-width: 650px;
        padding: 0 32px;
    }
    
    .logo-showcase {
        max-width: 450px;
    }
    
    .logo-container {
        width: 300px;
        height: 300px;
        margin-bottom: 36px;
    }
    
    .logo-actions {
        gap: 18px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .primary-action,
    .secondary-action {
        padding: 18px 36px;
        font-size: 17px;
        border-radius: 14px;
    }
    
    .wix-promotion-section {
        padding: 90px 0;
    }
    
    .wix-promotion-content {
        max-width: 1000px;
        padding: 0 32px;
    }
    
    .promotion-title {
        font-size: 44px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .promotion-subtitle {
        font-size: 20px;
        max-width: 750px;
        margin: 0 auto 40px;
        line-height: 1.5;
    }
    
    .wix-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: 850px;
        margin: 0 auto 48px;
    }
    
    .feature-item {
        padding: 20px;
        border-radius: 14px;
    }
    
    .feature-icon {
        padding: 10px;
        border-radius: 10px;
    }
    
    .feature-text {
        font-size: 17px;
        font-weight: 600;
    }
    
    .wix-offer {
        padding: 36px;
        border-radius: 18px;
        max-width: 800px;
        margin: 0 auto 28px;
    }
    
    .offer-text {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .wix-cta-btn {
        padding: 22px 44px;
        font-size: 19px;
        max-width: 420px;
        margin: 0 auto;
        border-radius: 14px;
    }
    
    .guarantee-badge {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .cta-note {
        font-size: 17px;
        margin-top: 18px;
    }
    
    .back-arrow-btn {
        top: 24px;
        left: 24px;
        width: 52px;
        height: 52px;
        padding: 14px;
    }
    
    .back-arrow-btn svg {
        width: 22px;
        height: 22px;
    }
    
    /* Logo Image Optimization for Laptop */
    #logoImage {
        max-width: 80%;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .logo-placeholder svg {
        width: 72px;
        height: 72px;
    }
    
    .logo-placeholder span {
        font-size: 18px;
        font-weight: 500;
    }
    
    /* Error Message for Laptop */
    .error-message {
        max-width: 600px;
        padding: 32px;
        border-radius: 16px;
        margin: 2rem auto;
    }
    
    .error-message p {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .retry-btn {
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 12px;
        min-height: 56px;
    }
    
    /* Enhanced spacing for laptop viewing */
    .wix-badge {
        padding: 8px 18px;
        font-size: 13px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .offer-highlight {
        margin-bottom: 36px;
    }
    
    .risk-reversal {
        margin-bottom: 32px;
    }
    
    /* Improved hover states for laptop with mouse interaction */
    .logo-container:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    }
    
    .primary-action:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    }
    
    .secondary-action:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }
    
    .wix-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5);
    }
}

/* Standard Laptop (1366px - 1439px) - Most common laptop resolution */
@media (min-width: 1366px) and (max-width: 1439px) {
    .result-hero {
        padding: 90px 0;
        min-height: 70vh;
    }
    
    .result-content {
        max-width: 600px;
        padding: 0 28px;
    }
    
    .logo-container {
        width: 280px;
        height: 280px;
        margin-bottom: 32px;
    }
    
    .logo-actions {
        gap: 16px;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .primary-action,
    .secondary-action {
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .wix-promotion-section {
        padding: 80px 0;
    }
    
    .promotion-title {
        font-size: 40px;
        margin-bottom: 18px;
    }
    
    .promotion-subtitle {
        font-size: 19px;
        max-width: 700px;
        margin: 0 auto 36px;
    }
    
    .wix-features {
        gap: 28px;
        max-width: 800px;
        margin: 0 auto 44px;
    }
    
    .wix-offer {
        padding: 32px;
        max-width: 750px;
        margin: 0 auto 26px;
    }
    
    .offer-text {
        font-size: 24px;
    }
    
    .wix-cta-btn {
        padding: 20px 40px;
        font-size: 18px;
        max-width: 400px;
    }
}

/* Large Desktop (1200px - 1365px) */
@media (min-width: 1200px) and (max-width: 1365px) {
    .result-hero {
        padding: 100px 0;
    }
    
    .logo-container {
        width: 280px;
        height: 280px;
    }
    
    .promotion-title {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .promotion-subtitle {
        font-size: 20px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .wix-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .wix-cta-btn {
        padding: 20px 40px;
        font-size: 18px;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Desktop/Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .result-hero {
        padding: 80px 0;
    }
    
    .logo-container {
        width: 260px;
        height: 260px;
    }
    
    .promotion-title {
        font-size: 38px;
        line-height: 1.2;
    }
    
    .promotion-subtitle {
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .wix-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .result-hero {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .result-content {
        max-width: 500px;
        padding: 0 20px;
    }
    
    .logo-showcase {
        max-width: 350px;
    }
    
    .logo-container {
        width: 220px;
        height: 220px;
        margin-bottom: 24px;
    }
    
    .logo-actions {
        gap: 12px;
    }
    
    .primary-action,
    .secondary-action {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .wix-promotion-section {
        padding: 60px 0;
    }
    
    .promotion-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .promotion-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .wix-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 16px 8px;
    }
    
    .feature-icon {
        margin-bottom: 8px;
    }
    
    .feature-text {
        font-size: 13px;
    }
    
    .wix-cta-btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .back-arrow-btn {
        top: 15px;
        left: 15px;
        width: 46px;
        height: 46px;
        padding: 11px;
    }
}

/* Mobile Landscape and Small Tablet (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .result-hero {
        padding: 40px 0;
        min-height: 50vh;
    }
    
    .result-content {
        max-width: 400px;
        padding: 0 16px;
    }
    
    .logo-showcase {
        max-width: 300px;
    }
    
    .logo-container {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
    
    .logo-actions {
        gap: 12px;
    }
    
    .primary-action,
    .secondary-action {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .wix-promotion-section {
        padding: 50px 0;
    }
    
    .promotion-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .promotion-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
        padding: 0 10px;
    }
    
    .wix-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .feature-icon {
        margin-right: 12px;
        margin-bottom: 0;
    }
    
    .feature-text {
        font-size: 14px;
        font-weight: 500;
    }
    
    .wix-offer {
        padding: 20px;
        border-radius: 12px;
    }
    
    .offer-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .wix-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .guarantee-badge {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .back-arrow-btn {
        top: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .back-arrow-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .result-hero {
        padding: 30px 0;
        min-height: 45vh;
    }
    
    .result-content {
        max-width: 100%;
        padding: 0 12px;
    }
    
    .logo-showcase {
        max-width: 280px;
    }
    
    .logo-container {
        width: 160px;
        height: 160px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .logo-placeholder svg {
        width: 48px;
        height: 48px;
    }
    
    .logo-placeholder span {
        font-size: 14px;
    }
    
    .logo-actions {
        gap: 10px;
    }
    
    .primary-action,
    .secondary-action {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 44px; /* Better touch target */
    }
    
    .wix-promotion-section {
        padding: 40px 0;
    }
    
    .wix-promotion-content {
        padding: 0 12px;
    }
    
    .promotion-header {
        margin-bottom: 32px;
    }
    
    .wix-badge {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 16px;
    }
    
    .promotion-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .promotion-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.4;
    }
    
    .wix-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        min-height: 44px; /* Better touch target */
    }
    
    .feature-icon {
        margin-right: 10px;
        margin-bottom: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-text {
        font-size: 13px;
        font-weight: 500;
    }
    
    .wix-offer {
        padding: 16px;
        border-radius: 10px;
    }
    
    .offer-highlight {
        margin-bottom: 16px;
    }
    
    .offer-text {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .risk-reversal {
        margin-bottom: 20px;
    }
    
    .guarantee-badge {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 6px;
        line-height: 1.3;
    }
    
    .guarantee-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .wix-actions {
        margin-top: 20px;
    }
    
    .wix-cta-btn {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 48px; /* Better touch target */
        width: 100%;
        max-width: none;
    }
    
    .cta-note {
        font-size: 12px;
        margin-top: 8px;
        opacity: 0.8;
    }
    
    .back-arrow-btn {
        top: 10px;
        left: 10px;
        width: 36px;
        height: 36px;
        padding: 6px;
        min-height: 36px; /* Better touch target */
    }
    
    .back-arrow-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .error-message {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 8px;
    }
    
    .error-message p {
        font-size: 1rem;
    }
    
    .retry-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px; /* Better touch target */
        border-radius: 8px;
    }
    
    /* Animation adjustments for mobile */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translate3d(0, 20px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translate3d(0, 15px, 0);
        }
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
    .result-content {
        padding: 0 8px;
    }
    
    .logo-showcase {
        max-width: 240px;
    }
    
    .logo-container {
        width: 140px;
        height: 140px;
    }
    
    .promotion-title {
        font-size: 22px;
    }
    
    .promotion-subtitle {
        font-size: 13px;
    }
    
    .wix-promotion-content {
        padding: 0 8px;
    }
    
    .wix-offer {
        padding: 12px;
    }
    
    .offer-text {
        font-size: 14px;
    }
    
    .wix-cta-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .feature-text {
        font-size: 12px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-container {
        border: 0.5px solid rgba(255, 255, 255, 0.2);
    }
    
    .primary-action,
    .secondary-action {
        border-width: 0.5px;
    }
}

/* Laptop with shorter screens (768px height or less) */
@media (min-width: 1200px) and (max-height: 768px) {
    .result-hero {
        padding: 60px 0;
        min-height: 80vh;
    }
    
    .logo-container {
        width: 240px;
        height: 240px;
        margin-bottom: 24px;
    }
    
    .wix-promotion-section {
        padding: 60px 0;
    }
    
    .promotion-header {
        margin-bottom: 32px;
    }
    
    .promotion-title {
        font-size: 36px;
        margin-bottom: 14px;
    }
    
    .wix-features {
        margin-bottom: 32px;
    }
    
    .wix-offer {
        padding: 28px;
    }
}

/* Laptop with very wide screens (ultra-wide aspect ratios) */
@media (min-width: 1440px) and (min-aspect-ratio: 16/9) {
    .result-content {
        max-width: 700px;
    }
    
    .wix-promotion-content {
        max-width: 1100px;
    }
    
    .logo-showcase {
        max-width: 500px;
    }
    
    .wix-features {
        max-width: 900px;
        gap: 36px;
    }
    
    .wix-offer {
        max-width: 850px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .result-hero {
        padding: 20px 0;
        min-height: 100vh;
    }
    
    .wix-promotion-section {
        padding: 30px 0;
    }
    
    .promotion-header {
        margin-bottom: 20px;
    }
    
    .wix-features {
        margin-bottom: 16px;
    }
}

/* Focus states for accessibility */
@media (max-width: 768px) {
    .primary-action:focus,
    .secondary-action:focus,
    .wix-cta-btn:focus,
    .back-arrow-btn:focus,
    .retry-btn:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }
    
    /* Ensure touch targets are at least 44px */
    .primary-action,
    .secondary-action,
    .wix-cta-btn,
    .back-arrow-btn,
    .retry-btn,
    .feature-item {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Add error message styles */
.error-message {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-message p {
    color: #c33;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.retry-btn {
    background-color: #e53e3e;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.retry-btn:hover {
    background-color: #c53030;
}

.retry-btn:active {
    transform: translateY(1px);
}

/* Disabled state for download button */
.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc;
}

.download-btn:disabled:hover {
    background-color: #ccc;
    transform: none;
}

/* Back arrow button styling - Top-left corner of hero */
.back-arrow-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.back-arrow-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-arrow-btn:active {
    transform: translateX(-1px);
}

.back-arrow-btn svg {
    width: 20px;
    height: 20px;
} 