/*
 * Theme Name: GPT-Life
 * Theme URI: https://gpt-life.com
 * Author: You
 * Description: Conversion-focused productized intelligence theme for GPT-Life.
 * Version: 1.0
 * Text Domain: gpt-life
 */

:root {
    --gpt-primary: #2563eb; /* primary brand color for CTAs */
    --gpt-dark: #0f172a;    /* dark neutral for headings */
    --gpt-mid: #4b5563;     /* mid neutral for body text */
    --gpt-accent: #f97316;  /* rare accent */
    --gpt-bg: #f9fafb;
    --gpt-border: #e5e7eb;
    --gpt-radius: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--gpt-bg);
    color: var(--gpt-mid);
    line-height: 1.6;
}

a {
    color: var(--gpt-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gpt-dark);
    margin: 0 0 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */

.site-header,
.site-footer {
    background-color: #ffffff;
    border-bottom: 1px solid var(--gpt-border);
}

.site-footer {
    border-top: 1px solid var(--gpt-border);
    border-bottom: none;
    font-size: 0.875rem;
    color: #6b7280;
}

.header-inner,
.footer-inner,
.main-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
}

.main-inner {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Header */

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gpt-dark);
}

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

.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gpt-mid);
}

.site-nav a:hover {
    color: var(--gpt-dark);
}

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--gpt-primary);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    text-decoration: none;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--gpt-dark);
    border-color: var(--gpt-border);
}

.btn-secondary:hover {
    border-color: var(--gpt-dark);
}

/* Hero */

.hero {
    padding: 3rem 1rem 2.5rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gpt-primary);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gpt-mid);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Hero side panel */

.hero-panel {
    background-color: #ffffff;
    border-radius: var(--gpt-radius);
    border: 1px solid var(--gpt-border);
    padding: 1.25rem 1.25rem 1.1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-panel h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.hero-panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.hero-panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: var(--gpt-primary);
    margin-top: 0.45rem;
}

/* Sections */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.35rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Value pillars */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.pillar {
    background-color: #ffffff;
    border-radius: var(--gpt-radius);
    padding: 1.1rem 1rem;
    border: 1px solid var(--gpt-border);
}

.pillar-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 0.35rem;
}

.pillar-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.pillar-text {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Featured products */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--gpt-radius);
    border: 1px solid var(--gpt-border);
    padding: 1.1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.product-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6b7280;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
}

.product-text {
    font-size: 0.9rem;
    color: #6b7280;
}

.product-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

.product-cta {
    margin-top: 0.4rem;
}

/* Who this is for */

.who-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.who-card {
    background-color: #ffffff;
    border-radius: var(--gpt-radius);
    border: 1px solid var(--gpt-border);
    padding: 1.1rem 1rem;
}

.who-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.who-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.who-list li {
    margin-bottom: 0.3rem;
}

/* Credibility */

.cred-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 1.5rem;
}

.cred-block {
    background-color: #ffffff;
    border-radius: var(--gpt-radius);
    border: 1px solid var(--gpt-border);
    padding: 1.1rem 1rem;
    font-size: 0.95rem;
}

/* Final CTA */

.final-cta {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    background-color: #0b1120;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: center;
}

.final-cta h2 {
    color: #f9fafb;
    margin-bottom: 0.35rem;
}

.final-cta p {
    margin-bottom: 0;
    color: #9ca3af;
}

.final-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background-color: #f97316;
    box-shadow: 0 18px 35px rgba(249, 115, 22, 0.32);
}

.final-cta .btn-primary:hover {
    background-color: #ea580c;
}

/* Pages */

.page-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

/* Simple content wrapper */

.content-narrow {
    max-width: 720px;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cred-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .pillars-grid,
    .products-grid,
    .who-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero {
        padding-top: 2.25rem;
    }
    .main-inner {
        padding-top: 1.5rem;
    }
}
