/* ===== ROOT VARIABLES ===== */
:root {
    --primary-blue: #2563eb;
    --dark-blue: #1d4ed8;
    --light-blue: #f0f9ff;
    --dark: #1a202c;
    --gray: #4a5568;
    --light-gray: #f8fafc;
    --medium-gray: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION (OVERLAY ON HERO) ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-phone:hover {
    color: var(--dark-blue);
}

.nav-phone i {
    font-size: 1rem;
}

.btn-nav {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* ===== HERO SECTION WITH STICKY SCROLLING ===== */
.hero {
    height: 100vh;
    text-align: center;
    color: white;
    position: sticky;
    top: 0;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.05) brightness(1.02);
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 31, 68, 0.6), rgba(10, 31, 68, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* ===== TRANSPARENT GLASSMORPHISM BUTTONS ===== */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ===== TRUST BADGES SECTION ===== */
.trust-badges {
    padding: 3rem 0;
    background: white;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--medium-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.trust-item strong {
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-item span {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== COMPARISON TABLE SECTION ===== */
.comparison-section {
    padding: 5rem 0;
    background: white;
    position: relative;
    z-index: 10;
}

.comparison-table {
    max-width: 900px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: var(--light-gray);
    font-weight: 600;
    text-align: center;
    padding: 1.5rem 1rem;
    border-bottom: 2px solid var(--medium-gray);
}

.comparison-header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.comparison-header .highlight-col {
    background: var(--primary-blue);
    color: white;
    margin: -1.5rem 0;
    padding: 1.5rem 1rem;
    border-radius: 8px 8px 0 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
    text-align: center;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: var(--light-gray);
}

.comparison-row .feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    padding-left: 1rem;
}

.comparison-row .highlight-col {
    background: rgba(37, 99, 235, 0.05);
    margin: -1.5rem 0;
    padding: 1.5rem 0.5rem;
}

.badge {
    background: white;
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== PROCESS TIMELINE SECTION ===== */
.process-timeline {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../media/process-timeline.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 31, 68, 0.75), rgba(10, 31, 68, 0.75));
    z-index: 1;
}

.process-timeline .container {
    position: relative;
    z-index: 2;
}

.process-timeline h2 {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.process-timeline .section-header p {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-features i {
    color: #10b981;
}

.timeline-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timeline-connector {
    width: 4px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 1rem auto;
    margin-left: 38px;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .process-timeline h2 {
        font-size: 2rem;
    }

    .process-timeline .section-header p {
        font-size: 1.1rem;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .timeline-icon {
        display: none;
    }

    .timeline-connector {
        margin-left: 28px;
        height: 40px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== WHY TRUST US SECTION ===== */
.why-trust-us {
    padding: 5rem 0;
    background: var(--light-gray);
    position: relative;
    z-index: 10;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.centered h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.trust-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.trust-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-feature-icon {
    margin-bottom: 1rem;
}

.trust-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.trust-feature p {
    color: var(--gray);
    line-height: 1.8;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.security-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* ===== CONTENT SECTIONS WITH Z-INDEX ===== */
.features {
    padding: 5rem 0;
    background: white;
    position: relative;
    z-index: 10;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* ===== FAQ SECTION WITH BACKGROUND IMAGE ===== */
.faq-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.faq-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 31, 68, 0.65), rgba(10, 31, 68, 0.65));
    z-index: 1;
}

.faq-content {
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: left;
}

.faq-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.faq-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 31, 68, 0.75), rgba(10, 31, 68, 0.75));
    z-index: 1;
}

.testimonials-content {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: white;
    font-size: 0.95rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRICING SECTION ===== */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pricing-type {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.pricing-features {
    text-align: left;
    margin: 1.5rem 0;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    display: flex;
    align-items: start;
}

.pricing-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Pricing card button override */
.pricing-card .btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    text-align: center;
    margin-top: 1rem;
}

.pricing-card .btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-white {
    background: white;
    color: #334155;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
    color: white;
    position: relative;
    z-index: 10;
}

.footer-main {
    padding: 4rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 600;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-size: 0.85rem;
}

.footer-badge i {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-blue);
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

/* Legal Disclaimers Section */
.footer-legal {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
    justify-content: center;
    transition: color 0.3s;
}

.legal-toggle:hover {
    color: var(--primary-blue);
}

.legal-toggle i.toggle-icon {
    transition: transform 0.3s;
}

.legal-toggle.active i.toggle-icon {
    transform: rotate(180deg);
}

.legal-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 1rem;
}

.legal-content.active {
    max-height: 1000px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.legal-item h5 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-main {
        padding: 3rem 0 2rem 0;
    }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-top: -10px;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.plan-type-selection {
    margin: 2rem 0;
}

.plan-type-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.plan-type-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--medium-gray);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.plan-type-btn:hover {
    border-color: var(--primary-blue);
}

.plan-type-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.plan-options {
    display: none;
}

.plan-options.active {
    display: block;
}

.modal-plan-card {
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-plan-card:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.modal-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-plan-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--dark);
}

.modal-plan-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.modal-plan-features {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ===== LIVE CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.chat-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.chat-button i {
    font-size: 1.25rem;
}

.chat-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.chat-window.active {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.chat-minimize,
.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-minimize i {
    font-size: 0.875rem;
}

.chat-close i {
    font-size: 1.125rem;
}

.chat-body {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message {
    flex-direction: row;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
}

.user-message .message-avatar {
    background: var(--gray);
    color: white;
}

.message-content {
    background: var(--light-gray);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 75%;
    font-size: 0.9rem;
    line-height: 1.6;
}

.user-message .message-content {
    background: var(--primary-blue);
    color: white;
}

.message-content p {
    margin: 0.5rem 0;
}

.message-content p:first-child {
    margin-top: 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Typing indicator */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#chatInput {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

#chatInput:focus {
    border-color: var(--primary-blue);
}

.send-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.send-button:hover {
    background: var(--dark-blue);
    transform: scale(1.1);
}

.chat-info {
    text-align: center;
    color: var(--gray);
}

.chat-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.chat-info a:hover {
    text-decoration: underline;
}

/* ===== HAMBURGER MENU (Hidden on Desktop) ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Fix hero sticky on mobile - change to relative positioning */
    .hero {
        position: relative;
        height: 80vh;
        min-height: 500px;
    }

    /* Navbar adjustments for mobile */
    .navbar {
        position: absolute;
        padding: 0.75rem 0;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
        order: 3;
    }

    /* Hide regular nav links by default, show when active */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        gap: 0;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--medium-gray);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .logo {
        order: 1;
        font-size: 1.2rem;
    }

    .nav-phone {
        order: 2;
        font-size: 0.9rem;
    }

    .btn-nav {
        order: 5;
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    /* Ensure content sections are visible on mobile */
    .trust-badges,
    .features,
    .faq-section,
    .testimonials-section,
    .cta,
    .footer {
        position: relative;
        z-index: 10;
    }

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

    .plan-type-buttons {
        flex-direction: column;
    }

    .plan-type-btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .legal-disclaimer {
        text-align: left;
    }

    /* Comparison table mobile styles */
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
    }

    .comparison-row .feature-name {
        font-size: 0.9rem;
        padding-left: 0.5rem;
    }

    .comparison-header .highlight-col {
        font-size: 0.9rem;
    }
}

/* ===== TRANSCRIPT FEATURE ===== */
.transcript-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.transcript-button:hover {
    background: var(--dark-blue);
    transform: translateY(-1px);
}

.transcript-button i {
    margin-right: 0.3rem;
}

.transcript-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.transcript-modal.active {
    display: flex;
}

.transcript-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transcript-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.transcript-modal-header h3 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 1.3rem;
}

.transcript-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.transcript-modal-close:hover {
    color: var(--dark-blue);
}

.transcript-modal-body {
    padding: 1.5rem;
}

.transcript-modal-body p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.chat-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chat-info small {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .transcript-modal-content {
        width: 95%;
        max-width: none;
    }

    .transcript-button {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .chat-info {
        flex-direction: column;
        align-items: flex-start;
    }
}
