:root {
    --bg-main: #0f1220;
    --bg-section: #151935;
    --accent: #e94560;
    --accent-soft: rgba(233,69,96,.2);
    --text-main: #ffffff;
    --text-muted: #b8b8d1;
}

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

body {
    font-family: Inter, Segoe UI, system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
}

section {
    padding: 50px 20px;
}

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

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15,18,32,.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo-text {
    font-family: 'Courier New', monospace;
}

.logo-text .brackets {
    color: var(--accent);
    font-weight: 700;
}

.logo-box {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border-radius: 10px;
}

nav a {
    margin-left: 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s;
}

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

/* Hero */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(233,69,96,.15), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(127,95,255,.15), transparent 40%);
}

.hero h1 {
    font-size: 3.4rem;
    max-width: 900px;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.05rem;
    max-width: 700px;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-section);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.04);
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08);
}

.card h3 {
    color: var(--text-main);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

ul.features {
    list-style: none;
    margin-top: 16px;
}

ul.features li {
    margin-bottom: 10px;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

ul.features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.tech-badge {
    background: rgba(255,255,255,.08);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-muted);
}

.cta-section {
    background: linear-gradient(135deg, rgba(233,69,96,.1), rgba(127,95,255,.1));
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Form */
form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,69,96,.3);
}

.message {
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.message.success {
    background: rgba(157,255,161,.1);
    color: #9dffa1;
    border: 1px solid rgba(157,255,161,.2);
}

.message.error {
    background: rgba(255,157,157,.1);
    color: #ff9d9d;
    border: 1px solid rgba(255,157,157,.2);
}

footer {
    background: #0b0d18;
    padding: 60px 20px 40px;
    margin-top: 100px;
}

footer p {
    font-size: .95rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color .2s;
}

.footer-section a:hover {
    color: var(--text-main);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: var(--text-muted);
    font-size: .9rem;
    text-align: center;
}

/* =========================================
   Plugins Page Styles (Adapted)
   ========================================= */

.hero-plugins {
    padding: 150px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(233,69,96,.15), transparent 60%);
}

.hero-plugins h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-plugins p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.plugin-card {
    background: var(--bg-section);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.05);
    transition: transform .2s, box-shadow .2s;
}

.plugin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.plugin-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.plugin-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.plugin-title {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.plugin-title .recode {
    color: var(--accent);
}

.plugin-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.plugin-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: .9rem;
    color: var(--text-muted);
}

.plugin-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.plugin-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .2s;
}

.plugin-button:hover {
    transform: translateY(-2px);
}

.coming-soon {
    opacity: .6;
    pointer-events: none;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255,255,255,.1);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform .2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* =========================================
   Single Plugin Page Styles (e.g. Cron Viewer)
   ========================================= */

.plugin-page-header {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(233,69,96,.15), transparent 70%);
    border-radius: 20px;
    margin-bottom: 60px;
}

.plugin-page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.plugin-page-header .tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.plugin-page-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff5f7e, #7f5fff);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform .2s, box-shadow .2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233,69,96,.3);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,.1);
    color: var(--text-main);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 15px;
    transition: background .2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: var(--bg-section);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
}

.feature-card h4 {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: .95rem;
}

.screenshot {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}

.screenshot img {
    width: 100%;
    display: block;
}

.screenshot-caption {
    background: var(--bg-section);
    padding: 15px;
    font-size: .9rem;
    color: var(--text-muted);
}

code {
    background: rgba(255,255,255,.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    font-size: .9em;
}

ol, ul {
    padding-left: 25px;
    color: var(--text-muted);
    margin: 20px 0;
}

ol li, ul li {
    margin-bottom: 10px;
}

.changelog {
    background: var(--bg-section);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
}

.changelog h3 {
    margin-top: 0;
}

.changelog-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.changelog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.changelog-date {
    color: var(--accent);
    font-weight: 600;
    margin-right: 10px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(233,69,96,.1), rgba(127,95,255,.1));
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h3 {
    margin-bottom: 15px;
}

@media(max-width: 900px) {
    .grid-2, .grid-3, .footer-grid { 
        grid-template-columns: 1fr; 
    }
    .hero h1 { 
        font-size: 2.4rem; 
    }
    .hero .subtitle {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 2rem;
    }
    nav {
        display: none;
    }
    
    /* Plugins Page Responsive */
    .hero-plugins h1 {
        font-size: 2.2rem;
    }
    .plugins-grid {
        grid-template-columns: 1fr;
    }
    
    /* Plugin Detail Responsive */
    .plugin-page-header h1 {
        font-size: 2rem;
    }
    .plugin-page-header .tagline {
        font-size: 1.1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .plugin-page-meta {
        flex-direction: column;
        gap: 10px;
    }
    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    h2 {
        font-size: 1.8rem;
    }
}

/* Plugin Page Main Container */
.plugin-page-main {
    max-width: 900px;
    margin: 100px auto 60px;
    padding: 20px;
}
