@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    /* Color tokens */
    --bg-dark: #22221f;          /* deep ink charcoal — hero / body */
    --bg-dark-raised: #2c2c28;   /* one step up from bg-dark, for cards on dark */
    --bg-light: #f8f5eb;         /* warm cream — light sections */
    --bg-green: #0e4a1d;         /* deep forest green — feature sections */
    --bg-green-raised: #14591f;  /* lighter green, for hover/cards on green */
    --accent-gold: #c6a34d;      /* brass accent — premium touch, used sparingly */
    --accent-gold-soft: rgba(198, 163, 77, 0.35);

    --text-light: #f9f8f4;
    --text-muted-on-dark: rgba(249, 248, 244, 0.68);
    --text-dark: #1f1f1b;
    --text-muted: #6b675f;

    --font-heading: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    /* Spacing / shape */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.28);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    color: inherit;
}

::selection {
    background: var(--accent-gold-soft);
    color: var(--text-dark);
}

/* -------------------------------------------------- */
/* Load-in motion (used via .animate-up / delay-N)     */
/* -------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeUp 0.8s var(--ease) both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .animate-up {
        animation: none;
    }
}

/* -------------------------------------------------- */
/* Header & Navigation                                 */
/* -------------------------------------------------- */
header {
    position: sticky;
    top: 0;
    background-color: rgba(26, 26, 22, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

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

.nav-right {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
}

/* Header Mobile Toggle Styles */
.nav-toggle {
    display: none !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-light);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Active Hamburger State */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-links a {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 4px;
    transition: color 0.3s var(--ease);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.7rem 1.9rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-login:hover {
    background-color: #d9b968;
    transform: translateY(-1px);
}

/* -------------------------------------------------- */
/* Section shells                                      */
/* -------------------------------------------------- */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 6.5rem 5%;
    text-align: center;
}

.section-green {
    background-color: var(--bg-green);
    color: var(--text-light);
    padding: 6.5rem 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

/* Signature "typing indicator" eyebrow — used above key section titles */
.section-title::before {
    content: "";
    display: block;
    width: 34px;
    margin: 0 auto 1.4rem;
    height: 6px;
    background-image: radial-gradient(circle, var(--accent-gold) 2.2px, transparent 2.2px);
    background-size: 11px 6px;
    background-repeat: repeat-x;
    opacity: 0.85;
}

/* -------------------------------------------------- */
/* Hero                                                */
/* -------------------------------------------------- */
.hero {
    padding: 8.5rem 5% 11rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -4rem;
    right: -6rem;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--accent-gold-soft) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.16;
    max-width: 820px;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero-subtext {
    align-self: flex-end;
    max-width: 500px;
    font-size: 1.08rem;
    font-weight: 400;
    margin-top: 2rem;
    color: var(--text-muted-on-dark);
}

.hero-subtext strong {
    font-weight: 600;
    color: var(--text-light);
}

/* -------------------------------------------------- */
/* Client logos                                        */
/* -------------------------------------------------- */
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.logo-grid img {
    height: 92px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(35%);
    opacity: 0.85;
    transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* Split green section (CTA)                           */
/* -------------------------------------------------- */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.4vw, 3.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 600;
}

.split-content p {
    font-size: 1.08rem;
    margin-bottom: 2rem;
    color: var(--text-muted-on-dark);
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    display: inline-block;
    padding: 0.95rem 2rem;
    border: 1px solid var(--accent-gold-soft);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-gold);
}

/* -------------------------------------------------- */
/* Generic inner-page shell                            */
/* (used by about.php, products.php, contact.php)      */
/* -------------------------------------------------- */
.page-container {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 6.5rem 5% 7rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3.5rem;
    letter-spacing: -0.01em;
    position: relative;
}

.page-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.1rem auto 0;
}

/* -------------------------------------------------- */
/* About page — intro image + text                     */
/* -------------------------------------------------- */
.about-intro {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-intro-image {
    flex: 1;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--accent-gold);
}

.about-intro-text {
    flex: 1;
}

.about-intro-text h2 {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-intro-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 780px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
}

/* -------------------------------------------------- */
/* Premium cards (Products)                            */
/* -------------------------------------------------- */
.premium-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-gold);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* -------------------------------------------------- */
/* Contact form                                        */
/* -------------------------------------------------- */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: left;
}

.contact-wrapper h2 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 2.4rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
    font-size: 0.92rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f9f9f7;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
}

.opt-in {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.opt-in input {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    accent-color: var(--bg-green);
}

.opt-in label {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-submit {
    background: var(--bg-green);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-submit:hover {
    background: var(--bg-green-raised);
    transform: translateY(-1px);
}

.btn-submit:focus-visible,
.btn-login:focus-visible,
.btn-outline:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* -------------------------------------------------- */
/* Commercials / pricing page                          */
/* -------------------------------------------------- */
.page-header {
    padding: 7rem 5% 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.page-header p {
    color: var(--text-muted-on-dark);
    font-size: 1.1rem;
    max-width: 560px;
}

.pricing-table-wrapper {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 2.5rem 3%;
    background: var(--bg-dark-raised);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-table-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.pricing-table thead th {
    text-align: left;
    padding: 0.9rem 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold-soft);
}

.pricing-table tbody td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-light);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr {
    transition: background 0.25s var(--ease);
}

.pricing-table tbody tr:hover {
    background: rgba(198, 163, 77, 0.06);
}

.pricing-clarifications {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 3%;
    background: var(--bg-dark-raised);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-clarifications h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.pricing-clarifications ul {
    list-style: none;
    padding: 0;
}

.pricing-clarifications li {
    padding: 0.6rem 0 0.6rem 1.4rem;
    position: relative;
    color: var(--text-muted-on-dark);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.pricing-clarifications li:last-child {
    border-bottom: none;
}

.pricing-clarifications li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.pricing-clarifications strong {
    color: var(--text-light);
    font-family: var(--font-mono);
    font-weight: 500;
}

/* -------------------------------------------------- */
/* Footer                                              */
/* -------------------------------------------------- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

footer p {
    color: var(--text-muted-on-dark);
    font-size: 0.9rem;
}

/* -------------------------------------------------- */
/* Responsive                                          */
/* -------------------------------------------------- */
@media (max-width: 860px) {
    header {
        position: sticky;
        top: 0;
        background-color: rgba(26, 26, 22, 0.98);
    }

    .nav-toggle {
        display: block !important;
    }

    .nav-right {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 1.2rem);
        right: -25px; /* Aligns to edge of header padding */
        width: 100vw;
        background-color: #1a1a16;
        padding: 2.5rem 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        gap: 1.5rem !important;
        align-items: center;
        z-index: 999;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .split-section {
        flex-direction: column;
    }

    .hero-subtext {
        align-self: flex-start;
    }

    .page-header {
        text-align: center;
    }

    .page-header p {
        margin: 0 auto;
    }

    .pricing-table {
        font-size: 0.82rem;
    }

    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 0.7rem 0.5rem;
    }
}

/* ===========================
   PRODUCT PAGE STYLES
   =========================== */
.product-section {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
}
.product-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.product-icon {
    font-size: 2.5rem;
    width: 65px;
    height: 65px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}
.product-section-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 700px;
}
.product-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.product-image-gallery.three-col {
    grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 9/16;
    background: #f1f1f1;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.products-cta-banner {
    background: var(--bg-dark);
    color: var(--bg-light);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.products-cta-banner h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.products-cta-banner p {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1.1rem;
}
.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bg-green);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===========================
   NEW PREMIUM CHATBOT STYLES
   =========================== */
.chatbot-toggler {
    position: fixed;
    right: 35px;
    bottom: 35px;
    height: 58px;
    width: 58px;
    background: var(--bg-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,100,0,0.35);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}
.chatbot-toggler:hover, .chatbot-toggler.active {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,100,0,0.45);
}
.chatbot {
    position: fixed;
    right: 35px;
    bottom: 110px;
    width: 370px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.18);
    transform: scale(0.5) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}
.chatbot.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.chatbot-header {
    background: var(--bg-green);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.chatbot-header-avatar {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.chatbot-header-info {
    flex: 1;
}
.chatbot-header-info h2 {
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-heading);
    margin: 0 0 2px 0;
}
.chatbot-header-info small {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #7fff7f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.chatbot-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.chatbot-close:hover {
    background: rgba(255,255,255,0.3);
}
.chatbox {
    height: 340px;
    overflow-y: auto;
    padding: 1.5rem 1.2rem;
    list-style: none;
    color: var(--text-dark);
    background: #f8f9fb;
    margin: 0;
}
.chatbox .chat {
    display: flex;
    margin-bottom: 1rem;
}
.chatbox .outgoing {
    justify-content: flex-end;
}
.chatbox .chat p {
    padding: 11px 16px;
    border-radius: 18px 18px 4px 18px;
    background: var(--bg-green);
    color: #fff;
    font-size: 0.9rem;
    max-width: 78%;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0,100,0,0.15);
}
.chatbox .incoming p {
    background: #fff;
    color: var(--text-dark);
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.chat-input {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-top: 1px solid #eee;
    background: #fff;
    gap: 0.5rem;
}
.chat-input textarea {
    flex: 1;
    border: 1.5px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    resize: none;
    height: 40px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border 0.2s;
    background: #f8f9fb;
}
.chat-input textarea:focus {
    border-color: var(--bg-green);
    background: #fff;
}
.chat-input #sendBtn {
    background: var(--bg-green);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,100,0,0.25);
}
.chat-input #sendBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,100,0,0.35);
}

@media (max-width: 768px) {
    .product-image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-image-gallery.three-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-section-header {
        flex-direction: column;
    }
    .chatbot {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
    }
    .chatbot-toggler {
        right: 20px;
        bottom: 25px;
    }
}

/* ===========================
   PRICING PAGE STYLES
   =========================== */
.pricing-block {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
}
.pricing-block-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}
.pricing-block-icon {
    font-size: 2.5rem;
    width: 65px;
    height: 65px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pricing-block-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}
.pricing-block-header p {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
}
.pricing-subtitle {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}
.pricing-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.pricing-table thead tr {
    background: var(--bg-dark);
    color: var(--bg-light);
}
.pricing-table thead th {
    padding: 1rem 1.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.pricing-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.pricing-table tbody tr:hover {
    background: #fafaf7;
}
.pricing-table tbody tr.highlight-row {
    background: #f7fbf7;
}
.pricing-table tbody td {
    padding: 1rem 1.2rem;
    text-align: center;
    color: var(--text-dark);
}
.discount-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e8f5e9;
    color: #2e7d32;
}
.discount-badge.popular {
    background: #fff3e0;
    color: #e65100;
}
.discount-badge.best {
    background: var(--bg-green);
    color: #fff;
}
.pricing-note {
    color: #e53935;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.pricing-clarification, .pricing-guidelines {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.2rem;
}
.pricing-clarification h4, .pricing-guidelines h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}
.pricing-clarification ul, .pricing-guidelines ul {
    padding-left: 1.2rem;
    margin: 0;
}
.pricing-clarification li, .pricing-guidelines li {
    margin-bottom: 0.6rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing Cards */
.pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.pricing-card {
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pricing-card.featured {
    border-color: var(--bg-green);
    background: linear-gradient(135deg, #f0faf0, #fff);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0,100,0,0.15);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
}
.pricing-card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-green);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-card-qty {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.pricing-card-label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}
.pricing-card-rate {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--bg-green);
    margin-bottom: 0.5rem;
}
.pricing-card-rate span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #888;
}
.pricing-card-validity {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 50px;
    display: inline-block;
}
.pricing-card-btn {
    display: block;
    padding: 0.8rem;
    background: var(--bg-dark);
    color: var(--bg-light);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}
.pricing-card.featured .pricing-card-btn {
    background: var(--bg-green);
    color: #fff;
}
.pricing-card-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* Active nav link */
.nav-links a.active {
    color: var(--bg-green);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-cards-row {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ================================================== */
/* B2B SaaS HOMEPAGE & FOOTER REDESIGN STYLES         */
/* ================================================== */

/* 1. Global / Components styling */
.glass-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-light) 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. Hero Section */
.hero-saas {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: visible;
}

.hero-saas h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(198, 163, 77, 0.1);
    border: 1px solid var(--accent-gold-soft);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.hero-saas p.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted-on-dark);
    line-height: 1.6;
    max-width: 580px;
    margin: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn-primary {
    background-color: var(--bg-green);
    color: var(--text-light);
    border: 1px solid var(--bg-green);
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 15px rgba(14, 74, 29, 0.3);
}

.btn-primary:hover {
    background-color: var(--bg-green-raised);
    border-color: var(--bg-green-raised);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 74, 29, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-media-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

/* Floating KPI Cards */
.floating-card {
    position: absolute;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite alternate;
}

.floating-card.card-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 12%;
    right: -8%;
    animation-delay: 1.5s;
}

.floating-card .card-icon {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card .card-info {
    display: flex;
    flex-direction: column;
}

.floating-card .card-title {
    font-size: 0.7rem;
    color: var(--text-muted-on-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.floating-card .card-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

/* 3. Trusted Section */
.trusted-section {
    background-color: #f9f8f6; /* Premium off-white SaaS background */
    padding: 3.5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trusted-section p {
    font-size: 0.85rem;
    color: var(--text-muted); /* Dark muted gray text for readability */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.5rem;
}

.trusted-logos img {
    height: clamp(75px, 9.5vh, 98px); /* Even larger size for all logos */
    width: auto;
    filter: none;
    opacity: 0.95;
    transition: all 0.3s var(--ease);
    border-radius: var(--radius-sm);
}

.trusted-logos img[src="anjali.jpeg"] {
    transform: scale(1.6);
}

.trusted-logos img[src="cmri.png"] {
    transform: scale(1.75);
}

.trusted-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Specific hover overrides to preserve scale */
.trusted-logos img[src="anjali.jpeg"]:hover {
    transform: scale(1.7);
}

.trusted-logos img[src="cmri.png"]:hover {
    transform: scale(1.85);
}

/* 4. Statistics Grid */
.stats-section {
    padding: 6.5rem 5%;
    background-color: var(--bg-dark);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 310px));
    justify-content: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s var(--ease);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted-on-dark);
    font-weight: 500;
}

/* 5. Services Grid Override */
.services-saas {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 7rem 5%;
}

.services-saas .section-title {
    text-align: center;
}

.services-saas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-saas-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.service-saas-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(14, 74, 29, 0.15);
}

.service-saas-card .icon-wrap {
    width: 54px;
    height: 54px;
    background: #eef5ef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--bg-green);
    transition: all 0.3s var(--ease);
}

.service-saas-card:hover .icon-wrap {
    background: var(--bg-green);
    color: #fff;
    transform: scale(1.05);
}

.service-saas-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 0;
}

.service-saas-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* 6. How it Works / Timeline Process Pipeline */
.pipeline-section {
    padding: 7rem 5%;
    background-color: var(--bg-dark-raised);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pipeline-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 3.5rem auto 0;
    position: relative;
    gap: 1rem;
}

.pipeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-num-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s var(--ease);
}

.pipeline-step:hover .step-num-circle {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: scale(1.08);
}

.pipeline-step h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pipeline-step p {
    font-size: 0.88rem;
    color: var(--text-muted-on-dark);
    max-width: 200px;
    line-height: 1.5;
}

/* Connecting lines */
.pipeline-flow::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 8%;
    width: 84%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold-soft) 0%, rgba(255,255,255,0.05) 50%, var(--accent-gold-soft) 100%);
    z-index: 1;
}

/* 7. Showcase Section */
.showcase-section {
    padding: 7rem 5%;
    background-color: var(--bg-dark);
    text-align: center;
}

.showcase-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted-on-dark);
    max-width: 650px;
    margin: -1.5rem auto 3.5rem;
}

.showcase-frame-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
    background: #111;
    overflow: hidden;
}

.showcase-header-bar {
    background-color: #1e1e1e;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.window-dot.red { background-color: #ff5f56; }
.window-dot.yellow { background-color: #ffbd2e; }
.window-dot.green { background-color: #27c93f; }

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 8. Industries Section */
.industries-section {
    padding: 7rem 5%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(14, 74, 29, 0.15);
}

.industry-icon {
    font-size: 2rem;
    line-height: 1;
}

.industry-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* 9. Why Choose M-AD Section */
.why-choose-saas {
    padding: 7rem 5%;
    background-color: var(--bg-dark-raised);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.why-feat-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.why-feat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    padding-top: 2px;
}

.why-feat-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.why-feat-content p {
    font-size: 0.95rem;
    color: var(--text-muted-on-dark);
    line-height: 1.6;
    margin: 0;
}

.why-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 10. Testimonials */
.testimonials-saas {
    padding: 7rem 5%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-card);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(14, 74, 29, 0.08);
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin: 0;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-green);
}

.user-info h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0 0 2px 0;
}

.user-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* 11. Custom CTA Background with overlay */
.cta-overlay-section {
    position: relative;
    padding: 8rem 5%;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.cta-overlay-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 34, 31, 0.92) 0%, rgba(14, 74, 29, 0.9) 100%);
    z-index: 1;
}

.cta-overlay-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cta-overlay-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
}

.cta-overlay-content p {
    font-size: 1.1rem;
    color: var(--text-muted-on-dark);
    margin: 0 0 1rem 0;
}

/* 12. Upgraded Footer Split layout */
.footer-upgraded {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.footer-upgraded p,
.footer-upgraded h4,
.footer-upgraded ul,
.footer-upgraded li {
    text-align: left;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .footer-logo img {
    height: 54px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted-on-dark);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul a {
    color: var(--text-muted-on-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s var(--ease);
}

.footer-col ul a:hover {
    color: var(--accent-gold);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted-on-dark);
    font-size: 0.9rem;
}

.footer-contact-info div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-info div .icon {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted-on-dark);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

/* 13. Legal pages layout container */
.legal-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
    color: var(--text-light);
}

.legal-content {
    background: var(--bg-dark-raised);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.legal-content p {
    color: var(--text-muted-on-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--text-muted-on-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Responsive upgrades */
@media (max-width: 991px) {
    .hero-saas {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-badge, .hero-saas p.hero-desc {
        align-self: center;
    }
    .floating-card.card-1 {
        left: 2%;
    }
    .floating-card.card-2 {
        right: 2%;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 310px));
    }
    .services-saas-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 365px));
    }
    .pipeline-flow {
        flex-direction: column;
        gap: 2.5rem;
    }
    .pipeline-flow::after {
        display: none;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-upgraded {
        text-align: center;
    }
    .footer-upgraded p,
    .footer-upgraded h4,
    .footer-upgraded ul,
    .footer-upgraded li {
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .footer-contact-info div {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .stats-grid, .industries-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
}

