/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global responsive form input fixes */
input, textarea, select {
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8E8E8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll; /* Always show vertical scrollbar to prevent layout shifts */
}

/* Welcome Popup Styles */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8E8E8 0%, #FFE4E1 25%, #FFF0F5 50%, #FFB6C1 75%, #FFC0CB 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.welcome-popup.closing {
    transform: translateY(-100%);
    opacity: 0;
}

.welcome-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: welcomeFadeIn 1.5s ease-out;
}

@keyframes welcomeFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.welcome-logo-container {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
}

.welcome-logo {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    animation: logoPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.welcome-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.3), transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #8B4513;
    font-weight: 300;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: titleSlideIn 1s ease-out 0.5s both;
}

.welcome-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: #E91E63;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
    animation: brandSlideIn 1s ease-out 0.8s both;
}

.welcome-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: 400;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    animation: subtitleSlideIn 1s ease-out 1.1s both;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brandSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-loading {
    margin-top: 30px;
    animation: loadingSlideIn 1s ease-out 1.4s both;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #E91E63, #FF69B4);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes loadingSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 240, 245, 0.4) 0%, transparent 50%);
    z-index: 1;
    animation: backgroundFloat 6s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Main content wrapper to prevent layout shifts */
.main-wrapper {
    position: relative;
    min-height: 100vh;
    height: 100vh; /* Ensure consistent height */
    overflow: hidden; /* Prevent scrollbar on wrapper */
}

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

/* Header Styles */
.header {
    background-color: #F8E8E8;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Highest z-index to ensure header is always on top */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    width: 100%; /* Ensure full width */
    height: 74px; /* Fixed height to prevent content overlap */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.logo-img.active {
    cursor: default;
}

.logo-img.active:hover {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

.nav-link:hover {
    color: #E91E63;
    background-color: rgba(233, 30, 99, 0.1);
}

.nav-link.active {
    color: #E91E63;
    background-color: rgba(233, 30, 99, 0.15);
    font-weight: 600;
}

.nav-link.active:hover {
    color: #E91E63;
    background-color: rgba(233, 30, 99, 0.15);
    cursor: default;
}

.auth-buttons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.cart-btn {
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.cart-icon {
    width: 18px;
    height: 18px;
}

.cart-count {
    background: white;
    color: #E91E63;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
}

.login-btn {
    background: transparent;
    color: #E91E63;
    border: 2px solid #E91E63;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0;
}

.login-btn:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

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

.login-btn.active {
    background: #E91E63;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.login-btn.active:hover {
    background: #E91E63;
    cursor: default;
}

.sign-up-btn {
    background-color: #FFB6C1;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-up-btn:hover {
    background-color: #FF9EB5;
}

.sign-up-btn.active {
    background-color: #E91E63;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.sign-up-btn.active:hover {
    background-color: #E91E63;
    cursor: default;
}

/* Landing Page Styles */
.landing-page {
    padding-top: 100px; /* Increased padding to ensure content is below header */
    min-height: 100vh;
    height: 100vh; /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content vertically and horizontally */
    background: linear-gradient(135deg, #F8E8E8 0%, #FFE4E1 25%, #FFF0F5 50%, #FFB6C1 75%, #FFC0CB 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1; /* Ensure landing page stays below navigation bar */
    margin-top: 0; /* Reset any margin that might cause overlap */
}

.landing-page.hiding {
    opacity: 0;
    transform: translateY(-30px);
}

.landing-page.entering {
    opacity: 0;
    transform: translateY(30px);
}

.landing-page.entering.active {
    opacity: 1;
    transform: translateY(0);
}

.landing-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 192, 203, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 240, 245, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Hair dryer outline in background */
.landing-page::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(255, 192, 203, 0.1));
    border-radius: 20px;
    transform: rotate(-15deg);
    z-index: 1;
    animation: backgroundFloat 6s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: rotate(-15deg) translateY(0px); }
    50% { transform: rotate(-15deg) translateY(-10px); }
}

/* Add floating particles */
.landing-page::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.2), transparent);
    border-radius: 50%;
    z-index: 1;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1; /* Stay below navigation bar */
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 80px auto;
    padding-top: 20px; /* Extra padding to ensure content is below header */
}

/* Enhanced Logo Section */
.logo-section {
    text-align: center;
    position: relative;
    z-index: 1; /* Stay below navigation bar */
    margin-bottom: 40px;
    transform: translateY(calc(8vh + 25px)); /* Moved down 25px */
    padding-top: 20px; /* Extra padding to ensure it's below header */
}

.main-logo {
    height: 280px;
    width: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.25));
    transition: all 0.4s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.main-logo:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Add a beautiful title */
.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 8px rgba(233, 30, 99, 0.3); }
    100% { text-shadow: 0 6px 12px rgba(233, 30, 99, 0.5); }
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #8B4513;
    font-weight: 400;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}


.cta-section {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.sign-in-btn {
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 35px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.sign-in-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;
}

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

.sign-in-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(233, 30, 99, 0.4);
    background: linear-gradient(135deg, #FF69B4, #E91E63);
}

/* Instagram Section */
.instagram-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 232, 232, 0.8));
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.instagram-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.instagram-icon {
    width: 20px;
    height: 20px;
    color: #E91E63;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.instagram-icon:hover {
    transform: scale(1.1);
}

.instagram-handle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #E91E63;
    text-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
    letter-spacing: 0.5px;
}

/* Page Management */
.page {
    display: none;
    padding-top: 120px; /* Increased padding to ensure content is below header */
    min-height: 100vh;
    height: 100vh; /* Ensure consistent height */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow-y: auto; /* Allow scrolling within page if content exceeds height */
    padding-bottom: env(safe-area-inset-bottom, 0px); /* Add safe area padding */
    margin-top: 0; /* Ensure no margin that could cause overlap */
    z-index: 1; /* Ensure pages stay below header */
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.page.entering {
    opacity: 0;
    transform: translateY(30px);
}

.page.entering.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(30px);
}

/* Sign Up Page Styles */
#signup-page {
    background: linear-gradient(135deg, #F8E8E8 0%, #FFE4E1 25%, #FFF0F5 50%, #FFB6C1 75%, #FFC0CB 100%);
    position: relative;
    overflow: hidden;
}

#signup-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 8s ease-in-out infinite;
}


.signup-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.signup-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.signup-left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.torn-paper {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.torn-paper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #F5F5DC, #FFF8DC);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
}

.page-logo {
    width: 140px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
    animation: logoGlow 3s ease-in-out infinite;
}

.page-logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 8px 16px rgba(233, 30, 99, 0.3));
    }
}

.hair-dryer-cutout::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #E91E63;
    border-radius: 50%;
}

.signup-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.signup-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.8s ease-out;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E91E63, #FF69B4, #FFB6C1, #FFC0CB, #E91E63);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.card-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, #E91E63, #FF69B4, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: titleShimmer 2s ease-in-out infinite;
}

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

.login-link {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.login-text {
    color: #E91E63;
    text-decoration: none;
    font-weight: 600;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: #E91E63;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

.signup-submit-btn {
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-submit-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;
}

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

.signup-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.5);
    background: linear-gradient(135deg, #FF69B4, #E91E63);
}

/* Login Page Styles */
#login-page {
    background: linear-gradient(135deg, #F8E8E8 0%, #FFE4E1 25%, #FFF0F5 50%, #FFB6C1 75%, #FFC0CB 100%);
    position: relative;
    overflow: hidden;
}

#login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 8s ease-in-out infinite;
}

.login-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.login-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

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

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.login-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2), 0 0 0 1px rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.8s ease-out;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E91E63, #FF69B4, #FFB6C1, #FFC0CB, #E91E63);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.signup-link {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.signup-text {
    color: #E91E63;
    text-decoration: none;
    font-weight: 600;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #E91E63;
}

.forgot-password {
    color: #E91E63;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-submit-btn {
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-submit-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;
}

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

.login-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.5);
    background: linear-gradient(135deg, #FF69B4, #E91E63);
}

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

/* Contact Page Styles */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.envelope {
    background-color: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    position: relative;
    margin-bottom: 30px;
}

.envelope::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid white;
}

.envelope-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #E91E63;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-textarea {
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

.form-textarea:focus {
    outline: none;
    border-color: #E91E63;
}

/* Send Button Styles */
.send-btn {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

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

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

.btn-text {
    transition: opacity 0.3s ease;
}

.send-btn.loading .btn-text {
    opacity: 0;
}

/* Response Notice */
.response-notice {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin: 15px 0 0 0;
    padding: 10px 20px;
    background: rgba(233, 30, 99, 0.05);
    border-radius: 10px;
    border-left: 3px solid #E91E63;
    line-height: 1.4;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E0E0E0;
}

.divider span {
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
    background: white;
}

/* Google Sign-in Button */
.google-signin-btn {
    width: 100%;
    background: white;
    color: #333;
    border: 2px solid #E0E0E0;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #D0D0D0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* User Welcome Section */
.user-welcome {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.welcome-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin: 0 0 10px 0;
}

.user-email {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container .form-input {
    padding-right: 50px;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #E91E63;
}

.eye-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.eye-icon.hidden {
    display: none;
}

.eye-icon.visible {
    display: block;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

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

/* Notification Alert Styles */
.notification-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999; /* Highest z-index to appear above everything */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(233, 30, 99, 0.2);
    max-width: 400px;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-alert.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #E91E63;
    margin: 0 0 5px 0;
}

.notification-message {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    min-width: 30px;
    min-height: 30px;
}

.notification-close:hover {
    background: rgba(233, 30, 99, 0.1);
}

.notification-close svg {
    width: 16px;
    height: 16px;
    color: #666;
}

.notification-close:hover svg {
    color: #E91E63;
}


/* About Page Styles */
.about-content {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 232, 232, 0.8));
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.about-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.about-text {
    font-size: 1.2rem;
    color: #333;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.9;
    font-weight: 400;
    text-align: justify;
    text-align-last: center;
}

.about-illustration {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.about-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* Subscription Page Styles */
.subscription-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.subscription-header {
    text-align: center;
    margin-bottom: 50px;
}

.subscription-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

.subscription-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.subscription-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.subscription-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subscription-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.subscription-card.premium {
    border: 2px solid #E91E63;
    transform: scale(1.05);
}

.subscription-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}

.subscription-card.selected {
    border: 2px solid #E91E63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 107, 157, 0.1));
    transform: scale(1.02);
}

.subscription-card.selected:hover {
    transform: scale(1.02) translateY(-5px);
}

.subscription-card.premium.selected {
    transform: scale(1.07);
}

.subscription-card.premium.selected:hover {
    transform: scale(1.07) translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin: 0;
}

.card-badge {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.card-badge.best {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.card-price {
    text-align: center;
    margin-bottom: 25px;
}

.currency {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #666;
    vertical-align: top;
}

.amount {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #E91E63;
    margin: 0 5px;
}

.period {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
}

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

.card-features li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    padding-left: 5px;
}

.select-plan-btn {
    width: 100%;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.select-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

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

/* Payment Page Styles */
#payment-page {
    background: linear-gradient(135deg, #F5F5DC 0%, #FFF8DC 25%, #FFE4E1 50%, #FFB6C1 75%, #FFC0CB 100%);
    position: relative;
    overflow-y: auto;
    padding-top: 140px; /* Extra padding to ensure content is below header */
    z-index: 1; /* Ensure it stays below header */
}

.payment-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.payment-header {
    text-align: center;
    margin-bottom: 40px;
}

.payment-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E91E63;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

.payment-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.payment-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    height: fit-content;
}

.summary-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin-bottom: 25px;
    text-align: center;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-item.total {
    background: rgba(233, 30, 99, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.summary-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.summary-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #E91E63;
    font-size: 1.1rem;
}

.summary-item.total .summary-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.summary-features {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.summary-features li {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.summary-divider {
    height: 1px;
    background: rgba(233, 30, 99, 0.2);
    margin: 10px 0;
}

.payment-form-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin-bottom: 25px;
    text-align: center;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #E91E63;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.2);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: #E91E63;
    background: rgba(233, 30, 99, 0.1);
}

.payment-card img {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.payment-card span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.back-to-subscription-btn {
    background: transparent;
    color: #E91E63;
    border: 2px solid #E91E63;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.back-to-subscription-btn:hover {
    background: #E91E63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.payment-submit-btn {
    flex: 2;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.payment-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.payment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.payment-submit-btn.loading .btn-text {
    opacity: 0;
}

/* Virtual Account Popup Styles */
.va-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.va-popup.active {
    opacity: 1;
    visibility: visible;
}

.va-popup-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.va-popup.active .va-popup-content {
    transform: translateY(0);
}

.va-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.va-popup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.va-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: #666;
}

.va-popup-close:hover {
    background-color: #f5f5f5;
}

.va-popup-close svg {
    width: 20px;
    height: 20px;
}

.va-popup-body {
    padding: 30px;
}

.va-bank-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
}

.va-bank-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.va-bank-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.va-account-section {
    margin-bottom: 25px;
}

.va-account-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.va-account-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.va-copy-btn {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.va-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.va-qr-section {
    margin-bottom: 25px;
}

.va-qr-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.va-qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.va-qr-code {
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.va-amount-section {
    margin-bottom: 25px;
}

.va-amount-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.va-amount {
    padding: 15px 20px;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

.va-instructions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.va-instructions h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

.va-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.va-instructions li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.5;
}

.va-popup-actions {
    display: flex;
    gap: 15px;
    padding: 20px 30px 30px;
}

.va-cancel-btn {
    flex: 1;
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.va-cancel-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.va-complete-btn {
    flex: 2;
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.va-complete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.va-complete-btn:active {
    transform: translateY(0);
}

.va-complete-btn.loading .btn-text {
    opacity: 0;
}

/* Responsive Design for Payment Page */
@media (max-width: 768px) {
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .back-to-subscription-btn,
    .payment-submit-btn {
        flex: 1;
    }
    
    /* Payment page mobile centering fixes */
    .payment-content {
        padding: 20px 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        margin-top: 20px; /* Extra margin to ensure content is below header */
    }
    
    /* Payment page specific mobile fixes */
    #payment-page {
        padding-top: 160px; /* Extra padding for mobile to prevent header overlap */
    }
    
    /* Safari iPhone 13 specific fixes */
    @supports (-webkit-touch-callout: none) {
        .form-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 350px;
            margin: 0 auto;
        }
        
        .form-input {
            width: 100%;
            max-width: 350px;
            text-align: left;
            margin: 0 auto;
            padding: 15px 18px;
            font-size: 16px; /* Prevents zoom on iOS */
        }
        
        .form-group label {
            text-align: center;
            width: 100%;
            max-width: 350px;
            margin: 0 auto 8px auto;
        }
    }
    
    .payment-header {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 30px;
        text-align: center;
    }
    
    .payment-title {
        font-size: 2rem;
        text-align: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .payment-subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 10px auto;
        width: 100%;
    }
    
    .payment-layout {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .payment-summary-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        text-align: center;
    }
    
    .summary-title {
        text-align: center;
        width: 100%;
    }
    
    .summary-details {
        text-align: center;
        width: 100%;
    }
    
    .summary-item {
        text-align: center;
        width: 100%;
    }
    
    .summary-features {
        text-align: center;
        width: 100%;
    }
    
    .summary-features li {
        text-align: center;
    }
    
    .selected-plan-display {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .selected-plan-title {
        text-align: center;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .selected-plan-info {
        text-align: center;
        width: 100%;
    }
    
    .plan-features {
        text-align: center;
        margin-top: 15px;
        width: 100%;
    }
    
    /* Payment form mobile centering */
    .payment-form-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .form-title {
        text-align: center;
        width: 100%;
    }
    
    .form-section {
        text-align: center;
        width: 100%;
    }
    
    .section-title {
        text-align: center;
        width: 100%;
    }
    
    .form-group {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .form-group label {
        text-align: center;
        display: block;
        margin-bottom: 8px;
        width: 100%;
        max-width: 300px;
        font-family: 'Poppins', sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
    }
    
    .form-input {
        width: 100%;
        max-width: 300px;
        text-align: left; /* Keep input text left-aligned for readability */
        margin: 0 auto; /* Center the input box */
        padding: 15px 18px;
        border: 2px solid #E0E0E0;
        border-radius: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
        font-family: 'Poppins', sans-serif;
        background: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
        box-sizing: border-box; /* Ensure padding is included in width calculation */
    }
    
    .form-input:focus {
        outline: none;
        border-color: #E91E63;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 0 10px rgba(233, 30, 99, 0.2);
    }
    
    .payment-methods {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .payment-option {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .payment-card {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    /* Additional responsive fixes for form inputs */
    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 10px; /* Add some padding to prevent edge overflow */
    }
    
    .form-group input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    /* Ensure payment form cards don't overflow */
    .payment-form-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px 15px; /* Reduce padding on mobile */
        margin: 0;
    }
    
    /* Fix form sections to prevent overflow */
    .form-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 5px;
    }
    
    /* Ensure payment methods don't overflow */
    .payment-methods {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 5px;
    }
    
    .payment-option {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .payment-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px 8px; /* Reduce padding on mobile */
    }
}

/* Subscription Selection Styles */
.subscription-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.selected-plan-display {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    min-width: 300px;
}

.selected-plan-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #E91E63;
    margin: 0 0 10px 0;
}

.selected-plan-info {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
}

.no-plan-selected {
    color: #999;
    font-style: italic;
}

.selected-plan-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.selected-plan-name {
    font-weight: 600;
    color: #E91E63;
    font-size: 1.1rem;
}

.selected-plan-price {
    font-weight: 600;
    color: #E91E63;
    font-size: 1.3rem;
}

.subscribe-btn {
    background: linear-gradient(135deg, #E91E63, #FF6B9D);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.subscribe-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.subscribe-btn:active:not(:disabled) {
    transform: translateY(0);
}

.subscribe-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.subscribe-btn.loading .btn-text {
    opacity: 0;
}

.hair-dryer-model {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, #F5F5DC, #FFF8DC);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hair-dryer-model::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: #E91E63;
    border-radius: 50%;
}

/* Products Page Styles */
.products-content {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.products-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    background: linear-gradient(135deg, #E91E63, #FF69B4, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.products-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.product-catalog {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.product-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin-bottom: 15px;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.feature {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #E91E63;
    text-align: center;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 107, 157, 0.1));
    padding: 15px;
    border-radius: 15px;
    border: 2px solid rgba(233, 30, 99, 0.2);
}

.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.original-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #E91E63;
    text-decoration-thickness: 2px;
}

.discounted-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #E91E63;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 107, 157, 0.1));
    padding: 15px;
    border-radius: 15px;
    border: 2px solid rgba(233, 30, 99, 0.2);
}

.discount-badge {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* Coming Soon Section */
.coming-soon-section {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.coming-soon-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 232, 232, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E91E63, #FF69B4, #FFB6C1, #FFC0CB, #E91E63);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.coming-soon-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #E91E63, #FF69B4, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shopping Cart Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(233, 30, 99, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #E91E63;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    color: #666;
}

.cart-close:hover {
    background-color: rgba(233, 30, 99, 0.1);
}

.cart-close svg {
    width: 20px;
    height: 20px;
}

.cart-items {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #999;
}

.empty-cart-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #E91E63;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(233, 30, 99, 0.1);
    border-radius: 20px;
    padding: 4px;
}

.quantity-btn {
    background: #E91E63;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #FF69B4;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.quantity-display {
    min-width: 20px;
    text-align: center;
    font-weight: 600;
    color: #E91E63;
    font-size: 0.9rem;
}

.cart-item-remove {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #FF6B6B;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.cart-item-remove:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #FF5252;
    border-color: #FF5252;
    transform: scale(1.1);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

    .cart-footer {
        padding: 15px 30px 20px;
        border-top: 1px solid rgba(233, 30, 99, 0.2);
    }
    
    /* Mobile Safari bottom safe area */
    @media (max-width: 768px) {
        .cart-footer {
            padding-bottom: calc(60px + env(safe-area-inset-bottom, 60px));
            margin-bottom: 20px; /* Extra margin to ensure content is visible */
        }
        
    /* Extra padding for Safari iPhone */
    @supports (-webkit-touch-callout: none) {
        .cart-footer {
            padding-bottom: calc(80px + env(safe-area-inset-bottom, 80px));
            margin-bottom: 30px;
        }
        
        /* Additional mobile layout fixes */
        .page {
            padding-bottom: calc(100px + env(safe-area-inset-bottom, 100px));
        }
        
        .cart-sidebar {
            height: calc(100vh - 74px - 100px); /* Extra space for browser UI */
        }
        
        /* Landing page Safari fixes */
        .landing-page {
            padding-bottom: calc(120px + env(safe-area-inset-bottom, 120px));
            min-height: calc(100vh - 120px);
        }
        
        .cta-section {
            padding-bottom: 80px; /* Extra padding for Safari */
        }
        
        /* Safari logo positioning - moved down 25px */
        .logo-section {
            transform: translateY(calc(8vh + 25px)); /* Moved down 25px on Safari too */
        }
    }
    }

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(255, 107, 157, 0.1));
    border-radius: 15px;
}

.total-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.total-amount {
    font-weight: 700;
    color: #E91E63;
    font-size: 1.3rem;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #E91E63, #FF69B4);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.checkout-btn.loading .btn-text {
    opacity: 0;
}

/* Back Button */
.back-btn {
    background-color: transparent;
    border: none;
    color: #E91E63;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
    margin: 10px 0 30px 0;
}

.back-btn:hover {
    background-color: rgba(233, 30, 99, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .signup-content {
        flex-direction: column;
    }
    
    .subscription-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .product-catalog {
        gap: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .product-card {
        flex-direction: column;
        min-height: auto;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 30px 20px;
    }
    
    .coming-soon-card {
        padding: 20px;
        margin: 0 20px;
    }
    
    .coming-soon-title {
        font-size: 1.2rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Header Mobile Styles */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999; /* Highest z-index for mobile */
        background: rgba(248, 232, 232, 0.95);
        backdrop-filter: blur(10px);
        height: 74px; /* Fixed height for mobile */
        width: 100%; /* Ensure full width */
    }
    
    .header .container {
        padding: 10px 15px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        width: 100%;
    }
    
    .logo {
        z-index: 1001;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo-img {
        height: 35px;
        width: auto;
    }
    
    .mobile-menu-btn {
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .hamburger-line {
        width: 25px;
        height: 3px;
        background: #E91E63;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .auth-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Hide auth CTA in top bar on mobile - only show inside mobile menu */
    .auth-buttons .login-btn,
    .auth-buttons .sign-up-btn {
        display: none !important;
    }

    /* Keep hamburger centered and above any overlapping elements */
    .mobile-menu-btn {
        z-index: 1002;
    }

    /* Ensure cart stays on the far right and doesn't get pushed by others */
    .auth-buttons {
        right: 15px;
        left: auto;
    }
    
    .cart-btn {
        display: flex;
        padding: 8px;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .cart-btn .cart-icon {
        width: 20px;
        height: 20px;
    }
    
    .cart-btn .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    /* Desktop Navigation - Hidden on Mobile */
    .desktop-nav {
        display: none;
    }
    
    /* Mobile Menu Button Styles */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: absolute; /* center in header */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
    }
    
    .hamburger-line {
        width: 100%;
        height: 3px;
        background: #E91E63;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Mobile Navigation */
    .mobile-nav {
        position: fixed;
        top: 74px; /* Align with navbar line */
        left: 0;
        width: 100%;
        height: calc(100vh - 74px); /* Full height minus header */
        background: linear-gradient(135deg, rgba(248, 232, 232, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
    }
    
    .mobile-nav.active {
        transform: translateX(0);
    }
    
    .mobile-nav .nav-link {
        display: block;
        padding: 20px 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #E91E63;
        text-decoration: none;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(233, 30, 99, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-nav .nav-link:hover {
        background: rgba(233, 30, 99, 0.1);
        transform: translateX(10px);
    }
    
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
        max-width: 200px;
    }
    
    .mobile-auth-buttons .login-btn,
    .mobile-auth-buttons .sign-up-btn {
        padding: 15px 30px;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    /* Page Content Mobile Adjustments */
    .page {
        padding: 80px 15px 20px 15px; /* Top padding for fixed header */
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Global page spacing fix - prevent header overlap */
    .page {
        padding-top: 140px !important; /* Force all pages to have proper spacing */
        z-index: 1 !important; /* Ensure all pages stay below header */
        position: relative !important;
    }
    
    /* Landing page specific adjustment */
    .landing-page {
        padding-top: 120px; /* Increased padding to prevent navbar blocking */
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 100px)); /* Extra space for mobile browser UI */
        min-height: calc(100vh - 100px); /* Account for browser UI */
        justify-content: center; /* Ensure vertical centering on mobile */
        z-index: 1; /* Ensure it stays below navigation bar */
        position: relative; /* Ensure proper positioning */
    }
    
    .hero-content {
        margin: 0 auto; /* Center the hero content */
        padding: 20px 15px; /* Add padding for mobile */
        z-index: 1; /* Stay below navigation bar */
        position: relative; /* Ensure proper positioning */
    }
    
    /* Mobile logo positioning - moved down 25px */
    .logo-section {
        transform: translateY(calc(8vh + 25px)); /* Moved down 25px on mobile too */
    }
    
    /* Landing Page Mobile */
    .landing-content {
        padding: 40px 15px;
        text-align: center;
    }
    
    .landing-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .landing-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Instagram section mobile fixes */
    .instagram-section {
        margin-top: 20px;
        margin-bottom: 30px; /* Extra margin to prevent cutoff */
        padding: 15px 25px; /* Larger padding for better touch targets */
    }
    
    /* CTA section mobile spacing */
    .cta-section {
        padding-bottom: 50px; /* Extra padding to ensure Instagram section is visible */
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Product Cards Mobile */
    .product-card {
        flex-direction: column;
        min-height: auto;
        margin-bottom: 30px;
    }
    
    .product-image {
        height: 250px;
        width: 100%;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .add-to-cart-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Subscription Cards Mobile */
    .subscription-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .subscription-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Payment Page Mobile */
    .payment-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .payment-summary-card,
    .payment-form-card {
        width: 100%;
    }
    
    .payment-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .back-to-subscription-btn,
    .payment-submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
    
    /* Form Inputs Mobile */
    .form-input {
        padding: 15px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Cart Sidebar Mobile */
    .cart-sidebar {
        width: 100%;
        right: -100%;
        top: 74px; /* Align with navbar line */
        height: calc(100vh - 74px - env(safe-area-inset-bottom, 0px) - 60px); /* Full height minus header, safe area, and browser UI */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    .cart-sidebar.active {
        right: 0;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Login/Signup Pages Mobile */
    .login-content,
    .signup-content {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .login-card,
    .signup-card {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .login-left,
    .signup-left {
        display: none;
    }
    
    .login-right,
    .signup-right {
        width: 100%;
    }
    
    .card-title {
        font-size: 2rem;
    }
    
    .form-input {
        padding: 15px 18px;
        font-size: 16px;
    }
    
    .login-submit-btn,
    .signup-submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    /* About Page Mobile */
    .about-content {
        padding: 20px 15px;
    }
    
    .about-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Contact Page Mobile */
    .contact-content {
        padding: 20px 15px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input,
    .form-textarea {
        padding: 15px 18px;
    }
    
    .response-notice {
        font-size: 0.85rem;
        padding: 8px 15px;
        margin: 12px 0 0 0;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Notification Mobile */
    .notification-alert {
        left: 15px;
        right: 15px;
        width: auto;
        margin: 0;
    }
    
    /* Back Button Mobile */
    .back-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 10px 0 20px 0;
    }
    
    /* Coming Soon Mobile */
    .coming-soon-section {
        margin-top: 40px;
    }
    
    .coming-soon-card {
        padding: 20px;
        margin: 0 15px;
    }
    
    .coming-soon-title {
        font-size: 1.2rem;
    }
}

/* Additional Mobile Styles for Better Compatibility */
@media (max-width: 480px) {
    /* Extra small screens */
    .landing-title {
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .subscription-card {
        padding: 20px 15px;
    }
    
    .payment-summary-card,
    .payment-form-card {
        padding: 20px 15px;
    }
    
    .login-card,
    .signup-card {
        padding: 25px 15px;
    }
    
    .card-title {
        font-size: 1.8rem;
    }
    
    .mobile-nav .nav-link {
        font-size: 1.3rem;
        padding: 15px 0;
    }
    
    .mobile-auth-buttons {
        max-width: 180px;
    }
    
    .mobile-auth-buttons .login-btn,
    .mobile-auth-buttons .sign-up-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Hide mobile menu button on desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-auth-buttons {
        display: none;
    }
}

/* Custom Confirmation Alert Styles */
.confirmation-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirmation-alert.show {
    opacity: 1;
    visibility: visible;
}

.confirmation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.confirmation-modal {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 232, 232, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    padding: 0;
    max-width: 400px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.confirmation-alert.show .confirmation-modal {
    transform: scale(1) translateY(0);
}

.confirmation-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E91E63, #FF69B4, #FFB6C1, #FFC0CB, #E91E63);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.confirmation-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}


.confirmation-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #E91E63;
    margin: 0;
    background: linear-gradient(135deg, #E91E63, #FF69B4, #FFB6C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirmation-body {
    padding: 20px 30px;
    text-align: center;
}

.confirmation-message {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.confirmation-item {
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 15px;
    padding: 12px 20px;
    color: #E91E63;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.confirmation-actions {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirmation-btn {
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 100px;
}

.confirmation-cancel {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.confirmation-cancel:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateY(-2px);
}

.confirmation-confirm {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    border: 1px solid #FF6B6B;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.confirmation-confirm:hover {
    background: linear-gradient(135deg, #FF5252, #FF6B6B);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Mobile Confirmation Alert */
@media (max-width: 768px) {
    .confirmation-modal {
        width: 95%;
        max-width: 350px;
    }
    
    .confirmation-header {
        padding: 25px 20px 15px;
    }
    
    
    .confirmation-title {
        font-size: 1.3rem;
    }
    
    .confirmation-body {
        padding: 15px 20px;
    }
    
    .confirmation-actions {
        padding: 15px 20px 25px;
        flex-direction: column;
        gap: 10px;
    }
    
    .confirmation-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
}
