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

/* Copy Protection - Fixed to not interfere with visibility */
.ad-preview .ad-image {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto !important; /* Allow interactions */
}

/* Only disable selection on the image itself, not all content */
.ad-preview img {
    pointer-events: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
}

/* Disable right-click context menu */
.ad-preview {
    -webkit-context-menu: none !important;
    context-menu: none !important;
}

/* Prevent screenshot overlay */
.screenshot-protection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1000;
    pointer-events: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
    padding: 40px 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 0 20px;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

header p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 25px 20px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-align: center;
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.benefit {
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.3s ease;
    font-weight: 500;
}

.benefit:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.examples-section {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    margin: 50px auto;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 1200px;
    border: 1px solid rgba(255,255,255,0.15);
}

.examples-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.example-card {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.example-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.example-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.example-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
}

.example-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    font-weight: 400;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.form-section, .result-section {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 40px 35px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.form-section:hover, .result-section:hover {
    box-shadow: 0 25px 80px rgba(0,0,0,0.2);
}

.form-section h2, .result-section h2 {
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-section h2::after, .result-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: rgba(255,255,255,1);
    transform: translateY(-1px);
}

.form-group input:hover, 
.form-group textarea:hover, 
.form-group select:hover {
    border-color: #cbd5e0;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.generate-btn::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;
}

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

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.generate-btn:active {
    transform: translateY(-1px);
}

.generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.ad-preview {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}

/* Facebook Feed Format */
.facebook-format {
    border: 1px solid #ddd;
    background: #f8f9fa;
}

/* Instagram Story Format */
.instagram-story-format {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-radius: 15px;
    color: white;
    max-width: 300px;
    margin: 0 auto;
}

.instagram-story-format .ad-content {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.instagram-story-format .ad-headline {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.instagram-story-format .ad-text {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Google Search Format */
.google-search-format {
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-family: arial, sans-serif;
}

.google-search-format .ad-header {
    background: #f8f9fa;
    border-bottom: none;
    padding: 8px 15px;
}

.google-search-format .profile-pic {
    background: #1a73e8;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
}

.google-search-format .page-name {
    color: #1a73e8;
    font-size: 14px;
}

.google-search-format .sponsored {
    color: #5f6368;
    font-size: 12px;
}

.google-headline1 {
    color: #1a0dab;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 2px;
}

.google-headline2 {
    color: #1a0dab;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
}

.google-search-format .ad-text {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.4;
}

.google-search-format .ad-cta {
    background: #1a73e8;
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 16px;
}

/* WhatsApp Status Format */
.whatsapp-status-format {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 15px;
    color: white;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-status-format .ad-header {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.whatsapp-status-format .ad-headline {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 700;
}

.whatsapp-status-format .ad-text {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.whatsapp-status-format .ad-cta {
    background: white;
    color: #25d366;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 12px 24px;
}

/* Enhanced Instagram Story Format */
.instagram-story-format .ad-cta {
    background: rgba(255,255,255,0.9);
    color: #e6683c;
    font-weight: 700;
    border: 2px solid white;
    border-radius: 25px;
    padding: 12px 24px;
}

/* Enhanced Google Search Format */
.google-search-format .ad-headline {
    color: #1a73e8;
    font-size: 1.2rem;
    text-decoration: underline;
    margin-bottom: 8px;
}

.google-search-format .ad-text {
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.4;
}

.google-search-format .ad-cta {
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.ad-header {
    padding: 15px;
    background: white;
    border-bottom: 1px solid #eee;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    background: #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.page-name {
    font-weight: 600;
    color: #1877f2;
}

.sponsored {
    font-size: 0.85rem;
    color: #65676b;
}

.ad-content {
    padding: 15px;
    background: white;
}

.ad-headline {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1c1e21;
    line-height: 1.3;
    text-align: left;
}

.ad-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #1c1e21;
    text-align: left;
}

.ad-text strong {
    color: #1877f2;
    font-weight: 600;
}

.ad-text em {
    color: #42b883;
    font-style: normal;
    font-weight: 500;
}

.ad-cta-container {
    margin: 15px 0;
    text-align: left;
}

.ad-image-container {
    margin: 15px 0;
    text-align: center;
}

.ad-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ad-cta {
    display: inline-block;
    background: #1877f2;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin: 10px 0;
    text-decoration: none;
}

/* Ensure results section is visible */
#results {
    min-height: 200px;
    width: 100%;
    margin-top: 20px;
}

#resultSection {
    width: 100%;
    margin-top: 30px;
}

.ad-preview {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: white;
    max-width: 500px;
    width: 100%;
}

.ad-hashtags {
    color: #1877f2;
    font-size: 0.9rem;
    margin-top: 10px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 140px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.action-btn::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.6s;
}

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

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.action-btn:active {
    transform: translateY(-1px);
}

.copy-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: 2px solid transparent;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #218838, #1fa97d);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
}

.download-btn {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
    border: 2px solid transparent;
}

.download-btn:hover {
    background: linear-gradient(135deg, #138496, #1fa97d);
    box-shadow: 0 15px 35px rgba(23, 162, 184, 0.4);
}

.regenerate-btn {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    border: 2px solid transparent;
    font-weight: 800;
}

.regenerate-btn:hover {
    background: linear-gradient(135deg, #e0a800, #e8590c);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.loading-3d {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    margin: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.loading-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.loading-cube {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3D 3s linear infinite;
}

.cube-face {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.cube-face.front { transform: rotateY(0deg) translateZ(40px); }
.cube-face.back { transform: rotateY(180deg) translateZ(40px); }
.cube-face.right { transform: rotateY(90deg) translateZ(40px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(40px); }
.cube-face.top { transform: rotateX(90deg) translateZ(40px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }

@keyframes rotate3D {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    33% { transform: rotateX(360deg) rotateY(180deg) rotateZ(0deg); }
    66% { transform: rotateX(180deg) rotateY(360deg) rotateZ(180deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

.loading-text h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.loading-steps-3d {
    margin: 20px 0;
}

.step-3d {
    padding: 12px 20px;
    margin: 8px 0;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.5;
    transition: all 0.5s ease;
    transform: translateX(-20px);
    backdrop-filter: blur(10px);
}

.step-3d.active {
    opacity: 1;
    transform: translateX(0px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 5px 20px rgba(255,255,255,0.2);
}

.progress-ring {
    position: relative;
    margin: 30px auto 0;
    width: 120px;
    height: 120px;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    fill: none;
    stroke: rgba(255,255,255,0.3);
    stroke-width: 6;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-ring-circle {
    stroke: rgba(255,255,255,0.8);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Enhanced Mobile Responsiveness - Fixed for better viewing */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 10px;
        margin: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
        width: 100%;
    }

    header {
        margin: 0 5px 25px;
        padding: 25px 10px;
        text-align: center;
    }

    .header-top {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .user-profile {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 12px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    header::before {
        margin: 0 5px;
        backdrop-filter: blur(5px);
    }

    header h1 {
        font-size: 2.5rem;
        margin-bottom: 12px;
        line-height: 1.2;
        word-break: break-word;
    }

    header p {
        font-size: 1.2rem;
        margin-bottom: 20px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .usage-counter {
        margin: 15px auto;
        padding: 10px 16px;
        font-size: 0.95rem;
        max-width: 280px;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px auto;
        max-width: 350px;
    }

    .stat {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .benefits {
        gap: 10px;
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .benefit {
        font-size: 0.85rem;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .form-section, .result-section {
        padding: 25px 20px;
        margin: 0 5px;
        border-radius: 20px;
        width: calc(100% - 10px);
    }

    .form-section h2, .result-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .form-group input, 
    .form-group textarea, 
    .form-group select {
        padding: 16px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .radio-label {
        padding: 12px 16px;
        width: 100%;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
    }

    .radio-label:hover {
        border-color: #667eea;
        background: #f8f9ff;
    }

    .radio-label input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
        flex-shrink: 0;
    }

    .generate-btn {
        padding: 18px 24px;
        font-size: 1.2rem;
        border-radius: 15px;
        width: 100%;
        min-height: 56px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .action-btn {
        min-width: auto;
        padding: 16px 24px;
        font-size: 1rem;
        width: 100%;
        min-height: 48px;
    }

    .ad-preview {
        margin: 15px 0;
        border-radius: 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .ad-header {
        padding: 16px;
        background: white;
        border-bottom: 1px solid #eee;
    }

    .profile-info {
        gap: 12px;
    }

    .profile-pic {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .page-name {
        font-size: 1rem;
    }

    .sponsored {
        font-size: 0.85rem;
    }

    .ad-content {
        padding: 16px;
        background: white;
    }

    .ad-headline {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .ad-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .ad-image-container {
        margin: 15px 0;
        width: 100%;
    }

    .ad-image-container img {
        border-radius: 10px;
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }

    .ad-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .examples-section, .testimonials-section {
        margin: 25px 5px;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .examples-section h2, .testimonials-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .example-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .example-card, .testimonial {
        padding: 25px 20px;
        border-radius: 15px;
    }

    /* Payment Modal Mobile Styles */
    .payment-modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: 95vw;
        max-height: 95vh;
        overflow-y: auto;
    }

    .payment-modal-content h2 {
        font-size: 2rem;
        padding: 25px 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px 30px;
    }

    .pricing-card {
        padding: 25px 20px;
        margin: 0;
    }

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

    .price {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .features {
        margin-bottom: 25px;
    }

    .features li {
        font-size: 0.95rem;
        padding: 6px 0;
    }

    .subscribe-btn {
        padding: 16px 20px;
        font-size: 1.1rem;
        min-height: 48px;
    }

    .razorpay-payment-btn {
        padding: 14px 20px !important;
        font-size: 1rem !important;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }

    header {
        margin: 0 0 20px;
        padding: 20px 5px;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hero-stats {
        margin: 15px auto;
        max-width: 300px;
    }

    .stat {
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .benefits {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        max-width: 280px;
        margin: 15px auto;
    }

    .benefit {
        font-size: 0.8rem;
        padding: 8px 16px;
        text-align: center;
    }

    .form-section, .result-section {
        margin: 0;
        padding: 20px 15px;
        border-radius: 15px;
        width: 100%;
    }

    .form-group input, 
    .form-group textarea, 
    .form-group select {
        padding: 14px 16px;
        font-size: 16px;
    }

    .radio-label {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .generate-btn {
        padding: 16px 20px;
        font-size: 1.1rem;
    }

    .profile-info {
        gap: 10px;
        flex-wrap: wrap;
    }

    .profile-pic {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .page-name {
        font-size: 0.95rem;
    }

    .sponsored {
        font-size: 0.8rem;
    }

    .ad-headline {
        font-size: 1.2rem;
    }

    .ad-text {
        font-size: 0.95rem;
    }

    .examples-section, .testimonials-section {
        margin: 20px 0;
        padding: 25px 15px;
    }

    .examples-section h2, .testimonials-section h2 {
        font-size: 1.8rem;
    }

    .usage-counter {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 10px auto;
    }

    .user-profile {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
    }

    .header-content > div:first-child h1 {
        margin-bottom: 8px;
    }

    .header-content > div:first-child p {
        margin-bottom: 10px;
    }

    /* Payment Modal for small screens */
    .payment-modal-content {
        margin: 1% auto;
        width: 98%;
        padding: 0;
    }

    .payment-modal-content h2 {
        font-size: 1.6rem;
        padding: 20px 15px;
    }

    .pricing-grid {
        padding: 0 10px 20px;
        gap: 15px;
    }

    .pricing-card {
        padding: 20px 15px;
    }

    .price {
        font-size: 2rem;
    }

    .popular-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    button, .action-btn, .generate-btn {
        min-height: 44px; /* Apple's recommended touch target size */
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }

    input, textarea, select {
        min-height: 44px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .radio-label {
        min-height: 44px;
        padding: 12px;
        cursor: pointer;
    }

    /* Prevent zoom on input focus for iOS */
    input[type="text"], 
    input[type="email"], 
    input[type="url"], 
    textarea, 
    select {
        font-size: 16px !important;
    }
}

.testimonials-section {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    margin: 60px auto 40px;
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 1200px;
    border: 1px solid rgba(255,255,255,0.15);
}

.testimonials-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255,255,255,0.95);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(255,193,7,0.3));
}

.testimonial p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 1.1rem;
}

.author {
    font-weight: 700;
    color: #667eea;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.9);
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

footer a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .benefits {
        gap: 10px;
    }

    .benefit {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .examples-section, .testimonials-section {
        margin: 30px 15px;
        padding: 30px 20px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-section, .result-section {
        padding: 30px 25px;
    }
}

.variations-btn {
    background: #6f42c1;
    color: white;
}

.variations-btn:hover {
    background: #5a2d91;
}



.performance-score {
    animation: slideIn 0.5s ease-out;
}

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

#variationsContainer {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.variation-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.variation-card h4 {
    color: #667eea;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Payment Modal Styles */
.payment-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.payment-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.payment-modal-content h2 {
    color: white;
    text-align: center;
    padding: 30px;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.payment-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-close:hover {
    transform: scale(1.1);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 30px 40px;
}

.pricing-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

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

.pricing-card.popular {
    border-color: #ffd700;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.ad-text-section {
    margin-bottom: 20px;
}

.ad-headline {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ad-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ad-metrics {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    min-width: 80px;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.metric-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    text-transform: capitalize;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-error {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

.ad-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 25px;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.features li {
    padding: 8px 0;
    color: #555;
    font-size: 1rem;
}

.subscribe-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.subscribe-btn.free-plan {
    background: #ccc;
    cursor: not-allowed;
}

.usage-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 15px 25px;
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.plan-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.usage-count {
    color: white;
    font-weight: 500;
}

.upgrade-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header {
        padding: 20px 0;
        margin: 0 10px;
    }

    header::before {
        margin: 0 10px;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }

    .stat {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .benefits {
        gap: 8px;
        margin-top: 20px;
    }

    .benefit {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .examples-section, .testimonials-section {
        margin: 20px 10px;
        padding: 30px 20px;
    }

    .examples-section h2, .testimonials-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .example-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .example-card, .testimonial {
        padding: 25px 20px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .form-section, .result-section {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .form-section h2, .result-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .form-group input, 
    .form-group textarea, 
    .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .generate-btn {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        min-width: auto;
        padding: 14px 20px;
    }

    .roi-calculator {
        margin: 20px 10px;
        padding: 25px 20px;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .usage-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .payment-modal-content {
        margin: 2% auto;
        width: 95%;
    }

    .payment-modal-content h2 {
        font-size: 1.8rem;
        padding: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px 30px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

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

    .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .profile-info {
        gap: 8px;
    }

    .profile-pic {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefits {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .form-group input, 
    .form-group textarea, 
    .form-group select {
        padding: 12px 14px;
    }

    .ad-preview {
        margin: 0 -10px;
    }

    .usage-info {
        padding: 12px 15px;
        margin: 15px 10px 0;
    }

    .plan-badge, .upgrade-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    button, .action-btn, .generate-btn {
        min-height: 44px; /* Apple's recommended touch target size */
        cursor: pointer;
    }

    input, textarea, select {
        min-height: 44px;
    }

    .radio-label {
        min-height: 44px;
        padding: 10px;
    }
}

/* Authentication Styles */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d3748;
}

.user-email {
    font-size: 0.75rem;
    color: #666;
}

.subscription-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.subscription-badge.free {
    background: #e2e8f0;
    color: #4a5568;
}

.subscription-badge.premium {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.sign-out-btn {
    background: #f56565;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sign-out-btn:hover {
    background: #e53e3e;
}

.login-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.google-sign-in-btn {
    background: white !important;
    color: #333 !important;
    border: 2px solid #dadce0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.google-sign-in-btn:hover {
    background: #f8f9fa !important;
    border-color: #4285f4 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    transform: translateY(-2px);
}

.usage-counter {
    background: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    text-align: center;
    margin: 10px auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    max-width: 200px;
}

/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.auth-modal-header h2 {
    margin: 0;
    color: #2d3748;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.google-btn {
    color: #333;
}

.google-btn img {
    width: 20px;
    height: 20px;
}



/* Saved Ads Styles */
.saved-ads-section {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.saved-ads-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.saved-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.saved-ad-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.saved-ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.saved-ad-card h4 {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 1rem;
}

.saved-ad-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

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

.ad-meta span {
    font-size: 0.8rem;
    color: #999;
}

.load-ad-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.load-ad-btn:hover {
    background: #5a67d8;
}

/* Additional styles for responsiveness and polish */