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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

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

/* Replace your current .hero styles with this: */

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        #ffd700, 
        #ff8c00, 
        #ff69b4, 
        #9370db, 
        #00ced1, 
        #ffd700);
    background-size: 400% 400%;
    animation: metallicShift 15s ease-in-out infinite;
    opacity: 0.3;
    z-index: 1;
    mix-blend-mode: overlay;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(255, 255, 255, 0.02) 75%, 
        rgba(255, 215, 0, 0.05) 100%);
    z-index: 2;
}

@keyframes metallicShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3.2rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 3;
    background: linear-gradient(45deg, #fff, #ffd700, #fff, #f0f8ff, #fff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 8s ease-in-out infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.hero .subtitle {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: 1.4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mobile fixes for Android browsers */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        border-radius: 15px;
    }

    .hero h1 {
        font-size: 2.4rem;
        font-weight: 800;
        letter-spacing: 1px;
        /* Fallback for Android browsers that don't support background-clip */
        color: white;
    }

    /* Ensure gradient text works on Android */
    @supports (-webkit-background-clip: text) or (background-clip: text) {
        .hero h1 {
            background: linear-gradient(45deg, #fff, #ffd700, #fff, #f0f8ff, #fff);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
    }

    .hero .subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .hero .subtitle {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
}

/* Android-specific fixes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .hero {
        /* Disable complex animations on older Android browsers */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero::before,
    .hero::after {
        /* Ensure pseudo-elements render properly */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Firefox Android fixes */
@-moz-document url-prefix() {
    .hero h1 {
        /* Fallback for Firefox Android */
        color: white;
    }
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.section-title {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.advantage {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin: 20px 0 25px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.how-it-works-section .section-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.how-it-works-section .section-title {
    color: white;
    font-size: 1.8rem;
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.how-it-works-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
}

.step-card:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 2px solid white;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin: 12px auto 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.step-card h3 {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 4px;
    font-weight: 600;
}

.step-card p {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Why Choose Section */
.why-choose-section {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin: 20px 0;
}

.why-choose-section .section-header {
    margin-bottom: 25px;
}

.why-choose-section .section-title {
    font-size: 1.6rem;
}

.why-choose-section .section-subtitle {
    font-size: 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
    text-align: center;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
    border-color: #e0e7ff;
}

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

.card-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 100%);
    transition: height 0.4s ease;
}

.advantage-card:hover .card-highlight {
    height: 100%;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(15, 52, 96, 0.3);
}

.advantage-card:hover .icon-bg {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(15, 52, 96, 0.5);
}

.icon-wrapper svg {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    stroke: white;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.advantage-card:hover .icon-wrapper svg {
    transform: scale(1.1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.advantage-card h3 {
    font-size: 1.05rem;
    color: #1f2937;
    margin-bottom: 6px;
    font-weight: 600;
}

.advantage-card p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    border-radius: 12px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .why-choose-section {
        padding: 25px 18px;
        border-radius: 12px;
    }

    .how-it-works-section .section-title {
        font-size: 1.5rem;
    }

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

    .how-it-works-section .section-header {
        margin-bottom: 20px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step-card {
        min-height: auto;
        padding: 18px 15px;
    }

    .advantages-grid {
        gap: 15px;
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .advantage-card {
        padding: 18px 16px;
    }

    .icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    .advantage-card h3 {
        font-size: 1rem;
    }

    .advantage-card p {
        font-size: 0.82rem;
    }

    .stats-bar {
        gap: 18px;
        padding: 18px 12px;
    }

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

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

@media (max-width: 480px) {
    .how-it-works-section .section-title {
        font-size: 1.4rem;
    }

    .step-card {
        padding: 16px 12px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        margin: 10px auto 10px;
    }

    .step-icon svg {
        width: 20px;
        height: 20px;
    }

    .step-card h3 {
        font-size: 0.95rem;
    }

    .step-card p {
        font-size: 0.75rem;
    }

    .stats-bar {
        gap: 12px;
    }

    .stat-item {
        padding: 6px 0;
    }

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

.advantage h3 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.advantage p {
    color: #718096;
    font-size: 14px;
}

.step {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 4px solid #667eea;
    background: #f8fafc;
    border-radius: 8px;
}

.step h3 {
    color: #4a5568;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.step-number {
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #4a5568;
}

input[type="number"],
input[type="file"],
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="number"]:focus,
input[type="file"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: #4a5568;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 10px;
    width: auto;
}

.btn-secondary:hover {
    background: #2d3748;
}

.btn-mockup {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    margin-top: 20px;
}

.btn-mockup:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 161, 105, 0.3);
}

.btn-payment {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    font-size: 20px;
    padding: 18px 35px;
    margin-top: 25px;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(49, 130, 206, 0.4);
}

.download-btn {
    background: #38a169;
    margin-top: 15px;
}

.download-btn:hover {
    background: #2f855a;
}

.edge-selection, .image-option-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.edge-option, .image-option {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.edge-option:hover, .image-option:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.edge-option.selected, .image-option.selected {
    border-color: #667eea;
    background: #ebf4ff;
}

.edge-option strong {
    color: #667eea;
    font-size: 1.2em;
}

.warning-box {
    background: #fef5e7;
    border: 2px solid #f6ad55;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #744210;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.warning-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.info-box {
    background: #ebf8ff;
    border: 2px solid #63b3ed;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.info-box h4 {
    color: #2c5282;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mockup-section {
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.mockup-section h4 {
    color: #22543d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.mockup-result {
    text-align: center;
    margin-top: 20px;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 20px 0;
}

.file-info {
    font-size: 14px;
    color: #718096;
    margin-top: 5px;
}

.progress-container {
    display: none;
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s;
    animation: pulse 2s infinite;
}

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

.status-message {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
}

.status-processing {
    background: #fef5e7;
    color: #744210;
    border: 1px solid #f6d55c;
}

.status-completed {
    background: #e6fffa;
    color: #234e52;
    border: 1px solid #38b2ac;
}

.status-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.download-section {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.faq-section {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f7fafc;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    color: #4a5568;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-answer {
    padding: 15px;
    background: white;
    display: none;
    border-top: 1px solid #e2e8f0;
}

.faq-answer.active {
    display: block;
}

/* Color Picker Component Styles */
.color-picker-section, .gradient-picker-section {
    display: none;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.color-input-group {
    display: flex;
    gap: 15px;
    align-items: end;
    margin: 15px 0;
}

.color-input-group input[type="text"] {
    flex: 1;
}

.gradient-colors {
    margin: 20px 0;
}

.gradient-color-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gradient-color-item input[type="text"] {
    flex: 1;
    margin: 0;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
}

.gradient-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.color-preview {
    display: none;
    margin: 20px 0;
    text-align: center;
}

.preview-image {
    max-width: 200px;
    height: 100px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.color-info {
    margin-top: 10px;
    font-size: 14px;
    color: #4a5568;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    width: auto;
    margin: 5px;
}

.btn-add {
    background: #38a169;
}

.btn-add:hover {
    background: #2f855a;
}

.btn-remove {
    background: #e53e3e;
}

.btn-remove:hover {
    background: #c53030;
}

/* Payment Section Styles */
.payment-section {
    display: none;
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border: 3px solid #38b2ac;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.1) 50%, transparent 51%);
    animation: shimmer 3s infinite;
    pointer-events: none !important;
}

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

.payment-section h3 {
    color: #22543d;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.payment-section .payment-subtitle {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.payment-method {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.payment-method:hover {
    border-color: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.payment-method.selected {
    border-color: #3182ce;
    background: #ebf8ff;
}

.payment-method h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.payment-method p {
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 15px;
}

.payment-logo {
    height: 40px;
    margin: 10px 0;
}

.price-breakdown {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.price-breakdown h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    padding: 8px 0;
}

.price-item.total {
    border-top: 2px solid #e2e8f0;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2d3748;
    margin-top: 15px;
    padding-top: 15px;
}

.security-info {
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 13px;
    color: #4a5568;
    position: relative;
    z-index: 1;
}

.success-box {
    background: #f0fff4;
    border: 2px solid #38a169;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.success-box h4 {
    color: #22543d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Order Complete Page Styles */
.success-hero {
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border: 3px solid #38a169;
}

.order-summary {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.order-id, .order-date {
    font-size: 16px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.spec-label {
    font-weight: 600;
    color: #4a5568;
}

.spec-value {
    color: #2d3748;
}

.price-total {
    text-align: right;
    font-size: 1.4rem;
    color: #2d3748;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e2e8f0;
}

.download-card {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border: 2px solid #38b2ac;
}

.download-status {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
}

.download-actions {
    text-align: center;
}

.download-info {
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.download-info ol {
    margin-left: 20px;
    line-height: 1.8;
}

.vellum-help {
    background: #e6f3ff;
    border: 2px solid #3182ce;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.vellum-help h5 {
    color: #2c5282;
    margin-bottom: 10px;
}

.vellum-help p {
    margin: 10px 0;
}

.vellum-help .btn {
    margin: 15px 0;
    display: inline-block;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.support-item {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.support-item h4 {
    color: #4a5568;
    margin-bottom: 10px;
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .container {
    padding: 10px;
    }

    .card, .hero {
    padding: 20px;
    }

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

    .edge-selection, .advantages, .image-option-selection {
    grid-template-columns: 1fr;
    }

    .payment-options {
    grid-template-columns: 1fr;
    }

    .payment-section h3 {
    font-size: 1.5rem;
    }

    .order-header {
    flex-direction: column;
    gap: 10px;
    }

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

    .color-input-group {
    flex-direction: column;
    gap: 10px;
    }

    .gradient-color-item {
    flex-direction: column;
    gap: 10px;
    }

    .gradient-controls {
    flex-direction: column;
    }
    /* Force hide download section on main page */
  .download-section {
    display: none !important;
  }

  /* Only show download section on order complete page */
  body.order-complete .download-section {
    display: block !important;
  }

  /* Alternative: Hide download section everywhere except order complete page */
  #downloadSection {
    display: none !important;
  }

  /* If you want to be very specific, target the main page */
  body:not(.order-complete) #downloadSection {
    display: none !important;
  }
  /* Enhanced email input styling - ADD THIS TO YOUR styles.css */
.email-step {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

.email-step h3 {
    color: #0c4a6e;
    margin-bottom: 10px;
}

.step-description {
    color: #075985;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.email-input-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .email-input-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    }
}

.email-input {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-weight: 500;
    background: #ffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.email-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
}

.email-input.valid {
    border-color: #10b981;
    background: #f0fdf4;
}

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

.email-input.mismatch {
    border-color: #f59e0b;
    background: #fffbeb;
}

.email-input-helper {
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.4;
}

.email-match-status {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.email-match-status.match {
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    display: block;
}

.email-match-status.mismatch {
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    display: block;
}

.email-match-status.invalid {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    display: block;
}

.email-privacy-notice {
    background: rgba(255, 255, 255, 0.7);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    font-size: 14px;
    color: #0c4a6e;
    line-height: 1.5;
    text-align: center;
}

/* Form labels for email inputs */
.email-step label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0c4a6e;
    font-size: 16px;
}

/* Enhanced Terms Link Styles - Add to styles.css */
.terms-link {
    color: #3182ce !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    user-select: none !important;
    display: inline !important;
    position: relative !important;
    z-index: 100 !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.terms-link:hover {
    color: #2c5282 !important;
    background: rgba(49, 130, 206, 0.1) !important;
}

.terms-link:focus {
    outline: 2px solid #3182ce !important;
    outline-offset: 2px !important;
}

/* Ensure terms modal appears above everything */
.terms-modal {
    z-index: 9999 !important;
}

/* Make sure checkbox and label work together */
.terms-checkbox-container {
    position: relative !important;
}

.terms-label {
    cursor: pointer !important;
    user-select: none !important;
}
/* Add to your styles.css */
.terms-checkbox-container + .terms-checkbox-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.terms-checkbox-container:last-of-type .terms-label {
    font-weight: 600;
    color: #2d3748;
}
.payment-section::before {
  pointer-events: none; /* Important: let clicks pass through the shimmer */
}
/* Ensure Terms section sits above and is clickable */
.terms-section {
  position: relative;
  z-index: 2;
}

.payment-options {
  position: relative;
  z-index: 1;
}

/* Defensively ensure the checkbox and label accept clicks */
.terms-checkbox-container,
.terms-label,
.terms-checkbox {
  pointer-events: auto !important;
}

#payment-section, .payment-section { position: relative !important; }
.terms-section { position: relative !important; z-index: 1001 !important; pointer-events: auto !important; }
.payment-options, .price-breakdown, .security-info { position: relative !important; z-index: 1 !important; }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .email-step {
    padding: 20px;
    }

    .email-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    }

    .email-privacy-notice {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    }

}

/* Site-wide footer - positioned at bottom of content with maximum specificity */
html body footer.site-footer,
body footer.site-footer,
footer.site-footer {
    position: static !important;
    text-align: center !important;
    padding: 15px 20px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08) !important;
    backdrop-filter: saturate(180%) blur(8px) !important;
    margin: 40px auto 20px auto !important;
    max-width: calc(100% - 40px) !important;
    width: max-content !important;
    box-sizing: border-box !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 1 !important;
}

html body footer.site-footer a,
body footer.site-footer a,
footer.site-footer a {
    color: #4f46e5 !important;
    text-decoration: none !important;
}

html body footer.site-footer a:hover,
body footer.site-footer a:hover,
footer.site-footer a:hover {
    text-decoration: none !important;
}

footer.site-footer a[href="/"] {
    font-weight: bold !important;
}

/* Mobile responsive footer with maximum specificity */
@media (max-width: 768px) {
    html body footer.site-footer,
    body footer.site-footer,
    footer.site-footer {
        margin: 20px 10px 20px 10px !important;
        padding: 12px 16px !important;
        font-size: 18px !important;
        max-width: calc(100% - 20px) !important;
        width: auto !important;
        display: block !important;
    }
    
    html body footer.site-footer span,
    body footer.site-footer span,
    footer.site-footer span {
        display: block;
        margin-bottom: 4px;
    }
    
    html body footer.site-footer span:last-child,
    body footer.site-footer span:last-child,
    footer.site-footer span:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    html body footer.site-footer,
    body footer.site-footer,
    footer.site-footer {
        margin: 15px 5px 15px 5px !important;
        padding: 10px 12px !important;
        font-size: 17px !important;
        max-width: calc(100% - 10px) !important;
    }
}
