/* ===========================================
   Base Styles & Variables
   =========================================== */
:root {
    --primary-dark: #1A0F07;
    --primary-brown: #3D2314;
    --primary-gold: #D4AF37;
    --primary-orange: #FF8C42;
    --light-text: #F5F5F5;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --magic-glow: rgba(255, 215, 0, 0.5);
}

/* ===========================================
   About Section
   =========================================== */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 15, 7, 0.9) 0%, rgba(61, 35, 20, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    padding: 40px;
    background: rgba(26, 15, 7, 0.6);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* ===========================================
   Features Section
   =========================================== */
.features {
    padding: 100px 0;
    background: #120a04;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(26, 15, 7, 0.7), rgba(61, 35, 20, 0.7));
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===========================================
   App Preview Section
   =========================================== */
.app-preview {
    padding: 100px 0;
    background: #1A0F07;
    position: relative;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.screenshot-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(26, 15, 7, 0.5);
    padding: 10px;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.screenshot-item:hover img {
    transform: scale(1.03);
}

/* ===========================================
   Spiritual Insight Section
   =========================================== */
.spiritual-insight {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0904 0%, #1f1109 100%);
    text-align: center;
    position: relative;
}

.quote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary-gold);
    line-height: 1.6;
    position: relative;
    padding: 60px 40px;
    z-index: 1;
    background: rgba(26, 15, 7, 0.5);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.quote i:first-child {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.2;
    color: var(--primary-gold);
}

.quote i:last-child {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 4rem;
    opacity: 0.2;
    color: var(--primary-gold);
    transform: rotate(180deg);
}

/* ===========================================
   Download CTA Section
   =========================================== */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0f07 0%, #2e1a0d 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzNSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgZmlsbD0icmdiYSgyMTIsMTc1LDU1LDAuMDMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+');
    opacity: 0.3;
    z-index: 1;
}

.download-cta .container {
    position: relative;
    z-index: 2;
}

.download-cta h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.download-cta h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-gold));
    border-radius: 3px;
}

.download-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.download-cta .google-play-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ff8c42 0%, #d4af37 100%);
    color: #1a0f07;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.download-cta .google-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.download-cta .google-play-btn:hover::before {
    left: 100%;
}

.download-cta .google-play-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.download-cta .google-play-btn i {
    font-size: 2rem;
    margin-right: 12px;
}

.download-cta .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.download-cta .btn-text span:first-child {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
}

.download-cta .btn-text span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.floating-element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.floating-element-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 12%;
    animation: float 10s ease-in-out infinite reverse;
}

/* ===========================================
   Footer
   =========================================== */
footer {
    background: linear-gradient(135deg, #0a0602 0%, #1a0f07 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 25px;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    padding: 5px;
    transition: all 0.5s ease;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.footer-logo img:hover {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.footer-logo p {
    margin-bottom: 30px;
    max-width: 320px;
    line-height: 1.9;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--primary-gold);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 15, 7, 0.8), rgba(61, 35, 20, 0.8));
    position: relative;
    z-index: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.social-icon:hover {
    color: var(--primary-dark);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.link-group h4 {
    color: var(--primary-gold);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    transition: all 0.3s ease;
}

.link-group h4:hover::after {
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-orange));
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 3px 0;
    z-index: 3;
    pointer-events: auto;
}

.link-group a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-gold);
    padding-left: 8px;
}

.link-group a:hover::before {
    width: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    margin-top: 50px;
}

.footer-bottom::before {
    content: '✧';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0a0602 0%, #1a0f07 100%);
    color: var(--primary-gold);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
}

/* ===========================================
   Responsive Styles
   =========================================== */
@media (max-width: 992px) {
    .about-content, .quote {
        font-size: 1.8rem;
        padding: 40px 30px;
    }
    
    .features-grid, .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about, .features, .app-preview, .spiritual-insight, .download-cta {
        padding: 60px 0;
    }
    
    .download-cta h2 {
        font-size: 2.2rem;
    }
    
    .download-cta p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .about-content, .quote {
        font-size: 1.5rem;
        padding: 30px 20px;
    }
    
    .quote i:first-child,
    .quote i:last-child {
        font-size: 3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .download-cta h2 {
        font-size: 1.8rem;
    }
    
    .download-cta p {
        font-size: 1rem;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .features-grid, .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-content, .quote {
        font-size: 1.3rem;
        padding: 25px 15px;
    }
    
    .quote i:first-child,
    .quote i:last-child {
        font-size: 2.5rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}
