/* R7 Creative Stylesheet */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap');

/* CSS Variables */
:root {
    --brand-orange: #f7931e;
    --brand-red: #cf071d;
    --brand-dk-blue: #2a4a5c;
    --brand-black: #1a1a1a;
    --brand-tan: #f5f3ed;
    --brand-tan-dark: #e8e5d4;
    --brand-grey: #bdc3c7;
    --brand-white: #ffffff;

    /* Added from external.html */
    --deep-black: #1a1a1a;
    --freedom-white: #ffffff;
    --atomic-orange: #f7931e;
    --launch-button: #cf071d;
    --space-age-teal: #2a4a5c;
    --vintage-cream: #e8e5d4;
    --brushed-metal: #bdc3c7;

    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: #333;
    background: var(--brand-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1200px;
}

.page-section {
    padding: 90px 0;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-black);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 7, 29, 0.3);
}

.btn--secondary {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

.btn--outline {
    background: transparent;
    border-color: var(--brand-grey);
    color: var(--brand-black);
}

.btn--outline:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.btn--white {
    background: white;
    color: var(--brand-black);
}

/* Navigation */
.nav {
    background: var(--brand-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 30px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--brand-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-orange);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--brand-black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--brand-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--brand-black);
    text-decoration: none;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-link:hover {
    color: var(--brand-orange);
}

/* Hero */
.hero {
    padding: 80px 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-content h1 span {
    font-size: 0.6em;
    color: #777;
    font-weight: 600;
    display: block;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 32px;
    max-width: 500px;
}

/* Image Placeholder */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 500px;
    border-radius: 12px;
    background: var(--brand-tan);
    border: 1px dashed var(--brand-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    color: #999;
    font-weight: 500;
    overflow: hidden;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.img-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--brand-grey);
    stroke-width: 1.5;
}

/* Trust Bar */
.trust-bar {
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.trust-bar p {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

.logo-item {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 18px;
    color: #aaa;
    letter-spacing: 0.5px;
}

/* Problem Section */
.section-problem {
    background: var(--brand-tan);
}

.problem-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.problem-flow {
    list-style: none;
    padding: 0;
}

.flow-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.flow-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: white;
    font-family: var(--font-headline);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-text h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.flow-text p {
    font-size: 15px;
    color: #555;
}

/* Stakes Section */
.section-stakes {
    text-align: center;
}

.section-stakes h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-stakes p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.stakes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stake-item h3 {
    font-size: 64px;
    font-weight: 800;
    color: var(--brand-red);
}

.stake-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-dk-blue);
}

/* Solution Section */
.section-solution {
    background: var(--brand-dk-blue);
    color: var(--brand-white);
}

.section-solution h2 {
    color: var(--brand-white);
    font-size: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.solution-row:last-child {
    margin-bottom: 0;
}

.solution-row.alt {
    grid-template-areas: "text image";
}

.solution-row.alt .solution-text {
    grid-area: text;
}

.solution-row.alt .img-placeholder {
    grid-area: image;
}

.solution-text h3 {
    font-size: 28px;
    color: var(--brand-white);
    margin-bottom: 16px;
}

.solution-text p {
    font-size: 16px;
    color: var(--brand-grey);
    max-width: 450px;
}

.solution-text .img-placeholder {
    border-color: #4a6a7c;
    background: #203c4e;
    color: #777;
}

/* Proof Section */
.section-proof {
    text-align: center;
}

.testimonial-block {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-block .stars {
    font-size: 24px;
    color: var(--brand-orange);
    letter-spacing: 2px;
}

.testimonial-block p {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin: 16px 0;
}

.testimonial-block .author {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dk-blue);
}

/* System Section */
.section-system {
    background: var(--brand-tan);
}

.system-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.system-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.system-header p {
    font-size: 18px;
    color: #555;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.system-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-tan-dark);
    border-radius: 8px;
    padding: 24px;
}

.system-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.system-card h4 span {
    color: var(--brand-orange);
    font-size: 0.9em;
    margin-right: 8px;
}

.system-card p {
    font-size: 14px;
    color: #555;
}

/* Results Section */
.section-results {
    text-align: center;
}

.section-results h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-results p {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.result-item {
    background: var(--brand-tan);
    border: 1px solid var(--brand-tan-dark);
    border-radius: 8px;
    padding: 24px;
}

.result-item h3 {
    font-size: 32px;
    color: var(--brand-dk-blue);
    margin-bottom: 8px;
}

.result-item p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background: var(--brand-orange);
    padding: 80px 0;
    text-align: center;
    color: var(--brand-white);
}

.final-cta h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--brand-white);
    margin-bottom: 12px;
}

.final-cta .phone {
    font-family: var(--font-headline);
    font-size: 48px;
    color: var(--brand-white);
    margin-bottom: 16px;
    line-height: 1;
}

.final-cta p {
    font-size: 18px;
    color: var(--brand-white);
    font-weight: 500;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    background: var(--brand-black);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer p {
    color: var(--brand-grey);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer p.tagline {
    color: var(--brand-orange);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- UPDATED PRICING STYLES --- */

/* PRICING CARDS */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    width: 100%;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.c-pricing-card {
    background: var(--brand-white);
    border: 2px solid var(--brushed-metal);
    border-radius: 12px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.c-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.c-pricing-card.featured {
    border: 3px solid var(--atomic-orange);
    box-shadow: 0 8px 32px rgba(247, 147, 30, 0.2);
    transform: scale(1.05);
    z-index: 10;
}

.c-pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--space-age-teal);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.c-pricing-card.featured .pricing-badge {
    background: var(--atomic-orange);
}

.pricing-plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-black);
    margin-bottom: 16px;
    margin-top: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--deep-black);
    margin-bottom: 8px;
}

.price-period-small {
    font-size: 20px;
    font-weight: 500;
    color: var(--space-age-teal);
}

.pricing-price-period {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--space-age-teal);
}

.retail-monthly {
    color: var(--brushed-metal);
    font-size: 16px;
}

.implementation-fee {
    font-size: 13px;
    color: var(--space-age-teal);
}

.implementation-fee strong {
    color: var(--deep-black);
    font-weight: 600;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 32px;
    border: none;
    cursor: pointer;
}

.pricing-cta--primary {
    background: var(--atomic-orange);
    color: white;
}

.pricing-cta--primary:hover {
    background: #e68a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(247, 147, 30, 0.4);
}

.pricing-cta--secondary {
    background: transparent;
    color: var(--deep-black);
    border: 2px solid var(--deep-black);
}

.pricing-cta--secondary:hover {
    background: var(--deep-black);
    color: white;
}

.pricing-features-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--space-age-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0; /* Added reset */
    flex-grow: 1; /* Added to align buttons */
    text-align: left; /* Added to align text */
}

.pricing-features-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--deep-black);
    font-size: 15px;
    border-bottom: 1px solid var(--vintage-cream);
    line-height: 1.5; /* Added */
}

.pricing-features-list li:last-child {
    border-bottom: none;
}

.pricing-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--atomic-orange);
    font-weight: 700;
    font-size: 18px; /* Was 14px */
}

.pricing-features-list li.disabled {
    color: var(--brand-grey);
    text-decoration: line-through;
}

.pricing-features-list li.disabled::before {
    content: "✖";
    color: var(--brand-grey);
}

.pricing-features-list li small {
    display: block;
    font-size: 0.9em;
    color: #777;
}

.pricing-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* CUSTOM QUOTE BOX */
.custom-quote-box {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--vintage-cream);
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--brushed-metal);
}

.custom-quote-box h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--deep-black);
    margin-bottom: 16px;
}

.custom-quote-box p {
    font-size: 16px;
    color: var(--space-age-teal);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* --- END UPDATED PRICING STYLES --- */


/* Inner Page Hero */
.inner-hero {
    background: var(--brand-tan);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--brand-tan-dark);
}

.inner-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.inner-hero .subheadline {
    font-size: 20px;
    color: var(--brand-dk-blue);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 16px;
}

.inner-hero .tagline {
    font-size: 16px;
    color: var(--brand-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Wrapper - Markdown Styles */
.content-wrapper h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--brand-black);
}

.content-wrapper h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--brand-dk-blue);
}

.content-wrapper h4 {
    font-size: 20px;
    margin: 25px 0 12px;
}

.content-wrapper p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}

.content-wrapper strong {
    font-weight: 700;
    color: var(--brand-black);
}

.content-wrapper blockquote {
    border-left: 4px solid var(--brand-orange);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    font-size: 18px;
}

.content-wrapper blockquote strong {
    display: block;
    margin-top: 10px;
    font-style: normal;
    color: var(--brand-dk-blue);
}

.content-wrapper ul {
    margin: 20px 0;
    padding-left: 24px;
}

.content-wrapper ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 17px;
}

.content-wrapper hr {
    margin: 50px 0;
    border: none;
    border-top: 2px solid var(--brand-tan);
}

.content-wrapper table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-wrapper table th {
    background: var(--brand-dk-blue);
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.content-wrapper table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.content-wrapper table tr:nth-child(even) {
    background: var(--brand-tan);
}

.content-wrapper table tr:last-child td {
    border-bottom: none;
}

/* Contact Page Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-col h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.contact-info-col {
    background: var(--brand-tan);
    border: 1px solid var(--brand-tan-dark);
    border-radius: 8px;
    padding: 32px;
    align-self: start;
}

.contact-info-block {
    margin-bottom: 32px;
}

.contact-info-block:last-child {
    margin-bottom: 0;
}

.contact-info-block h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 16px;
}

.contact-info-block p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-info-block p strong {
    color: var(--brand-dk-blue);
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.contact-info-block a {
    color: var(--brand-orange);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-block a:hover {
    text-decoration: underline;
}

/* Form Styles */
.c-form {
    width: 100%;
}

.c-form .form-group {
    margin-bottom: 20px;
}

.c-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.c-form .form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--brand-grey);
    border-radius: 6px;
    background: var(--brand-white);
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.c-form .form-control:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px rgba(247, 147, 30, 0.2);
}

.c-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.c-list--checkmark {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.c-list--checkmark li {
    padding: 8px 0 8px 32px;
    position: relative;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.c-list--checkmark li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 18px;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .content-wrapper {
        max-width: 1000px !important;
    }

    .content-wrapper h3 {
        max-width: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .page-section {
        padding: 60px 0;
    }

    .hero-split,
    .problem-split,
    .solution-row {
        grid-template-columns: 1fr;
    }

    .solution-row.alt {
        grid-template-areas: "image" "text";
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .stakes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .system-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .result-item {
        margin-bottom: 10px;
    }

    .section-stakes h2,
    .section-problem h2,
    .section-solution h2,
    .system-header h2,
    .section-results h2,
    .final-cta h2,
    .inner-hero h1 {
        font-size: 32px;
    }

    .final-cta .phone {
        font-size: 36px;
    }

    /* Updated Responsive Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .c-pricing-card.featured {
        transform: scale(1);
    }

    .c-pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .pricing-price {
        font-size: 36px;
    }
    /* End Updated */

    .contact-grid {
        grid-template-columns: 1fr;
    }
}