/*
Theme Name: Astra Converter Child
Theme URI: https://yourwebsite.com/
Description: A child theme for Astra - File Conversion Website
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-converter-child
*/

/* Modern Landing Page Styles - WOPO Safe */
/* These styles are carefully designed to avoid WOPO interference */

/* CSS Custom Properties for Modern Design */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    --accent-color: #667eea;
    --accent-secondary: #764ba2;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide page titles cleanly */
.page-title,
.entry-title,
h1.entry-title {
    display: none;
}

/* Basic container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Hero Section - WOPO Safe */
.converter-hero {
    background: var(--primary-gradient);
    padding: 120px 0 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.converter-hero::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.converter-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.converter-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* WOPO Container - Isolated from custom styling */
.wopo-converter-intro {
    margin: 40px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Important: NO WOPO-specific styling - let plugin handle its own appearance */

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
    background: var(--dark-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Card Layouts */
.category-card,
.step,
.feature,
.testimonial,
.format-category {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card:hover,
.step:hover,
.feature:hover,
.testimonial:hover,
.format-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Card Icons with Modern Effects */
.category-icon,
.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    transition: var(--transition);
    display: inline-block;
}

.category-card:hover .category-icon,
.feature:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.3));
}

/* Card Text Styling */
.category-title,
.feature-title,
.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.category-description,
.feature-description,
.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Category Links */
.category-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: width 0.3s ease;
}

.category-link:hover {
    color: var(--accent-secondary);
    text-decoration: none;
    transform: translateX(5px);
}

.category-link:hover::after {
    width: 100%;
}

/* Section Backgrounds */
.conversions-grid {
    background: var(--bg-light);
}

.how-it-works {
    background: var(--bg-white);
}

.features-section {
    background: var(--bg-light);
}

.testimonials-section {
    background: var(--bg-white);
}

.stats-section {
    background: var(--primary-gradient);
    color: white;
}

.stats-section h2 {
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

/* Testimonial Styling */
.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Format Category Styling */
.format-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
}

.format-category ul {
    list-style: none;
    padding: 0;
}

.format-category li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    transition: var(--transition);
}

.format-category li:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.format-category li:last-child {
    border-bottom: none;
}

/* Grid Layouts */
.conversion-categories,
.features-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Statistics Cards */
.stat-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    transition: var(--transition);
    position: relative;
    user-select: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px 30px;
    max-height: 500px;
}

.faq-item.active .faq-question {
    background: var(--primary-gradient);
    color: white;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .converter-hero h1 {
        font-size: 2.5rem;
    }
    
    .converter-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .conversion-categories,
    .steps-container,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .converter-hero {
        padding: 80px 0 60px 0;
    }
    
    .converter-hero h1 {
        font-size: 2rem;
    }
    
    .category-card,
    .step,
    .feature,
    .testimonial,
    .format-category {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}