/* 
 * Mashkia Platform - Public Pages CSS
 * Path: assets/css/public-pages.css
 * Purpose: Styles specific to public-facing pages (landing, about, etc.)
 */

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1e3a8a 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 178, 115, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 178, 115, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.hero-title {
    color: white;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 200px;
}

/* Professional Trust Indicators */
.trust-indicators {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.trust-item {
    color: white;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.trust-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    color: var(--accent-orange);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Process/How It Works Section */
.process-section {
    padding: 6rem 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.step-number {
    display: inline-flex;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Features/Services Grid */
.features-section {
    background: var(--bg-light);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(254, 178, 115, 0.2), rgba(254, 178, 115, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    border: 2px solid rgba(254, 178, 115, 0.3);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Professional Team Section */
.team-preview {
    background: white;
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.team-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.team-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.team-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #FEB273 0%, #f97316 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.cta-section .btn {
    margin: 0 var(--spacing-sm);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-orange);
}

.testimonial-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.quote-mark {
    font-size: 3.5rem;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Value Proposition Sections */
.value-prop {
    padding: 5rem 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.value-prop h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.value-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    padding: var(--spacing-lg);
}

.value-item h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Guarantee Section */
.guarantee-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(254, 178, 115, 0.2);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(254, 178, 115, 0.3);
}

.guarantee-badge::before {
    content: '🛡️';
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .features-grid,
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        padding: 0 var(--spacing-sm);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 var(--spacing-sm);
    }
    
    .hero .btn {
        width: 280px;
        padding: 1rem 1.5rem;
        max-width: 90vw;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .process-grid,
    .features-grid,
    .testimonial-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}