/*
Theme Name: QuickQ Theme
Theme URI: https://www.quickqw.com/
Author: Antigravity
Author URI: https://www.google.com/
Description: A high-fidelity replica of the QuickQ design with GEO (Generative Engine Optimization) features.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quickq
*/

:root {
    /* Brand Colors */
    --color-primary: #7d33ff;
    /* Deep Purple from screenshot */
    --color-secondary: #ff3385;
    /* Hot Pink/Magenta from buttons */
    --color-text-main: #1a1a1a;
    --color-text-light: #666666;
    --color-bg-light: #f9f9f9;
    --color-white: #ffffff;
    --gradient-brand: linear-gradient(135deg, #a633ff 0%, #ff3385 100%);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 128px;

    /* BorderRadius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 51, 133, 0.4);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

/* Header Base */
.site-header {
    padding: 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: #2b5aff;
    /* QuickQ Blue */
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    .btn-white {
        width: 100%;
        justify-content: center;
    }
}

/* ==================
   INNER PAGES 
   ================== */
/* ... (existing styles) ... */

/* Ensure placeholder and image sizes are consistent */
.screenshots-wrapper img {
    object-fit: contain;
    background: #fff;
    padding: 10px;
}

color: var(--color-text-main);
font-size: 16px;
transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* ==================
   HOMEPAGE SECTIONS 
   ================== */

.section-spacing {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f9f9f9;
}

/* 1. Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0b1c3c;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 80%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* 2. Features Grid (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f0e6ff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 3. Scenarios (Cards) */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.scenario-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.circle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.color-pink {
    background: rgba(255, 51, 133, 0.1);
    color: var(--color-secondary);
}

.color-blue {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

.color-purple {
    background: rgba(125, 51, 255, 0.1);
    color: var(--color-primary);
}

.scenario-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.scenario-card p {
    color: #888;
    font-size: 0.95rem;
}

/* 5. Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    font-size: 60px;
    color: #f0f0f0;
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.user-info strong {
    color: var(--color-primary);
}

/* 6. Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-create-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-create-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    color: #1a1a1a;
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--color-primary);
}

.post-excerpt {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.read-more {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-block;
}

/* 7. CTA Section */
.cta-section {
    background: var(--gradient-brand);
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-white {
    background: #fff;
    color: var(--color-primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .scenarios-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons a {
        margin: 0 !important;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-white {
        width: 100%;
        justify-content: center;
    }
}

/* ==================
   INNER PAGES 
   ================== */

.single-article,
.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 40px;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entry-thumbnail img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.entry-content {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #000;
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Tags & Footer */
.entry-footer {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.tag-links a {
    display: inline-block;
    padding: 6px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 10px;
    color: #555;
    transition: all 0.2s;
}

.tag-links a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pagination .next,
.pagination .prev {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}