/*
Theme Name: RT7 Labs
Theme URI: https://labs.rt7.media
Author: RT7 Media
Author URI: https://rt7.media
Description: Lean WordPress products for agencies tired of bloat.
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: rt7labs
*/

:root {
    --labs-black: #0a0a0a;
    --labs-white: #fafafa;
    --labs-gray-100: #f4f4f5;
    --labs-gray-200: #e4e4e7;
    --labs-gray-300: #d4d4d8;
    --labs-gray-400: #a1a1aa;
    --labs-gray-500: #71717a;
    --labs-gray-600: #52525b;
    --labs-gray-700: #3f3f46;
    --labs-gray-800: #27272a;
    --labs-gray-900: #18181b;
    --labs-accent: #10b981;
    --labs-accent-dark: #059669;
    --labs-danger: #ef4444;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--labs-black);
    color: var(--labs-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--labs-gray-400);
    font-size: 1.125rem;
}

a {
    color: var(--labs-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--labs-accent-dark);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--labs-gray-800);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--labs-white);
}

.site-logo span {
    color: var(--labs-accent);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    color: var(--labs-gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--labs-white);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--labs-gray-900);
    border: 1px solid var(--labs-gray-800);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--labs-accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--labs-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 .strike {
    text-decoration: line-through;
    color: var(--labs-gray-600);
    opacity: 0.6;
}

.hero h1 .accent {
    color: var(--labs-accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--labs-gray-400);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--labs-accent);
    color: var(--labs-black);
}

.btn-primary:hover {
    background: var(--labs-accent-dark);
    color: var(--labs-black);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--labs-white);
    border: 1px solid var(--labs-gray-700);
}

.btn-secondary:hover {
    background: var(--labs-gray-900);
    border-color: var(--labs-gray-600);
}

/* Anti-Bloat Section */
.anti-bloat {
    background: var(--labs-gray-900);
    border-top: 1px solid var(--labs-gray-800);
    border-bottom: 1px solid var(--labs-gray-800);
}

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

.anti-card {
    padding: 2rem;
    background: var(--labs-black);
    border: 1px solid var(--labs-gray-800);
    border-radius: 12px;
    transition: border-color 0.3s;
}

.anti-card:hover {
    border-color: var(--labs-gray-700);
}

.anti-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--labs-gray-900);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.anti-card h3 {
    margin-bottom: 0.75rem;
    color: var(--labs-white);
}

.anti-card p {
    font-size: 1rem;
    color: var(--labs-gray-500);
}

/* Comparison */
.comparison {
    text-align: center;
}

.comparison h2 {
    margin-bottom: 1rem;
}

.comparison > p {
    margin-bottom: 3rem;
    color: var(--labs-gray-500);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-col {
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
}

.comparison-col.bad {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.comparison-col.good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.comparison-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.comparison-col.bad h3 {
    color: var(--labs-danger);
}

.comparison-col.good h3 {
    color: var(--labs-accent);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--labs-gray-400);
    font-size: 0.95rem;
}

.comparison-list li::before {
    content: '×';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
}

.comparison-col.bad .comparison-list li::before {
    content: '×';
    background: rgba(239, 68, 68, 0.2);
    color: var(--labs-danger);
}

.comparison-col.good .comparison-list li::before {
    content: '✓';
    background: rgba(16, 185, 129, 0.2);
    color: var(--labs-accent);
}

/* Products */
.products {
    background: var(--labs-gray-900);
    border-top: 1px solid var(--labs-gray-800);
}

.products h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.products > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--labs-gray-500);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--labs-black);
    border: 1px solid var(--labs-gray-800);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--labs-accent);
    transform: translateY(-4px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--labs-accent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--labs-gray-900);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--labs-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 0.75rem;
}

.product-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--labs-gray-800);
}

.product-price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--labs-white);
}

.product-price span {
    font-size: 0.9rem;
    color: var(--labs-gray-500);
    font-weight: 400;
}

.product-link {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Pricing Philosophy */
.pricing-philosophy {
    text-align: center;
}

.pricing-philosophy h2 {
    margin-bottom: 1.5rem;
}

.pricing-philosophy > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.pricing-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-value {
    padding: 2rem;
}

.pricing-value h3 {
    color: var(--labs-accent);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.pricing-value p {
    font-size: 1rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--labs-gray-900) 0%, var(--labs-black) 100%);
    border-top: 1px solid var(--labs-gray-800);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--labs-gray-800);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--labs-gray-500);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--labs-accent);
}

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

.footer-links a {
    color: var(--labs-gray-500);
    font-size: 0.875rem;
}

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

.footer-copy {
    color: var(--labs-gray-600);
    font-size: 0.8rem;
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */

.product-page {
    padding-top: 5rem;
}

/* Product Hero */
.product-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.product-hero .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--labs-gray-500);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.product-hero .back-link:hover {
    color: var(--labs-accent);
}

.product-hero .product-tag {
    margin-bottom: 1.5rem;
}

.product-hero h1 {
    margin-bottom: 1rem;
}

.product-tagline {
    font-size: 1.25rem;
    color: var(--labs-gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Section */
.product-pricing {
    padding: 2rem 0 4rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-grid.has-one-tier {
    max-width: 350px;
}

.pricing-tier {
    flex: 1;
    background: var(--labs-gray-900);
    border: 1px solid var(--labs-gray-800);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.pricing-tier.tier-featured {
    border-color: var(--labs-accent);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--labs-gray-900) 100%);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--labs-accent);
    color: var(--labs-black);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 100px;
}

.tier-label {
    color: var(--labs-gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--labs-gray-400);
    font-weight: 500;
}

.price-amount {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--labs-white);
    line-height: 1;
}

.price-suffix {
    font-size: 1rem;
    color: var(--labs-gray-500);
}

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

.pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--labs-gray-600);
}

.pricing-why {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--labs-gray-500);
}

/* Features Section */
.product-features {
    padding: 4rem 0;
    background: var(--labs-gray-900);
    border-top: 1px solid var(--labs-gray-800);
    border-bottom: 1px solid var(--labs-gray-800);
}

.product-features h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--labs-black);
    border: 1px solid var(--labs-gray-800);
    border-radius: 8px;
    color: var(--labs-gray-300);
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--labs-accent);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Screenshot Section */
.product-screenshot {
    padding: 4rem 0;
}

.screenshot-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--labs-gray-800);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Section */
.product-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--labs-gray-800);
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--labs-accent);
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--labs-gray-400);
}

.content-wrapper code {
    background: var(--labs-gray-900);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--labs-accent);
}

.content-wrapper pre {
    background: var(--labs-gray-900);
    border: 1px solid var(--labs-gray-800);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.content-wrapper pre code {
    background: none;
    padding: 0;
}

/* Product CTA */
.product-cta {
    padding: 5rem 0;
    background: var(--labs-gray-900);
    border-top: 1px solid var(--labs-gray-800);
    text-align: center;
}

.product-cta h2 {
    margin-bottom: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .pricing-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Product page responsive */
    .pricing-grid {
        flex-direction: column;
        max-width: 350px;
    }

    .pricing-grid.has-two-tiers {
        max-width: 350px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
