/* ========================================
   TOOLS PAGE - SACRED APPS & RESOURCES
   ======================================== */

/* Hero Section */
.tools-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 30%, #4a1942 70%, #1a0a2e 100%);
}

.tools-hero .hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 50%);
}

.tools-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-label {
    display: inline-block;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    color: #f9a8d4;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tools-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #f9a8d4 0%, #fbbf24 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #f9a8d4;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(236, 72, 153, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.cta-button-secondary:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: #ec4899;
    transform: translateY(-3px);
}

/* Amma Quote Section */
.amma-quote-section {
    background: linear-gradient(180deg, #f8f5f0 0%, #ffffff 100%);
    padding: 5rem 0;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.amma-quote {
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.8;
    color: #4a1942;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    position: relative;
}

.amma-quote::before,
.amma-quote::after {
    content: '"';
    font-size: 4rem;
    color: rgba(236, 72, 153, 0.3);
    position: absolute;
    font-family: Georgia, serif;
}

.amma-quote::before {
    top: -20px;
    left: 0;
}

.amma-quote::after {
    bottom: -40px;
    right: 0;
}

.quote-attribution {
    font-size: 1.1rem;
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.quote-context {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Digital Experiences Section */
.digital-experiences {
    background: linear-gradient(180deg, #1a0a2e 0%, #0f051d 100%);
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.section-label::before {
    right: 100%;
    margin-right: 15px;
}

.section-label::after {
    left: 100%;
    margin-left: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

/* App Cards */
.app-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.app-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.15);
}

.app-card.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.app-card.reverse .app-image {
    order: 2;
}

.app-card.reverse .app-content {
    order: 1;
}

.app-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.25);
    border: 3px solid rgba(236, 72, 153, 0.3);
    transition: transform 0.4s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.02);
}

.app-category {
    display: inline-block;
    font-size: 0.85rem;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.app-content h3 {
    font-size: 2.2rem;
    color: #f9a8d4;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.app-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #f9a8d4;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border: 2px solid rgba(236, 72, 153, 0.4);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: #ec4899;
}

/* Free Gift Section */
.free-gift-section {
    background: linear-gradient(135deg, #2d1b4e 0%, #4a1942 50%, #2d1b4e 100%);
    padding: 5rem 0;
}

.gift-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.gift-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0a2e;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.gift-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gift-text h2 {
    font-size: 1.8rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.gift-text h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.gift-text > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.gift-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.gift-features li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.btn-gift {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a0a2e;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-gift:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.gift-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.gift-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
    border: 3px solid rgba(251, 191, 36, 0.3);
}

/* Why Tools Section */
.why-tools-section {
    background: linear-gradient(180deg, #0f051d 0%, #1a0a2e 100%);
    padding: 6rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    font-size: 1.4rem;
    color: #f9a8d4;
    margin-bottom: 1rem;
}

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

/* Final CTA Section */
.tools-final-cta {
    background: linear-gradient(135deg, #4a1942 0%, #2d1b4e 50%, #1a0a2e 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.tools-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
}

.final-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.final-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .app-card,
    .app-card.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .app-card.reverse .app-image,
    .app-card.reverse .app-content {
        order: unset;
    }
    
    .app-image {
        display: flex;
        justify-content: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .gift-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .gift-image {
        order: -1;
        display: flex;
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .tools-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .amma-quote {
        font-size: 1.3rem;
    }
    
    .app-content h3 {
        font-size: 1.8rem;
    }
    
    .gift-card {
        padding: 2rem 1.5rem;
    }
    
    .gift-badge {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .final-content h2 {
        font-size: 2.2rem;
    }
    
    .section-label::before,
    .section-label::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .tools-hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .final-buttons {
        flex-direction: column;
        align-items: center;
    }
}
