/* Whimsy Wishes V2 - Homepage Styles with Pink Theme */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.9) 0%, 
        rgba(255, 139, 171, 0.9) 30%, 
        rgba(255, 179, 198, 0.9) 70%, 
        rgba(255, 192, 203, 0.8) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="hearts" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><text x="20" y="40" font-size="30" opacity="0.1">💕</text><text x="60" y="80" font-size="25" opacity="0.08">🌸</text></pattern></defs><rect width="100%" height="100%" fill="url(%23hearts)"/></svg>');
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    background: linear-gradient(45deg, #fff, #ffe0e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff6b9d;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    background: #fff;
}

.cta-button:hover::before {
    left: 100%;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-hearts span {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-hearts span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-hearts span:nth-child(2) {
    right: 15%;
    top: 30%;
    animation-delay: 1s;
}

.floating-hearts span:nth-child(3) {
    left: 20%;
    bottom: 25%;
    animation-delay: 2s;
}

.floating-hearts span:nth-child(4) {
    right: 25%;
    bottom: 35%;
    animation-delay: 3s;
}

.floating-hearts span:nth-child(5) {
    left: 50%;
    top: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* Welcome Message */
.welcome-message {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: twinkle 3s linear infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-message h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.welcome-message p {
    opacity: 0.95;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #be185d;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-description strong {
    color: #be185d;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab, #ffb3c6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    filter: drop-shadow(2px 2px 4px rgba(255, 107, 157, 0.3));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.4rem;
    color: #be185d;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-description {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 60px;
    font-style: italic;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 157, 0.15);
    border-color: #ff6b9d;
}

.category-image {
    height: 180px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3c6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    background-size: 50px 50px;
}

.category-icon {
    font-size: 4rem;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(-5deg);
}

.category-content {
    padding: 30px 25px;
    text-align: center;
}

.category-title {
    font-size: 1.4rem;
    color: #be185d;
    margin-bottom: 10px;
    font-weight: 700;
}

.category-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.category-cta {
    color: #ff6b9d;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-cta {
    color: #be185d;
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #be185d 0%, #ec4899 50%, #f472b6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="newsletter-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23newsletter-pattern)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: white;
    padding: 6px;
}

.form-group input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 50px;
    color: #333;
}

.form-group input::placeholder {
    color: #999;
}

.form-group button {
    padding: 18px 30px;
    background: linear-gradient(135deg, #be185d 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    white-space: nowrap;
}

.form-group button:hover {
    background: linear-gradient(135deg, #a21650 0%, #db2777 100%);
    transform: scale(1.05);
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 15px;
        padding: 10px;
    }
    
    .form-group input,
    .form-group button {
        border-radius: 12px;
        margin: 5px 0;
    }
    
    .floating-hearts span {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .features-section,
    .categories-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .category-content {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .category-icon {
        font-size: 3.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.category-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

/* Additional Utility Classes */
.text-pink-primary {
    color: #be185d;
}

.text-pink-secondary {
    color: #ff6b9d;
}

.bg-pink-gradient {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 2s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}