/*
Theme Name: Anandsites
Theme URI: https://example.com
Author: Anand
Author URI: https://example.com
Description: A custom WordPress theme for selling plugins, featuring the Quizey landing page template.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anandsites
*/

/* --- RESET & VARIABLES --- */
:root {
    --primary-color: #6366f1; /* Indigo */
    --primary-dark: #4f46e5;
    --secondary-color: #0f172a; /* Dark Slate */
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #22c55e;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; transition: 0.3s; color: var(--primary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1.5rem; }

/* --- LAYOUT UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}
.btn-outline:hover { background-color: var(--primary-color); color: var(--white) !important; }

/* --- HEADER --- */
header.site-header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* WP Nav Menu Styles */
.main-navigation ul {
    display: flex;
    gap: 30px;
    margin: 0;
}
.main-navigation ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}
.main-navigation ul li a:hover { color: var(--primary-color); }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #f1f5f9 100%);
    padding: 100px 0 80px;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p.hero-sub {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-tags {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.tag {
    background: #e0e7ff;
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-img-container {
    margin-top: 60px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 10px;
}

/* --- FEATURES GRID --- */
.features { background: var(--white); }
.section-title { margin-bottom: 60px; }
.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid transparent;
    transition: 0.3s;
}
.feature-card:hover {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-icon {
    width: 50px; height: 50px;
    background: #e0e7ff;
    color: var(--primary-color);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; color: var(--secondary-color); }

/* --- HOW IT WORKS --- */
.steps { background: var(--bg-light); }
.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
.step-item { flex: 1; min-width: 250px; text-align: center; }
.step-number {
    width: 40px; height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* --- STATS --- */
.stats {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}
.stat-item h3 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 5px; }
.stat-item p { opacity: 0.8; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin: 0;}

/* --- CTA --- */
.cta-section {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    text-align: center;
    border-radius: 20px;
    padding: 80px 40px;
    margin: 80px auto;
    max-width: 1000px;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 15px; color: white; }
.cta-section p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.cta-btn {
    background: var(--white);
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    text-decoration: none;
}
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); background: #fff;}
.price-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- GENERIC PAGE STYLES --- */
.page-header {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}
.page-header h1 { font-size: 2.5rem; color: var(--secondary-color); }
.generic-content { min-height: 400px; }

/* --- FOOTER --- */
footer {
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .main-navigation ul { display: none; } /* Basic hiding for mobile, ideally use a JS toggle */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .steps-container { flex-direction: column; }
}





/* --- FRONT PAGE SPECIFIC STYLES --- */

/* Home Hero */
.home-hero {
    background: radial-gradient(circle at top right, #e0e7ff, transparent 40%),
                radial-gradient(circle at bottom left, #f3f4f6, transparent 40%),
                #ffffff;
    padding: 120px 0 80px;
    text-align: center;
}

.home-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -1px;
    color: var(--secondary-color);
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Product Showcase (Split Layout) */
.product-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.product-info { flex: 1; text-align: left; }
.product-image { flex: 1; }

/* Responsive adjustments for Front Page */
@media (max-width: 768px) {
    .home-hero h1 { font-size: 2.5rem; }
    .product-showcase { flex-direction: column-reverse; text-align: center; }
    .product-info { text-align: center; }
    .hero-btns { flex-direction: column; }
}