/* Custom Enhancements for Bedtime Snuggles Website */

/* ============================================
   SMOOTH SCROLLING
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */

.hero-content {
    padding: 3rem 0;
    position: relative;
}

.hero-icon {
    margin-bottom: 2rem;
    position: relative;
}

.main-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(20, 157, 204, 0.3);
    transition: all 0.6s ease;
    animation: fadeInUp 1s ease-out;
}

.main-icon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(20, 157, 204, 0.4);
}

.hero-subtitle {
    color: #149dcc;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1 {
    animation: fadeInUp 1s ease-out 0.1s both;
    background: linear-gradient(135deg, #149dcc, #ff3366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.3s both;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-app-store {
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.hero-app-store .app-store-badge {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-app-store:hover .app-store-badge {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(20, 157, 204, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #149dcc, #0d6786);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 157, 204, 0.4);
}

.hero-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
}

/* ============================================
   APP SHOWCASE SECTION ENHANCEMENTS
   ============================================ */

.app-showcase-content {
    padding: 2rem 0;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f7ed4a, #eadd0a);
    color: #3f3c03;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(247, 237, 74, 0.3);
    animation: fadeInLeft 1s ease-out;
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInLeft 1s ease-out;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.app-store-container {
    margin-top: 2rem;
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.app-store-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-badge {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.app-store-link:hover .app-store-badge {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeInRight 1s ease-out;
}

.phone-frame {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.phone-frame:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.app-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(20, 157, 204, 0.3);
}

/* ============================================
   SCREENSHOT GALLERY ENHANCEMENTS
   ============================================ */

.screenshot-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out;
}

.screenshot-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.screenshot-card .card-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.screenshot-card .card-img img {
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
    border-radius: 15px;
    margin: 1rem;
    width: calc(100% - 2rem);
}

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

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    margin-bottom: 0.8rem;
    color: #149dcc;
    font-weight: 600;
}

.card-text {
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION ENHANCEMENTS
   ============================================ */

.contact-content {
    padding: 2rem 0;
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-emoji {
    font-size: 4rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon-small {
    margin-right: 1.5rem;
    font-size: 2rem;
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-label {
    margin-bottom: 0.5rem;
    color: #149dcc;
    font-weight: 600;
}

.contact-link {
    color: #149dcc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ff3366;
    text-decoration: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .main-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-app-store,
    .hero-secondary {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 280px;
        display: flex;
        justify-content: center;
    }
    
    .hero-app-store .app-store-badge {
        max-width: 100%;
        height: auto;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .app-mockup {
        margin-top: 2rem;
    }
    
    .phone-frame {
        padding: 2rem;
    }
    
    .app-icon-large {
        width: 150px;
        height: 150px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon-small {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 2rem 0;
    }
    
    .feature-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .screenshot-card {
        margin-bottom: 2rem;
    }
}

/* ============================================
   SECTION BACKGROUND ENHANCEMENTS
   ============================================ */

.cid-sbbO76paMo {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.cid-sbbO76paMo: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"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23149dcc" stop-opacity="0.05"/><stop offset="100%" stop-color="%23149dcc" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23a)"/></svg>') no-repeat center;
    background-size: 800px 800px;
    opacity: 0.3;
    z-index: 0;
}

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

.cid-sbbS4Uithg {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.cid-sbbO5Mewtq {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8fb 100%);
}

/* ============================================
   PRIVACY POLICY BUTTON ENHANCEMENT
   ============================================ */

.cid-sbbVdNFCVf .btn {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 157, 204, 0.3);
}

.cid-sbbVdNFCVf .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(20, 157, 204, 0.4);
}