/*
Theme Name: Developer starter theme
Theme URI: https://stupidsimpleplugins.com
Author: StupidSimplePlugins
Author URI: https://stupidsimpleplugins.com
Description: A clean, modern theme for selling WordPress plugins. Simple, fast, and conversion-focused.
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: developer-starter-theme
Tags: one-column, custom-menu, featured-images, theme-options
*/

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

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary: #3b82f6;
    --secondary-dark: #1d4ed8;
    --success: #10b981;
    --gray: #6b7280;
    --light: #f3f4f6;
    --dark: #1f2937;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #5b21b6 0%, #1d4ed8 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray);
    font-weight: 500;
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
}

/* ==========================================================================
   PLUGINS SECTION
   ========================================================================== */
.plugins {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f7ff 100%);
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.plugin-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

.plugin-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.plugin-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.plugin-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.plugin-card .description {
    color: var(--gray);
    margin-bottom: 24px;
    font-size: 16px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

.plugin-card .btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
    padding: 100px 0;
    background: var(--gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.features .section-header h2 {
    color: #fff;
}

.features .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-5px);
}

.feature-card .icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    padding: 100px 0;
    background: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--light);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-info h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--gray);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
}

.cta-box {
    background: var(--gradient);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary:hover {
    background: var(--light);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand .logo-text {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.footer-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-navigation a:hover {
    color: #fff;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.page-content {
    padding: 40px 0;
}

.page-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.page-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--dark);
}

.page-content p {
    margin-bottom: 20px;
    color: var(--gray);
}

.page-content a {
    color: var(--primary);
}

.page-content a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .plugins-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .plugin-card {
        padding: 28px;
    }

    .cta-box {
        padding: 40px 24px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
}