/* ========================================
   PixelTools Website Styles
   ======================================== */

/* Basic Resets & Variables */
:root {
    --primary-color: #E6007A; /* Magenta from logo */
    --secondary-color: #00BFB3; /* Teal/Cyan from logo */
    --text-color: #333333;
    --text-light: #666666;
    --light-gray: #f4f4f4;
    --dark-gray: #2c3e50;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 10px;
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
}

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

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

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

/* ========================================
   Header
   ======================================== */
header {
    background-color: var(--dark-gray);
    color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5em;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 36px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Hero Section (Main Page)
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* ========================================
   Buttons
   ======================================== */
.button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.button:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.button-secondary:hover {
    background-color: #ffffff;
    color: var(--dark-gray);
}

.button-small {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.button-small:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.button-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.button-outline:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-weight: 700;
    text-align: center;
}

.section-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--text-light);
    text-align: center;
}

.alt-bg {
    background-color: var(--light-gray);
}

/* ========================================
   Plugins Section
   ======================================== */
.plugins-section {
    background-color: var(--light-gray);
}

.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plugin-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.plugin-card.featured {
    border: 2px solid var(--secondary-color);
}

.plugin-card.coming-soon {
    opacity: 0.85;
}

.plugin-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
}

.plugin-card.coming-soon .plugin-badge {
    background-color: var(--text-light);
}

.plugin-icon img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 18px;
}

.icon-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background-color: var(--light-gray);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: var(--text-light);
}

.plugin-card h3 {
    font-size: 1.6em;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.plugin-summary {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.plugin-highlights {
    list-style: none;
    text-align: left;
    margin: 0 0 25px 0;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.plugin-highlights li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.9em;
    color: var(--text-color);
}

.plugin-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.plugin-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.plugin-compatibility {
    font-size: 0.8em;
    color: var(--text-light);
    margin-top: 10px;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background-color: #ffffff;
}

.about-bio {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.about-bio p {
    color: var(--text-light);
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-bio p:last-child {
    font-style: italic;
    color: var(--text-color);
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-feature {
    text-align: center;
    padding: 20px;
}

.about-feature .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #ffffff;
}

.about-feature h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background-color: #ffffff;
    text-align: center;
}

.contact-info {
    font-size: 1.2em;
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background-color: var(--dark-gray);
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer a {
    color: #aaaaaa;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Plugin Detail Page
   ======================================== */

/* Plugin Hero */
.plugin-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 60px 20px;
}

.plugin-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.plugin-hero-icon img {
    width: 150px;
    height: 150px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.plugin-hero-text h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.plugin-tagline {
    font-size: 1.2em;
    opacity: 0.95;
    margin-bottom: 15px;
}

.plugin-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.meta-badge {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.plugin-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Plugin Sections */
.plugin-section {
    padding: 60px 20px;
}

.plugin-section h2 {
    text-align: left;
    margin-bottom: 25px;
}

.lead-text {
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.plugin-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.alt-bg .feature-card {
    background-color: #ffffff;
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.feature-card p {
    font-size: 0.95em;
    color: var(--text-light);
    margin: 0;
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.screenshot-placeholder {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
    border: 2px dashed #ddd;
}

.screenshots-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.requirement h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.requirement ul {
    list-style: none;
}

.requirement li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

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

/* Support Options */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.support-option {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}

.support-option h4 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.support-option p {
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* Plugin CTA */
.plugin-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.plugin-cta h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.plugin-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.3em;
    }

    .hero p {
        font-size: 1.1em;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2em;
    }

    .plugin-grid {
        grid-template-columns: 1fr;
    }

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

    .plugin-hero-text h1 {
        font-size: 2.2em;
    }

    .plugin-hero-meta {
        justify-content: center;
    }

    .plugin-hero-actions {
        justify-content: center;
    }

    .plugin-section h2 {
        text-align: center;
    }

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

@media (max-width: 480px) {
    .site-name {
        font-size: 1.4em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 1.9em;
    }

    .button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .plugin-actions {
        flex-direction: column;
    }

    .plugin-hero-icon img {
        width: 120px;
        height: 120px;
    }
}
