* {
    box-sizing: border-box;
}

:root {
    --primary-color: #2271b1;
    /* WordPress Blue */
    --secondary-color: #f6f7f7;
    --text-color: #1e1e1e;
    --heading-color: #000000;
    --border-color: #c3c4c7;
    --sidebar-width: 260px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

aside {
    width: var(--sidebar-width);
    background-color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
    padding: 20px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

aside h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
}

aside ul {
    list-style-type: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 10px;
}

aside ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
}

aside ul li a:hover,
aside ul li a.active {
    background-color: #dce9f6;
    color: var(--primary-color);
}

details {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}

summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-weight: bold;
}

details[open] summary::after {
    content: "-";
}

details[open] summary {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

main {
    margin-left: var(--sidebar-width);
    padding: 40px 60px 40px 80px;
    max-width: 940px;
    flex: 1;
}

h1,
h2,
h3 {
    color: var(--heading-color);
}

h1 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

code {
    background-color: #f9fafb;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid #c3c4c7;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.note {
    background-color: #dce9f6;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.alert {
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid;
    border-radius: 0 4px 4px 0;
}

.alert-important {
    background-color: #ffe6e6;
    border-color: #d63638;
    color: #8a1f1f;
}

.alert-warning {
    background-color: #fff4e5;
    border-color: #f0b849;
}

footer {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.9em;
    color: #646970;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Pricing page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #646970;
}

.plan-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f2f3;
    color: #444;
}

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

.plan-cta {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.plan-cta:hover {
    background: #135e96;
}
