/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f06292;
    --accent-rose: #ff4081;
    --accent-gold: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #757575;
    --bg-cream: #fff5f8;
    --bg-white: #FFFFFF;
    --bg-gradient-start: #e91e63;
    --bg-gradient-end: #880e4f;
    --shadow: rgba(233, 30, 99, 0.15);
    --shadow-dark: rgba(233, 30, 99, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Enable smooth scrolling for parallax */
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body {
        scroll-behavior: auto;
    }
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(233, 30, 99, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 64, 129, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(233, 30, 99, 0.02) 0%, transparent 50%);
    animation: bgFloat 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Floating Hearts Animation */
@keyframes floatHearts {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 30px;
    height: 30px;
    animation: floatHearts linear infinite;
    opacity: 0;
    filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.3));
}

.heart svg {
    width: 100%;
    height: 100%;
}

.heart:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; width: 25px; height: 25px; }
.heart:nth-child(2) { left: 20%; animation-duration: 18s; animation-delay: 2s; width: 35px; height: 35px; }
.heart:nth-child(3) { left: 30%; animation-duration: 16s; animation-delay: 4s; width: 28px; height: 28px; }
.heart:nth-child(4) { left: 40%; animation-duration: 20s; animation-delay: 1s; width: 32px; height: 32px; }
.heart:nth-child(5) { left: 50%; animation-duration: 17s; animation-delay: 3s; width: 30px; height: 30px; }
.heart:nth-child(6) { left: 60%; animation-duration: 19s; animation-delay: 5s; width: 26px; height: 26px; }
.heart:nth-child(7) { left: 70%; animation-duration: 16s; animation-delay: 2s; width: 33px; height: 33px; }
.heart:nth-child(8) { left: 80%; animation-duration: 18s; animation-delay: 4s; width: 29px; height: 29px; }
.heart:nth-child(9) { left: 90%; animation-duration: 17s; animation-delay: 1s; width: 27px; height: 27px; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 64, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
}

/* Animated sparkles */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    animation: sparkle 4s linear infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.3;
        background-position: 0% 0%;
    }
    50% { 
        opacity: 0.8;
        background-position: 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.names-container {
    margin-bottom: 30px;
    position: relative;
}

/* Decorative elements around names */
.names-container::before,
.names-container::after {
    content: '❀';
    position: absolute;
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.6;
    animation: rotate 20s linear infinite;
}

.names-container::before {
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.names-container::after {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes rotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.groom-name,
.bride-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite, fadeInUp 1s ease-out;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--accent-gold);
    margin: 20px 0;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite, fadeIn 1.5s ease-out;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.parent-info {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    margin: 10px 0 20px 0;
    animation: fadeInUp 1.3s ease-out;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    animation: fadeInUp 1.4s ease-out;
    flex-wrap: wrap;
}

.islamic-pattern {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    position: relative;
}

.islamic-pattern::before,
.islamic-pattern::after {
    content: '✦';
    position: absolute;
    color: var(--accent-gold);
    font-size: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

.islamic-pattern::before {
    left: -10px;
}

.islamic-pattern::after {
    right: -10px;
}

.wedding-date {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    padding: 10px 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 2.5rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* Introduction Section */
.intro {
    padding: 120px 20px;
    background: var(--bg-white);
    text-align: center;
    position: relative;
    z-index: 1;
}

.bismillah {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 25px;
    direction: rtl;
    font-weight: 600;
    text-shadow: 0 2px 10px var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
}

.description {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 2;
    color: var(--text-dark);
    padding: 40px;
    background: var(--bg-cream);
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px var(--shadow);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
}

.quran-reference {
    color: var(--primary-color);
    font-style: italic;
    font-size: 1rem;
    font-weight: 500;
    animation: fadeInUp 1.4s ease-out;
}

/* Countdown Section */
.countdown-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.countdown-ornament {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 auto;
    animation: sparkle 3s ease-in-out infinite;
}

.countdown-ornament.top {
    margin-bottom: 20px;
}

.countdown-ornament.bottom {
    margin-top: 40px;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.countdown-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.countdown-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px 25px;
    min-width: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.countdown-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.countdown-value {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-label {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.countdown-separator {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    padding: 0 5px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0.3; }
}

.countdown-message {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.celebration-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: celebrationPulse 1.5s ease-in-out infinite;
}

@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Countdown */
@media (max-width: 768px) {
    .countdown-section {
        padding: 80px 20px;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-box {
        min-width: 70px;
        padding: 20px 15px;
    }
    
    .countdown-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 8px;
    }
    
    .countdown-box {
        min-width: 60px;
        padding: 15px 10px;
    }
}

/* Events Section */
.events {
    padding: 120px 20px;
    background: var(--bg-cream);
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    margin-bottom: 80px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.event-card {
    background: var(--bg-white);
    border-radius: 25px;
    padding: 50px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px var(--shadow);
    display: flex;
    gap: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.05), transparent);
    transition: left 0.6s ease;
}

.event-card:hover::before {
    left: 100%;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-dark);
    border-color: var(--primary-light);
}

.event-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    box-shadow: 0 8px 25px var(--shadow-dark);
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.event-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    opacity: 0;
    animation: iconPulse 2s ease-out infinite;
}

@keyframes iconPulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

.event-icon svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.event-content {
    flex: 1;
}

.event-type {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.event-type::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-rose);
    border-radius: 2px;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
}

.detail-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hijri-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.8;
}

.detail-item.address {
    padding-left: 39px;
    color: var(--text-light);
    font-size: 1rem;
}

.map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    animation: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: var(--text-dark);
    border: none;
    padding: 22px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(233, 30, 99, 0.98), rgba(233, 30, 99, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 30px rgba(233, 30, 99, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta .cta-button {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
}

.sticky-cta .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-button svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-note {
    margin-top: 25px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Family Ribbons Section */
.family-ribbons {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-cream));
    padding: 60px 0 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.ribbons-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.ribbons-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-style: italic;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.1);
    position: relative;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ribbons-title::before,
.ribbons-title::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    animation: sparkle 2s ease-in-out infinite;
}

.ribbons-title::before {
    left: -35px;
}

.ribbons-title::after {
    right: -35px;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.ribbons-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-rose), var(--primary-color), transparent);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.ribbons-divider::before,
.ribbons-divider::after {
    content: '❖';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
    text-shadow: 0 2px 6px rgba(233, 30, 99, 0.3);
}

.ribbons-divider::before {
    left: -20px;
}

.ribbons-divider::after {
    right: -20px;
}

.ribbon-container {
    width: 100%;
    overflow: hidden;
    padding: 12px 0;
    position: relative;
    white-space: nowrap;
}

.bride-ribbon {
    background: linear-gradient(90deg, 
        rgba(233, 30, 99, 0.03) 0%, 
        rgba(233, 30, 99, 0.06) 50%, 
        rgba(233, 30, 99, 0.03) 100%);
    border-top: 1px solid rgba(233, 30, 99, 0.08);
    border-bottom: 1px solid rgba(233, 30, 99, 0.08);
}

.groom-ribbon {
    background: linear-gradient(90deg, 
        rgba(194, 24, 91, 0.04) 0%, 
        rgba(194, 24, 91, 0.07) 50%, 
        rgba(194, 24, 91, 0.04) 100%);
    border-top: 1px solid rgba(194, 24, 91, 0.08);
    border-bottom: 1px solid rgba(194, 24, 91, 0.08);
}

.ribbon-content {
    display: inline-block;
    animation: scrollRibbon 50s linear infinite;
    padding: 2px 0;
}

.bride-ribbon .ribbon-content {
    animation: scrollRibbon 55s linear infinite;
}

.groom-ribbon .ribbon-content {
    animation: scrollRibbonReverse 60s linear infinite;
}

@keyframes scrollRibbon {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRibbonReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.ribbon-item {
    display: inline-block;
    padding: 5px 18px;
    margin: 0 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(233, 30, 99, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.family-header {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 22px;
    opacity: 0.9;
}

.bride-ribbon .ribbon-item {
    color: var(--primary-color);
    border-color: rgba(233, 30, 99, 0.15);
}

.bride-ribbon .family-header {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(233, 30, 99, 0.12));
    border-color: rgba(233, 30, 99, 0.2);
}

.groom-ribbon .ribbon-item {
    color: var(--primary-dark);
    border-color: rgba(194, 24, 91, 0.15);
}

.groom-ribbon .family-header {
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.1), rgba(194, 24, 91, 0.14));
    border-color: rgba(194, 24, 91, 0.22);
}

.ribbon-container:hover .ribbon-content {
    animation-play-state: paused;
}

.ribbon-item:not(.family-header):hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 3px 12px rgba(233, 30, 99, 0.15);
}

/* Footer */
.footer {
    padding: 80px 20px;
    background: var(--bg-white);
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.dua {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.6;
}

.footer-text {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-brand {
    color: var(--text-light);
    font-size: 1rem;
}

.footer-brand strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--primary-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 20px var(--shadow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    margin-top: 25px;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Error Message */
.error-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.error-content {
    text-align: center;
    padding: 50px;
    max-width: 500px;
}

.error-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.error-content p {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.retry-button {
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--shadow);
}

.retry-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

/* Photo Gallery */
.gallery {
    padding: 120px 20px;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 50px var(--shadow-dark);
    border-color: var(--primary-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(233, 30, 99, 0.9));
    color: white;
    padding: 40px 20px 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* No Events Message */
.no-events {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 60px 20px;
    background: var(--bg-cream);
    border-radius: 20px;
    margin: 20px 0;
}

/* Statistics */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.9);
    margin-top: 10px;
    font-weight: 500;
}

/* No Events Message */
.no-events {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 40px 20px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    padding: 18px 35px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.4);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.05rem;
}

.toast.show {
    bottom: 40px;
}

/* Install Modal */
.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.install-modal.show {
    opacity: 1;
}

.install-modal-content {
    background: var(--bg-white);
    border-radius: 25px;
    padding: 50px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.install-modal.show .install-modal-content {
    transform: scale(1);
}

.install-modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.install-modal-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wedding-code-box {
    background: linear-gradient(135deg, var(--bg-cream), #ffe5f0);
    padding: 20px 25px;
    border-radius: 15px;
    margin: 25px 0;
    border: 2px dashed var(--primary-light);
    position: relative;
}

.wedding-code-box .label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.wedding-code-box .code {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
}

.wedding-code-box .copied-badge {
    display: inline-block;
    background: #4CAF50;
    color: white;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 10px;
    font-weight: 600;
}

.install-steps {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    font-size: 1rem;
    line-height: 2;
    margin: 20px 0;
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

.wedding-code {
    background: linear-gradient(135deg, var(--bg-cream), #ffe5f0);
    padding: 20px 25px;
    border-radius: 15px;
    margin: 25px 0;
    font-size: 1.1rem;
    border: 2px dashed var(--primary-light);
}

.wedding-code strong {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.code-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.qr-section {
    background: var(--bg-cream);
    padding: 25px;
    border-radius: 20px;
    margin: 25px 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 35px;
}

.install-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.install-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), #6a0f3a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.install-button svg {
    width: 26px;
    height: 26px;
}

.cancel-button {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: var(--bg-cream);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.store-badges a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-badges a:hover {
    transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .names-container::before,
    .names-container::after {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .event-card {
        flex-direction: column;
        padding: 40px 25px;
    }

    .event-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto 25px;
    }

    .event-icon svg {
        width: 40px;
        height: 40px;
    }

    .event-type {
        font-size: 2rem;
        text-align: center;
    }
    
    .event-type::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .event-description {
        text-align: center;
    }
    
    .event-details {
        align-items: flex-start;
    }

    .detail-item.address {
        padding-left: 0;
        justify-content: flex-start;
    }

    .map-link {
        text-align: center;
        display: block;
        width: fit-content;
        margin: 15px auto 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .stats-container {
        gap: 40px;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .install-modal-content {
        padding: 35px 25px;
    }
    
    .install-modal-content h3 {
        font-size: 1.8rem;
    }
    
    .wedding-code strong {
        font-size: 1.2rem;
    }
    
    .store-badges {
        flex-direction: column;
    }
    
    .store-badges img {
        max-width: 220px;
    }
    
    .intro {
        padding: 80px 20px;
    }
    
    .events {
        padding: 80px 20px;
    }
    
    .cta {
        padding: 80px 20px;
    }
    
    .footer {
        padding: 60px 20px;
    }
    
    .description {
        padding: 30px 25px;
    }
    
    .ribbon-item {
        font-size: 0.8rem;
        padding: 4px 14px;
        margin: 0 6px;
    }
    
    .family-header {
        font-size: 0.75rem;
        padding: 4px 16px;
    }
    
    .ribbon-container {
        padding: 10px 0;
    }
    
    .ribbons-header {
        margin-bottom: 30px;
    }
    
    .ribbons-title::before,
    .ribbons-title::after {
        display: none;
    }
    
    .ribbons-divider {
        width: 100px;
    }
    
    .family-ribbons {
        padding: 50px 0 0 0;
    }
}

@media (max-width: 480px) {
    .date-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .islamic-pattern {
        width: 60px;
    }
    
    .cta-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .event-card {
        padding: 30px 20px;
    }
    
    .sticky-cta {
        padding: 15px;
    }
    
    .ribbon-item {
        font-size: 0.75rem;
        padding: 3px 12px;
        margin: 0 5px;
    }
    
    .family-header {
        font-size: 0.7rem;
        padding: 3px 14px;
        letter-spacing: 1px;
    }
    
    .ribbon-container {
        padding: 8px 0;
    }
    
    .ribbons-header {
        margin-bottom: 25px;
    }
    
    .ribbons-title {
        font-size: 1.5rem;
    }
    
    .ribbons-title::before,
    .ribbons-title::after {
        display: none;
    }
    
    .ribbons-divider {
        width: 80px;
    }
    
    .ribbons-divider::before,
    .ribbons-divider::after {
        font-size: 0.85rem;
        left: -18px;
    }
    
    .ribbons-divider::after {
        right: -18px;
    }
    
    .family-ribbons {
        padding: 40px 0 0 0;
    }
    
    .sticky-cta .cta-button {
        padding: 16px 30px;
        font-size: 1rem;
        gap: 10px;
    }
    
    .sticky-cta .cta-button svg {
        width: 22px;
        height: 22px;
    }
}

/* =============================================
   MAGICAL ENHANCEMENTS
   ============================================= */

/* Interactive Particles Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
}

/* Confetti Container */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotateZ(720deg);
        opacity: 0;
    }
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Magic Button with Ripple Effect */
.magic-button {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magic-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.magic-button:hover::before,
.magic-button:active::before {
    width: 300px;
    height: 300px;
}

.magic-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.magic-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Floating Elements on Hover */
@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.event-card:hover,
.stat-item:hover {
    animation: floatUp 2s ease-in-out infinite;
}

/* Enhanced Countdown Animation */
.countdown-box {
    animation: countdownPulse 1s ease-in-out infinite;
}

@keyframes countdownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Touch Ripple Effect */
.touch-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .floating-hearts .heart:nth-child(n+6) {
        display: none;
    }
    
    .hero::before,
    .hero-overlay::after {
        animation: none;
    }
    
    /* Make particles more visible on mobile */
    .particles-canvas {
        opacity: 0.8;
    }
    
    .reveal-on-scroll {
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }
}

@media (max-width: 480px) {
    .floating-hearts .heart:nth-child(n+4) {
        display: none;
    }
    
    .confetti-container {
        display: none;
    }
    
    /* Increase particle visibility on small screens */
    .particles-canvas {
        opacity: 0.9;
    }
    
    .magic-button:hover {
        transform: none;
        box-shadow: 0 4px 12px var(--shadow);
    }
}

/* GPU Acceleration */
.hero,
.hero-content,
.floating-hearts,
.particles-canvas,
.magic-button,
.reveal-on-scroll {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ========================================
   LANDING PAGE STYLES
   ======================================== */

/* Utility class for hiding elements */
.hidden {
    display: none !important;
}

/* Wedding content hidden by default on landing page */
.wedding-content {
    display: none;
}

body.wedding-page .wedding-content {
    display: block;
}

body.wedding-page .landing-nav,
body.wedding-page .landing-hero,
body.wedding-page .features-section,
body.wedding-page .blockchain-section,
body.wedding-page .how-it-works,
body.wedding-page .landing-cta,
body.wedding-page .landing-footer {
    display: none !important;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    display: block;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Landing Hero */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, #fff 50%, var(--bg-cream) 100%);
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 64, 129, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.landing-hero .hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.stats-preview {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.stats-preview .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-preview .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stats-preview .label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 auto 1rem;
    text-align: center;
    display: block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-cream);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-rose));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Blockchain Verification Section */
.blockchain-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
}

.blockchain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blockchain-content {
    position: relative;
    z-index: 1;
}

.blockchain-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blockchain-icon-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-rose));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.4);
    animation: float 3s ease-in-out infinite;
}

.blockchain-icon-badge svg {
    width: 40px;
    height: 40px;
    color: white;
    stroke-width: 2.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold), #ffa500, var(--accent-rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.blockchain-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.blockchain-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blockchain-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.blockchain-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(233, 30, 99, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.blockchain-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(255, 64, 129, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.blockchain-feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-rose);
}

.blockchain-feature-card h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.blockchain-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.blockchain-cta {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.blockchain-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.blockchain-action {
    text-align: center;
}

.blockchain-action-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.blockchain-tech-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blockchain-tech-note svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.blockchain-tech-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.blockchain-tech-note a {
    color: var(--accent-rose);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blockchain-tech-note a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Wedding Blockchain Verification Section */
.wedding-blockchain-verification {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.wedding-blockchain-verification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.05), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 64, 129, 0.05), transparent 50%);
    pointer-events: none;
}

.blockchain-verification-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.verification-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(255, 64, 129, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.verification-icon svg {
    width: 36px;
    height: 36px;
    color: var(--accent-rose);
}

.verification-title {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.verification-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.verification-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 1rem;
}

.detail-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    min-width: 100px;
}

.detail-value {
    color: white;
    font-size: 0.9rem;
    text-align: right;
    word-break: break-all;
    flex: 1;
}

.detail-value.mono {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
}

.verification-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-rose);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    transition: all 0.3s ease;
}

.verification-link:hover {
    background: rgba(233, 30, 99, 0.2);
    border-color: rgba(233, 30, 99, 0.4);
    transform: translateY(-2px);
}

.verification-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive Design for Verification Section */
@media (max-width: 768px) {
    .blockchain-verification-card {
        padding: 2rem 1.5rem;
    }

    .verification-title {
        font-size: 1.5rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-label {
        min-width: auto;
    }

    .detail-value {
        text-align: left;
        font-size: 0.8rem;
    }
}

/* Responsive Blockchain Section */
@media (max-width: 768px) {
    .blockchain-section {
        padding: 80px 20px;
    }

    .gradient-text {
        font-size: 2rem;
    }

    .blockchain-subtitle {
        font-size: 1rem;
    }

    .blockchain-features {
        grid-template-columns: 1fr;
    }

    .blockchain-stats {
        grid-template-columns: 1fr;
    }

    .blockchain-cta {
        padding: 2rem 1.5rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: var(--bg-cream);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-rose));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.3);
}

.step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Landing CTA Section */
.landing-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.landing-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.landing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.store-badge img {
    height: 50px;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: scale(1.05);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-phone:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-phone svg {
    width: 20px;
    height: 20px;
}

/* Landing Footer */
.landing-footer {
    background: var(--text-dark);
    color: #fff;
    padding: 60px 20px 30px;
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0.5rem 0;
}

/* Modal Styles */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: rgba(233, 30, 99, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.store-badges-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 2rem 0;
}

.store-badges-modal .store-badge img {
    height: 50px;
}

.modal-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Landing Page */
@media (max-width: 768px) {
    .landing-nav {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .landing-hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stats-preview {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-section,
    .how-it-works,
    .landing-cta {
        padding: 60px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(233, 30, 99, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.logo-text .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Enhancements */
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.2);
    animation: fadeInDown 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat Divider */
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Counter Animation for Stats */
.stat .number {
    display: inline-block;
}

/* App Download Modal Enhancement */
.app-download-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.app-download-modal.show {
    opacity: 1;
}

.app-download-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.app-download-modal.show .app-download-content {
    transform: scale(1);
}

.app-download-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.app-download-content p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--bg-cream);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.download-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.download-option-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-cream);
    border-radius: 12px;
}

.download-option-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.download-option-text h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.download-option-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: left;
}


