/* CSS Variables for Franchise Page */
:root {
    --primary-teal: #67C5D3;
    --accent-pink: #ec407a;
    --accent-blue: #039be5;
    --accent-green: #A0CE4E;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-white: #FFFFFF;
    --bg-light: #F8FBFC;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1,
h2,
h3,
.logo-text,
h4 {
    font-family: var(--heading-font);
    font-weight: 700;
}

span {
    color: var(--primary-teal);
}

/* Announcement Bar */
.announcement-bar {
    background: #FF5252;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 45px;
}

.logo-text {
    font-size: 1.5rem;
}

.badge.franchise {
    background: var(--primary-teal);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--heading-font);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), #4fb0be);
    color: white;
    box-shadow: 0 10px 20px rgba(103, 197, 211, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    box-shadow: 0 10px 20px rgba(103, 197, 211, 0.1);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

.input-group label {
    text-align: left !important;
}

.input-group input,
.input-group select {
    text-align: left !important;
}

/* Hero Section Update */
.franchise-hero {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fcfd 100%);
    min-height: auto;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.audience-badge {
    display: inline-block;
    background: rgba(236, 64, 122, 0.1);
    color: var(--accent-pink);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    /* Reduced from 35px */
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    /* Reduced from 45px */
    max-width: 90%;
}

.hero-visual {
    position: relative;
    width: 100%;
    margin-top: -50px;
    /* Reduced from -200px to prevent overlapping */
}

.video-container {
    width: 100%;
    border-radius: 20px;
    /* More modern radius */
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    background: #000;
    line-height: 0;
    border: 4px solid white;
    /* Reduced thickness */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Stats */
.hero-stats-reveal-grid {
    display: flex;
    gap: 3rem;
    margin-bottom: 35px;
    /* Reduced from 40px */
    padding-top: 5px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inquiry Section */
.inquiry-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.inquiry-poster {
    position: relative;
}

.inquiry-poster img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.inquiry-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.inquiry-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    display: grid;
    gap: 15px;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
}

.benefit-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
}

.lead-form-card {
    background: white;
    padding: 50px;
    border-radius: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(103, 197, 211, 0.15);
}

.lead-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.lead-form-card p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px 22px;
    border-radius: 12px;
    border: 1.8px solid #eee;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-teal);
    outline: none;
    box-shadow: 0 0 0 4px rgba(103, 197, 211, 0.1);
}

.form-footer {
    margin-top: 20px;
    font-size: 0.85rem !important;
    text-align: center;
}

@media (max-width: 1024px) {

    .hero .container,
    .inquiry-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-visual {
        margin-top: 20px;
        /* No negative margin on mobile */
    }

    .video-container {
        border-width: 4px;
        border-radius: 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .inquiry-poster {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Trusted By */
.trusted-by {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.trusted-by p {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 600;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0 1rem;
}

.trust-logo-img {
    height: 40px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.trust-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.trust-logo {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 1.2rem;
    color: #333;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimony-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid #f9f9f9;
}

.testimony-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(103, 197, 211, 0.15);
}

.testimony-img-container {
    padding: 20px;
    background: #fdfdfd;
}

.testimony-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimony-content {
    padding: 25px;
    text-align: center;
}

.testimony-name {
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimony-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-teal);
    text-decoration: none;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--heading-font);
}

/* Mobile Adjustments */
/* Mobile adjustments moved to end for correct priority */

/* Section titles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 50px 40px;
    border-radius: 28px;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-icon.pink svg {
    color: var(--accent-pink);
}

.feature-icon.blue svg {
    color: var(--accent-blue);
}

.feature-icon.green svg {
    color: var(--accent-green);
}

.feature-icon.aqua svg {
    color: var(--primary-teal);
}

/* Business Advantage */
.bg-light-alt {
    background: #f0f7f8;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-bottom: 4px solid var(--primary-teal);
    transition: var(--transition-smooth);
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item h4 {
    margin-bottom: 10px;
    color: var(--primary-teal);
}

/* Partner Profile */
.partner-profile {
    padding: 100px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-weight: 500;
}

.check-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
}

.glass-card {
    background: rgba(103, 197, 211, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(103, 197, 211, 0.2);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

/* Floating Video Styles */
.video-container {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    background: #000;
    line-height: 0;
    border: 8px solid white;
    transition: all 0.5s ease;
}

.video-container.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 9999;
    border-width: 4px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-pip {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10000;
}

.video-container.floating .close-pip {
    display: block;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.model-card {
    background: white;
    padding: 50px 40px;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f0f0f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.model-card.featured {
    border: 2px solid var(--accent-blue);
}

.card-top-badge {
    position: absolute;
    top: -15px;
    right: 40px;
    background: var(--accent-blue);
    color: white;
    padding: 6px 18px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(3, 155, 229, 0.3);
}

.card-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    align-self: flex-start;
}

.hobby .card-badge {
    background: #feeef2;
    color: #ec407a;
}

.experience .card-badge {
    background: #e3f2fd;
    color: #0288d1;
}

.model-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.model-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.investment-tier {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.investment-tier .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.investment-tier .tier-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.investment-tier .subtext {
    font-size: 0.9rem;
    color: var(--primary-teal);
    font-weight: 500;
    font-style: italic;
}

.model-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.model-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.model-features li span {
    color: #4CAF50;
    font-weight: bold;
}

/* Card Specific Buttons */
.btn-model-hobby {
    background: #ec407a;
    color: white;
}

.btn-model-hobby:hover {
    background: #d81b60;
    transform: translateY(-3px);
}

.btn-model-experience {
    background: #039be5;
    color: white;
}

.btn-model-experience:hover {
    background: #0288d1;
    transform: translateY(-3px);
}

/* Hero Poster Styles */
.hero-poster-wrapper {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-width: 500px;
}

.hero-poster {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.hero-poster:hover {
    transform: scale(1.02);
}

/* Proof Gallery */
.proof-gallery {
    background: #fff;
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(103, 197, 211, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(100px);
    transition: var(--transition-smooth);
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--primary-teal);
}

.faq-answer {
    padding-top: 15px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-teal);
    transition: var(--transition-smooth);
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
}

.cta-bg {
    background: linear-gradient(135deg, #2b3d41, #1a2a2d);
    padding: 80px 40px;
    border-radius: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(103, 197, 211, 0.1) 0%, transparent 70%);
}

.cta-bg h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-bg p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.urgency-text {
    margin-top: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FF8A80;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-about p {
    margin-top: 20px;
    color: #777;
    max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #777;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-contact p {
    color: #777;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--primary-teal);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Success Toast */
.success-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
}

.cta-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--primary-teal) !important;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(103, 197, 211, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.cta-call:active {
    transform: scale(0.96);
}

.sticky-mobile-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: normal;
    gap: 6px;
    transition: all 0.3s ease;
    min-width: 0;
    /* Allow shrinking */
}

.sticky-mobile-cta a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-mobile-cta a:active {
    transform: scale(0.95);
}

.sticky-mobile-cta a svg {
    flex-shrink: 0;
}

.cta-call {
    background: var(--primary-teal) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(103, 197, 211, 0.3);
}

/* Pulse Animation */
@keyframes pulse-small {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(103, 197, 211, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 35px rgba(103, 197, 211, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(103, 197, 211, 0.4);
    }
}

.cta-call {
    animation: pulse-small 2s infinite ease-in-out;
}

/* Hero Buttons Layout */
.hero-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-btns .btn {
    padding: 12px 28px;
    /* Slightly more compact buttons */
    font-size: 0.95rem;
    margin-left: 0;
}

@media (max-width: 1024px) {
    .franchise-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 40px;
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-stats-reveal-grid {
        justify-content: center;
        gap: 2rem;
    }

    .hero-visual {
        transform: none;
        margin-top: 0;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .announcement-bar {
        display: none;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        gap: 10px;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .logo img {
        height: 32px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .badge.franchise {
        display: inline-block;
        font-size: 0.55rem;
        padding: 1px 4px;
        letter-spacing: 0;
        border-radius: 3px;
        margin-left: 2px;
    }

    .nav-cta {
        width: auto !important;
        /* Prevent it from taking 100% width */
        padding: 8px 16px !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
        border-radius: 8px !important;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
    }

    .franchise-hero {
        padding: 20px 0 40px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-visual {
        margin-top: 20px !important;
        transform: none;
    }

    .hero-stats-reveal-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-val {
        font-size: 2.2rem;
    }

    .lead-form-card {
        padding: 25px 20px;
    }

    /* Style only section buttons to be full width, not the navbar button */
    section .btn,
    .footer .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .trust-logo-img {
        height: 25px;
        max-width: 100px;
    }

    .sticky-mobile-cta {
        display: flex;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .process-steps,
    .profile-grid,
    .footer-grid,
    .models-grid,
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Profit Plan Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker for better focus */
    backdrop-filter: blur(8px);
    z-index: 99999;
    /* Maximum priority */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
}

.modal-container {
    background: white;
    width: 95%;
    max-width: 550px;
    /* Reduced from 600px */
    max-height: 90vh;
    border-radius: 24px;
    /* Slightly more modern radius */
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-teal) #f1f1f1;
    box-sizing: border-box;
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 10px;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.modal-close-btn:hover {
    color: var(--primary-teal);
}

.modal-content-wrapper {
    padding: 35px 30px;
    /* Reduced padding */
}

.modal-content-wrapper form {
    display: flex;
    flex-direction: column;
    /* Ensure vertical layout */
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
    /* Reduced margin */
}

.pdf-icon {
    width: 60px;
    height: 60px;
    background: rgba(103, 197, 211, 0.1);
    color: var(--primary-teal);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.pdf-icon svg {
    width: 32px;
    height: 32px;
}

.modal-header h2 {
    font-size: 1.6rem;
    /* Slightly smaller */
    margin-bottom: 8px;
    line-height: 1.2;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    /* Slightly smaller */
}

.modal-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    padding: 14px;
    /* Slightly more compact */
    margin-bottom: 10px;
}

.download-icon {
    width: 20px;
    height: 20px;
}

.modal-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .modal-overlay {
        padding: 15px;
        /* Consistent padding */
        display: none;
        /* Reset for display:flex when active */
    }

    .modal-overlay.active {
        display: flex;
        /* Ensure flex is used when active */
    }

    .modal-container {
        width: 100%;
        /* Respect overlay padding */
        border-radius: 24px;
        max-height: 85vh;
        /* Keep it shorter on mobile */
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
        font-size: 1.8rem;
    }

    .modal-content-wrapper {
        padding: 30px 20px 20px;
        /* More compact */
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .pdf-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }

    .pdf-icon svg {
        width: 24px;
        height: 24px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .modal-header p {
        font-size: 0.85rem;
        padding: 0 5px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .modal-container .input-group {
        margin-bottom: 15px;
    }

    .modal-container .input-group label {
        margin-bottom: 6px;
        font-size: 0.9rem;
        display: block;
        text-align: left;
        /* Force left align for labels */
    }

    .modal-container .input-group input {
        padding: 14px 18px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .modal-submit {
        padding: 16px;
        font-size: 1.1rem;
        margin-top: 10px;
    }

    .modal-footer-text {
        font-size: 0.8rem;
        margin-top: 15px;
    }
}

/* Success Toast Notification */
.success-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
    z-index: 10001;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}