/* --- Keep all previous CSS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Orbitron:wght@700&display=swap'); /* Add Orbitron for popup */


:root {
    --bg-color: #1a2e2e;
    --card-bg: #2a3d3d;
    --modal-bg: #2a3d3d;
    --footer-bg: #1a2e2e;
    
    /* Text Colors - Improved Contrast */
    --light-text: #ffffff;
    --dark-text: #121212;
    --modal-text: #ffffff;
    --footer-text: #ffffff;
    
    /* Accent Colors */
    --accent-teal: #66fcf1;
    --accent-pink: #ff6b97;
    --accent-yellow: #ffde59;
    --modal-border: var(--accent-teal);
    --checkmark-color: var(--accent-teal);
    --accent-green: #8bc34a;
}

/* --- Keep body, header, .background-bubbles etc. --- */

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
     /* For perspective effect */
    perspective: 1500px;
}

.product-card {
    background: linear-gradient(145deg, #2a3d3d, #223535);
    border: 1px solid rgba(102, 252, 241, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible !important; /* CRITICAL: Allow content to overflow */
    z-index: 1;
    border-radius: 12px;
    padding: 50px 30px 60px 30px !important; /* SIGNIFICANTLY increased padding */
    margin-bottom: 30px !important; /* More space between cards */
    min-height: 450px; /* Ensure minimum height for content */
    box-sizing: border-box; /* Include padding in height calculation */
    display: flex;
    flex-direction: column;
}

/* Added wrapper for content to help with tilt */
.card-content {
    padding: 10px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 5 !important; /* Ensure it's above everything */
}

.product-card:hover:not(.selected) {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(102, 252, 241, 0.3);
    border-color: rgba(102, 252, 241, 0.5);
}

.product-card.selected {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(102, 252, 241, 0.5);
    border: 2px solid var(--accent-teal);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(102, 252, 241, 0.3); }
    100% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(102, 252, 241, 0.7); }
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.product-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.tier-badge {
    position: absolute;
    /* Adjust position for overlap */
    top: -25px !important; /* Move badge much higher */
    left: 20px;
    background-color: var(--accent-teal);
    color: white;
    font-weight: bold;
    font-size: 0.85em !important;
    width: auto !important; /* Allow width to adjust to content */
    height: auto !important; /* Allow height to adjust to content */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 50 !important; /* Ensure it's above EVERYTHING */
    border: 2px solid var(--card-bg);
    transition: transform 0.3s ease;
    animation: wobble 5s ease-in-out infinite;
    padding: 10px 15px !important;
    transform: none !important; /* Remove any transforms that might cause issues */
}

@keyframes wobble {
    0%, 100% { transform: translateY(-50%) rotate(-5deg); }
    50% { transform: translateY(-50%) rotate(5deg); }
}

/* Hover effect for badge - fixed */
.product-card:hover .tier-badge {
    transform: translateY(-5px) rotate(-5deg) !important;
}

.tier-name {
    color: var(--light-text);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-top: 40px !important; /* MUCH more space below the badge */
    margin-bottom: 15px !important;
    font-size: 1.2em !important;
    padding-bottom: 15px !important; /* More space for the underline effect */
    text-transform: uppercase;
    width: 100% !important; /* Full width */
    text-align: center !important; /* Center text */
    line-height: 1.5 !important; /* Improved line height */
}

.tier-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.price, .price-complex {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    color: var(--accent-yellow);
    font-size: 2.5em !important;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 222, 89, 0.3);
    position: relative;
    display: block !important; /* Change to block for full width */
    transition: transform 0.3s ease;
    z-index: 5 !important;
    line-height: 1.3 !important; /* Better line height */
    text-align: center !important; /* Center text */
    width: 100% !important; /* Full width */
}

.product-card:hover .price {
    transform: scale(1.1);
    animation: pulseBrightness 1.5s infinite alternate;
}

@keyframes pulseBrightness {
    0% { text-shadow: 0 2px 10px rgba(255, 222, 89, 0.3); }
    100% { text-shadow: 0 2px 20px rgba(255, 222, 89, 0.7); }
}

.features {
    list-style: none !important;
    padding: 0 !important;
    margin: 25px 0 35px 0 !important; /* MUCH more space */
    flex-grow: 1;
    position: relative;
    z-index: 5 !important;
    width: 100% !important; /* Full width */
}

.features li {
    margin-bottom: 15px !important; /* More space between items */
    line-height: 1.5 !important; /* Better line height */
    padding-left: 25px !important; /* Space for checkmark */
    position: relative !important;
    font-size: 1em !important;
}

.features li:before {
    content: '✓';
    color: var(--accent-teal);
    position: absolute;
    left: 0;
    top: 0;
}

.select-button {
    background: linear-gradient(135deg, var(--accent-teal), #4ad8ce);
    color: var(--dark-text);
    border: none;
    padding: 15px 25px !important; /* Larger padding */
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 10 !important; /* Higher z-index */
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    font-size: 1.1em !important;
    align-self: center;
    width: 80% !important;
    display: block !important; /* Ensure block display */
}

.select-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1; /* Ensure it's below the button text */
}

.select-button:hover::before {
    left: 100%;
}

.select-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1; /* Ensure it's below the button text */
}

.select-button:hover::after {
    transform: scaleX(1);
}

.select-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.select-button:active {
    transform: translateY(-2px);
}

.selected-button {
    background: linear-gradient(135deg, var(--accent-yellow), #ffc107) !important;
    color: var(--dark-text) !important;
    box-shadow: 0 5px 15px rgba(255, 222, 89, 0.4) !important;
    animation: pulse 1.5s infinite;
}

/* --- Keep .selected state styles --- */

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--card-bg);
    border: 2px solid var(--accent-teal);
    border-radius: 10px;
    padding: 35px 40px !important; /* More padding */
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    max-height: 80vh !important; /* Limit height */
    overflow-y: auto !important; /* Add scrolling if needed */
    z-index: 2000 !important; /* Ensure it's above everything */
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: var(--accent-pink);
}

/* Copyright Modal Styles */
.modal-box.copyright-style {
    text-align: left;
    max-width: 650px;
    padding: 30px 35px;
    border-color: var(--accent-yellow);
}

.modal-box.copyright-style h2 {
    text-align: center;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.modal-box.copyright-style p {
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.7;
}

.modal-box.copyright-style .copyright-main {
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.modal-box.copyright-style .copyright-warning {
    font-size: 0.9em;
    font-style: italic;
    color: rgba(240, 240, 240, 0.85);
    border-left: 3px solid var(--accent-pink);
    padding-left: 10px;
}

.modal-box.copyright-style strong {
    color: var(--accent-yellow);
}

/* Footer Styles Enhancement */
footer {
    font-size: 0.9em;
    gap: 20px 40px; /* Add horizontal gap */
    background: linear-gradient(180deg, rgba(26, 46, 46, 0.8), rgba(26, 46, 46, 1));
    border-top: 1px solid rgba(102, 252, 241, 0.1);
    padding: 40px !important;
    margin-top: 50px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    color: var(--footer-text);
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.footer-button {
    background: linear-gradient(135deg, var(--accent-teal), #4ad8ce);
    color: var(--dark-text);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

.footer-button:hover::before {
    left: 100%;
}

.footer-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.footer-button#contact-us-btn {
    background: linear-gradient(135deg, var(--accent-pink), #ff8fb1);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    color: var(--light-text);
    font-size: 1.4em;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-teal);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon:hover {
    color: var(--dark-text);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(102, 252, 241, 0.4);
}

.social-icon:nth-child(1):hover::before { background: #3b5998; } /* Facebook */
.social-icon:nth-child(2):hover::before { background: #1da1f2; } /* Twitter */
.social-icon:nth-child(3):hover::before { background: #e1306c; } /* Instagram */
.social-icon:nth-child(4):hover::before { background: #0077b5; } /* LinkedIn */

/* Fun Particle Background */
.background-bubbles {
    background: radial-gradient(circle at 10% 20%, rgba(102, 252, 241, 0.08) 0%, transparent 20%),
                radial-gradient(circle at 80% 40%, rgba(255, 107, 151, 0.08) 0%, transparent 25%),
                radial-gradient(circle at 40% 70%, rgba(255, 222, 89, 0.08) 0%, transparent 30%);
    animation: backgroundShift 20s ease infinite alternate;
    position: relative;
    overflow: hidden;
    z-index: -1 !important; /* Ensure it's behind everything */
}

.background-bubbles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(102, 252, 241, 0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: floatingParticles 60s linear infinite;
}

@keyframes floatingParticles {
    0% { background-position: 0 0; }
    100% { background-position: 500px 500px; }
}

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

/* Header Enhancements */
header .logo-icon {
    animation: pulse 2s infinite;
}

.main-title {
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-pink), var(--accent-yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-pink), var(--accent-yellow), var(--accent-teal));
    background-size: 300% 100%;
    animation: gradientShift 8s linear infinite;
}

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

/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
}

.contact-email {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contact-email a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-teal);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--light-text);
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 2px rgba(102, 252, 241, 0.2);
}

.submit-button {
    background-color: var(--accent-teal);
    color: var(--dark-text);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    margin: 0 auto;
}

.submit-button:hover {
    background-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* Add styles for links in footer */
.contact-info a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}

/* Enhance responsive styles */
@media (max-width: 768px) {
    footer {
        justify-content: center; /* Center items in footer */
        text-align: center;
    }
     .hours-info, .contact-info, .footer-actions {
         flex-basis: auto; /* Allow items to wrap naturally */
         text-align: center;
     }
     .footer-actions {
         width: 100%; /* Ensure button container takes full width again */
         margin-top: 20px; /* More space on smaller screens */
     }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-teal);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

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

#loading-screen p {
    color: var(--light-text);
    font-size: 1.2em;
    letter-spacing: 1px;
}

.logo-container {
    position: relative;
    z-index: 1;
}

.logo-icon {
    display: inline-block;
    animation: spinStar 6s linear infinite;
    transform-origin: center;
    text-shadow: 0 0 10px var(--accent-teal), 0 0 20px var(--accent-teal), 0 0 30px var(--accent-teal);
}

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

/* Exclusive Creation Styling */
.creator-name {
    font-size: 2em;
    font-weight: 700;
    color: var(--accent-yellow);
    margin: 15px 0;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 222, 89, 0.5);
    letter-spacing: 1px;
}

.exclusive-note {
    text-align: center;
    font-size: 1.1em;
    margin: 10px 0;
    color: var(--light-text);
    font-weight: 500;
    line-height: 1.5;
}

.copyright-note {
    text-align: center;
    font-size: 0.9em;
    margin-top: 15px;
    color: var(--accent-teal);
    font-style: italic;
}

/* Add Jayden's signature to the footer */
.signature {
    margin-top: 20px;
    text-align: center;
    font-family: 'Brush Script MT', cursive;
    font-size: 1.8em;
    color: var(--accent-teal);
    text-shadow: 0 0 5px rgba(102, 252, 241, 0.5);
    transform: rotate(-5deg);
    display: block;
}

/* Add watermark */
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 100;
    font-style: italic;
}

/* COMPLETE FIX FOR HIDDEN LETTERS - MAJOR OVERHAUL */
/* COMPLETELY FIXED BADGE POSITIONING */
/* COMPLETELY FIXED TIER NAME */
/* COMPLETELY FIXED PRICE DISPLAY */
/* COMPLETELY FIXED FEATURES LIST */
/* COMPLETELY FIXED SELECT BUTTON */
/* ENSURE MODAL CONTENT IS VISIBLE */
/* ENSURE NOTIFICATION IS VISIBLE */
/* ENSURE FOOTER CONTENT IS VISIBLE */
/* ENSURE BACKGROUND DOESN'T INTERFERE WITH CONTENT */
/* ENSURE PARTICLES DON'T INTERFERE WITH CONTENT */
/* ENSURE BURST PARTICLES DON'T INTERFERE */