/*
Theme Name: TheForge Landing Page
Theme URI: https://thepluginforge.com
Description: Custom landing page theme for TheForge plugins
Version: 1.0
Author: The Plugin Forge
Author URI: https://thepluginforge.com
License: GPL v2 or later
Text Domain: theforge-landing
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #0891b2;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --info: #06b6d4;
    --font-h2: "Poppins", sans-serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.dashicons {
    vertical-align: middle;
    display: inline-block;
    width: auto !important;
    height: auto !important;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    color: var(--primary-color);
}

.mobile-menu-toggle .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 100px 20px 120px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.plugin-showcase {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    text-align: center;
}

.plugin-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.plugin-icon .dashicons {
    font-size: 120px;
    width: 120px;
    height: 120px;
    color: #fff;
}

.plugin-meta {
    color: var(--dark);
}

.plugin-meta h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plugin-version {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.rating {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.download-count {
    color: var(--gray);
    font-size: 14px;
}

.hero-text {
    padding: 20px 0;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-section .tagline {
    font-size: 22px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn .dashicons {
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2563eb;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: var(--light);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
    font-family: var(--font-h2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.feature-icon .dashicons {
    width: auto;
    height: auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    background: var(--primary-color);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Screenshot Section */
.screenshot-section {
    padding: 80px 20px;
    background: #fff;
}

.screenshot-container {
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-container img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .tagline {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.trust-badge {
    padding: 1.5rem;
}

.trust-badge .badge-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.trust-badge .badge-icon .dashicons {
    width: auto;
    height: auto;
}

.trust-badge h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-badge p {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 600;
}

/* Pricing Box */
.pricing-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 80px 20px;
    color: #fff;
}

.pricing-box {
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    color: var(--dark);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
}

.price span {
    font-size: 1.5rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}

.guarantee-badge {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
    border: 2px dashed var(--accent-color);
}

/* Feature Sections with Images */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.feature-showcase:nth-child(even) {
    direction: rtl;
}

.feature-showcase:nth-child(even) > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin: 2rem 0 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-info h5 {
    margin: 0;
    color: var(--dark);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.stars {
    color: #ffc107;
    margin-top: 1rem;
}

/* CTA Bar */
.cta-bar {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.cta-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-bar h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 150px 1fr !important;
        gap: 3rem !important;
    }
    
    .hero-grid > div:first-child {
        padding: 1.5rem !important;
    }
    
    .hero-section h1 {
        font-size: 3rem !important;
    }
    
    .hero-section h2 {
        font-size: 3rem !important;
    }
    
    .hero-section p {
        font-size: 1.1rem !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        height: calc(100vh - 70px);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }
    
    .hero-grid > div:first-child {
        max-width: 150px;
        margin: 0 auto;
        padding: 1.5rem !important;
    }
    
    .hero-section {
        padding: 60px 15px !important;
    }
    
    .hero-section h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-section h2 {
        font-size: 1.8rem !important;
    }
    
    .hero-section p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-showcase:nth-child(even) {
        direction: ltr;
    }
    
    .cta-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
}
