/* ============================================
   web-application-development.css - Deecipher Technologies
   Web Application Development Services Page Styles
   Follows the same design system as other pages
   Version: 2.0 | Production Ready
   ============================================ */

/* ============================================
   1. Hero Section (Original About Page Style)
   ============================================ */
.webapp-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.webapp-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.section-tag.center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--neutral-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero-trust-badges span {
    font-size: 0.8rem;
    color: var(--neutral-600);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-badges span i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* Stats Feature Card */
.stats-feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.stats-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
}

.stats-grid-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mini-stat {
    text-align: center;
}

.mini-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    display: block;
}

.mini-stat-label {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-blue);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.3);
    background: var(--neon-blue);
    color: white;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary-custom:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   2. Problem Section
   ============================================ */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--neutral-500);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--error);
}

.problem-card i {
    font-size: 2.5rem;
    color: var(--error);
    margin-bottom: 1rem;
    display: inline-block;
}

.problem-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.problem-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   3. App Types Section
   ============================================ */
.app-types-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.app-type-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.app-type-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.app-type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.app-type-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.app-type-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.app-type-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.app-type-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-type-examples span {
    font-size: 0.7rem;
    background: rgba(26, 35, 126, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: var(--primary-blue);
}

/* ============================================
   4. Features Section
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   5. Tech Stack Section
   ============================================ */
.tech-stack-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.tech-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ============================================
   6. Process Section
   ============================================ */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

.process-step {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.process-step p {
    font-size: 0.85rem;
    color: var(--neutral-500);
    margin-bottom: 0;
}

/* ============================================
   7. Portfolio Section
   ============================================ */
.portfolio-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.portfolio-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.portfolio-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.portfolio-info {
    flex: 1;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.portfolio-type {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.portfolio-stats {
    display: flex;
    gap: 1rem;
}

.portfolio-stats span {
    font-size: 0.7rem;
    color: var(--neutral-500);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio-stats span i {
    color: var(--primary-blue);
    font-size: 0.7rem;
}

/* ============================================
   8. Why Choose Us Section
   ============================================ */
.why-choose-section {
    padding: 80px 0;
    background: var(--white);
}

.why-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: inline-block;
}

.why-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.why-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   9. Pricing Section
   ============================================ */
.pricing-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-blue);
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-bottom-left-radius: 12px;
}

.pricing-header {
    padding: 1.75rem;
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
}

.pricing-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.pricing-header p {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.pricing-features {
    padding: 1.75rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--primary-green);
    font-size: 0.8rem;
    width: 18px;
}

.pricing-footer {
    padding: 0 1.75rem 1.75rem;
    text-align: center;
}

/* ============================================
   10. FAQ Section
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(26, 35, 126, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
    border-top: 1px solid var(--neutral-200);
}

/* ============================================
   11. CTA Section
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-card i {
    color: white;
    opacity: 0.9;
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-card .btn-outline-custom {
    background: transparent;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-card .btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: white;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-note i {
    margin-right: 0.35rem;
}

/* ============================================
   12. Responsive Styles
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .portfolio-card {
        flex-direction: column;
        text-align: center;
    }
    
    .portfolio-icon {
        margin: 0 auto;
    }
    
    .portfolio-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .webapp-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust-badges {
        gap: 1rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .stats-grid-mini {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .mini-stat {
        flex: 1;
        min-width: 100px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-trust-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stats-grid-mini {
        flex-direction: column;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-type-card,
    .feature-card,
    .why-card,
    .process-step {
        padding: 1.25rem;
    }
    
    .pricing-header {
        padding: 1.25rem;
    }
    
    .pricing-features {
        padding: 1.25rem;
    }
    
    .pricing-footer {
        padding: 0 1.25rem 1.25rem;
    }
}

/* ============================================
   13. Utility Classes
   ============================================ */
.bg-light {
    background-color: var(--neutral-100) !important;
}

.text-center {
    text-align: center;
}

/* Animation Overrides */
[data-aos] {
    pointer-events: auto !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .info-strip,
    .navbar,
    .cta-section,
    footer {
        display: none;
    }
    
    .webapp-hero-section,
    .problem-section,
    .app-types-section,
    .features-section,
    .tech-stack-section,
    .process-section,
    .portfolio-section,
    .why-choose-section,
    .pricing-section,
    .faq-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .problem-card,
    .app-type-card,
    .feature-card,
    .portfolio-card,
    .why-card,
    .process-step,
    .pricing-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}