﻿/* CSS Reset / Normalize */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Open Sans', Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol, ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img, picture {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Colour Variables (Omega Pro Palette) */
:root {
    --color-bg-primary: #F5F5F7; /* Apple-like light grey */
    --color-bg-secondary: #ffffff;
    --color-bg-dark: #1C1C1C;
    --color-bg-footer: #222222;
    --color-text-primary: #333333;
    --color-text-light: #E0E0E0;
    --color-accent: #F7B500; /* Gold/Yellow */
    --color-accent-alt: #FFD700; /* Alt Gold */
    --color-silver: #C0C0C0;
    --color-grey: #A0A0A0;
    --color-border: #E5E5EA;
    --color-link: #2563eb;
    --max-width: 1200px;
}

/* Typography */
body {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    background-color: var(--background-color);
}

h1, h2, h3, h4 {
    font-family: inherit;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.15;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

p, li, label, input, textarea {
    font-size: 1rem;
    color: var(--color-text-primary);
}

small, .caption {
    font-size: 0.875rem;
    color: var(--color-grey);
}

/* Links & Accents */
a {
    color: var(--color-link);
    transition: color 0.2s;
}

    a:hover, a:focus {
        color: var(--color-accent);
    }

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
header {
    background: var(--color-bg-secondary);
    height: 6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-flex {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
    margin-right: 1rem;
    object-fit: contain;
}

.logo-text {
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--color-text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

nav a.active, nav a:hover, nav a:focus {
    color: var(--color-accent);
    background: rgba(247,181,0,0.08);
}

/* Footer */
footer {
    background: var(--color-bg-footer);
    color: var(--color-text-light);
    padding: 2rem 0;
    text-align: center;
    font-size: 1rem;
    margin-top: 4rem;
}

/* Responsive Design */

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0.5rem 0.5rem;
    }

    .logo-img {
        height: 36px;
        margin-right: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    header {
        F height: auto;
    }
}



/* Hero Section */
.hero-section {
    background: var(--color-bg-primary);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1 1 50%;
    max-width: 600px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-text-primary);
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--color-grey);
    margin-bottom: 2rem;
}

.cta-btn.hero-cta {
    background: var(--color-accent);
    color: #fff;
    padding: 0.85rem 2.25rem;
    border-radius: 28px;
    font-size: 1.15rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
    display: inline-block;
    text-align: center;
}

    .cta-btn.hero-cta:hover, .cta-btn.hero-cta:focus {
        background: var(--color-accent-alt);
        color: var(--color-bg-dark);
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.hero-visual {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder {
    width: 340px;
    height: 220px;
    background: linear-gradient(135deg, #e0e0e0 40%, #f5f5f7 100%);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .hero-image-placeholder::after {
        content: "[ Hero Visual Placeholder ]";
        color: var(--color-grey);
        font-size: 1.1rem;
        font-weight: 500;
        opacity: 0.7;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
    }

/* Key Benefits Section */
.benefits-section {
    background: var(--color-bg-secondary);
    padding: 5rem 0 4rem 0;
}

.benefits-grid {
    display: flex;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: stretch;
}

.benefit-block {
    flex: 1 1 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f7 60%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}
/* Icon Placeholders */
.icon-speed::before {
    content: "\23F1"; /* Unicode for clock/timer */
    font-size: 2.1rem;
}

.icon-leaf::before {
    content: "\1F331"; /* Unicode for seedling/leaf */
    font-size: 2.1rem;
}

.icon-crm::before {
    content: "\1F465"; /* Unicode for people */
    font-size: 2.1rem;
}

.icon-clipboard::before {
    content: "\1F4CB"; /* Unicode for clipboard */
    font-size: 2.1rem;
}

.benefit-block h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--color-text-primary);
}

.benefit-block p {
    color: var(--color-grey);
    font-size: 1rem;
}
/* Showcase Section */
.showcase-section {
    background: var(--color-bg-primary);
    padding: 5rem 0 4rem 0;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.showcase-text {
    flex: 1 1 50%;
    min-width: 260px;
}

.showcase-visual {
    flex: 1 1 40%;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image-placeholder {
    width: 340px;
    height: 200px;
    background: linear-gradient(135deg, #e0e0e0 40%, #f5f5f7 100%);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .showcase-image-placeholder::after {
        content: "[ Product Screenshot Placeholder ]";
        color: var(--color-grey);
        font-size: 1rem;
        font-weight: 500;
        opacity: 0.7;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
    }

/* Testimonials Section */
.testimonials-section {
    background: var(--color-bg-secondary);
    padding: 5rem 0 4rem 0;
}

.testimonials-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 320px;
    font-style: italic;
    color: var(--color-text-primary);
    position: relative;
}

    .testimonial-block footer {
        margin-top: 1.25rem;
        font-size: 0.95rem;
        color: var(--color-grey);
        font-style: normal;
        background: none;
        box-shadow: none;
        padding: 0;
        text-align: left;
    }

/* Secondary CTA Section */
.secondary-cta-section {
    background: var(--color-bg-primary);
    padding: 4rem 0 4.5rem 0;
    text-align: center;
}

.secondary-cta-content h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.cta-btn.secondary-cta {
    background: #F7B500;
    color: #111;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    border: none;
    outline: none;
    display: inline-block;
    text-align: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    margin: 0;
}

    .cta-btn.secondary-cta:hover, .cta-btn.secondary-cta:focus {
        background: #FFD700;
        color: #111;
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.secondary-cta-or {
    display: inline-block;
    margin: 0 1rem;
    color: var(--color-grey);
    font-size: 1rem;
    vertical-align: middle;
}

.cta-link {
    color: var(--color-link);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: underline;
    transition: color 0.2s;
}

    .cta-link:hover, .cta-link:focus {
        color: var(--color-accent);
    }

/* Responsive Design for Home Page Sections */
@media (max-width: 1100px) {
    .hero-content, .showcase-content, .benefits-grid, .testimonials-grid {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .hero-visual, .showcase-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 700px) {
    .hero-section, .benefits-section, .showcase-section, .testimonials-section, .secondary-cta-section {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .benefits-section, .showcase-section, .testimonials-section, .secondary-cta-section {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .hero-image-placeholder, .showcase-image-placeholder {
        width: 100%;
        min-width: 0;
        max-width: 320px;
        height: 160px;
    }

    .benefit-block, .testimonial-block {
        min-width: 0;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }
}

/* HEADER NAVIGATION (Prompt C.1) */
.main-header {
    position: sticky;
    top: 0;
    background: var(--color-bg-secondary);
    height: var(--header-height);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    z-index: 1000;
}

.nav-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 64px;
    width: auto;
    display: block;
    margin-right: 1rem;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    white-space: nowrap;
}

    .nav-link.active, .nav-link:focus, .nav-link:hover {
        color: var(--color-accent);
        background: rgba(247,181,0,0.08);
    }

.cta-header-btn {
    margin-left: 2rem;
    padding: 0.5rem 1.25rem;
    background: var(--color-accent);
    color: #000;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
    display: inline-block;
    text-align: center;
}

    .cta-header-btn:hover, .cta-header-btn:focus {
        background: var(--color-accent-alt);
        color: var(--color-bg-dark);
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1.5rem;
    padding: 1rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    position: relative;
}

    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 24px;
        height: 2px;
        background: var(--color-text-primary);
        transition: transform 0.2s;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

@media (max-width: 1300px) {

    .main-nav {
        gap: 0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    /*.nav-container {
        padding-right: 1rem;
        padding-left: 1rem;
    }*/

    .nav-list {
        gap: 1rem;
    }

    .cta-header-btn {
        width: 90px;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1020px) {

    .main-nav {
        flex-direction: row;
        justify-content: end;
        align-items: end;
        margin-right: 0;
        margin-left: 0;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--color-bg-secondary);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        flex-direction: column;
        gap: 0;
        min-width: 180px;
        padding: 1rem 0.5rem;
        border-radius: 0 0 12px 12px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s, transform 0.2s;
        z-index: 1001;
    }

    .main-nav.open .nav-list {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        padding: 0.7rem 1rem;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        font-size: 16px;
    }

    .cta-header-btn {
        display: none;
    }

    .nav-toggle {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
}

/* FOOTER (Prompt C.2) */
.main-footer {
    background: var(--color-bg-footer);
    color: var(--color-text-light);
    padding: 1.5rem 0 1.5rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-language {
    display: flex;
    justify-content: center;
}

.footer-copyright label {
    color: var(--color-text-light);
    opacity: 0.85;
}

.footer-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    row-gap: 0.5rem;
}

.footer-image {
    display: block;
    max-height: 1.25rem;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.footer-copyright {
    color: var(--color-text-light);
    font-size: 1rem;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-link {
    color: var(--color-text-light);
    opacity: 0.85;
    font-size: 1rem;
    transition: color 0.2s, opacity 0.2s;
}

    .footer-link:hover, .footer-link:focus {
        color: var(--color-accent);
        opacity: 1;
        text-decoration: underline;
    }

.footer-sep {
    color: var(--color-silver);
    opacity: 0.5;
    font-size: 1.1em;
    margin: 0 0.25em;
}

.footer-secondary {
    text-align: center;
    align-self: center;
}

.footer-note {
    color: var(--color-grey);
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .footer-main {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem; /* vertical, then horizontal */
        text-align: center;
    }

    .footer-image {
        margin-bottom: 0.5rem;
    }

    .footer-copyright {
        flex-basis: 100%;
        white-space: normal;
    }

    .footer-right {
        flex-basis: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-language {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        gap: 1rem;
        text-align: center;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-secondary {
        text-align: left;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
    }

    .footer-copyright {
        white-space: normal;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* === PRICING PAGE SECTIONS (pricing.html) === */

/* Pricing Title Section */
.pricing-title-section {
    background: var(--color-bg-primary);
    padding: 4rem 0 2.5rem;
    text-align: center;
}

    .pricing-title-section h1 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

.pricing-subhead {
    color: var(--color-grey);
    font-size: 1.15rem;
}

/* Pricing Tiers Section */
.pricing-tiers-section {
    background: var(--color-bg-secondary);
    padding: 3.5rem 0 3rem 0;
}

.pricing-tiers-grid {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.pricing-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 2px solid transparent;
    transition: box-shadow 0.2s, border 0.2s;
}

.pricing-card-popular {
    border: 2px solid var(--color-accent);
    box-shadow: 0 6px 32px rgba(247,181,0,0.10);
    z-index: 2;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

    .pricing-card-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.pricing-price {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.pricing-per {
    font-size: 1rem;
    color: var(--color-grey);
    font-weight: 400;
}

.pricing-tagline {
    display: block;
    color: var(--color-grey);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.pricing-popular-badge {
    display: block;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 16px;
    padding: 0.25em 1em;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 2px 8px rgba(247,181,0,0.10);
    text-align: center;
    width: fit-content;
}

.pricing-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    width: 100%;
}

    .pricing-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 1.05rem;
        color: var(--color-text-primary);
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

.feature-icon {
    color: var(--color-accent);
    font-size: 1.15em;
    margin-top: 0.1em;
    flex-shrink: 0;
}

.cta-btn.pricing-cta {
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 28px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

    .cta-btn.pricing-cta:hover, .cta-btn.pricing-cta:focus {
        background: var(--color-accent-alt);
        color: var(--color-bg-dark);
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.pricing-cta-popular {
    background: var(--color-bg-dark);
    color: #fff;
    border: 2px solid var(--color-accent);
    box-shadow: 0 4px 16px rgba(247,181,0,0.16);
}

    .pricing-cta-popular:hover, .pricing-cta-popular:focus {
        background: var(--color-accent);
        color: #fff;
    }

/* FAQ Section */
.pricing-faq-section {
    background: var(--color-bg-primary);
    padding: 3.5rem 0 3.5rem 0;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

    .faq-content h2 {
        text-align: center;
        margin-bottom: 2.5rem;
    }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.faq-item p {
    color: var(--color-grey);
    font-size: 1rem;
}

.faq-contact-link {
    color: var(--color-link);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

    .faq-contact-link:hover, .faq-contact-link:focus {
        color: var(--color-accent);
    }

/* Responsive Design for Pricing Page */
@media (max-width: 1100px) {
    .pricing-tiers-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pricing-card {
        flex: 1 1 280px;
        min-width: 250px;
        max-width: 320px;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 700px) {
    .pricing-title-section, .pricing-tiers-section, .pricing-faq-section {
        padding-left: 0;
        padding-right: 0;
    }

    .pricing-title-section {
        padding: 3rem 0 1.5rem; /* 3rem top, 1.5rem bottom */
    }

    .pricing-tiers-section, .pricing-faq-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .pricing-card {
        min-width: 0;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .pricing-popular-badge {
        margin: 0 auto 1rem auto;
    }
}

/* === BLOG PAGE SECTIONS (blog.html) === */

/* Blog Title Section */
.blog-title-section {
    background: var(--color-bg-primary);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

    .blog-title-section h1 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

.blog-subhead {
    color: var(--color-grey);
    font-size: 1.15rem;
}

/* Blog List Section - Wider Layout */
.blog-list-section .container {
    max-width: 1400px;
    padding: 0 2.5rem;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.featured-article {
    border: 1.5px solid var(--color-accent);
    box-shadow: 0 4px 24px rgba(100,149,237,0.08);
    padding: 0;
}

@media (min-width: 1100px) {
    .blog-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article {
        grid-column: span 2;
        height: 520px; /* Match other cards for consistency */
    }
}

/* Consistent Blog Card Heights - 2 Column Masonry */
.blog-preview {
    display: flex;
    flex-direction: column;
    height: 520px; /* Equal heights for 2-column masonry */
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-image-link {
    display: block;
    height: 220px;
    width: 100%;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-preview-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    overflow: hidden;
}

.blog-preview-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.blog-preview-excerpt {
    color: var(--color-grey);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    flex: 1 1 auto;
    overflow: hidden;
}

.blog-preview-meta {
    color: var(--color-silver);
    font-size: 0.95rem;
    margin-top: auto;
}

@media (max-width: 900px) {
    .blog-preview {
        height: 420px;
    }

    .blog-image-link {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .blog-preview {
        height: auto;
        min-height: 320px;
    }

    .blog-image-link {
        height: 120px;
    }
}

.blog-preview:hover, .blog-preview:focus-within {
    box-shadow: 0 6px 32px rgba(36,36,36,0.10);
    transform: translateY(-4px) scale(1.01);
}

/* Responsive Design for Blog Page */
@media (max-width: 900px) {
    .blog-list-grid {
        grid-template-columns: repeat(2, 1fr); /* Force 2 columns even on smaller screens */
        gap: 2rem;
    }

    .blog-preview {
        height: 480px; /* Adjust height for smaller screens */
    }

    .blog-preview-content {
        padding: 1.5rem 1rem 1rem 1rem;
    }
}

/* Featured Article Styles */
.featured-article {
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

    .featured-article .blog-image-link {
        position: relative;
    }

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Article Content Styles */
.blog-article-section {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3.5rem;
    background: none;
    border-radius: 0;
    margin: 2rem 0;
    border: none;
}

.blog-article {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-grey);
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta span:not(:last-child)::after {
    content: '•';
    margin-left: 1rem;
    color: var(--color-grey);
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 0 auto;
}

.article-content {
    line-height: 1.7;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.article-content strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

/* === CONTACT PAGE SECTIONS (contact.html) === */

/* Contact Title Section */
.contact-title-section {
    background: var(--color-bg-primary);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

    .contact-title-section h1 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

.contact-subhead {
    color: var(--color-grey);
    font-size: 1.15rem;
}

/* Main Contact Section */
.contact-main-section {
    background: var(--color-bg-secondary);
    padding: 3.5rem 0 3.5rem 0;
}

.contact-main-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-info-block, .contact-form-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 340px;
    min-width: 260px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .contact-info-block h2, .contact-form-block h2 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 1.05rem;
    color: var(--color-text-primary);
}

.contact-info-item strong {
    color: var(--color-accent);
    font-weight: 600;
}

.contact-info-note {
    color: var(--color-grey);
    font-size: 0.95rem;
    margin-left: 0.25rem;
}

.contact-info-item a {
    color: var(--color-link);
    text-decoration: underline;
    transition: color 0.2s;
}

    .contact-info-item a:hover, .contact-info-item a:focus {
        color: var(--color-accent);
    }

/* Map Placeholder */
.contact-map-block {
    margin-top: 1.5rem;
}

.contact-map-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.contact-map-placeholder {
    width: 100%;
    max-width: 320px;
    height: 160px;
    background: linear-gradient(135deg, #e0e0e0 40%, #f5f5f7 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    margin-bottom: 0.5rem;
}

    .contact-map-placeholder::after {
        content: "[ Map Placeholder ]";
        color: var(--color-grey);
        font-size: 1.05rem;
        font-weight: 500;
        opacity: 0.7;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
    }

.contact-map-caption {
    color: var(--color-link);
    font-size: 0.98rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-map-link:hover .contact-map-caption,
.contact-map-link:focus .contact-map-caption {
    color: var(--color-accent);
}

/* Contact Form */
.contact-form-block {
    align-self: stretch;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .form-group label {
        color: var(--color-text-primary);
        font-weight: 500;
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        font-size: 1rem;
        transition: border-color 0.2s;
        background: #fafbfc;
        color: var(--color-text-primary);
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-accent);
        }

.cta-btn.contact-cta {
    background: #F7B500;
    color: #111;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    border: none;
    outline: none;
    display: inline-block;
    text-align: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    margin: 0;
}

    .cta-btn.contact-cta:hover, .cta-btn.contact-cta:focus {
        background: #FFD700;
        color: #111;
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.contact-form-note {
    color: var(--color-grey);
    font-size: 0.98rem;
    margin-top: 0.75rem;
    text-align: left;
}

/* Responsive Design for Contact Page */
@media (max-width: 1100px) {
    .contact-main-grid {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .contact-info-block, .contact-form-block {
        max-width: 100%;
        min-width: 0;
        padding: 2rem 1rem 1.5rem 1rem;
    }
}

/* Logo Text (next to logo image in header) */
.logo-text {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin-left: 0.75rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 1435px) {
    .logo-text {
        display: none;
    }
}

@media (max-width: 1020px) {
    .logo-text {
        font-size: 1.1rem;
        margin-left: 0.5rem;
        display: inline-block;
    }
}

main[role="main"] {
    flex: 1 0 auto;
}

.pricing-popular-badge.placeholder {
    visibility: hidden;
}

/* Responsive images for new content */
.hero-image, .showcase-image, .blog-image, .contact-map-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: block;
}

/* Remove placeholder backgrounds for testimonials and blog images */
.hero-image-placeholder, .showcase-image-placeholder, .blog-image-placeholder, .contact-map-placeholder {
    display: none !important;
}

.pricing-card-top {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* === LFG PAGE SECTIONS (LFG.html) === */

/* LFG Title Section */
.lfg-title-section {
    background: var(--color-bg-primary);
    padding: 3rem 0 2.5rem;
    text-align: center;
}

    .lfg-title-section h1 {
        font-size: 2.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

.lfg-subhead {
    color: var(--color-grey);
    font-size: 1.15rem;
}

/* LFG Section Headers */
.lfg-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .lfg-section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

.lfg-section-subhead {
    color: var(--color-grey);
    font-size: 1.1rem;
}

/* CRM Section */
.lfg-crm-section {
    background: var(--color-bg-secondary);
    padding: 3.5rem 0;
}

.lfg-crm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lfg-crm-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .lfg-crm-block:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    }

.lfg-crm-content h3 {
    color: var(--color-text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Quoting System Section */
.lfg-quote-section {
    background: var(--color-bg-primary);
    padding: 3.5rem 0;
}

.lfg-quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lfg-quote-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .lfg-quote-block:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    }

.lfg-quote-content h3 {
    color: var(--color-text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Feature Lists */
.lfg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .lfg-feature-list li {
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.75rem;
        color: var(--color-text-primary);
    }

        .lfg-feature-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--color-accent);
            font-weight: bold;
        }

/* CTA Section */
.lfg-cta-section {
    background: var(--color-bg-secondary);
    padding: 4rem 0;
    text-align: center;
}

    .lfg-cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

.lfg-cta-subhead {
    color: var(--color-grey);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.lfg-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for LFG Page */
@media (max-width: 900px) {
    .lfg-crm-grid,
    .lfg-quote-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lfg-crm-block,
    .lfg-quote-block {
        padding: 1.5rem;
    }

    .lfg-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

        .lfg-cta-buttons .cta-btn {
            width: 100%;
            max-width: 300px;
        }
}

@media (max-width: 600px) {
    .lfg-title-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .lfg-crm-section,
    .lfg-quote-section,
    .lfg-cta-section {
        padding: 2rem 0;
    }

    .lfg-section-header {
        margin-bottom: 2rem;
    }

        .lfg-section-header h2 {
            font-size: 1.75rem;
        }
}

/* === CRM INTERFACE STYLES === */

/* CRM Interface Layout */
.crm-interface {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.crm-form-container, .crm-table-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1008px;
    width: 100%;
}

    .crm-form-container h3 {
        margin-bottom: 1.5rem;
        color: var(--color-text-primary);
    }

.crm-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .form-group label {
        font-weight: 500;
        color: var(--color-text-primary);
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-accent);
            box-shadow: 0 0 0 3px rgba(247,181,0,0.1);
        }

        .form-group input:invalid,
        .form-group textarea:invalid {
            border-color: #dc2626;
        }

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    min-height: 1.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Table Styles */
.crm-table-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem;
    width: 100%;
    max-width: 1008px;
    margin: 2rem auto;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
}

    .table-header h3 {
        color: var(--color-text-primary);
        margin: 0;
    }

.search-input {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.875rem;
    width: 250px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .search-input:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(247,181,0,0.1);
    }

.table-responsive {
    overflow-x: auto;
    margin: 0 -2rem;
    padding: 0 2rem;
}

.crm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

    .crm-table th,
    .crm-table td {
        border: none;
        padding: 0.75rem;
        text-align: left;
        background: var(--white);
    }

    .crm-table th {
        border-bottom: 2px solid var(--text-primary) !important;
        background: var(--light-bg);
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .crm-table tbody tr td {
        border-bottom: 2px solid var(--text-primary) !important;
    }

    .crm-table tbody tr:hover {
        background: var(--color-bg-primary);
    }

    .crm-table .action-buttons {
        display: flex;
        gap: 0.5rem;
    }

    .crm-table .action-btn {
        padding: 0.5rem;
        border: none;
        background: none;
        cursor: pointer;
        color: var(--color-text-primary);
        opacity: 0.7;
        transition: opacity 0.2s;
    }

        .crm-table .action-btn:hover {
            opacity: 1;
        }

    .crm-table .edit-btn {
        color: var(--color-link);
    }

    .crm-table .delete-btn {
        color: #dc2626;
    }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .modal.show {
        display: flex;
    }

.modal-content.quote-preview, .modal-content {
    max-width: 900px;
    width: 90vw;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.modal-body {
    padding: 1.5rem 0;
    overflow-x: auto;
}

.modal-footer {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .modal-content.quote-preview, .modal-content {
        max-width: 98vw;
        width: 98vw;
        padding: 1rem 0.5rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.danger-cta {
    background: #dc2626;
    color: #fff;
}

    .danger-cta:hover {
        background: #b91c1c;
    }

/* Responsive Design for CRM Interface */
@media (max-width: 1024px) {
    .crm-interface {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .crm-form-container,
    .crm-table-container {
        padding: 1.5rem;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
    }

        .form-actions .cta-btn {
            width: 100%;
        }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Quote System Styles */
.quote-interface {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Quote Header Styles */
.quote-header {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--text-primary);
}

.quote-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quote-id, .quote-date {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .quote-id input, .quote-date input {
        padding: 0.75rem;
        border: 1px solid var(--text-primary);
        border-radius: 6px;
        font-size: 0.9rem;
        background: var(--light-bg);
    }

        .quote-id input:read-only {
            background: var(--light-bg);
            cursor: not-allowed;
        }

/* Customer Selection Styles */
.customer-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-combobox {
    position: relative;
    width: 100%;
}

    .search-combobox input {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid var(--text-primary);
        border-radius: 6px;
        font-size: 0.9rem;
    }

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--text-primary);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .dropdown-item:hover {
        background-color: var(--light-bg);
    }

/* Customer Details Styles */
.customer-details {
    background: var(--light-bg);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .info-group.full-width {
        grid-column: 1 / -1;
    }

    .info-group label {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .info-group span {
        font-size: 0.9rem;
        color: var(--text-primary);
    }

/* Quote Items Styles */
.quote-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.items-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

    .items-actions .search-combobox {
        width: 300px;
    }

/* Quote Table Styles - Enhanced for visibility */
.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

    .quote-table th,
    .quote-table td {
        border: none;
        padding: 0.75rem;
        text-align: left;
        background: var(--white);
    }

    .quote-table th {
        border-bottom: 2px solid var(--text-primary) !important;
        background: var(--light-bg);
        font-weight: 600;
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

    .quote-table tbody tr td {
        border-bottom: 2px solid var(--text-primary) !important;
    }

    .quote-table input {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid var(--text-primary);
        border-radius: 4px;
        font-size: 0.9rem;
        background: var(--white);
        color: var(--text-primary);
    }

    .quote-table tfoot tr {
        font-weight: 600;
    }

    .quote-table tfoot td {
        padding: 1rem 0.75rem;
    }

.subtotal-row td {
    border-top: 2px solid var(--text-primary) !important;
}

.total-row td {
    border-top: 1px solid var(--text-primary) !important;
}

.vat-row td {
    border-top: 1px solid var(--text-primary) !important;
}

.grand-total-row td {
    border-top: 2px solid var(--text-primary) !important;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .quote-interface {
        padding: 1rem;
    }

    .items-header {
        flex-direction: column;
        align-items: stretch;
    }

    .items-actions {
        flex-direction: column;
    }

        .items-actions .search-combobox {
            width: 100%;
        }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .quote-table {
        min-width: 1000px;
    }
}

/* Quote Actions */
.quote-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--text-primary);
}

/* Quote Preview Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content.quote-preview {
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #fff !important;
    color: var(--text-primary);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--text-primary);
}

    .modal-header h2 {
        margin: 0;
        color: var(--text-primary);
    }

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--text-primary);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Quote Preview Content */
.quote-preview-content {
    display: grid;
    gap: 2rem;
}

.company-info {
    text-align: right;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--text-primary);
}

    .company-info h3 {
        color: var(--primary-color);
        margin: 0 0 1rem 0;
    }

    .company-info p {
        margin: 0.25rem 0;
        color: var(--text-secondary);
    }

.quote-info-preview {
    display: grid;
    gap: 2rem;
}

.quote-header-preview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.quote-id-date {
    display: grid;
    gap: 0.5rem;
}

    .quote-id-date p {
        margin: 0;
    }

.customer-info-preview {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

    .customer-info-preview h4 {
        margin: 0 0 1rem 0;
        color: var(--text-primary);
    }

.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .detail-group.full-width {
        grid-column: 1 / -1;
    }

    .detail-group label {
        font-size: 0.8rem;
        color: var(--text-secondary);
    }

    .detail-group span {
        font-size: 0.9rem;
        color: var(--text-primary);
    }

.quote-items-preview {
    margin-top: 1rem;
}

    .quote-items-preview h4 {
        margin: 0 0 1rem 0;
        color: var(--text-primary);
    }

/* Responsive Styles for Quote Preview */
@media (max-width: 768px) {
    .modal-content.quote-preview {
        width: 95%;
        margin: 1rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-footer {
        padding: 1rem;
        flex-direction: column;
    }

        .modal-footer .cta-btn {
            width: 100%;
        }

    .company-info {
        text-align: left;
    }

    .quote-header-preview {
        flex-direction: column;
        gap: 1rem;
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure quote preview modal is always on top */
#quote-preview-modal {
    z-index: 3000 !important;
}

/* Hide all modals by default */
.modal[hidden] {
    display: none !important;
}

/* Quote Tabs - aligned with container */
.quote-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Customer search input and dropdown background fix */
#customer-search {
    background: #fff !important;
}

#customer-dropdown {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Quote Tabs */
.quote-tab {
    min-width: 140px;
    height: 48px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0 2rem;
    border-radius: 24px;
    background: #ffc107;
    color: #111;
    border: none;
    margin-right: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    display: inline-block;
}

    .quote-tab:last-child {
        margin-right: 0;
    }

    .quote-tab.active {
        background: var(--white);
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
        z-index: 2;
    }

/* Improved spacing for quote modals and main quote page */
.quote-info-grid, .edit-quote-totals {
    margin-bottom: 2rem;
    gap: 2rem;
}

.quote-items-edit, .quote-items {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.edit-quote-totals p {
    margin: 0.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

/* Compact, gold Add Part Line buttons */
#add-part-btn, #add-edit-part-btn {
    display: inline-block;
    width: 40%;
    min-width: 180px;
    max-width: 260px;
    margin: 1.5rem 0 0 0;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--accent-color, #ffc107);
    color: #222;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

    #add-part-btn:hover, #add-edit-part-btn:hover {
        background: #e6b800;
        box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }

/* Modal body spacing */
.modal-body {
    padding: 2rem 2.5rem;
}

/* Table spacing */
.quote-table th, .quote-table td {
    padding: 1rem 0.75rem;
}

/* Action buttons in quote tables */
.action-btn {
    display: inline-block;
    min-width: 70px;
    margin: 0 0.25rem;
    padding: 0.4rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

    .action-btn.edit-quote-btn {
        background: #F7B500;
        color: #111;
    }

        .action-btn.edit-quote-btn:hover {
            background: #FFD700;
            color: #111;
        }

    .action-btn.accept-quote-btn {
        background: #2ecc40;
        color: #fff;
    }

        .action-btn.accept-quote-btn:hover {
            background: #219a36;
        }

    .action-btn.decline-quote-btn {
        background: #ff4444;
        color: #fff;
    }

        .action-btn.decline-quote-btn:hover {
            background: #c8231a;
        }

/* Unified button style for CRM and Quote system */
button, .cta-btn, .action-btn, .primary-cta, .secondary-cta {
    display: inline-block;
    min-width: 140px;
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    background: var(--accent-color, #ffc107) !important;
    color: #111 !important;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-align: center;
}

    button:hover, .cta-btn:hover, .action-btn:hover,
    button:focus, .cta-btn:focus, .action-btn:focus {
        background: #e6b800 !important;
        color: #000 !important;
        outline: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    }
    /* Danger variant for delete */
    .danger-cta, .action-btn.decline-quote-btn, .delete-btn {
        background: #ff4136 !important;
        color: #fff !important;
    }

        .danger-cta:hover, .action-btn.decline-quote-btn:hover, .delete-btn:hover {
            background: #c8231a !important;
            color: #fff !important;
        }
/* Right-align cost section in edit modal and main quote page */
.edit-quote-totals, .quote-totals, .main-quote-totals {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    max-width: 400px;
}

/* Widen customer modal to match edit quote modal (now 1200px) */
#customer-modal .modal-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    border-radius: 18px;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    box-sizing: border-box;
}

#customer-modal .form-group {
    margin-bottom: 1.5rem;
}

#customer-modal textarea#address {
    min-height: 80px;
    resize: vertical;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table-responsive {
    overflow-x: auto;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.spaced-tabs {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

    .spaced-tabs .quote-tab {
        flex: 1 1 0;
        text-align: center;
        margin-right: 0;
    }

@media (max-width: 700px) {
    .spaced-tabs {
        flex-direction: column;
        gap: 1rem;
    }

        .spaced-tabs .quote-tab {
            width: 100%;
            margin-bottom: 0.5rem;
        }
}

/* Unified Button System */
.btn {
    display: inline-block;
    border: none;
    outline: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 8px rgba(247,181,0,0.08);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin: 0;
}

.btn--primary {
    background: #F7B500;
    color: #111;
}

    .btn--primary:hover, .btn--primary:focus {
        background: #FFD700;
        color: #111;
        box-shadow: 0 4px 16px rgba(247,181,0,0.16);
    }

.btn--secondary {
    background: #fff;
    color: #111;
    border: 2px solid #F7B500;
}

    .btn--secondary:hover, .btn--secondary:focus {
        background: #FFD700;
        color: #111;
    }

.btn--danger {
    background: #e53935;
    color: #fff;
    border: none;
}

    .btn--danger:hover, .btn--danger:focus {
        background: #b71c1c;
        color: #fff;
    }
/* Remove legacy button styles for .cta-btn, .primary-cta, .secondary-cta, .action-btn, .danger-cta */
.cta-btn, .primary-cta, .secondary-cta, .action-btn, .danger-cta {
    all: unset;
}

.btn--sm {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    min-width: 64px;
    height: 36px;
    line-height: 1.1;
}
/* Match quote and CRM form/modal widths */
.modal-content, .modal-content.quote-preview, .quote-interface, .crm-form-container {
    max-width: 1008px;
    margin-left: auto;
    margin-right: auto;
}

.btn.btn--danger, .btn.btn--sm.btn--danger {
    background: #e53935 !important;
    color: #fff !important;
    border: none !important;
}

    .btn.btn--danger:hover, .btn.btn--sm.btn--danger:hover, .btn.btn--danger:focus, .btn.btn--sm.btn--danger:focus {
        background: #b71c1c !important;
        color: #fff !important;
    }

.quote-interface {
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.quote-table {
    min-width: 1400px;
    width: 100%;
    table-layout: auto;
}

    .quote-table td, .quote-table th {
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
    }

    .quote-table input[type="text"], .quote-table input[type="number"] {
        min-width: 80px;
        width: 100%;
        box-sizing: border-box;
    }

/* Dashboard Layout */
.dashboard-kpis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-kpi-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.dashboard-chart-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem;
    min-width: 0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.dashboard-title-section, .dashboard-filters-section {
    margin-bottom: 2rem;
}

.dashboard-filters-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.dashboard-filters {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.dashboard-filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: stretch;
    width: 100%;
}

.filter-group {
    flex: 1 1 180px;
    min-width: 180px;
    max-width: 260px;
}

#apply-filters-btn {
    min-width: 140px;
    height: 48px;
    font-size: 1.1rem;
    align-self: flex-end;
}

@media (max-width: 900px) {
    .dashboard-filters-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group, #apply-filters-btn {
        max-width: 100%;
        width: 100%;
    }
}

#dashboard-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #222;
}

    #dashboard-loading[hidden] {
        display: none !important;
    }

.dx-floating-label {
    font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif !important;
}

.dx-field-item-label {
    font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif !important;
}
