:root {
    /* Color Palette */
    --color-primary: #0f172a;
    /* Deep Navy / Slate 900 */
    --color-primary-light: #1e293b;
    --color-accent: #f97316;
    /* Bright Orange */
    --color-accent-hover: #ea580c;
    --color-bg-body: #f8fafc;
    --color-text-main: #334155;
    --color-text-heading: #0f172a;
    --color-white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay: Navy to almost black */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 24px;
}

.text-highlight {
    color: var(--color-accent);
}

.sub-headline {
    font-size: 1.25rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-body {
    margin-bottom: 32px;
    opacity: 0.8;
}

/* Glass Card for Hero Visual */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.glass-card img {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    background: white;
    /* Ensure graph is readable if transparent */
}

.glass-card .caption {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Pricing Section */
.section-pricing h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.section-pricing p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    padding: 20px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.02);
}

.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Builder Coach Section */
.section-coach {
    background-color: #f1f5f9;
    /* Slate 100 */
    /* Remove text-align: center so grid works naturally */
}

/* We reuse .grid-2 from previous sections, so layout handles itself.
   We just need to style the image. */

.coach-img {
    max-height: 400px;
    width: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* Matching shadow-lg */
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.coach-img:hover {
    transform: scale(1.02);
}

.section-coach h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

/* CTA Section */
.section-cta {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
}

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

.cta-wrapper {
    text-align: center;
}

.cta-header .cta-intro {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--color-white);
}

.cta-header h2 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.cta-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.signup-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--color-accent);
}

/* Footer */
.site-footer {
    background-color: #f1f5f9;
    /* Light gray background */
    color: var(--color-primary);
    padding: 30px 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 150px;
}

.footer-logo-b2 {
    height: 50px;
    /* Matched height */
    width: auto;
    max-width: 120px;
}

.copyright-text,
.sister-text {
    line-height: 1.2;
    color: var(--color-primary);
}

.sister-text {
    text-align: right;
}

.sister-text a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        flex-direction: column;
    }

    .sister-text {
        text-align: center;
        order: 2;
        /* Ensure text is below logo on mobile if desired, or keep as is */
    }
}

/* Animations / Micro-interactions */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .header-height {
        height: 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

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